size-optimized cartridge check
This commit is contained in:
1 parent
13b7172ed5
commit
021c9b3189
3 files changed
+8
-9
No files matched your search
@@ -3,11 +3,12 @@
|
||||
|
||||
|
||||
reset_entry:
|
||||
|
||||
// The GPL program at https://github.com/Klaus2m5/6502_65C02_functional_tests/blob/master/6502_functional_test.a65
|
||||
// uses the following initial reset sequence
|
||||
// affirmed by c64 PRG p269
|
||||
cld
|
||||
ldx #$ff
|
||||
ldx #$FF
|
||||
txs
|
||||
sei
|
||||
|
||||
@@ -18,7 +19,7 @@ reset_entry:
|
||||
|
||||
// C64 PRG p269
|
||||
jsr cartridge_check
|
||||
bcc !+
|
||||
bne !+
|
||||
jmp (ICART_COLD_START)
|
||||
!:
|
||||
// Initialising IO is obviously required. Also indicated by c64 prg p269.
|
||||
|
||||
Reference in new issue
Block a user