implemented PLOT routine
This commit is contained in:
1 parent
676db127c3
commit
403be441dc
2 files changed
+16
-1
No files matched your search
@@ -9,4 +9,19 @@
|
||||
;;
|
||||
|
||||
plot:
|
||||
bcs plot_get
|
||||
|
||||
plot_set:
|
||||
sty current_screen_y
|
||||
stx current_screen_x
|
||||
|
||||
;; Our implementation has different screen editor, updating any
|
||||
;; other variables (see [CM64]) seems to be unnecessary
|
||||
|
||||
;; FALLTROUGH to save one byte on RTS
|
||||
|
||||
plot_get:
|
||||
ldy current_screen_y
|
||||
ldx current_screen_x
|
||||
rts
|
||||
|
||||
Reference in new issue
Block a user