(back to project page)

Generating a Single Binary for Asteroids

The Asteroids ROM set has 5 files in it, but it's a lot easier to disassemble if you have it all in one. The MAME data file specifies their locations like this:

Filename Size Region Offset
035145-04e.ef22048maincpu6800
035144-04e.h2 2048maincpu7000
035143-02.j2 2048maincpu7800
035127-02.np3 2048maincpu5000
034602-01.c8 256dvg:prom0

We're only interested in the "maincpu" items. Putting the vector generator data at the end of the listing seems reasonable, so we want to collect them in the order shown.

Launch SourceGen, select Tools > Concatenate Files. Navigate to the Battlezone ROM directory, and add the first eight items listed above (just select all the files that appear to be 2K in size). Use the Up / Down buttons to arrange them in the order shown above. Click "Save" and save it as "Battlezone". It should look something like this:

concat dlg

Copyright 2020 by Andy McFadden