Open rderooy opened 3 years ago
Perhaps with the 8 simultaneous fonts they mean the 4 colours with 2 fonts each.
It's possible the driver didn't "hang", but merely failed to change the video mode. If you capture the mouse (to avoid closing the DOSBox-X window when you do this!) and then hit ALT+F4 and then enter when it's "stuck" like that, do you hear any "ding" or see any sign that you had successfully exited the Program Manager entirely by keyboard, and returned to DOS?
Also, DOSBox-X and DOSBox SVN emulate the early 1990s ET4000 cards that were made before they added highcolor/truecolor DACs to the card. So much like the ET4000 in an old 486 of mine, it can only go up to 256 colors. Using a driver that expects a highcolor/truecolor DAC is not expected to work for that reason. As the Windows drivers use INT 10h to set the display mode, I expect your case only looks "hung" because it probably assumes a highcolor/truecolor video mode that doesn't exist, which is why I asked if ALT+F4 and then Enter lets you exit to DOS. I have seen Windows 3.1 drivers that set video modes via INT 10h, and make no attempt to check if the INT 10h mode actually changed thus causing an invisible desktop behind a text display and blinking cursor.
As for why TVDIAG.EXE thinks it's an ET3000, well, since DOSBox-X's ET4000 is generally based on DOSBox SVN's ET4000 emulation as it was when DOSBox-X forked in 2012, there may be some detail or register behavior other than the standard ET3000/ET4000 detection routine that the program checks for (ref: http://hackipedia.org/browse.cgi/Computer/Platform/PC%2c%20IBM%20compatible/Video/VGA/SVGA/Tseng%20Labs/Programming%20the%20Tseng%20SVGA%20Chip%20by%20Mark%20Feldman%2etxt ). The other possibility is a signature of some kind in the BIOS. Poking at TVDIAG.EXE with the debugger can help here.
EDIT: I see that TVDIAG detects a highcolor DAC, because as a general hack in SVN the highcolor DAC is always enabled. My ET4000 does not have a highcolor DAC. That might be something.
I will check tomorrow some more. But in Windows 3.0 I was able to get 65k colours with the ET4000 drivers in the linked driver package.
Describe the bug I have been playing around with the ET4000 emulation a bit and ran into some issues.
ET4000 driver/utility package: http://files.mpoli.fi/hardware/DISPLAY/TSENG/ET-4000.ZIP
This is what the main menu of TVDIAG.EXE should look like (not my picture):![tvdiag_000](https://user-images.githubusercontent.com/32658796/66010276-24b93400-e473-11e9-970f-b97843184b59.png)
In the Utility package which has TVDIAG.EXE, there is also a README.DOC that may be of interest: