Previous Thread
Next Thread
Print Thread
Page 3 of 9 1 2 3 4 5 6 7 8 9
Re: Genesis regression [Re: Dr.Venom] #85565 02/14/13 04:34 PM
Joined: Mar 2001
Posts: 16,471
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,471
That looks much better, good work Dr. smile

Re: Genesis regression [Re: Dr.Venom] #85567 02/14/13 04:48 PM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
it seems that the problem is related to the handling of internal slot options (the ones which should not be edited by the users, like the cart types in nes/gb/genesis)

there is currently no effective way to filter them out from being written to the ini file (previous attempt resulted in the options being ignored also from command line), but writing them out creates the original problem.

@Dr. Venom: as a last test, could you update one last time to latest code (which is the same as yesterday) and see if the issue is present both with writeconfig 0 and 1 or if it is only present with writeconfig 1 (after removing the genesis.ini files)? you don't need to do a clean compile, just remove obj/emu/uimain.o and obj/emu/emuopts.o and recompile smile

Thanks for the help in this debugging

Re: Genesis regression [Re: etabeta78] #85568 02/14/13 04:58 PM
Joined: Jul 2012
Posts: 209
D
Dr.Venom Offline OP
Senior Member
OP Offline
Senior Member
D
Joined: Jul 2012
Posts: 209
Originally Posted By etabeta78
@Dr. Venom: as a last test, could you update one last time to latest code (which is the same as yesterday) and see if the issue is present both with writeconfig 0 and 1 or if it is only present with writeconfig 1 (after removing the genesis.ini files)? you don't need to do a clean compile, just remove obj/emu/uimain.o and obj/emu/emuopts.o and recompile smile


Of course. Just help me a bit on what needs to be exactly compiled. I have got the latest svn (21067).

Re: Genesis regression [Re: Dr.Venom] #85569 02/14/13 05:01 PM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
you need to update to r21069, delete obj/emu/uimain.o and obj/emu/emuopts.o and compile (it shall compile only the files changed in last updates + uimain & emuopts)

then delete genesis.ini and try to launch a game with writeconfig 0, then delete genesis.ini (just in case, actually none should be there...) and launch a game with writeconfig 1.
does it work in either or both tries?

and if you don't delete genesis.ini does it work or fails as before?

Re: Genesis regression [Re: etabeta78] #85570 02/14/13 05:04 PM
Joined: Jul 2012
Posts: 209
D
Dr.Venom Offline OP
Senior Member
OP Offline
Senior Member
D
Joined: Jul 2012
Posts: 209
Originally Posted By etabeta78
you need to update to r21069, delete obj/emu/uimain.o and obj/emu/emuopts.o and compile (it shall compile only the files changed in last updates + uimain & emuopts)

Ah OK, when I looked only r21068 was still there. I'll get back shortly..

Re: Genesis regression [Re: etabeta78] #85572 02/14/13 05:37 PM
Joined: Jul 2012
Posts: 209
D
Dr.Venom Offline OP
Senior Member
OP Offline
Senior Member
D
Joined: Jul 2012
Posts: 209
Here are the test results:

A. writeconfig=0, genesis.ini *not* present in ini folder -> works (there is no genesis.ini created)

B. writeconfig=1,genesis.ini *not* present in ini folder -> works

C. writeconfig=1, genesis.ini present in ini folder -> crashes (see log below)

D. writeconfig=0, genesis.ini present in ini folder -> crashes

Log of C:

