Difference between revisions of "STOS.BAS"

From AtariForumWiki2018
Jump to: navigation, search
Line 1: Line 1:
 
STOS .BAS file structure
 
STOS .BAS file structure
−
 
+
<pre>
−
<nowiki>
 
 
BAS_HEADER
 
BAS_HEADER
 
{
 
{
Line 16: Line 15:
 
}
 
}
 
  ?? byte  source code
 
  ?? byte  source code
−
</nowiki>
+
</pre>

Revision as of 11:26, 10 July 2007

STOS .BAS file structure

BAS_HEADER
{
 10 bytes  Magic "Lionpoulos": STOS basic source
  1 long   length of source excluding the header
  1 long   offset to first memory bank form end of header
15 x
{
  1 byte   bank type
  3 byte   bank length
}
___+
 78 byte   header size
}
 ?? byte  source code