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 beebasm

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/beebasm/api.asm ; *************************************************************************** ACPTR = &FFA5 ; Get data from the serial bus CHKIN = &FFC6 ; Open channel for input CHKOUT = &FFC9 ; Open channel for output CHRIN = &FFCF ; Get a character from the input channel CHROUT = &FFD2 ; Output a character CINT = &FF81 ; Initialise screen editor CIOUT = &FFA8 ; Transmit a byte over the serial bus CLALL = &FFE7 ; Close all open files CLOSE = &FFC3 ; Close a logical file CLRCHN = &FFCC ; Clear I/O channels CLRLN = &E9FF ; Clear the line X CLSR = &E544 ; Clear the screen GETIN = &FFE4 ; Get a character IOBASE = &FFF3 ; Define I/O memory page IOINIT = &FF84 ; Initialise I/O Devices LISTEN = &FFB1 ; Command a device on serial bus to LISTEN LOAD = &FFD5 ; Load memory from a device MEMBOT = &FF9C ; Set bottom of memory MEMTOP = &FF99 ; Set top of memory OPEN = &FFC0 ; Open a logical file PLOT = &FFF0 ; Set cursor location RAMTAS = &FF87 ; Perform RAM test RDTIM = &FFDE ; Read system clock READST = &FFB7 ; Read status word RESTOR = &FF8A ; Restore default system & interrup vectors SAVE = &FFD8 ; Save memory to a device SCNKEY = &FF9F ; Scan the keyboard SCREEN = &FFED ; Return screen format SECOND = &FF93 ; Send secondary address for LISTEN SETLFS = &FFBA ; Setup a logical file SETMSG = &FF90 ; Control system message output SETNAM = &FFBD ; Set file name SETTIM = &FFDB ; Set system clock SETTMO = &FFA2 ; Set IEEE bus card timeout STOP = &FFE1 ; Check if key/stop key is pressed TALK = &FFB4 ; Command a device on serial bus to TALK TKSA = &FF96 ; Send secondary address to a device commanded to TALK UDTIM = &FFEA ; Update system clock UNLISTEN = &FFAE ; Send an UNLISTEN command UNTLK = &FFAB ; Send an UNTALK command VECTOR = &FF8D ; Manage RAM Vectors