diff --git a/bin/basic_generic.rom b/bin/basic_generic.rom index 82c768bf..51ee2980 100644 Binary files a/bin/basic_generic.rom and b/bin/basic_generic.rom differ diff --git a/bin/basic_mega65.rom b/bin/basic_mega65.rom index 911bacab..84c54593 100644 Binary files a/bin/basic_mega65.rom and b/bin/basic_mega65.rom differ diff --git a/bin/basic_ultimate64.rom b/bin/basic_ultimate64.rom index e54c732f..5df8a636 100644 Binary files a/bin/basic_ultimate64.rom and b/bin/basic_ultimate64.rom differ diff --git a/bin/kernal_generic.rom b/bin/kernal_generic.rom index 2cbd041a..3d37f906 100644 Binary files a/bin/kernal_generic.rom and b/bin/kernal_generic.rom differ diff --git a/bin/kernal_mega65.rom b/bin/kernal_mega65.rom index 2cbd041a..3d37f906 100644 Binary files a/bin/kernal_mega65.rom and b/bin/kernal_mega65.rom differ diff --git a/bin/kernal_ultimate64.rom b/bin/kernal_ultimate64.rom index 2cbd041a..3d37f906 100644 Binary files a/bin/kernal_ultimate64.rom and b/bin/kernal_ultimate64.rom differ diff --git a/c64/kernal/cint.s b/c64/kernal/cint_real.s similarity index 99% rename from c64/kernal/cint.s rename to c64/kernal/cint_real.s index a99aa08d..50e1d689 100644 --- a/c64/kernal/cint.s +++ b/c64/kernal/cint_real.s @@ -9,7 +9,7 @@ ;; -cint: +cint_real: ;; According to [CM64], this routine checks for PAL/NTSC. It's definitely not done ;; within the 'BRK' part, this can be easily checked - POKE something diff --git a/c64/kernal/fd15.interop b/c64/kernal/fd15.interop new file mode 100644 index 00000000..1436a2f0 --- /dev/null +++ b/c64/kernal/fd15.interop @@ -0,0 +1,4 @@ +Original Kernal location of the RESTOR routine. + +Routine moved to original location due to game 'Duotris' calling it instead of using the Kernal jumptable. +Starting the game without this patch caused warm reset with 'BRK AT $FD15' message. diff --git a/c64/kernal/vector.s b/c64/kernal/fd15.vector.s similarity index 100% rename from c64/kernal/vector.s rename to c64/kernal/fd15.vector.s diff --git a/c64/kernal/ff5b.cint.jmp.s b/c64/kernal/ff5b.cint.jmp.s new file mode 100644 index 00000000..b5497eca --- /dev/null +++ b/c64/kernal/ff5b.cint.jmp.s @@ -0,0 +1,6 @@ + +;; Our implementation is longer than the original one, +;; placing it here would cause a collision with OPEN + +cint: + jmp cint_real diff --git a/c64/kernal/ff5b.interop b/c64/kernal/ff5b.interop new file mode 100644 index 00000000..d5ca7abe --- /dev/null +++ b/c64/kernal/ff5b.interop @@ -0,0 +1,4 @@ +Original Kernal location of the CINT routine. + +Routine moved to original location due to game 'Duotris' calling it instead of using the Kernal jumptable. +Starting the game without this patch caused warm reset with 'BRK AT $FF5B' message.