FACTOID # 101: The United States has the world's highest marriage rate - as well as the world's highest divorce rate.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > ZX Spectrum character set

The ZX Spectrum character set is the variant of ASCII used in the British Sinclair Spectrum computers. It is based on ASCII-1967 (the standard ASCII on which all modern character sets are based), but with one character from ASCII-1963 (the first version of ASCII), two graphics characters nonstandardly assigned, an idiosyncratic use of the control code area and use of the 128 high-bit characters beyond the ASCII range.


In the control codes area (the C0 range), the Spectrum uses its own proprietary controls, such as INK and PAPER to control foreground and background colour. The only similarity to ASCII is having cursor-down for 0x0A (ASCII Line Feed) and ENTER for 0x0D (ASCII Carriage Return). Ranges 0x00-0x05, 0x0F and 0x17-0x1F are undefined. The graphics part of the Spectrum Character Set, 0x20-0x7F, is almost standard, except that 0x60 has the pound sign (£) instead of the grave accent (`) and 0x7F has the copyright sign (©) instead of the control code DEL. Note that the pound sign was mapped to 0x60, and not 0x23 as in the British variant of ASCII (ISO-646-GB), making both pound sign and number sign (#) available universally. Code 0x5E contains an up-arrow (↑) as in ASCII-1963 instead of the ASCII-1967 caret (^); however, 0x5F has an underscore and not a left-arrow.


Beyond 0x7F, the Spectrum character set uses the high-bit range, 0x80-0xFF, for its special purposes. 0x80-0x8F contain block graphics. 0x90-0xA4 contain the User Defined Graphics (UDGs), which the user can customise with a few lines of BASIC. 0xA5-0xFF contain tokens (BASIC keywords represented as single characters): for example, pressing P at the beginning of a line would generate the code 0xF6, which would cause the BASIC keyword PRINT to display on the screen. Codes 0xC7-0xC9 are the shortcuts for the mathematical operators <= (less-than-or-equal), >= (greater-than-or-equal) and <> (not-equal) respectively; unlike the relational operators of most other systems, these ones are characters in their own right and cannot be achieved by typing the two constituent symbols one after the other.


Mapping the printable Spectrum Character Set to Unicode is possible, but fonts containing some of the block graphics characters are still not commonplace.


See also: PETSCII, ATASCII


External links

  • Sinclair Spectrum+ 48K Character Set (http://eclecticsatyr.hostultra.com/speccs.htm)

  Results from FactBites:
 
Sinclair ZX Spectrum software (3117 words)
In my youth I was a great fan of the Sinclair Spectrum, which was a marvellous little machine, and largely responsible for the home computer revolution in the UK at least.
I got a Spectrum emulator for my Risc PC and found a few snapshots of games on the Internet, and my interest was rekindled.
Spectrum Electronics was on Marsh Road in Luton.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.