clearing Mega65 text scren works now

This commit is contained in:
FeralChild64 committed 2020-08-08 21:51:15 +02:00
1 parent 52e2060026
commit ab5400b20c
3 files changed
+34 -15

No files matched your search

+7 -7
View File
@@ -42,6 +42,13 @@ m65_scrmodeset_internal: // entry point for M65_MODE65
sta M65_SCRMODE
// Set flags/variables for 40/80 columns and 25/50 rows
tax
lda m65_scrtab_vic_ctrlb,x
sta VIC_CTRLB
// Set the base screen addresses:
// - in VIC_SCRNPTR and M65_SCRTXTBASE to $16000
// - in VIC_COLPTR to $0000
@@ -60,11 +67,4 @@ m65_scrmodeset_internal: // entry point for M65_MODE65
stx VIC_SCRNPTR+1
stx M65_SCRTXTBASE+1
// Set flags/variables for 40/80 columns and 25/50 rows
tax
lda m65_scrtab_vic_ctrlb,x
sta VIC_CTRLB
rts