An idea for Bluemsx Debugger

By nikodr

Paladin (750)

nikodr's picture

17-10-2008, 14:36

The last couple of days i have been using the msx2pc recompiler.It seems a very powerful tool.It has one very good feature and would help development time and help people that want to disassemble games if someone could do it in the bluemsx debugger.

What i thought is this : A way to define data areas in the dissasembled view.In some way to be able to define an area that the dissasembler wont try to parse and show a listing of "non existing commands".

Example:In konami games i have found areas that are compressed gfx or data in the ram,it would be good to define those and save them and the dissasembler would show something like "DB data(hex)"

,that way one wont have to look at nonsense code.
Another feature i would love to see is to define labels in code.Assume i have found a routine that i want to comment that is for example the Init_sprites routine,and i want to label it like that.

I assume that such an addition would make the debugger and dissasembler have more features

Login or register to post comments

By cronos

Rookie (23)

cronos's picture

17-10-2008, 15:00

That sounds very cool.

That's also what I've found the IDA pro disassembler, includes nice Z80 module, it actually parses and disassembles from the entry point you defined, scanning all the branch of JPs and CALLs, and generates some comments how the routines referenced. LOL!

Hope to find similar one more focused on MSX!

By nikodr

Paladin (750)

nikodr's picture

17-10-2008, 15:45

The ida pro dissasembler is a very powerful tool.Would it be possible for some experianced msx user to create the needed files so that dissasembler could automaticaly understand msx binaries and roms?It has support for various computer systems,but not msx yet.It would be a very powerful tool as it has good z80 support

By cronos

Rookie (23)

cronos's picture

17-10-2008, 17:09

Would it be possible for some experianced msx user to create the needed files so that dissasembler could automaticaly understand msx binaries and roms?

Well, AFAIK, just read MSX rom file and specify some address(4000H as beginning, offset, etc..).
If you set some pre-defined label for MSX such as BIOS entries, it'll translate the operands for the labels.

It has support for various computer systems,but not msx yet.

Yes, but supports Z80.

By nikodr

Paladin (750)

nikodr's picture

17-10-2008, 17:57

Problem i think is the msx system in the way ram/rom is organized.
What i am trying to do is find a way for slots.

Example:Insert the msx2 rom file that starts from 0x0000 to 0x7fff
if i load a cartridge that usually starts from another slot in 0x4000 i always have the problem that rom/ram are put into each other in that program.How can i define slots?
I want to have the internal rom,and external rom.And organize ram in slots.
If that can be done in that program i think it's the best debugger/dissasembler/analyzer for msx

By Manuel

Ascended (19679)

Manuel's picture

18-10-2008, 10:44

There's a disassembler for MSX by Egor Vosnessenski (SOLID) called "ZD", which outputs labels and tries to detect data segments. It used to be downloadable from the Novatec MSX page. If you Google for 'zd.com' you might find it.

By nikodr

Paladin (750)

nikodr's picture

17-03-2009, 05:13

BUMP!
Can someone help me and tell me how to setup IDA to load msx roms correctly ? What is the correct numbers for begging and load address and offset?

By nikodr

Paladin (750)

nikodr's picture

08-11-2012, 15:41

Bump after so many years,has anyone managed to setup ida to work for msx correctly?

By manolito74

Paragon (1300)

manolito74's picture

30-12-2013, 05:14

UP