small cleanup

This commit is contained in:
FeralChild64 committed 2020-12-14 23:22:34 +01:00
1 parent 264396340f
commit 9a4d52cce3
3 files changed
+6 -13

No files matched your search

-3
View File
@@ -1,3 +0,0 @@
!macro NOP { eom }
-1
View File
@@ -3,4 +3,3 @@
!word Mon_Call
!word Mon_Break
!word Mon_Switch
+6 -9
View File
@@ -5,14 +5,16 @@
; *******************************
!macro NOP { eom } ; ACME does not allow NOP for MEGA65 CPU
; XXX adapt all the addresses/constants!
; ************************************************
; * Register storage for JMPFAR and JSRFAR calls *
; ************************************************
; ********************
; * Register storage *
; ********************
!addr Bank = 2
!addr Bank = 2 ; XXX get rid of it!
!addr PCH = 3
!addr PCL = 4
!addr SR = 5
@@ -100,17 +102,12 @@
Mon_Break
; *******
JSR PRIMM
!pet KEY_RETURN, "break",0 ; ; XXX what is '\a'?
JSR Print_Commands
; pull BP, Z, Y, X, A,SR,PCL,PCH
; 7 6 5 4 3 2 1 0
LDX #7
BIT EXIT ; version
BPL @loop
DEX
@loop PLA
STA PCH,X
DEX