Sharp MZ character set

Sharp MZ character sets are character sets made by Sharp Corporation for Sharp MZ computers. The European and Japanese versions of the software use different character sets.

Implementation
On Sharp MZ computers, there are two types of character sets: An interchange character set (called an "ASCII code" in the documentation ) and a display character set. The interchange set is primarily used for keyboard input, while the display sets are primarily used for rendering text on the screen. Additionally, the European and Japanese versions of the software have different characters in each of their tables.

On MZ-700 and MZ-800 series computers, there are two distinct display character sets: the primary and alternate character tables. The alternate display table is accessible by setting a bit associated with the character in V-RAM, located in the same part of memory that controls the color and background color of the character. Characters from the alternate display character set are not supported by the BASIC interpreter and cannot be typed directly from the keyboard; instead, they can be displayed by using the BASIC command POKE. In the Japanese version, the primary set contains katakana and uppercase Latin letters, while the alternate set contains hiragana and lowercase Latin letters. In the European version, many of the characters in the primary Japanese set are replaced (including all Japanese language characters), and the lowercase Latin letters are now included in the primary set; the entire alternate Japanese set is replaced.

MZ-700/MZ-800
The following tables show the character sets used by European Sharp MZ-700/MZ-800 character sets. Each character is shown with a potential Unicode equivalent. Space and control characters are represented by the abbreviations for their names.

Interchange
In both the European and Japanese versions, the code points in the range 0x20 to 0x5F of the interchange character set exactly match the printable characters in the 1963 version of ASCII.

Interchange
The MZ-80K's European interchange character set is extremely similar to the MZ-700/MZ-800 European interchange character set, differing only at 0x80, 0x8B, 0x90, 0x93, 0x94, 0xBE, and 0xC0.

Display
The MZ-80K's European display character set is extremely similar to the MZ-700/MZ-800 European primary display character set, differing only at 0x40, 0x80, 0xA4, 0xA5, 0xBC, 0xBE, 0xBF, and 0xE5. (0xDC differs in appearance, but semantically remains the symbol for delete.)

Interchange
The MZ-80A's European interchange character set is extremely similar to the MZ-700/MZ-800 European interchange character set, differing only at 0x6C, 0x6D, 0x7F and 0x90.

Display
The MZ-80A's European display character set is extremely similar to the MZ-700/MZ-800 European primary display character set, differing only at 0xBF, 0xE5 and 0xF0.

MZ-80B
The code points in the range 0x20 to 0x7E mostly match the printable characters in ASCII; however, 0x5F is an overline instead of an underscore. Likewise, 0xA0 to 0x7E are the inverse video counterparts of these characters.

MZ-700/MZ-800
The following tables show the character sets used by Japanese Sharp MZ-700/MZ-800 character sets. Each character is shown with a potential Unicode equivalent. Space and control characters are represented by the abbreviations for their names.

Interchange
In both the European and Japanese versions, the code points in the range 0x20 to 0x5F of the interchange character set exactly match the printable characters in the 1963 version of ASCII.

Interchange
The MZ-80 series' Japanese interchange character set is extremely similar to the MZ-700/MZ-800 Japanese interchange character set, differing only at 0x80 and 0xC0.

Display
The MZ-80 series' Japanese display character set is extremely similar to the MZ-700/MZ-800 Japanese primary display character set, differing only at 0x40 and 0x80.