http://bugs.winehq.org/show_bug.cgi?id=15570
Summary: Fake BIOS unable to render text in graphics mode Product: Wine Version: 0.9 Platform: All OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: dos AssignedTo: wine-bugs@winehq.org ReportedBy: flerchjj@ieee.org
Fake BIOS interrupt 10h service number 9 has routines to handle character displaying in a text mode terminal window, but no code exist for handling graphics modes. No text is therefore displayed in graphics modes. Currently only 256 color modes (and possibly linear memory 16 color modes) are supported as graphics modes & these should be fixed first.
Currently Wine tests for text mode by looking at color depth (Wine 1.1.6) and calls to this BIOS service could cause Fake VGA memory corruption in monochrome graphics modes (which aren't supported anyways). That is a separate issue but the patches for it need to be applied before addressing this issue.
I would suggest a use of the OEM_FIXED_FONT, which I believe is defined in GDI, and converting it to a bitmaps of the proper resolution for desired chars. GetStockObject(OEM_FIXED_FONT), GetObject, SelectObject, wglUseFontBitmap may all be useful functions, but I'll have to investigate more later.