Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmtowns_cd.xml: 20 new dumps, 35 replacements, add msdet2 floppy #7501

Merged
merged 1 commit into from
Nov 29, 2020
Merged

fmtowns_cd.xml: 20 new dumps, 35 replacements, add msdet2 floppy #7501

merged 1 commit into from
Nov 29, 2020

Conversation

rzero9
Copy link
Contributor

@rzero9 rzero9 commented Nov 20, 2020

New working software list additions

Collector D - Bangai-hen - Gokurakudai Nishichiku Sales Daisakusen
[redump.org]
Eikan wa Kimi ni 2 - Koukou Yakyuu Zenkoku Taikai (HMC-144) [redump.org]
Gokichi-kun Series - Igo Nyuumon Doujou [redump.org]
Hiragana no Ehon [redump.org]
Hirou [redump.org]
Hyper Planet Shiki Vol. 1 [redump.org]
Igo II (HMA-219) [redump.org]
Joshikousei Shoujo Densetsu - Cosplay Special [redump.org]
Mahjong Gensoukyoku II - Mahjong Fantasia [redump.org]
Mahjong Gensoukyoku III - Mahjong Fantasia the 3rd Stage [redump.org]
NHK Jissen Eikaiwa (HMC-120A) [redump.org]
Soft de Hard na Monogatari [redump.org, wiggy2k]
Soft de Hard na Monogatari 2 [redump.org, wiggy2k]
Vampire High School [redump.org]

New not working software list additions

Cyber Motion V1.0 [redump.org, wiggy2k]
Hyper Planet for Marty [redump.org]
L'Empereur [redump.org]
Lettuce Cooking - Tanoshiku Tsukureru Obentou [redump.org]
Nemurenu Yoru no Chiisana Ohanashi [redump.org]
Sensual Angels [redump.org]

Replaced software list items

AIV - A Ressha de Ikou 4 [redump.org, wiggy2k]
AmbivalenZ - Niritsu Haihan [redump.org]
America Oudan Ultra Quiz [redump.org]
Beast III [redump.org]
Cybercity [redump.org]
Digital Pinup Girls Vol. 1 - Sexy Shooting [redump.org]
DOR Special Edition Sakigake [redump.org]
Emerald Dragon [redump.org]
Eye of the Beholder II - The Legend of Darkmoon [redump.org]
Game Technopolis Super Collection 1 [redump.org]
Gekirin - Ushinawareshi Houken [redump.org]
Image Fight [redump.org]
Jangou 4 [redump.org]
Jankirou [redump.org]
Joshikousei Shoujo Hatsunetsu [redump.org]
Joshua [redump.org]
Lemmings 2 - The Tribes [redump.org]
Libble Rabble [redump.org]
Many Colors [redump.org]
Metal Eye [redump.org]
Mirrors [redump.org]
Murder Club DX [redump.org]
My Eyes! [redump.org]
Prince of Persia 2 - The Shadow and the Flame [redump.org]
Rainbow Islands - The Story of Bubble Bobble 2 - Extra Version
[redump.org]
Regional Power II [redump.org]
Sayaka + Miho [redump.org]
The 4th Unit 4 - Zero [redump.org]
The Atlas II [redump.org, wiggy2k]
Tokio - Tokyo-to Dai-24-ku [redump.org]
Toudou Ryuunosuke Tantei Nikki - Ougon no Rashinban - Shouyoumaru San
Francisco Kouro Satsujin Jiken [redump.org]
Ultima Trilogy I-II-III [redump.org]
Volfied [redump.org]
Wing Commander II - Vengeance of the Kilrathi - Special Operations 1 &
Special Operations 2 [redump.org]
Words Worth [redump.org]

Software list items promoted to working

Ms. Detective File #2 - Sugata-naki Irainin [wiggy2k]

New working software list additions
-----------------------------------