Code:
Parsing ume.ini
Parsing genesis.ini
  00000000002286B0: 0000000001E943E7 (construct_address_map_vd_io(address_map&, device_t&)+0x0158)
  0000000000228770: 0000000003500692 (raster_0x00000035_0x00045119_0x00000000_0x00030679_0x0C261A0F_0xFFFFFFFF(void*, int, poly_extent const*, void const*, int)+0x061a)
  0000000000228900: 00000000026B7656 (x68k_state::x68k_vid_w(address_space&, unsigned int, unsigned short, unsigned short)+0x0184)
  0000000000228BB0: 00000000029AB4A6 (xerox820_state::machine_start()+0x017e)
  0000000000228BF0: 00000000029AB98B (construct_machine_config_xerox820(machine_config&, device_t*)+0x0366)
  000000000022F3D0: 00000000025F121F (construct_address_map_nimbus_io(address_map&, device_t&)+0x0022)
  000000000022F8B0: 000000000298DA2E (construct_ioport_socrates(device_t&, ioport_list&, astring&)+0x167f)
  000000000022FE10: 0000000001E9737B (construct_ioport_s3(device_t&, ioport_list&, astring&)+0x12ed)
  000000000022FE60: 0000000002CB12BC (m6805_base_device::execute_run()+0x029e)
  000000000022FF20: 00000000004013F0 (__tmainCRTStartup+0x0270)
  000000000022FF50: 00000000004014F8 (mainCRTStartup+0x0018)
  000000000022FF80: 0000000076CF652D (BaseThreadInitThunk+0x000d)
  000000000022FFD0: 0000000076F2C521 (RtlUserThreadStart+0x0021)
Driver genesis (file megadriv.c): 1 errors, 0 warnings
Errors:
   Fatal error Unknown slot option 'rom' in slot 'mdslot'
  00000000002289A0: 0000000001E943E7 (construct_address_map_vd_io(address_map&, device_t&)+0x0158)
  0000000000228A60: 0000000003500692 (raster_0x00000035_0x00045119_0x00000000_0x00030679_0x0C261A0F_0xFFFFFFFF(void*, int, poly_extent const*, void const*, int)+0x061a)
  0000000000228BF0: 00000000026B7656 (x68k_state::x68k_vid_w(address_space&, unsigned int, unsigned short, unsigned short)+0x0184)
  000000000022F3D0: 00000000025F1517 (construct_address_map_nimbus_io(address_map&, device_t&)+0x031a)
  000000000022F8B0: 000000000298DA2E (construct_ioport_socrates(device_t&, ioport_list&, astring&)+0x167f)
  000000000022FE10: 0000000001E9737B (construct_ioport_s3(device_t&, ioport_list&, astring&)+0x12ed)
  000000000022FE60: 0000000002CB12BC (m6805_base_device::execute_run()+0x029e)
  000000000022FF20: 00000000004013F0 (__tmainCRTStartup+0x0270)
  000000000022FF50: 00000000004014F8 (mainCRTStartup+0x0018)
  000000000022FF80: 0000000076CF652D (BaseThreadInitThunk+0x000d)
  000000000022FFD0: 0000000076F2C521 (RtlUserThreadStart+0x0021)
Unknown slot option 'rom' in slot 'mdslot'

Re: Genesis regression [Re: Dr.Venom] #85573 02/14/13 05:55 PM
Joined: May 2009
Posts: 1,840
J
Just Desserts Offline
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,840
Your callstack is useless. You need to rebuild MESS with SYMBOLS=1, and get a proper bt listing from gdb.

Re: Genesis regression [Re: Dr.Venom] #85574 02/14/13 06:00 PM
Joined: Jan 2006
Posts: 3,687
etabeta78 Offline
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
we don't need further traces. we have actually traced back the more plausible culprit and I hope Micko will have time to find a fix.

in the meanwhile I suggest to use "writeconfig 0" to use nes/gameboy/megadrive

Re: Genesis regression [Re: Just Desserts] #85575 02/14/13 06:13 PM
Joined: Jul 2012
Posts: 209
D
Dr.Venom Offline OP
Senior Member
OP Offline
Senior Member
D
Joined: Jul 2012
Posts: 209
Originally Posted By Just Desserts
Your callstack is useless. You need to rebuild MESS with SYMBOLS=1, and get a proper bt listing from gdb.

