How do I remove the AmsDOS file Header from a ROM File
Is there a utility to do this Please..
I want to get the Checksum from a range of files.
Thanks Ray
Quote from: Audronic on 04:40, 07 January 16
How do I remove the AmsDOS file Header from a ROM File
Is there a utility to do this Please..
I want to get the Checksum from a range of files.
Thanks Ray
addhead -r filename
Unofficial Amstrad WWW Resource (http://www.cpctech.org.uk/download/addhead.zip)
If you need a windows version build it with visual studio community edition :)
Thanks for the Link.
I don't know how to create the file, Is it for the Amstrad or ????
Thanks Ray
If you have a Hex editor, just remove the rows of bytes before the line that starts with &80 and re-save the file.
Bryce.
Or there is a tool that will do it in symbos too.
Here's a picture to explain it a bit better:
The highlighted bytes need to be removed. In almost all cases, the raw ROM image should start with a &01 at the first address, which as you can see, will be found at address &80 if the file has an AMSDOS header.
Bryce.
Quote from: Audronic on 04:40, 07 January 16
How do I remove the AmsDOS file Header from a ROM File
Is there a utility to do this Please..
I want to get the Checksum from a range of files.
Thanks Ray
On CPC side I would load it with FutureOS to address &0000 (Load to main memory). Then save it from address &0000 with file size &0010 (this is 16 KB, or file size 00016 when using decimal numbers).
Just load and save quick and easy. :)
EDIT: You also can save a ROM directly using ROManager 2.14, it will be 16 KB header-less.
@TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179)
Thanks I ended up using ROMAN Version 1 as this does a dump without header
Thanks to all who contributed
Ray
@Bryce (http://www.cpcwiki.eu/forum/index.php?action=profile;u=225)
Thanks i tried a few using that method, which worked.
I then used ROMAN Version 1 that will read the Roms installed and dump them to a 16K File
Thanks Ray
Quote from: Audronic on 23:02, 07 January 16
@TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179)
Thanks I ended up using ROMAN Version 1 as this does a dump without header
Uuutsch! That just kicked my balls! :laugh: :picard:
Or in linux just do
dd if=original_file of=file_without_header skip=128
@TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179)
Oooopps,,, Nothing personal.
Roman Version 1 was already installed in the MegaFlash Plus SX.
Ray
Haha, just kidding! Glad you found a quick way! :)
Suspect this has long been sorted and I haven't had the need to create a ROM file, but a program like Lara can handle Loading Binary Files & Saving COM Files, which would remove the Headers & I think Lara can Save COM files anywhere in Memory & not just from 100h.
With Lara though, it was good to End Program just clear the BASIC from Memory and then go back into it & the program runs in the extra 64k when 128Kb is detected.