flathub / org.mamedev.MAME

https://flathub.org/apps/details/org.mamedev.MAME
2 stars 1 forks source link

Attempting to run Apple2e Games #8

Closed Godsbane closed 1 year ago

Godsbane commented 1 year ago

I will preface this with i have no idea what i'm doing. I was asked to help someone else get an Apple2e game working. I have no issues with normal MAME emulation. /var/lib/flatpak/exports/bin/org.mamedev.MAME -rompath /home/deck/Emulation/roms/apple2 apple2e -flop1 /home/deck/Emulation/roms/apple2/Zorro.dsk

it will boot Apple ][ and then crash almost immediately after trying to load the disk with

/usr/include/c++/12.1.0/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = short int; _Alloc = std::allocator<short int>; reference = short int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.

rogs123 commented 1 year ago

Same error when trying to launch bbcmicro emulation:

_/var/lib/flatpak/exports/bin/org.mamedev.MAME -rompath /run/media/mmcblk0p1/Emulation/roms/bbcmicro/ bbcb -autobootdelay "2" -flop1 /run/media/mmcblk0p1/Emulation/roms/bbcmicro/ChuckieEgg.ssd

MAME will boot into the BBC emulator where I can enter commands. When I enter "*exec !boot", I get a few seconds of the rom running and then MAME exits out with:

/usr/include/c++/12.1.0/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator [with _Tp = short int; _Alloc = std::allocator; reference = short int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.

Per above, normal MAME emulation for arcade roms works fine.

jflatt commented 1 year ago

It looks like it was the floppy disk drive sample sound playback. I've put in a fix in the flatpak for now, will submit it upstream

rogs123 commented 1 year ago

Works great! Test AppleII and BBCmicro. Thanks for fixing!