Opened 6 years ago

Last modified 7 weeks ago

#85 accepted enhancement

Integration of G9B graphics format (MSX V9990)

Reported by: jenshermann72@… Owned by: jenshermann72@…
Priority: trivial Milestone: 2.10
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 (9)

comment:1 by PulkoMandy, 6 years ago

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

comment:2 by Thomas Bernard, 6 years ago

G9B is available since recoil 4.3.0 :

comment:3 by jenshermann72@…, 6 years ago

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 by PulkoMandy, 5 years ago

Milestone: 2.62.7

Move open tickets to 2.7 milestone

comment:5 by Thomas Bernard, 4 years ago

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 by PulkoMandy, 4 years ago

Milestone: 2.72.8

comment:7 by PulkoMandy, 3 years ago

Milestone: 2.82.9

comment:8 by PulkoMandy, 7 weeks ago

Milestone: 2.93.0

Move tickets to next release

comment:9 by PulkoMandy, 7 weeks ago

Milestone: 3.02.10

Move tickets to next milestone after release

Note: See TracTickets for help on using tickets.