Opened 2 years ago

Last modified 5 months ago

#85 accepted enhancement

Integration of G9B graphics format (MSX V9990)

Reported by: jenshermann72@… Owned by: jenshermann72@…
Priority: trivial Milestone: 2.8
Component: GrafX2 Version: 2.6
Keywords: Cc:


Hello together,
it is just a request if it is possible to integrate the G9B graphics Format into Grafx2.
The Format is used by many MSX(2) Computers which uses the V9990 graphic Card, maybe later also by the AMSTRAD CPC Computer?

What do you think?
Kind regards,

There's a link to it:

The file Format is completly documented:
A G9B file consist of the following fields:

g9bID DB "G9B" ; g9b identifier string
headerSize DW 11 ; Length of the G9B_HEADER part.

Length can change in updated versions.

bitDepth DB 8 ; 2,4,8 or 16 bit
colorType DB 0 ; 0=64 color palette mode,

; 64=256 color fixed,
; 128=YJK,
; 192=YUV mode

nrColors DB 64 ; Number of colors in palette mode
width DW 512 ; Width
height DW 424 ; Height
compression DB 1 ; 0 = no compression,

; 1 = bitbuster compression,
; other value = future expansions

dataSize DS 3 ; 24 bit data size

palette DS nrColors*3 ; If the number of colors is zero then this field does not exist

data DS dataSize ; The bitmap data, this can either be raw data or bitbuster data

NOTE: Values used are example values.

Change History (6)

comment:1 Changed 2 years ago by PulkoMandy

Loading these files should already be handled thanks to the recoil library. Saving may be added, if there is demand for it.

comment:2 Changed 2 years ago by Thomas Bernard

G9B is available since recoil 4.3.0 :

comment:3 Changed 2 years ago by jenshermann72@…

Owner: changed from pulkomandy to jenshermann72@…
Status: newaccepted

Yeah, thanks for the link to recoil. It would be great to a saving to be added (sometime). I think (hope) that the powergraph card for the CPC will have a greater acceptance if there will tools for creating grafix for it.


comment:4 Changed 18 months ago by PulkoMandy

Milestone: 2.62.7

Move open tickets to 2.7 milestone

comment:5 Changed 6 months ago by Thomas Bernard

GrafX2 is a 256 colors paint program. most of the modes suported by V9990 / G9B are truecolor.
I don't think that matches

comment:6 Changed 5 months ago by PulkoMandy

Milestone: 2.72.8
Note: See TracTickets for help on using tickets.