This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

api

Generated file for zasm

Table of Contents

; *************************************************************************** ; API for Commodore C64 Kernal ; Notes about the C64 operating system & memory ; Author: Peter Mount, Area51.dev & Contributors ; ; URL: https://area51.dev/c64/kernal/ ; ; Modified: Sun, 23 Jan 2022 17:05:58 UTC ; ; Current version: https://area51.dev/c64/kernal/reference/include/zasm/api.z80 ; *************************************************************************** ACPTR equ &FFA5 ; Get data from the serial bus CHKIN equ &FFC6 ; Open channel for input CHKOUT equ &FFC9 ; Open channel for output CHRIN equ &FFCF ; Get a character from the input channel CHROUT equ &FFD2 ; Output a character CINT equ &FF81 ; Initialise screen editor CIOUT equ &FFA8 ; Transmit a byte over the serial bus CLALL equ &FFE7 ; Close all open files CLOSE equ &FFC3 ; Close a logical file CLRCHN equ &FFCC ; Clear I/O channels CLRLN equ &E9FF ; Clear the line X CLSR equ &E544 ; Clear the screen GETIN equ &FFE4 ; Get a character IOBASE equ &FFF3 ; Define I/O memory page IOINIT equ &FF84 ; Initialise I/O Devices LISTEN equ &FFB1 ; Command a device on serial bus to LISTEN LOAD equ &FFD5 ; Load memory from a device MEMBOT equ &FF9C ; Set bottom of memory MEMTOP equ &FF99 ; Set top of memory OPEN equ &FFC0 ; Open a logical file PLOT equ &FFF0 ; Set cursor location RAMTAS equ &FF87 ; Perform RAM test RDTIM equ &FFDE ; Read system clock READST equ &FFB7 ; Read status word RESTOR equ &FF8A ; Restore default system & interrup vectors SAVE equ &FFD8 ; Save memory to a device SCNKEY equ &FF9F ; Scan the keyboard SCREEN equ &FFED ; Return screen format SECOND equ &FF93 ; Send secondary address for LISTEN SETLFS equ &FFBA ; Setup a logical file SETMSG equ &FF90 ; Control system message output SETNAM equ &FFBD ; Set file name SETTIM equ &FFDB ; Set system clock SETTMO equ &FFA2 ; Set IEEE bus card timeout STOP equ &FFE1 ; Check if key/stop key is pressed TALK equ &FFB4 ; Command a device on serial bus to TALK TKSA equ &FF96 ; Send secondary address to a device commanded to TALK UDTIM equ &FFEA ; Update system clock UNLISTEN equ &FFAE ; Send an UNLISTEN command UNTLK equ &FFAB ; Send an UNTALK command VECTOR equ &FF8D ; Manage RAM Vectors