mirror of
https://github.com/mgcaret/rom4x.git
synced 2024-12-30 08:30:34 +00:00
optional patches to let MAME IIc+ emulation boot
This commit is contained in:
parent
0c442f1d46
commit
1c5a03e3ea
13
rom5x/options/mame/B0_C500_MAME_no_35_1.s
Normal file
13
rom5x/options/mame/B0_C500_MAME_no_35_1.s
Normal file
@ -0,0 +1,13 @@
|
||||
; remove 3.5" functionality for MAME
|
||||
; this bit causes slot 5 boot to go to do 6 boot instead
|
||||
; and also overwrites the firmware protocol bits to not
|
||||
; identify as a block device.
|
||||
.code
|
||||
.include "iic+.defs"
|
||||
rompatch $c500,0,"MAME_no_35_1"
|
||||
ldx #$00
|
||||
lda #$c6
|
||||
stx $00
|
||||
sta $01
|
||||
jmp ($00)
|
||||
endpatch
|
8
rom5x/options/mame/B0_C5F8_MAME_no_35_2.s
Normal file
8
rom5x/options/mame/B0_C5F8_MAME_no_35_2.s
Normal file
@ -0,0 +1,8 @@
|
||||
; remove 3.5" functionality for MAME
|
||||
; this bit removes protocol converter initialization
|
||||
; so the 3.5" drive code is never called
|
||||
.code
|
||||
.include "iic+.defs"
|
||||
rompatch $c5f8,0,"MAME_no_35_2"
|
||||
rts
|
||||
endpatch
|
7
rom5x/options/mame/B0_C61A_MAME_no_35_3.s
Normal file
7
rom5x/options/mame/B0_C61A_MAME_no_35_3.s
Normal file
@ -0,0 +1,7 @@
|
||||
; remove 3.5" functionality for MAME
|
||||
; this bit removes some 3.5" cruft added to the 5.25" boot code
|
||||
.code
|
||||
.include "iic+.defs"
|
||||
rompatch $c61a,0,"MAME_no_35_3"
|
||||
lda $c089,x
|
||||
endpatch
|
Loading…
Reference in New Issue
Block a user