implement $EA7E entry point and fix $EA31 entry point. Issue #20

This commit is contained in:
Paul Gardner-Stephen committed 2019-05-05 14:57:42 +09:30
1 parent 1d850ad7c3
commit ccf4dbe5da
5 files changed
+24 -9

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
;; https://csdb.dk/forums/index.php?roomid=11&topicid=5776
;; Clear the CIA1 interrupt flag, and then fall through to
;; the return from interrupt routine
clear_cia1_interrupt_flag_and_return_from_interrupt:
;; We have free choice of LDA, LDX or LDY to achieve this goal
;; in 3 bytes and minimum cycles. Thus we randomly choose LDY.
LDY $DC0D
;; FALL THROUGH to $EA81