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.
http://bugs.winehq.org/show_bug.cgi?id=15570
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other Version|0.9 |1.1.6
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #1 from Jeremiah Flerchinger flerchjj@ieee.org 2008-10-10 22:59:06 --- May want to do an implementation that mirrors a HFONT IBM_Font = (HFONT) GetStockObject (OEM_FIXED_FONT), followed by a SelectObject(hDC, IBM_Font), and a DrawText (instead of a TextOut - to allow scaling).
http://bugs.winehq.org/show_bug.cgi?id=15570
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2008-10-19 22:41:42 --- Can you give examples of some real apps that are affected?
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #3 from Jeremiah Flerchinger flerchjj@ieee.org 2008-10-20 13:43:17 --- It's hard to give examples past gray256.exe and mode19.exe(http://appdb.winehq.org/objectManager.php?sClass=version&iId=3938), because no test is currently done for this interrupt in graphics mode to throw a fixme statement. I believe MATCH, a shooting game, may also use this interrupt but I can't try this because MATCH is written for VGA mode 18 and Wine currently only supports VGA text modes and VGA graphics mode 19. I think it may also be one of the many issues in Space Quest 5.
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #4 from Jeremiah Flerchinger flerchjj@ieee.org 2009-03-15 23:28:42 --- Created an attachment (id=19980) --> (http://bugs.winehq.org/attachment.cgi?id=19980) Patch for VGA VESA Text support (adds mode 19 - 256 color)
Attaching this patch just in case anyone needs it. It's been submitted multiple times for inclusion in the repository, but hasn't been accepted or gotten additional feedback.
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #5 from Jeremiah Flerchinger flerchjj@ieee.org 2009-03-15 23:39:55 --- Created an attachment (id=19981) --> (http://bugs.winehq.org/attachment.cgi?id=19981) Adds missing VGA memory models (adds all 256 color mode support)
Adding missing memory models which extends previous VGA VESA text patch to all 256 color modes. Will shrink mode 19 rendering to the correct width/height (instead of double size) and thereby fixes bugs in drawing all other 256 color modes. This was also submitted to the repository and has been waiting acceptance, but is posted here as well for convenience.
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #6 from Austin English austinenglish@gmail.com 2009-03-22 11:51:19 --- (In reply to comment #4)
Created an attachment (id=19980)
--> (http://bugs.winehq.org/attachment.cgi?id=19980) [details]
Patch for VGA VESA Text support (adds mode 19 - 256 color)
Attaching this patch just in case anyone needs it. It's been submitted multiple times for inclusion in the repository, but hasn't been accepted or gotten additional feedback.
Try sending a note to wine-devel or ask AJ on IRC.
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #7 from Austin English austinenglish@gmail.com 2009-09-22 13:59:18 --- Is this still an issue in current (1.1.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #8 from Austin English austinenglish@gmail.com 2010-12-20 21:53:55 CST --- Probably still present.
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #9 from butraxz@gmail.com 2013-06-09 11:14:28 CDT --- This has not been updated for over 900 days.
Is this still an issue in 1.6-rc1 or higher or is this abandoned ?
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #10 from Jeremiah Flerchinger flerchjj@ieee.org 2013-06-09 22:37:48 CDT --- I think the patches were applied. I can run some tests sometime within the week to verify.
http://bugs.winehq.org/show_bug.cgi?id=15570
Christian Costa titan.costa@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #11 from Christian Costa titan.costa@gmail.com 2013-06-10 06:05:03 CDT --- It seems both patches have not been applied.
http://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #12 from Jeremiah Flerchinger flerchjj@ieee.org 2013-06-18 13:58:44 CDT --- The patches weren't applied to the main Wine branch. The patches also won't work anymore since the files were moved in the Wine code.
New patches will need to be made and they'll have to be applied.
https://bugs.winehq.org/show_bug.cgi?id=15570
--- Comment #13 from Austin English austinenglish@gmail.com --- Is this still an issue in current (1.7.36 or newer) wine? If so, please attach terminal output.
https://bugs.winehq.org/show_bug.cgi?id=15570
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?, download, | |source Severity|enhancement |normal
https://bugs.winehq.org/show_bug.cgi?id=15570
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED CC| |infyquest@gmail.com
--- Comment #14 from Vijay Kamuju infyquest@gmail.com --- DOS support is removed from wine since version 3.1. Hence marking as wont fix. Please use dosbox
https://bugs.winehq.org/show_bug.cgi?id=15570
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #15 from André H. nerv@dawncrow.de --- closing wontfix