[Coco] Format of a LOADM file.

David Ladd davidwladd at gmail.com
Sat Jan 20 04:19:21 EST 2018


On Fri, Jan 19, 2018 at 4:04 PM, William Astle <lost at l-w.ca> wrote:

> On 2018-01-19 03:00 PM, James Ross wrote:
>
>> I could probably eventually find this.  But I am thinking that possibly
>> someone here has the information at their fingertips and could provide me
>> w/ a link or small explanation.
>>
>> Looking for what bytes come before or after the binaries and what they
>> mean and how a multi-section binary file is laid out.
>>
>> TIA for any pointers
>> James
>>
>>
> Each "section" is preceded by a 5 byte preamble that starts with 00h. The
> next two bytes are the length and the final two bytes are the load address.
> Then, of course, the contents of the section follows.
>
> After the final "section", you get a postamble which starts with FFh. The
> next two bytes don't matter. The final two bytes are the execution address.
>
> There can be any number of "sections". As soon as LOADM encounters a
> postamble, it stops reading the file, even if there's more stuff after it.



​William,
This is some good information and well explained information.  This should
be posted as part of the:
http://www.cocopedia.com/wiki/index.php/Main_Page

That way it could increase the wealth of data needed for those who are
searching for it. :)

PS:  This can also be used to make some really nifty loadable PMODE 4
graphic screens too if you encode the BIN file in specific ways. :)​



>
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
​

+-----------------------------------------------------------------------+
| David Ladd a.k.a. PacoOtaktay a.k.a. Drencor                          |
| YouTube: http://www.youtube.com/user/PacoOtaktay                      |
| YouTube Gaming Live: https://gaming.youtube.com/user/PacoOtaktay/live |
| Websites: http://dwladd.com     &     http://www.theterrorzone.com    |
| G+:  https://plus.google.com/113262444659438038657                    |
| G+:  https://plus.google.com/+DavidLaddPacoOtaktay                    |
|                                                                       |
| Do you have your CoCo 3 yet?                                          |
+-----------------------------------------------------------------------+



​


More information about the Coco mailing list