improved VIC II initialization

This commit is contained in:
FeralChild64 committed 2019-10-18 21:24:08 +02:00
1 parent 5f7c21fdac
commit abc669d761
3 files changed
+36 -10

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
//
// Official Kernal routine, described in:
//
// - [RG64] C64 Programmer's Reference Guide - page 295
// - [CM64] Compute's Mapping the Commodore 64 - page 215
//
// CPU registers that has to be preserved (see [RG64]): .A
//
SCREEN:
// There are only 2 sane ways to implement this routine,
// I hope this one is different than what Commodore picked :)
ldy #25 // 25 columns
ldx #40 // 40 rows
rts