mirror of
https://github.com/dschmenk/VM02.git
synced 2024-06-02 15:41:27 +00:00
35 lines
335 B
ArmAsm
Executable File
35 lines
335 B
ArmAsm
Executable File
;
|
|
; LORES PLOT W/ COLOR
|
|
;
|
|
BIT $C081 ; SWAP IN ROM
|
|
PLA
|
|
STA $A0
|
|
PLA
|
|
STA $A1
|
|
PLA
|
|
TAX
|
|
PLA
|
|
PLA
|
|
PLA
|
|
TXA
|
|
JSR $F864 ; SET COLOR
|
|
PLA
|
|
STA $A2 ; VERTICAL POSITION
|
|
PLA
|
|
PLA
|
|
PLA
|
|
PLA
|
|
TAY ; HORIZ POSITION
|
|
PLA
|
|
PLA
|
|
PLA
|
|
LDA $A2
|
|
JSR $F800
|
|
LDA $A1
|
|
PHA
|
|
LDA $A0
|
|
PHA
|
|
; BIT $C083 ; SWAP IN LC BANK2
|
|
; BIT $C083 ; WRITE ENABLE
|
|
RTS
|