EasyManua.ls Logo

AMSTRAD CPC464 - Page 162

AMSTRAD CPC464
249 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PAPER
PAPER [#<stream expression>,]<masked ink>
10 MODE 0
20 FOR p=0 TO 15
30 PAPER p:CLS
40 PEN 15-p
50 LOCATE 6,12:PRINT "PAPER"p
60 FOR t=l TO 500: NEXT t
70 NEXT p
COMMAND: Sets the background ink for characters. When characters are written to the text screen,
the character cell is filled with the PAPER ink before the character is written - unless the
transparent mode has been selected.
For PAPER/MODE/colour correlation, see Table 2, page F3.4.
Associated keywords: INK, WINDOW, PEN
PEEK
PEEK (<address expression>)
10 MODE 2
20 INK 1,0: INK 0,12: BORDER 12
30 INPUT "Start address for examination";first
40 INPUT "End address for examination";last
50 FOR n= first TO last
60 VALUE$=HEX$(PEEK(n),2)
70 PRINT VALUE$;
80 PRINT" at ";HEX$(n,4),
90 NEXT
FUNCTION: Examine the contents of a memory location. The above utility program allows you to
browse through the RAM of the CPC464. It reads the RAM under the lower (&0000-&3FFF) and
upper (&C000-&FFFF) ROM - not the ROM.
Associated keywords: POKE

Table of Contents

Other manuals for AMSTRAD CPC464

Related product manuals