BSAVE Image

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Software)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|pic}}, {{ext|bsv}}, {{ext|cgx}}, {{ext|scn}}, others
+
|extensions={{ext|pic}}, {{ext|scn}}, {{ext|bsv}}, {{ext|cgx}}, others
 
}}
 
}}
'''BSAVE Image''' (or '''BSAVED Image''', '''BSAVE graphics''', '''BSV''', etc.) is a loosely-defined family of raster and character-based graphics file formats, based on the behavior of the <code>BSAVE</code> command in QuickBASIC and certain other implementations of the [[BASIC]] programming language.
+
'''BSAVE Image''' (or '''BSAVED Image''', '''BSAVE graphics''', '''BSV''', '''BLOAD format''', etc.) is a loosely-defined family of raster and character-based graphics file formats, based on the behavior of the <code>BSAVE</code> and <code>BLOAD</code> commands in QuickBASIC and certain other implementations of the [[BASIC]] programming language.
  
 
The file consists of a header, followed by a raw dump of video memory (or something approximating that). The Wikipedia article seems to be the best source of information about it.
 
The file consists of a header, followed by a raw dump of video memory (or something approximating that). The Wikipedia article seems to be the best source of information about it.
Line 11: Line 11:
  
 
== Format ==
 
== Format ==
BSAVE Image files (of the PC variety) begin with the byte <code>0xFD</code>. They may have a 7-byte header, or an 11-byte header that includes the width (apparently measured in bits, not pixels) and height.
+
BSAVE Image files (of the PC variety) begin with the byte <code>0xFD</code>. They may have a 7-byte header, or an 11-byte header that includes the width (measured in bits, not pixels) and height.
  
 
After the image data, there is usually a <code>0x1A</code> (Ctrl+Z) byte. It is usually the last byte in the file, but sometimes there is extra data or padding after it.
 
After the image data, there is usually a <code>0x1A</code> (Ctrl+Z) byte. It is usually the last byte in the file, but sometimes there is extra data or padding after it.
Line 32: Line 32:
 
* http://cd.textfiles.com/vgaspectrum/games/unzip/hurkle/
 
* http://cd.textfiles.com/vgaspectrum/games/unzip/hurkle/
 
* http://cd.textfiles.com/advswgames/LASTHALF/ → *.PIX
 
* http://cd.textfiles.com/advswgames/LASTHALF/ → *.PIX
 +
* http://cd.textfiles.com/hamradio/misc/mapr86/
 +
* http://cd.textfiles.com/hamradio/misc/monalith/
  
 
== Links ==
 
== Links ==

Revision as of 01:26, 13 November 2014

File Format
Name BSAVE Image
Ontology
Extension(s) .pic, .scn, .bsv, .cgx, others

BSAVE Image (or BSAVED Image, BSAVE graphics, BSV, BLOAD format, etc.) is a loosely-defined family of raster and character-based graphics file formats, based on the behavior of the BSAVE and BLOAD commands in QuickBASIC and certain other implementations of the BASIC programming language.

The file consists of a header, followed by a raw dump of video memory (or something approximating that). The Wikipedia article seems to be the best source of information about it.

BSAVE Image files are not very portable. There are many varieties of them, and no reliable way to distinguish all of them.

Contents

Format

BSAVE Image files (of the PC variety) begin with the byte 0xFD. They may have a 7-byte header, or an 11-byte header that includes the width (measured in bits, not pixels) and height.

After the image data, there is usually a 0x1A (Ctrl+Z) byte. It is usually the last byte in the file, but sometimes there is extra data or padding after it.

Platform-specific images

Since BSAVE images are raw dumps of graphic data in memory, they are platform-specific and depend in format on how the graphics are stored (and on what header bytes are attached to binary files) on the particular platform on which they were created. Some of the platform-specific graphics are documented here:

Software

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox