[Coco] .BIN to .ROM
Chad H
chadbh74 at hotmail.com
Tue Dec 24 11:01:22 EST 2013
Trying to be able to take any .BIN and flash it to EPROM. Wish I had a 'bootloader' I could attach to the front of the .BIN data that would mimic the CLOADM and handle the .BIN data appropriately, then execute.
Sent from my Transformer Infinity
Steve <6809er at srbsoftware.com> wrote:
Chad,
As you learned from the replies, converting a .BIN file to .ROM files is
not easy. Besides re-write the code to live in a new address space,
there is the fact that .BIN loads data in blocks all over the place.
The header for each block of data contains the address to load and the
size of the block.
Programmers have used this segmented loading of data to write to the
Video Memory and systems vectors alone with the programs data it's
self. So converting this segmented loading format to a simple one
blocks load of the .ROM format is way there are two formats in the first
place.
I do have a question for you, Why do you want to convert a .BIN
formatted files into the .ROM format in the first place? It was not
clear in your first message. Knowing the reason may help us understand
your problem and come up with a solution for you.
Steve
On 12/23/2013 4:30 PM, Chad H wrote:
> Can someone please advise a simple and reliable method to convert a .BIN
> file to a .ROM file? I can extract the .BIN on my PC if need be. I seem
> to recall a ROM extraction function in the RETRIEVE.EXE included with the
> CoCo 2 emulator I have that was used for extracting the CoCo ROM to a DISK,
> then you use the RETRIEVE to grab the ROM data off the floppy into a .ROM
> file on the PC. I doubt this would work for many .BIN files though,
> especially since many don't start at &HC000.
>
--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco
More information about the Coco
mailing list