jump table now uses vectors in RAM
This commit is contained in:
1 parent
fb9caa7602
commit
d5d6581901
32 files changed
+60
-140
No files matched your search
@@ -1,3 +1,4 @@
|
||||
; open a logical file
|
||||
; C64 Programmer's Reference Guide Page 272
|
||||
jmp open
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (IOPEN)
|
||||
@@ -1,3 +1,4 @@
|
||||
; close a specified logical file
|
||||
; C64 Programmer's Reference Guide Page 272
|
||||
jmp close
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (ICLOSE)
|
||||
@@ -1,3 +1,4 @@
|
||||
; Open channel for input
|
||||
; C64 Programmer's Reference Guide Page 272
|
||||
jmp chkin
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (ICHKIN)
|
||||
@@ -1,3 +1,4 @@
|
||||
; Open channel for output
|
||||
; C64 Programmer's Reference Guide Page 272
|
||||
jmp ckout
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (ICKOUT)
|
||||
@@ -1,3 +1,4 @@
|
||||
; close input and output channels
|
||||
; C64 Programmer's Reference Guide Page 272
|
||||
jmp clrchn
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (ICLRCH)
|
||||
@@ -1,3 +1,4 @@
|
||||
; Input character from channel
|
||||
; C64 Programmer's Reference Guide Page 272
|
||||
jmp chrin
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (IBASIN)
|
||||
@@ -1,3 +1,4 @@
|
||||
; Output character to channel
|
||||
; C64 Programmer's Reference Guide Page 272
|
||||
jmp chrout
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (IBSOUT)
|
||||
@@ -1,3 +1,4 @@
|
||||
; Scan stop key
|
||||
; C64 Programmer's Reference Guide Page 273
|
||||
jmp stop
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (ISTOP)
|
||||
@@ -1,3 +1,4 @@
|
||||
; Get character from keyboard queue (keyboard buffer)
|
||||
; C64 Programmer's Reference Guide Page 272
|
||||
jmp getin
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (IGETIN)
|
||||
@@ -1,3 +1,4 @@
|
||||
; $FFE7 - Close all files vector
|
||||
; (http://codebase64.org/doku.php?id=base:kernalreference)
|
||||
jmp clall
|
||||
; According to Compute's Mapping the Commodore 64 (pages 74/75), this jump is indirect
|
||||
jmp (ICLALL)
|
||||
@@ -65,24 +65,3 @@ vector_restore:
|
||||
rts
|
||||
|
||||
.scend
|
||||
|
||||
;; XXX below we have quite a lot of data... should we decouple them?
|
||||
|
||||
vector_defaults:
|
||||
.word default_irq_handler ;; CINV
|
||||
.word $0000 ;; CBINV XXX implement this
|
||||
.word $0000 ;; NMINV XXX implement this
|
||||
|
||||
.word open ;; IOPEN
|
||||
.word close ;; ICLOSE
|
||||
.word chkin ;; ICHKIN
|
||||
.word ckout ;; ICKOUT
|
||||
.word clrchn ;; ICLRCH
|
||||
.word chrin ;; IBASIN
|
||||
.word chrout ;; IBSOUT
|
||||
.word stop ;; ISTOP
|
||||
.word getin ;; IGETIN
|
||||
.word clall ;; ICLALL
|
||||
.word $0000 ;; USRCMD XXX implement this
|
||||
.word load ;; ILOAD
|
||||
.word save ;; ISAVE
|
||||
Reference in new issue
Block a user