BSAVE Header
From OHRRPGCE-Wiki
The BSAVE header is a "stamp" that QBasic puts on an array that it saves to disk. It tells QBasic how to load it again, and where to stick it. However, OHHRPGCE ignores most of this data, just using the size, which is what you should do too.
When saving a BSAVE lump, you can set the segment to 0x9999 and offset to 0, this will work with the OHRRPGCE. There is nothing special about the value 0x9999 - it just looks like a valid segment number to QBasic.
[edit] Formal Specs
| Data | Meaning |
|---|---|
| BYTE | Magic number (always 0xFD, 253) |
| INT | Segment. Set this to 0x9999 when saving. |
| INT | Offset is always 0 |
| INT | Length, the number of bytes |
ARCHINYM.LMP . BROWSE.TXT . ATTACK.BIN . BINSIZE.BIN . DEFPAL#.BIN . DEFPASS.BIN . FIXBITS.BIN . LOOKUP.BIN . MENUS.BIN . MENUITEM.BIN . PALETTES.BIN . PLOTSCR.LST . SFXDATA.BIN . SONGDATA.BIN . UICOLORS.BIN . GEN . BAM . Map Format . T . P . E . D . L . N . DOR . DOX . DT0 . DT1 . DT6 . EFS . FOR . FNT . HSP . HSZ . ITM . MAP . MAS . MN . MXS . PAL . PT0 . PT1 . PT2 . PT3 . PT4 . PT5 . PT6 . SAY . SHO . SNG . STF . STT . TAP . TIL . TMN . VEH
