STOS.PRG
Jump to navigation
Jump to search
STOS .PRG file structure for programs compiled with: "Stos basic compiler V 1.0 by Francois Lionet"
DATA_HEADER
{
2 bytes TOS header: $601a
1 long offset naar ovide
22 bytes $00
1 word $604e (bra.s ...)
1 long total length -106
1 long start of data relative from end of DATA_HEADER
15x
{
1 byte bank type
3 byte bank length
}
___+
98 byte header size
PROGRAM_HEADER
{
1 long $0008ffff
3 word $a802,$8000,$0000
1 long $60000308 (bra ...)
44 byte magic "Stos basic compiler V 1.0 by Francois Lionet"
6 byte $00
}
--Nyh 16:20, 10 July 2007 (EDT)