SEV graphic format

The SevenUp file format is a picture format for storing ZX-Spectrum compatible pictures, masks, and animations. It can handle different sizes.

Version 0.0:

SEV file format - version 0.0:
Offset: Field type: Length: Description: Additional information:
0 4 header

= value "Sev", followed by 0-byte

4 1 version hi  
5 1 version lo  
6 2 levels always 1
8 2 frames always 0 meaning 1 frame only
10 2 pixel [width] 1..256
12 2 pixel [height] 1..192
14 ??? one picture  

Version 0.6 or 0.8:

SEV file format - version 0.6 / 0.8:
Offset: Field type: Length: Description: Additional information:
0 4 header

= value "Sev", followed by 0-byte

4 1 version hi  
5 1 version lo = 6 or 8
6 2 [levels] 1: pictures only
2: pictures and masks
8 2 [frames] 0..31 meaning 1..32 frames
10 2 pixel [width] 1..256
12 2 pixel [height] 1..192

case #1: if [levels] = 1, then only coloured frames follow:

14 #1 ??? first frame [frames] times frames
??? #2 ??? second frame
??? #N ??? last (Nth) frame

case #2: if [levels] = 2, then coloured and transparent frames follow:

14 #1 ??? first frame [frames] times frames
??? #1 ???
??? #2 ??? second frame
??? #2 ???
??? #N ??? last (Nth) frame
??? #N ???

The SEV file format uses the following sub-formats:

:
Offset: Field type: Length: Description: Additional information:
14 #1 9 first character Array of coloured characters:
[char width] = [width] / 8
[char height] = [height] / 8
rounded up to full characters
N = [char width] * [char height]
23 #2 9 second character
??? #N 9 last (Nth) character

 

:
Offset: Field type: Length: Description: Additional information:
14 #1 8 first character Array of coloured characters:
[char width] = [width] / 8
[char height] = [height] / 8
rounded up to full characters
N = [char width] * [char height]
23 #2 8 second character
??? #N 8 last (Nth) character

 

(9 bytes):
Offset: Field type: Length: Description: Additional information:
0 8 pixel data

8 x 8 pixels

8

1 color attribute

standard ZX-Spectrum format

 

(8 bytes):
Offset: Field type: Length: Description: Additional information:
0 8 pixel data

8 x 8 pixels