implemented PLOT routine

This commit is contained in:
FeralChild64 committed 2019-08-10 16:56:03 +02:00
1 parent 676db127c3
commit 403be441dc
2 files changed
+16 -1

No files matched your search

+15
View File
@@ -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