-
Notifications
You must be signed in to change notification settings - Fork 0
/
system.asm
61 lines (57 loc) · 1.18 KB
/
system.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
; C64ASM - Commodore 64 (6510) Assembler Package for PC
; Copyright (c) 1996 by B lint T¢th
;
; SYSTEM.ASM - example assembly source file
; System declarations (no code in this file)
; ===================================================================
; Use it with .INCLUDE SYSTEM.ASM in other source files
; Special memory sections
BASICSTART= $0801
SCREENRAM = $0400
BASICROM = $A000
VIC = $D000
SID = $D400
COLORRAM = $D800
CIA1 = $DC00
CIA2 = $DD00
KERNALROM = $E000
; KERNAL routines
ACPTR = $FFA5
CHKIN = $FFC6
CHKOUT = $FFC9
CHRIN = $FFCF
CHROUT = $FFD2
CIOUT = $FFA8
CINT = $FF81
CLALL = $FFE7
CLOSE = $FFC3
CLRCHN = $FFCC
GETIN = $FFE4
IOBASE = $FFF3
IOINIT = $FF84
LISTEN = $FFB1
LOAD = $FFD5
MEMBOT = $FF9C
MEMTOP = $FF99
OPEN = $FFC0
PLOT = $FFF0
RAMTAS = $FF87
RDTIM = $FFDE
READST = $FFB7
RESTOR = $FF8A
SAVE = $FFD8
SCNKEY = $FF9F
SCREEN = $FFED
SECOND = $FF93
SETLFS = $FFBA
SETMSG = $FF90
SETNAM = $FFBD
SETTIM = $FFDB
SETTMO = $FFA2
STOP = $FFE1
TALK = $FFB4
TKSA = $FF96
UDTIM = $FFEA
UNLSN = $FFAE
UNTLK = $FFAB
VECTOR = $FF8D