Indeed, I already figured something was not right smile Just for the sake of it, I've attached the proper log below..


Originally Posted By etabeta78
we don't need further traces. we have actually traced back the more plausible culprit and I hope Micko will have time to find a fix.

That's good to hear, thanks for your efforts.


Code:
Parsing ume.ini
Parsing genesis.ini
  0000000000227DF0: 0000000002A13671 (stack_walker::reset()+0x0051)
  0000000000228490: 0000000002A12DC1 (winmain_dump_stack()+0x00c5)
  00000000002284C0: 0000000003A2C087 (osd_break_into_debugger+0x0047)
  0000000000228650: 0000000004610DC9 (emu_fatalerror::emu_fatalerror(char const*, ...)+0x0129)
  00000000002288E0: 000000000339A6DB (machine_config::machine_config(game_driver const&, emu_options&)+0x05fb)
  0000000000228B70: 0000000003722508 (validity_checker::validate_one(game_driver const&)+0x0194)
  0000000000228BA0: 00000000037220C4 (validity_checker::check_shared_source(game_driver const&)+0x0066)
  000000000022F330: 00000000032E11F2 (mame_execute(emu_options&, osd_interface&)+0x01f7)
  000000000022F860: 0000000003702AAA (cli_frontend::execute(int, char**)+0x0ac2)
  000000000022FE00: 0000000002A10B22 (utf8_main(int, char**)+0x0232)
  000000000022FE60: 0000000003A2BEF6 (wmain+0x00a6)
  000000000022FF20: 00000000004013F0 (__tmainCRTStartup+0x0270)
  000000000022FF50: 00000000004014F8 (mainCRTStartup+0x0018)
  000000000022FF80: 0000000076CF652D (BaseThreadInitThunk+0x000d)
  000000000022FFD0: 0000000076F2C521 (RtlUserThreadStart+0x0021)
Driver genesis (file megadriv.c): 1 errors, 0 warnings
Errors:
   Fatal error Unknown slot option 'rom' in slot 'mdslot'
  00000000002280B0: 0000000002A13671 (stack_walker::reset()+0x0051)
  0000000000228750: 0000000002A12DC1 (winmain_dump_stack()+0x00c5)
  0000000000228780: 0000000003A2C087 (osd_break_into_debugger+0x0047)
  0000000000228910: 0000000004610DC9 (emu_fatalerror::emu_fatalerror(char const*, ...)+0x0129)
  0000000000228BA0: 000000000339A6DB (machine_config::machine_config(game_driver const&, emu_options&)+0x05fb)
  000000000022F330: 00000000032E122C (mame_execute(emu_options&, osd_interface&)+0x0231)
  000000000022F860: 0000000003702AAA (cli_frontend::execute(int, char**)+0x0ac2)
  000000000022FE00: 0000000002A10B22 (utf8_main(int, char**)+0x0232)
  000000000022FE60: 0000000003A2BEF6 (wmain+0x00a6)
  000000000022FF20: 00000000004013F0 (__tmainCRTStartup+0x0270)
  000000000022FF50: 00000000004014F8 (mainCRTStartup+0x0018)
  000000000022FF80: 0000000076CF652D (BaseThreadInitThunk+0x000d)
  000000000022FFD0: 0000000076F2C521 (RtlUserThreadStart+0x0021)
Unknown slot option 'rom' in slot 'mdslot'



Re: Genesis regression [Re: Dr.Venom] #85604 02/15/13 07:44 AM
Joined: Aug 2004
Posts: 1,387
Robbbert Offline
Very Senior Member
Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,387
Tested just now, gameboy doesn't crash anymore, but it still does not recognise any cart.

Genesis still crashes as before.

NES still crashes as before.

Page 3 of 9 1 2 3 4 5 6 7 8 9

Who's Online Now
0 registered members (), 179 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,763
Posts115,160
Members4,889
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3