![]() ![]() These tokens allow a BASIC command like PRINT to be entered with the single keypress P at the beginning of a line (i.e. ![]() Code points 0xC7–0xC9 are the two-character operators = and, similarly tokenized into single code points. In the 128 BASIC mode introduced later, this was changed to 19 UDG characters ending at 0xA2 followed by the two new tokens SPECTRUM and PLAY. Code points 0x90–0xA4 contain the originally 21 User-Defined Graphics (UDG) characters, and 0xA5–0xFF contain BASIC keywords tokenized as single code points. However the ZX Spectrum's standard character set does not include the ZX80/81 50% dithered 1×2 block graphics characters. 0x80–0x8F contain the same 2×2 block graphics characters that the ZX80 character set and the ZX81 character set have (at other locations), also available in the Block Elements Unicode block. The ↑ character is the exponentiation operator in Spectrum's BASIC, just like the ^ it replaces compared to ASCII-1967 is used for exponentiation in many other dialects of BASIC and other programming languages.īeyond 0x7F, the Spectrum character set uses the high-bit range 0x80–0xFF for special purposes. The £ sign was not mapped to 0x23 as in the British variant of ASCII ( ISO-646-GB), allowing both the pound sign and the number sign (#) simultaneously. Note that the use of 0x5E as ↑ was also the case in the older 1963 version of ASCII. Standard US-ASCII, 0x20–0x7F, is included in the Spectrum character set except that code point 0x5E is an up-arrow (↑) instead of a caret (^), 0圆0 is the pound sign (£) instead of the grave accent (`), and 0x7F is the copyright sign (©) instead of the control character DEL. Printable characters Screenshot of output from a Sinclair BASIC program that demonstrates all printable code points including BASIC keywords and the User-Defined Graphics characters (by default defined as copies of the A-U glyphs). The ZX Spectrum's main set of printable characters and system font are also used by the Jupiter Ace computer. It also differs in its use of the C0 control codes other than the common BS and CR, and it makes use of the 128 high-bit characters beyond the ASCII range. It is based on ASCII-1967 but the characters ^, ` and DEL are replaced with ↑, £ and ©. The ZX Spectrum character set is the variant of ASCII used in the ZX Spectrum family computers. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |