Commodore 128 Programmer's Reference Manual page 452

Hide thumbs Also See for 128:
Table of Contents

Advertisement

442
COMMODORE 128
39. $FFF3 IOBASE ;read base address of I/O block
PREPARATION:
Registers:
Memory:
Flags:
Calls:
RESULTS:
Registers:
Memory:
Flags:
EXAMPLE:
JSR $FFF3
none
system map
none
none
.X = lsb of I/O block
. Y = msb of I/O block
none
none
;find the I/O block
\ j
\ /
IOBASE is not used in the C128 but is included for compatibility and complete
ness. It returns the address of the I/O block in .X and . Y.
NEW CI28 KERNAL CALLS
f
U
The following system calls are a set of extensions to the standard CBM jump table.
They are specifically for the C128 and as such should not be considered as permanent
, ■
additions to the standard jump table. With the exception of C64 MODE, they are all true
jj
subroutines and will terminate via an RTS. As with all Kernal calls, the system
configuration (high ROM, RAM-0 and I/O) must be in context at the time of the
call.
j j
1. $FF47 SPIN SPOUT ;setup fast serial ports for I/O
\ (
PREPARATION:
Registers:
Memory:
Flags:
Calls:
RESULTS:
Registers:
Memory:
Flags:
none
system map
.C = 0 -» select SPINP
.C = 1 -* select SPOUT
none
.A used
CIA-1,MMU
none

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents