attempt tro fix https://github.com/MEGA65/open-roms/issues/68
This commit is contained in:
1 parent
02e9badb65
commit
a12eaff249
4 files changed
+6
-1
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -21,7 +21,7 @@ m65_hypervisor_reset:
|
|||||||
stx VIC_SCROLX
|
stx VIC_SCROLX
|
||||||
|
|
||||||
jsr IOINIT_skip_DOS ; better not to initialize DOS under hypervisor, risk of incompatibility
|
jsr IOINIT_skip_DOS ; better not to initialize DOS under hypervisor, risk of incompatibility
|
||||||
jsr m65_reset_common ; RAMTAS, RESTOR, CINT
|
jsr m65_reset_part_skip_palette ; also skip palette setting, but do RAMTAS, RESTOR, CINT
|
||||||
|
|
||||||
; Restore hypervisor memory mapping and quit
|
; Restore hypervisor memory mapping and quit
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,11 @@ m65_reset_part:
|
|||||||
|
|
||||||
jsr map_KERNAL_1
|
jsr map_KERNAL_1
|
||||||
jsr (VK1__m65_colorset_reset)
|
jsr (VK1__m65_colorset_reset)
|
||||||
|
|
||||||
|
; FALLTROUGH
|
||||||
|
|
||||||
|
m65_reset_part_skip_palette: ; for hypervisor reset do not set palette, see https://github.com/MEGA65/open-roms/issues/68
|
||||||
|
|
||||||
jsr map_NORMAL ; we want normal memory mapping
|
jsr map_NORMAL ; we want normal memory mapping
|
||||||
|
|
||||||
jsr viciv_shutdown ; by default we do not want the VIC-IV
|
jsr viciv_shutdown ; by default we do not want the VIC-IV
|
||||||
|
|||||||
Reference in new issue
Block a user