fixed first text column on VIC-IV

This commit is contained in:
FeralChild64 committed 2020-08-21 16:44:21 +02:00
1 parent e32b3651d2
commit 175c40c512
3 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ setup_vicii:
lda #$1B // according to [CM64] page 137 some software assumes oldest bit is 0
sta VIC_SCROLY
lda #$C8
sta VIC_SCROLX // 40 column etc
sta VIC_SCROLX // 40 column, etc.
lda #$14
sta VIC_YMCSB
lda #$0F
@@ -32,6 +32,12 @@ m65_scrtab_viewmax_hi: // maximum allowed viewport start - high byte
.byte $96
.byte $8E
m65_scrtab_scrolx: // values for VIC_SCROLX
.byte $C8
.byte $CA
.byte $CA
m65_scrtab_rowoffset_lo: // row offsets - low bytes
.byte <(80 * 0), <(80 * 1), <(80 * 2), <(80 * 3), <(80 * 4), <(80 * 5), <(80 * 6), <(80 * 7), <(80 * 8), <(80 * 9)
@@ -46,6 +46,8 @@ m65_scrmodeset_internal: // entry point for M65_MODE65
tax
lda m65_scrtab_scrolx,x
sta VIC_SCROLX
lda m65_scrtab_vic_ctrlb,x
sta VIC_CTRLB