V9938/MSX2 support added

Post Reply
User avatar
dom
Well known member
Posts: 2072
Joined: Sun Jul 15, 2007 10:01 pm

V9938/MSX2 support added

Post by dom »

After the work on VDP library last week, it's probably not a surprise that I've been workng on V9938 support.

I've done an initial sweep and made the new modes compatible with the standard libraries, that is generic console and "monochrome" graphics are running if appropriate. I've not implemented all of the "new" modes, but I can finish them off in there's demand.

Details of the new modes are on the wiki here: https://github.com/z88dk/z88dk/wiki/Cla ... reen-modes and to use them it's as simple as adding -lmsx2 to the compilation line.

Where possible, VDP commands have been used, this results in particularly speedy line drawing in mode 5 and 8 - the chessboard example demonstrates this well. I still need to speed up cls by using a block fill, but that will come soon.

I'm sure there's more stuff I should add - exposing the VDP commands comes to mind - so suggestions welcome.
User avatar
dom
Well known member
Posts: 2072
Joined: Sun Jul 15, 2007 10:01 pm

Re: V9938/MSX2 support added

Post by dom »

Support for the VDP commands was added: https://github.com/z88dk/z88dk/blob/mas ... eo/v9938.h

Looking around, it seems that only one other home-based machine used the V9938, so support for the Einstein 256 was added via +cpm -subtype=einstein256
Post Reply