[Coco] Extract BIN from DSK

Bob Devries devries.bob at gmail.com
Sat Jun 6 22:14:13 EDT 2009


To see if a programme will properly execute at another address, it is only 
necessary to offset load it. If it crashes when you do that, it's a nogo.

LOADM"CALIXTO",&H100 : REM just a 256 byte offset here.
EXEC

That's all you really need, I think.
If it survives that, it should also work in a ROM location at, say, &HC000.

--
Regards, Bob Devries, Dalby, Queensland, Australia

Isaiah 50:4 The sovereign Lord has given me
the capacity to be his spokesman,
so that I know how to help the weary.

my blog: http://bdevries.invigorated.org/

----- Original Message ----- 
From: "Anderson Benicasa" <lordsanatorium at gmail.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Sunday, June 07, 2009 12:58 AM
Subject: Re: [Coco] Extract BIN from DSK


> Hi Bob
>
> Thanks for answer and tips..
>
> Do you know if it is possible convert the Tom Mix Adventures (calixto, 
> Black
> sanctum, etc) to ROM format?
>
> Maybe just subtracting the 5 bytes?
>
> Regards
>
> Anderson
>
>
>
>
> 2009/6/6 Robert Gault <robert.gault at worldnet.att.net>
>
>> Bob Devries wrote:
>>
>>> Don't forget that colour computer .BIN files have 10 extra bytes added 
>>> to
>>> the actual code; 5 at the start and 5 at the end, to give information 
>>> such
>>> as length, start address and execute address. As well, not all .BIN 
>>> files
>>> are relocatable, and may not run as a ROM file in a location other than 
>>> the
>>> one for which they were written.
>>>
>>>
>> In fact, if the program has multiple origins or was compiled by EDTASM+,
>> there will be several of these extra bytes, pre- and postambles. They 
>> will
>> be present for each origin statement and each block of a multi-segment
>> binary program.
>>
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 




More information about the Coco mailing list