[Bug 15570] New: Fake BIOS unable to render text in graphics mode

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 10 12:46:14 CDT 2008


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 at winehq.org
        ReportedBy: flerchjj at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list