Debian Codegraph @

ACME_Lib/cbm/c128/kernal.a

raw
1 ;ACME 0.95
2
3 !ifdef lib_cbm_c128_kernal_a !eof
4 lib_cbm_c128_kernal_a = 1
5
6 ; Taken from the web.
7 ; Sorry, I can't give credit because I don't have the URL anymore.
8
9 !address {
10 k_spin_spout = $ff47
11 k_close_all = $ff4a
12 k_c64mode = $ff4d ; enter c64 mode (so does not return)
13 k_dma_call = $ff50
14 k_boot_call = $ff53
15 k_phoenix = $ff56
16 k_lkupla = $ff59 ; find channel with file number A
17 k_lkupsa = $ff5c ; find channel with secondary address Y
18 k_swapper = $ff5f
19 k_dlchr = $ff62
20 k_pfkey = $ff65
21 k_setbnk = $ff68 ; set banks for file name and load/save calls
22 k_getcfg = $ff6b
23 k_jsrfar = $ff6e
24 k_jmpfar = $ff71
25 k_indfet = $ff74
26 k_indsta = $ff77
27 k_indcmp = $ff7a
28 k_primm = $ff7d ; "print immediate" - output string without having to setup a pointer:
29 ; string must follow JSR $ff7d in memory, code execution will resume after terminating zero.
30 ; A/X/Y are preserved
31 k_release_number = $ff80
32 }
33 !source <cbm/kernal.a> ; $ff81-$fff5 is mostly compatible to older machines
34 ; $fff6/$fff7 are unused (ff ff)
35 !address {
36 k_indirect128mode = $fff8 ; indirect vector, without JMP command!
37 }
38 ; $fffa through $ffff are cpu hardware vectors (see <6502/std.a>)