MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

ShimaPong
MAME Fan
Reged: 03/12/05
Posts: 783
Send PM
Re: Debugger command 'symlist' bugs
11/28/10 04:23 PM Attachment: bygone.png 53 KB (0 downloads)


Bygone doesn't use standard character code for ascii so that it is hard to find strings.

So I add new debugger command "edump" (Extended DUMP).

- Added "code" option to adjust a character for ascii.
- Added default output filename with ".dump"
- Added new class "edump_manager" and it keeps some data (filename, width, ascii and code)
- Auto calculated length via address_map_entry.

This command can omit filename and length. Filename is auto created based on the gamename. In case of bygone, it is "bygone.dump".
Also length. It is automatically calculated offset you input. For example, if you input "edump 0" (0 is "offset"), edump calculates the length as 0xE000 ($0000 -$DFFF is entried as ROM region).
The writing style is 3 patterns
- edump + offset ("edump 1000")
- edump + offset + length ("edump 2000,1000")
- edump + filename + offset + length ("edump test.dump,3000,8000")

"edump info" prints internal data to console view. If you want to change internal data, input "edump ,new_value".
- "edump file,xxxx" = set base filename to output as xxxx (default = .dump)
- "edump width,x" = set width as x (default = 0)
- "edump ascii,0/1" = set print ascii flag as 0 (not printed) or 1 (printed : default)
- "edump code,xx" = set base character code of 'A' (default = 0x41)

As a result of adjusting character code, I find several "readable" strings in bygone.

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment


"Any company has no power to stop people emulating"
MAME is the emulator of no giving in the pressure from any company even if they don't allow







Entire thread
Subject Posted by Posted on
* Debugger command 'symlist' bugs ShimaPong 11/25/10 03:16 PM
. * Re: Debugger command 'symlist' bugs ShimaPong  11/28/10 04:23 PM
. * Re: Debugger command 'symlist' bugs CrapBoardSoftware  11/28/10 09:16 PM
. * Re: Debugger command 'symlist' bugs ShimaPong  11/27/10 03:47 PM
. * Re: Debugger command 'symlist' bugs ShimaPong  11/26/10 03:30 PM
. * Re: Debugger command 'symlist' bugs pepinos  11/26/10 05:07 PM
. * Re: Debugger command 'symlist' bugs CrapBoardSoftware  11/26/10 07:50 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 533 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2193