jump table now uses vectors in RAM

This commit is contained in:
FeralChild64 committed 2019-08-05 18:08:15 +02:00
1 parent fb9caa7602
commit d5d6581901
32 files changed
+60 -140

No files matched your search

+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
+2 -1
View File
@@ -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)
-21
View File
@@ -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