STOS.PRG

From Atari Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)