From c5be187955bf0b4e23119516b5c323458957310a Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Wed, 2 Sep 2020 21:49:25 +0200 Subject: [PATCH] on MEGA65 start in native mode by default --- src/kernal/init/fce2.hw_entry_reset.s | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/kernal/init/fce2.hw_entry_reset.s b/src/kernal/init/fce2.hw_entry_reset.s index c968391d..2b462e84 100644 --- a/src/kernal/init/fce2.hw_entry_reset.s +++ b/src/kernal/init/fce2.hw_entry_reset.s @@ -28,6 +28,7 @@ hw_entry_reset: #if ROM_LAYOUT_M65 jsr map_NORMAL // we want normal memory mapping + jsr viciv_shutdown // by default we do not want the VIC-IV #endif @@ -64,6 +65,13 @@ hw_entry_reset: // "Compute's Mapping the 64" p236 jsr JCINT +#if ROM_LAYOUT_M65 + + clc + jsr M65_MODESET // on MEGA65 go to native mode by default + +#endif + // What do we do when finished? A C64 jumps into the BASIC ROM cli // allow interrupts to happen