Changes
/* Source Code File Format */
== Source Code File Format ==
The source code files are stored in a rather unconventional file format: Unlike plain ASCII files, they do have a 128-byte file header, with the filetype byte being set to 08h (making it neither a neither BAS, BIN, nor ASCII file) (in BASIC one gets an error message when trying to use OPENIN, despite of that error message the file ''is'' opened and one ''can'' read from it; when continuing with GOTO <nextline>).The actual file body contains more unconventional things:
* Each line starts by a two-byte (16bit) line number. The line number is used only to "ease" navigation inside of the GENA editor, otherwise it isn't needed.
* Each line is terminated by a 0Dh byte (exception: some lines are terminated by a 1Ch byte). For normal .txt files these should be replaced by 0Dh,0Ah (for use with locomotive basic, cp/m, msdos, windows, etc.)