Collector D - Bangai-hen - Gokurakudai Nishichiku Sales Daisakusen
[redump.org]
Eikan wa Kimi ni 2 - Koukou Yakyuu Zenkoku Taikai (HMC-144) [redump.org]
Gokichi-kun Series - Igo Nyuumon Doujou [redump.org]
Hiragana no Ehon [redump.org]
Hirou [redump.org]
Hyper Planet Shiki Vol. 1 [redump.org]
Igo II (HMA-219) [redump.org]
Joshikousei Shoujo Densetsu - Cosplay Special [redump.org]
Mahjong Gensoukyoku II - Mahjong Fantasia [redump.org]
Mahjong Gensoukyoku III - Mahjong Fantasia the 3rd Stage [redump.org]
NHK Jissen Eikaiwa (HMC-120A) [redump.org]
Soft de Hard na Monogatari [redump.org, wiggy2k]
Soft de Hard na Monogatari 2 [redump.org, wiggy2k]
Vampire High School [redump.org]

New not working software list additions
---------------------------------------

Cyber Motion V1.0 [redump.org, wiggy2k]
Hyper Planet for Marty [redump.org]
L'Empereur [redump.org]
Lettuce Cooking - Tanoshiku Tsukureru Obentou [redump.org]
Nemurenu Yoru no Chiisana Ohanashi [redump.org]
Sensual Angels [redump.org]

Replaced software list items
----------------------------

AIV - A Ressha de Ikou 4 [redump.org, wiggy2k]
AmbivalenZ - Niritsu Haihan [redump.org]
America Oudan Ultra Quiz [redump.org]
Beast III [redump.org]
Cybercity [redump.org]
Digital Pinup Girls Vol. 1 - Sexy Shooting [redump.org]
DOR Special Edition Sakigake [redump.org]
Emerald Dragon [redump.org]
Eye of the Beholder II - The Legend of Darkmoon [redump.org]
Game Technopolis Super Collection 1 [redump.org]
Gekirin - Ushinawareshi Houken [redump.org]
Image Fight [redump.org]
Jangou 4 [redump.org]
Jankirou [redump.org]
Joshikousei Shoujo Hatsunetsu [redump.org]
Joshua [redump.org]
Lemmings 2 - The Tribes [redump.org]
Libble Rabble [redump.org]
Many Colors [redump.org]
Metal Eye [redump.org]
Mirrors [redump.org]
Murder Club DX [redump.org]
My Eyes! [redump.org]
Prince of Persia 2 - The Shadow and the Flame [redump.org]
Rainbow Islands - The Story of Bubble Bobble 2 - Extra Version
[redump.org]
Regional Power II [redump.org]
Sayaka + Miho [redump.org]
The 4th Unit 4 - Zero [redump.org]
The Atlas II [redump.org, wiggy2k]
Tokio - Tokyo-to Dai-24-ku [redump.org]
Toudou Ryuunosuke Tantei Nikki - Ougon no Rashinban - Shouyoumaru San
Francisco Kouro Satsujin Jiken [redump.org]
Ultima Trilogy I-II-III [redump.org]
Volfied [redump.org]
Wing Commander II - Vengeance of the Kilrathi - Special Operations 1 &
Special Operations 2 [redump.org]
Words Worth [redump.org]

Software list items promoted to working
---------------------------------------

Ms. Detective File #2 - Sugata-naki Irainin [wiggy2k]
@rzero9
Copy link
Contributor Author

rzero9 commented Nov 20, 2020

Note that this time the new items have been tested with the official 0.226 release, since the FM Towns driver crashes very often with the latest code.

@cracyc
Copy link
Member

cracyc commented Nov 21, 2020

What's up with the crashes?

@rzero9
Copy link
Contributor Author

rzero9 commented Nov 21, 2020

My guess is they are related to the recent changes to memory allocation. The last significant changes in the driver itself were before 0.226 and the crashes seem to be semi-random (they usually, but not always, happen while booting the OS), so something is probably accessing uninitialized memory somewhere.

@cracyc
Copy link
Member

cracyc commented Nov 21, 2020

