small cleanup
This commit is contained in:
1 parent
1cc254fa18
commit
3fc9f6fb29
3 files changed
+2
-4
No files matched your search
@@ -40,6 +40,7 @@ m65_chrout_screen_literal: // entry point for m65_chrout_screen_quote
|
||||
|
||||
// Prepare .Z and M65_LPNT_SCR for colour memory manipulation
|
||||
|
||||
ldz M65__TXTCOL
|
||||
jsr m65_helper_scrlpnt_color
|
||||
|
||||
// Store the new color in screen memory
|
||||
|
||||
@@ -39,6 +39,7 @@ m65_cursor_undraw:
|
||||
// Cursor undraw - color
|
||||
|
||||
jsr m65_helper_scrlpnt_color
|
||||
ldz M65__TXTCOL
|
||||
lda GDCOL
|
||||
sta_lp (M65_LPNT_SCR),z
|
||||
|
||||
|
||||
@@ -4,10 +4,6 @@
|
||||
|
||||
m65_helper_scrlpnt_color:
|
||||
|
||||
// Set .Z to the current column
|
||||
|
||||
ldz M65__TXTCOL // XXX probably not the best place for this
|
||||
|
||||
// Setting M65_LPNT_SCR to point to colour memory (starts from $FF80000)
|
||||
|
||||
lda #$0F
|
||||
|
||||
Reference in new issue
Block a user