Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08925 Crash/Freeze Critical (emulation) Always 18 days ago 17 hours ago
Tester Robbbert View Status Public Platform MAME (Self-compiled)
Assigned To Pernod Resolution Fixed OS Windows 10/11 (64-bit)
Status [?] Resolved Driver
Version 0.270 Fixed in Version 0.271GIT Build 64-bit
Fixed in Git Commit c117e94 Github Pull Request #
Summary 08925: mt65: crash when trying to load a tape
Description When loading a tape with XBUG installed, it crashes as soon as LOAD is entered.
Steps To Reproduce Type this at the command line, substituting your own tape filename.

>mame mt65 xbug -cass e:\data\tangerine\microtan\fast.wav

Once it starts up, type

BAS

to enter Basic. Then type

LOAD

to load the tape. At soon as enter is pressed, MAME crashes.
Additional Information C:\MAME>mame mt65 xbug -cass e:\data\tangerine\microtan\fast.wav

-----------------------------------------------------
Exception at EIP=00007ff699b2fcb4 (non-virtual thunk to generic_rom_linear_device::read_rom(unsigned int)+0x0004): INTEGER DIVIDE BY ZERO
-----------------------------------------------------
RAX=00000000000007f7 RBX=0000021ab3a03328 RCX=0000021ab0ebd9c0 RDX=0000000000000000
RSI=0000021ab0ed8570 RDI=000000000000f7f7 RBP=0000021ab3a03338 RSP=000000edce0f9538
 R8=00007ff6968ad690 R9=0000000000000000 R10=00000000000037f7 R11=0000021ab0fa7458
R12=00007ff699598ab0 R13=00000000ffffffff R14=00007ff699598ad0 R15=000000edce0f99f0
-----------------------------------------------------
Stack crawl:
  000000edce0f9530: 00007ff699b2fcb4 (non-virtual thunk to generic_rom_linear_device::read_rom(unsigned int)+0x0004)
  000000edce0f95a0: 00007ff6995981ed (tanbus_device::read(unsigned int)+0x00ed)
  000000edce0f9600: 00007ff696951ffe (m6502_device::jmp_adr_full()+0x01ae)
  000000edce0f9640: 00007ff69692f82a (m6502_device::execute_run()+0x009a)
  000000edce0f96b0: 00007ff6968791ec (device_scheduler::timeslice()+0x048c)
  000000edce0f9830: 00007ff6968760f5 (running_machine::run(bool)+0x01c5)
  000000edce0fee50: 00007ff699962d0c (mame_machine_manager::execute()+0x024c)
  000000edce0ff240: 00007ff69d62695a (cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x03ea)
  000000edce0ff550: 00007ff69d626f8a (cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x007a)
  000000edce0ff5b0: 00007ff69995dab7 (emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x0027)
  000000edce0ff980: 00007ff69f2acd51 (luaopen_lfs+0xc59e01)
  000000edce0ff9d0: 00007ff692b612ee (__tmainCRTStartup+0x016e)
  000000edce0ffa00: 00007ff692b61406 (mainCRTStartup+0x0016)
  000000edce0ffa30: 00007ffcf3697374 (BaseThreadInitThunk+0x0014)
  000000edce0ffab0: 00007ffcf527cc91 (RtlUserThreadStart+0x0021)
Github Commit
Flags
Regression Version
Affected Sets / Systems mt65
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
5
User avatar
No.22345
Robbbert
Senior Tester
18 days ago
At one time this system could load tapes without needing anything special, but it's been considerably refactored since then, and tapes can no longer be loaded.
User avatar
No.22356
Robbbert
Senior Tester
11 days ago
Confirmed since once again, nobody could be bothered.
User avatar
No.22372
Pernod
Developer
1 day ago
This bug report is quite misleading as the issue is caused by trying to access the XBUG ROM and has nothing to do with trying to load a tape.
User avatar
No.22373
Robbbert
Senior Tester
18 hours ago
Well sorry about that, but the crash happened when I tried to load a tape. I'm not really sure how else I could have described it.

Although the crash is now fixed, I'm still having the greatest difficulty in getting anything to run on this system. (ROM and SNAP from swlist are ok).
For example, the mt65_cass software list gives no clue on how one could load and run the tape.

The loose files in my collection are almost all non-working.
User avatar
No.22376
Pernod
Developer
17 hours ago
I agree that the loading instructions could be improved, but can assure you that all mt65_cass items do work. It's not obvious if you're not familiar with the machine or software.

BASIC programs, with extension .B, are the easiest, enter BASIC with BAS then LOAD. You have to specify the filename and most will require you to enter Y when asked FAST.

For anything with a .A extension you'll need to know where to execute it when loaded, usually G400.

Feel free to ping me on Discord for instructions on individual files.