A83: Re: OBJ83
[Prev][Next][Index][Thread]
A83: Re: OBJ83
Hehe... You really want that source code ? 'Caus it's really badly written !
(was something as one of my first C programs ). You should rather check Make4bit
source (in dos utilities at ticalc, in the make4bit zip), or check lnk83. Or,
see the joined file (thanks to Sami Khawam).
Of course, if you really want to be scaried, you can ask it, I'll send it you.
But I hope this doc is enough. (I hadn't it when I wrote obj83...)
- Florent
-----Message d'origine-----
De : James Matthews <matthews@tkb.att.ne.jp>
À : Assembly 83 List <assembly-83@lists.ticalc.org>
Date : mardi 2 juin 1998 16:19
Objet : A83: OBJ83
>
>Florent:
>
>Would you be so kind as to send me the source for OBJ83. If you don't
>wanna give it to me, that's cool (I'm protective about a lot of my source
>code too :)...but I'd like to see the 83p file format.
>
>James.
>____________________
>
>James Matthews.
>E-mail (family): matthews@tkb.att.ne.jp
>E-mail (private): james_matthews@hotmail.com
>
>Homepage: http://home.att.ne.jp/gold/tomcat21/index.html
>ICQ: 7413754
>____________________________________
>
83P file format
=================
by Florent Dhordain <flo.dh@usa.net>
Offset(hexa)
00- 07 "**TI83**"
08- 0B 0x1A, 0x0A, 0x00 (for the85-86 : 0C instead of 0A)
0C- 34 Comment
35- 36 file length - $39 = Size of all data in the .8?? file, from byte $37
to last byte before the checksum
; Var header part :
37- 38 variableheader length = 0C 00
39- 41 Variable Header
|--- 39-3A Length of data (word)
|--- 3B program type : 5 (6 for protected)
|--- 3C-43 program name (0-filled)
; Data part :
44-45 Length of data
46-47 Length of program
48-xxx Program data
xxx checksum (word)
Notes :
* All the length are one word, with Least Significant Byte first
* Length of program = the length of all the program data (incredible !)
* Length of data = length of program + 2 (cause it is length of the datablock,
which contains program length(2 bytes) + program data)
* Word at 35-36 = length of program + $11 (17)
* The checksum is one word, the sum of all the bytes from byte 37 to
the last byte before the checksum, modulo 2^16-1 to fit in one word
Thanks to :
Sami Khawam <sKhawam@bigfoot.com> for input about general .8?? files
(especially .83b), and for providing us (W)tran8x(32), of course !