Hi.
I am tweaking with MSX-DOS1 drivers, for my MSXPi project.
There is a bug I am trying to fix - I implemented a escape key in the driver, to bypass the boot and allow MSX to boot from another interface, but it does not work as I expected.
The MSX-DOS1 is always taking priority and booting from my interface even when I have MFR-SD connected to another slot.
Reading the Nextor docs some time ago, I knew that Nextor, being at a newer level, should boot and have the other interface as slave/secondary. But this is not happening.
The MSX-DOS got this at the start:
call INIHRD ; initialize diskhardware di ld a,(DEVICE) and a ; abort disksystem init ? ret m ; yep, quit jp nz,A580C ; disksystem init already started by an other diskrom, skip init
And in my driver, I am trying things like this:
INIHRD: ; If P is pressed during boot, MSXPi disk driver is bypassed call CHECK_P JR C,INIHRD_DISABLE ... INIHRD_DISABLE: ld a,1 -> tried "0", "255", "128" ld (DEVICE),A ret
I am tweaking with the (DEVICE) value, and the better I could do was totally ignore my interface and boot into Nextor.
But that is not what I want, since this disable totally my interface, even CALL commands.
Someone got a suggestion?
Thanks
roni