C64 User Callable KERNAL Routines


NAMEADDRESSFUNCTIONNAMEADDRESSFUNCTION
HEXDECIMALHEXDECIMAL
ACPTR / IECIN $FFA565445Input byte from serial port RDTIM $FFDE65502Read real time clock
CHKIN $FFC665478Open channel for input READST$FFB765463Read I/O status word
CHKOUT$FFC965481Open channel for output RESTOR$FF8A65418Restore default I/O vectors
CHRIN / BASIN $FFCF65487Input character from channel SAVE $FFD865496Save RAM to device
CHROUT / BSOUT$FFD265490Output character to channel SCNKEY$FF9F65439Scan keyboard
CIOUT / IECOUT $FFA865448Output byte to serial port SCREEN$FFED65517Return X,Y organization of screen
CINT $FF8165409Initialize screen editor SECOND$FF9365427Send secondary address after LISTEN
CLALL $FFE765511Close all channels and files SETLFS$FFBA65466Set logical, first, and second addresses
CLOSE $FFC365475Close a specified logical file SETMSG$FF9065424Control KERNAL messages
CLRCHN$FFCC65484Close input and output channels SETNAM$FFBD65469Set file name
GETIN $FFE465508Get character from keyboard queue (keyboard buffer) SETTIM$FFDB65499Set real time clock
IOBASE$FFF365523Returns base address of I/O devices SETTMO$FFA265442Set timeout on serial bus
IOINIT$FF8465412Initialize input/output STOP $FFE165505Scan stop key
LISTEN$FFB165457Command devices on the serial bus to LISTEN TALK $FFB465460Command serial bus device to TALK
LOAD $FFD565493Load RAM from a device TKSA $FF9665430Send secondary address after TALK
MEMBOT$FF9C65436Read/set the bottom of memory UDTIM $FFEA65514Increment real time clock
MEMTOP$FF9965433Read/set the top of memory UNLSN $FFAE65454Command serial bus to UNLISTEN
OPEN $FFC065472Open a logical file UNTLK $FFAB65451Command serial bus to UNTALK
PLOT $FFF065520Read/set X,Y cursor position VECTOR$FF8D65421Read/set vectored I/O
RAMTAS$FF8765415Initialize RAM, allocate tape buffer, set screen $0400