The QBasic BSV formatQBasic generates BSV files using the BSAVE command. It is basically used to store arrays as a file. It also stores integer data containing the array memory segment, offset & length. The first byte is always equal to &HFD, or hexadecimal FD. The BSV structure is as follows:
Note that the BSAVE command can be used to save any array, irrespective of its contents. In this case however, the array data will in this case be the standard GET/PUT array:
A typical example of a GET/PUT image array:
The co-ordinates are relative - if the image was drawn using "PUT (0,0), img, PSET" then the co-ordinates shown would be correct. BSV Babel is copyright Trelsoft freeware. |