I've tried some software and haven't seen any crashes. Is there some program that can repo it more often or do you have a backtrace?

@rzero9
Copy link
Contributor Author

rzero9 commented Nov 21, 2020

I just did an updated partial build (fmtowns only), and tried running tss1120 a few times with a fresh configuration. I got a few good runs and two different crashes:

C:\emu\mame_test>fmtowns64 fmtowns tss1120 -str 15 -nothrottle -video none
Average speed: 349.51% (14 seconds)

C:\emu\mame_test>fmtowns64 fmtowns tss1120 -str 15 -nothrottle -video none

-----------------------------------------------------
Exception at EIP=00000000020c853a (handler_entry_write_dispatch<14, 2, 0, (endianness_t)0>::write(unsigned int, unsigned int, unsigned int) const+0x001a): ACCESS VIOLATION
While attempting to read memory at 0000000000000028
-----------------------------------------------------
RAX=0000000000000000 RBX=0000000046a57b70 RCX=0000000047dacc90 RDX=00000000000d89ec
RSI=0000000000000003 RDI=0000000000000003 RBP=00000000439b95c0 RSP=00000000439b95a0
 R8=0000000000000000  R9=000000000000ff00 R10=0000000047e6c5f0 R11=00000000000d89ec
R12=f21f494c589c0000 R13=00000000439bed98 R14=00000000023c6020 R15=0000000000000004
-----------------------------------------------------
Stack crawl:
  00000000439b95a0: 00000000020c853a (handler_entry_write_dispatch<14, 2, 0, (endianness_t)0>::write(unsigned int, unsigned int, unsigned int) const+0x001a)
  00000000439b95f0: 0000000001163637 (address_space_specific<1, 2, 0, (endianness_t)0>::write_byte(unsigned int, unsigned char)+0x0047)
  00000000439b9650: 00000000007ef886 (upd71071_device::dma_transfer_timer(void*, int)+0x0146)
  00000000439b96d0: 00000000009a5be3 (device_scheduler::timeslice()+0x0163)
  00000000439b9820: 00000000009589d8 (running_machine::run(bool)+0x0168)
  00000000439bf3f0: 00000000004ed053 (mame_machine_manager::execute()+0x01d3)
  00000000439bf6f0: 0000000000573aee (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&)+0x031e)
  00000000439bf9e0: 0000000000573f6b (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> > > >&)+0x005b)
  00000000439bfa40: 00000000004eae8c (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> > > >&)+0x002c)
  00000000439bfe20: 00000000022972ef (main+0x017f)
  00000000439bfef0: 00000000004013c1 (__tmainCRTStartup+0x0231)
  00000000439bff20: 00000000004014f6 (mainCRTStartup+0x0016)
  00000000439bff50: 00007ffbce8b7974 (BaseThreadInitThunk+0x0014)
  00000000439bffd0: 00007ffbcf90a0b1 (RtlUserThreadStart+0x0021)

C:\emu\mame_test>fmtowns64 fmtowns tss1120 -str 15 -nothrottle -video none

-----------------------------------------------------
Exception at EIP=000000000203ab31 (handler_entry_write_units<2, 0, (endianness_t)0>::write(unsigned int, unsigned int, unsigned int) const+0x0151): ACCESS VIOLATION
While attempting to read memory at 0000000000000028
-----------------------------------------------------
RAX=0000000000000000 RBX=0000000047f8daa8 RCX=0000000047f8cad0 RDX=0000000000000000
RSI=0000000000000000 RDI=00000000000000ff RBP=00000000439b9400 RSP=00000000439b93e0
 R8=000000000000000b  R9=00000000000000ff R10=0000000047f8cad0 R11=0000000000000000
