AMSTRAD CPC464 User Manual page 162

Cpc464 colour personal computer 64k
Hide thumbs Also See for CPC464:
Table of Contents

Advertisement

PAPER
P A P E R [ # < s t r e a m e x p r e s s i o n > , ] < m a s k e d i n k >
1 0 M O D E 0
2 0 F O R p = 0 T O 1 5
3 0 P A P E R p : C L S
4 0 P E N 1 5-p
5 0 L O C A T E 6 , 1 2 : P R I N T " P A P E R " p
6 0 F O R t = l T O 5 0 0 : N E X T t
70 N E X T 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 (< a d d r e s s e x p r e s s i o n > )
1 0 MODE 2
2 0 I N K 1 , 0 : I N K 0,12 : B O R D E R 12
3 0 I N P U T " S t a r t a d d r e s s f o r e x a m i n a t i o n " ; f i r s t
4 0 I N P U T " E n d a d d r e s s f o r e x a m i n a t i o n " ; l a s t
5 0 F O R n = fi r s t T O l a s t
6 0 V A L U E $ = H E X $ ( P E E K ( n ) , 2 )
7 0 P R I N T V A L U E $ ;
8 0 P R I N T " a t " ; H E X $ ( 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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents