E Sound And Display Characters And Codes - Commodore VIC-20 User Manual

Hide thumbs Also See for VIC-20:
Table of Contents

Advertisement

APPENDIX
Sound and Display
Characters and Codes
One of the more powerful functions of the VIC 20 is its display and
sound generation capability. The tables in this appendix cover all of the VIC
character codes, screen POKE values, sound register equivalents, and color
values.
Table E-l covers all of the characters and functions that are displayed
using the C:fIR$ instruction. In many instances, the use of the CHR$ function
is optional; however, some functions, such as RETURN and RUN/STOP,
are not programmable with the PRINT function. To program using these
functions you will need to use the CHR$ function and the codes in this table.
The codes used in the CHR$ instruction are not the same as those used
in the POKE-to-screen commands. The codes shown in Table E-2 are listed
in the same order as the characters in memory. Notice that all of the control
characters are omitted from this list. This is because there is no display code
for them; control codes use the codes of standard reverse characters (for
example, reverse-heart for CLR/ HOME).
Like the table for character POKEs, the color table in Table E-3
indicates the number associated with each screen and border color on the
VIC. These values are POKEd into location 36879 to produce display color
changes. The circled numbers produce screens with fields and borders of the
same color.
325

Advertisement

Table of Contents
loading

Table of Contents