R12=0000000047f8da90 R13=000000000000000b R14=0000000000000000 R15=000000000000000f
-----------------------------------------------------
Stack crawl:
  00000000439b9410: 000000000203ab31 (handler_entry_write_units<2, 0, (endianness_t)0>::write(unsigned int, unsigned int, unsigned int) const+0x0151)
  00000000439b9460: 00000000020c853d (handler_entry_write_dispatch<14, 2, 0, (endianness_t)0>::write(unsigned int, unsigned int, unsigned int) const+0x001d)
  00000000439b9490: 0000000001163637 (address_space_specific<1, 2, 0, (endianness_t)0>::write_byte(unsigned int, unsigned char)+0x0047)
  00000000439b9500: 0000000000752396 (i386_device::i386_out_al_i8()+0x0096)
  00000000439b9560: 00000000007b7f06 (i386_device::i386_decode_opcode()+0x00b6)
  00000000439b9650: 00000000007b8bb7 (i386_device::execute_run()+0x0147)
  00000000439b96d0: 00000000009a5d88 (device_scheduler::timeslice()+0x0308)
  00000000439b9820: 00000000009589d8 (running_machine::run(bool)+0x0168)
  00000000439bf3f0: 00000000004ed053 (mame_machine_manager::execute()+0x01d3)
  00000000439bf6f0: 0000000000573aee (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&)+0x031e)
  00000000439bf9e0: 0000000000573f6b (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> > > >&)+0x005b)
  00000000439bfa40: 00000000004eae8c (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> > > >&)+0x002c)
  00000000439bfe20: 00000000022972ef (main+0x017f)
  00000000439bfef0: 00000000004013c1 (__tmainCRTStartup+0x0231)
  00000000439bff20: 00000000004014f6 (mainCRTStartup+0x0016)
  00000000439bff50: 00007ffbce8b7974 (BaseThreadInitThunk+0x0014)
  00000000439bffd0: 00007ffbcf90a0b1 (RtlUserThreadStart+0x0021)

@Osso13
Copy link
Member

Osso13 commented Nov 22, 2020

It doesn't seem to happen with the 0.226 release, only with current git builds.

In GDB with a DEBUG=1 SYMBOLS=1 SYMLEVEL=2 build I get:

warning: HEAP[m64d.exe]:
warning: Heap block at 00000000077AF590 modified at 00000000077B15A0 past requested size of 2000

Thread 1 received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffe8549df3 in ntdll!RtlRegisterSecureMemoryCacheCallback () from C:\WINDOWS\SYSTEM32\ntdll.dll
(gdb) bt 20
#0 0x00007fffe8549df3 in ntdll!RtlRegisterSecureMemoryCacheCallback () from C:\WINDOWS\SYSTEM32\ntdll.dll
#1 0x00007fffe854647f in ntdll!RtlZeroHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#2 0x00007fffe850dfd8 in ntdll!memset () from C:\WINDOWS\SYSTEM32\ntdll.dll
#3 0x00007fffe8548ca1 in ntdll!RtlRegisterSecureMemoryCacheCallback () from C:\WINDOWS\SYSTEM32\ntdll.dll
#4 0x00007fffe84fd018 in ntdll!memset () from C:\WINDOWS\SYSTEM32\ntdll.dll
#5 0x00007fffe84695c4 in ntdll!RtlAllocateHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#6 0x00007fffe8465d21 in ntdll!RtlFreeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
#7 0x00007fffe66d9c9c in msvcrt!free () from C:\WINDOWS\System32\msvcrt.dll
#8 0x000000000095952e in memory_manager::~memory_manager() ()
#9 0x00000000009bf08d in running_machine::~running_machine() ()
#10 0x000000000051d7f4 in mame_machine_manager::execute() ()
#11 0x00000000005b1e56 in cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > const&) ()
#12 0x00000000005b2336 in cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >&) ()
#13 0x000000000051b3f9 in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >&) ()
#14 0x00000000024a4309 in main ()

@cracyc
Copy link
Member

cracyc commented Nov 22, 2020

Hopefully 12e934c fixes the crash.

@rzero9
Copy link
Contributor Author

rzero9 commented Nov 23, 2020

I've done about 40 tests in a row without crashes, it seems to be working. Thanks!

@cuavas cuavas merged commit d4bf957 into mamedev:master Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants