interrupt cleanup started
This commit is contained in:
1 parent
87b6a3f19a
commit
44ca73be40
12 files changed
+51
-25
No files matched your search
@@ -11,7 +11,7 @@
|
||||
|
||||
;; CHKIN implementation
|
||||
|
||||
chkin:
|
||||
chkin_real:
|
||||
|
||||
;; Store Y for preservation
|
||||
tya
|
||||
@@ -88,11 +88,9 @@ chkinout_file_not_output:
|
||||
tay
|
||||
jmp kernalerror_FILE_NOT_OUTPUT
|
||||
|
||||
chkinout_common:
|
||||
|
||||
;; CKOUT implementation
|
||||
|
||||
ckout:
|
||||
ckout_real:
|
||||
|
||||
;; Store Y for preservation
|
||||
tya
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
;; In our implementation CHKIN and CKOUT are closely tied,
|
||||
;; placing it here would cause a collision
|
||||
|
||||
chkin:
|
||||
jmp chkin_real
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
;; In our implementation CHKIN and CKOUT are closely tied,
|
||||
;; placing it here would cause a collision
|
||||
|
||||
ckout:
|
||||
jmp ckout_real
|
||||
File renamed without changes.
@@ -0,0 +1,8 @@
|
||||
|
||||
default_nmi_handler:
|
||||
|
||||
;; XXX provide real implementation
|
||||
|
||||
inc $D020
|
||||
rti
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
default_brk_handler:
|
||||
|
||||
;; XXX implement this!
|
||||
|
||||
;; Acknowledge CIA interrupt and return
|
||||
jmp clear_cia1_interrupt_flag_and_return_from_interrupt
|
||||
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
|
||||
nmi_handler:
|
||||
|
||||
jmp (NMINV)
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
nmi_handler:
|
||||
inc $D020
|
||||
rti
|
||||
@@ -8,19 +8,19 @@
|
||||
|
||||
vector_defaults:
|
||||
.word default_irq_handler ;; CINV
|
||||
.word $0000 ;; CBINV XXX implement this, has to be $FE66 for autostart support
|
||||
.word $0000 ;; NMINV XXX implement this, has to be $FE47 for autostart support
|
||||
.word default_brk_handler ;; CBINV
|
||||
.word default_nmi_handler ;; NMINV
|
||||
|
||||
.word open ;; IOPEN
|
||||
.word close ;; ICLOSE
|
||||
.word chkin ;; ICHKIN XXX move routine to $F20E - for autostart support
|
||||
.word ckout ;; ICKOUT XXX move routine to $F250 - for autostart support
|
||||
.word clrchn ;; ICLRCH
|
||||
.word chrin ;; IBASIN
|
||||
.word chrout ;; IBSOUT
|
||||
.word stop ;; ISTOP
|
||||
.word getin ;; IGETIN
|
||||
.word clall ;; ICLALL
|
||||
.word $0000 ;; USRCMD XXX implement this, has to be $FE66 for autostart support
|
||||
.word load ;; ILOAD
|
||||
.word save ;; ISAVE
|
||||
.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 default_brk_handler ;; USRCMD
|
||||
.word load ;; ILOAD
|
||||
.word save ;; ISAVE
|
||||
Reference in new issue
Block a user