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

+1 -1
View File
@@ -108,7 +108,7 @@ NOTE: Even the 'DONE' routines won't support features described as missing in on
| `$FFE7` | `CLALL` | DONE | |
| `$FFEA` | `UDTIM` | DONE | |
| `$FFED` | `SCREEN` | DONE | |
| `$FFF0` | `PLOT` | NOT DONE | |
| `$FFF0` | `PLOT` | DONE | |
| `$FFF3` | `IOBASE` | DONE | |
<br />
+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