]> git.sur5r.net Git - cc65/blob - libsrc/cbm610/kernal.s
Complete redesign of the CBM610 support.
[cc65] / libsrc / cbm610 / kernal.s
1 ;
2 ; Ullrich von Bassewitz, 2003-12-20
3 ;
4 ; CBM610 kernal functions
5 ;
6
7         .export         CINT
8         .export         IOINIT
9         .export         RAMTAS
10         .export         RESTOR
11         .export         VECTOR
12         .export         SETMSG
13         .export         SECOND
14         .export         TKSA
15         .export         MEMTOP
16         .export         MEMBOT
17         .export         SCNKEY
18         .export         SETTMO
19         .export         ACPTR
20         .export         CIOUT
21         .export         UNTLK
22         .export         UNLSN
23         .export         LISTEN
24         .export         TALK
25         .export         SETLFS
26         .export         CLOSE
27         .export         CHKIN
28         .export         CKOUT
29         .export         CLRCH
30         .export         BASIN
31         .export         BSOUT
32         .export         LOAD
33         .export         SAVE
34         .export         STOP
35         .export         GETIN
36         .export         CLALL
37         .export         PLOT
38
39
40 ;-----------------------------------------------------------------------------
41 ; All functions are available in the kernal jump table. Functions having
42 ; replacements (usually short ones where the overhead of the cross bank call
43 ; is not worth the trouble) are commented out.
44
45 CINT            = $FF81
46 IOINIT          = $FF84
47 RAMTAS          = $FF87
48 RESTOR          = $FF8A
49 VECTOR          = $FF8D
50 SETMSG          = $FF90
51 SECOND          = $FF93
52 TKSA            = $FF96
53 MEMTOP          = $FF99
54 MEMBOT          = $FF9C
55 SCNKEY          = $FF9F
56 SETTMO          = $FFA2
57 ACPTR           = $FFA5
58 CIOUT           = $FFA8
59 UNTLK           = $FFAB
60 UNLSN           = $FFAE
61 LISTEN          = $FFB1
62 TALK            = $FFB4
63 ;READST         = $FFB7
64 SETLFS          = $FFBA
65 ;SETNAM         = $FFBD
66 ;OPEN           = $FFC0
67 CLOSE           = $FFC3
68 CHKIN           = $FFC6
69 CKOUT           = $FFC9
70 CLRCH           = $FFCC
71 BASIN           = $FFCF
72 BSOUT           = $FFD2
73 LOAD            = $FFD5
74 SAVE            = $FFD8
75 ;SETTIM         = $FFDB
76 ;RDTIM          = $FFDE
77 STOP            = $FFE1
78 GETIN           = $FFE4
79 CLALL           = $FFE7
80 ;UDTIM          = $FFEA
81 ;SCREEN         = $FFED
82 PLOT            = $FFF0
83 ;IOBASE         = $FFF3
84