diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-01-23 13:55:00 -0500 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-01-23 13:55:00 -0500 |
commit | 63d5046ecabd5fd1524d3c4bc4590176c3b8a4eb (patch) | |
tree | 9cfc71691294d818e87bb2e0026f37b8ee8eb892 /programs/pos-check.s | |
parent | 861d56e556b597115ad01b4b4cc0e5b932545ce9 (diff) |
Start optimizing the emulator.
I also added a new input testing program called
input-3.s, which contains a mostly working editor.
Diffstat (limited to 'programs/pos-check.s')
-rw-r--r-- | programs/pos-check.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/programs/pos-check.s b/programs/pos-check.s new file mode 100644 index 0000000..315147b --- /dev/null +++ b/programs/pos-check.s @@ -0,0 +1,12 @@ +cmd_clr: + lda scr_row + cmp #23 + beq cmd_vwrap + inc scr_row + jmp cmd_clr_end +cmd_vwrap: + jsl rset_row +cmd_clr_end: + jsl update_pos + lda #0 + rtl |