fixed soft reset in MEGA65 native mode

This commit is contained in:
FeralChild64 committed 2020-09-03 19:08:04 +02:00
1 parent 039b863a18
commit 4dcda28147
2 files changed
+23

No files matched your search

+15
View File
@@ -14,10 +14,25 @@
cint_legacy: // $E518
#if ROM_LAYOUT_M65
jsr M65_MODEGET
bcs !+
jsr M65_MODESET
bra cint_legacy_end
!:
#endif
// Setup video and I/O
// See here: https://csdb.dk/forums/index.php?roomid=11&topicid=17048&firstpost=22
jsr vicii_init
// FALLTROUGH
cint_legacy_end:
// Code below must be placed under $E51B, or some code will break - see here:
// - https://csdb.dk/forums/index.php?roomid=11&topicid=17048&firstpost=2
// Game 'Operacja Proboszcz' is one example.
+8
View File
@@ -12,6 +12,14 @@
clear_screen:
#if ROM_LAYOUT_M65
jsr M65_MODEGET
bcc_16 M65_CLRSCR
#endif
// Clear the line link table - cheecked on original ROMs,
// the highest bit set means that the line is NOT a logical
// continuation of the previous one