Commodore 128 Programmer's Reference Manual page 704

Hide thumbs Also See for 128:
Table of Contents

Advertisement

u
694
COMMODORE 128
U
d) This function works like the previous one, except the start address of
the string is taken from DE, and execution resumes with the return
,
address from the stack.
j
III. 108a) Subfunction 108: Incripted Messages
b) update$it
I ,
c) No value returned
(
d) This function displays incripted messages.
*-*
Subfunction 110 is not implemented.
III. 112a) Subfunction 112: ASCII to PET ASCII Conversion
b) ASCII$pet, B register = ASCII character ($20-$7F)
L-
c) A register = converted PET ASCII character.
d) This function performs a standard ASCII to Pet ASCII conversion on
the characters printed to the screen (from any input device)
Control codes are not translated.
III. 114a) Subfunction 114: Place 40-column cursor at specified address
j j
b) cur$adr$40
U
c) HL = address of cursor on screen
DE = cursor line (row) start address
BC = # of characters to end of line (<80, not counting cursor)
d) This function places the cursor at the address specified in HL (in RAM
bank 0). This address is of the logical screen, not the virtual one.
III. 116a) Subfunction 116: Place 80-column cursor at specified address
jj
b) cur$adr$80
c) HL = address of cursor on screen
DE = cursor line (row) start address
BC = # of characters to end of line (<80, not counting cursor)
d) This function places the cursor at the address specified in HL (in
8563 RAM).
I j
III. 118a) Subfunction 118: Look up color
U
b) look$color, B = color code ($30-$3F), C = max. Value of color code.
c) HL = pointer to logical color table (lower nybble = 80, high nybble = 40-
j j
B = $0 (Character color)
[J
$10 (Background color)
$20 (Border color)
d) This function sets the 8563 screen colors to the VIC screen colors.
Subfunction 120 is not defined.
III. 122a) Subfunction 122: Block Fill
b) blk$fill, put start address on stack (8563)
BC = # of bytes to fill
D = fill character
E = attribute
c) No value returned.
d) This function fills a 256-byte block with data specified in the D register.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents