some more bits for exotic hardware support

This commit is contained in:
FeralChild64 committed 2020-02-07 19:25:09 +01:00
1 parent 6a1070c8ac
commit 48b56968ed
10 files changed
+126 -4

No files matched your search

+3 -1
View File
@@ -19,6 +19,8 @@ hw_entry_reset:
ldx #$FF
txs
#if CONFIG_PLATFORM_COMMODORE_64
// The following routine is based on reading the public KERNAL jumptable routine
// list, and making unimaginative assumptions about what should be done on reset.
// Also, https://codebase64.org/doku.php?id=base:assembling_your_own_cart_rom_image was used
@@ -30,10 +32,10 @@ hw_entry_reset:
jmp (ICART_COLD_START)
!:
#if CONFIG_PLATFORM_COMMODORE_64
// Disable the screen (and set 40 columns) to prevent visual glitches later
ldx #$28
stx VIC_SCROLX
#endif
// Initialising IO is obviously required. Also indicated by c64 prg p269.