wizzomafizzo / tapto

Launch games using physical objects
GNU General Public License v3.0
64 stars 9 forks source link

Issue booting ao486 VHDs launched using NFC. #24

Closed NML32 closed 3 months ago

NML32 commented 4 months ago

ao486 VHDs get mounted in IDE 1-1 slot and don't boot until the core is reset. If the VHD was loaded in IDE 0-0, would it auto-boot? This is what is written to the NFC: AO486/-DOS Containers/Testing/test.vhd

spark2k06 commented 4 months ago

Yes, but that has to be done in the ao486 core or Main MiSTer, possibly a very simple change.

wizzomafizzo commented 4 months ago

I believe there is an option in mgl files that lets you reset the core at any point in the load process and add delays to it. Would that help?

I would also need to add in an exception for this core's behaviour to insert this reset into the mgl generated to boot

NML32 commented 4 months ago

I believe there is an option in mgl files that lets you reset the core at any point in the load process and add delays to it. Would that help?

I would also need to add in an exception for this core's behaviour to insert this reset into the mgl generated to boot

Thank you and @spark2k06 for the help and suggestions. That worked. This is what I wrote to the NFC.

<mistergamedescription>
    <rbf>_Computer/AO486</rbf>
    <file delay="1" type="s" index="2" path="../../../../../media/fat/games/AO486/test.vhd"/>
    <reset delay="1"/>
</mistergamedescription>
wizzomafizzo commented 4 months ago

Thank you for trying it out! I'll try add this soon as default behaviour

NML32 commented 4 months ago

I have two MiSTers, one that reads the game folder from the SD card and the other MiSTer reads the game folder from usb0. Currently, I'm mounting the SD games folder to index 2 and USB0 to index 3. Is there a better way to do this? I'd like to use one NFC for both MiSTer. This is the only way I can think to do it.

<mistergamedescription>
    <rbf>_Computer/AO486</rbf>
    <file delay="1" type="s" index="2" path="../../../../../media/fat/games/AO486/-DOS Containers/Leisure Suit Larry 3 Passionate Patti in Pursuit of the Pulsating Pectorals.vhd"/>
    <file delay="1" type="s" index="3" path="../../../../../media/usb0/games/AO486/-DOS Containers/Leisure Suit Larry 3 Passionate Patti in Pursuit of the Pulsating Pectorals.vhd"/>
    <reset delay="1"/>
</mistergamedescription> 
wizzomafizzo commented 4 months ago

With this feature added you will be able to simply write AO486/-DOS Containers/Leisure Suit Larry 3 Passionate Patti in Pursuit of the Pulsating Pectorals.vhd to the token and it will work on both misters seamlessly. It will do a check for the file on each games folder and then create the mgl file on the fly to launch

wizzomafizzo commented 4 months ago

16166777-leisure-suit-larry-iii-