-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WPS 3.0 For DOS unabled to show the Chinese input method toolbar. #255
Comments
Here is the installer, if you need it. |
It seems to me that the problem is related to the video memory layout as specified by the Memory Map Select MISC-Register: Works (SVGATEST sample above):
Cuts off Video memory (WPS 3.0):
I wonder if this a bug in the original CVIDC or just in my reconstruction, hmmm... |
Looking at the seg000:9E7A test al, 8
seg000:9E7C jz short loc_19E77
seg000:9E7E mov dx, 3CEh
seg000:9E81 mov al, 6
seg000:9E83 out dx, al ; EGA: graph 1 and 2 addr reg:
seg000:9E83 ; miscellaneous graphics control.Data bits:
seg000:9E83 ; 0: 1=graphics; 0=enable char gen (text)
seg000:9E83 ; 1: 1=chain odd maps after even maps
seg000:9E83 ; 2: memory mapping for CPU
seg000:9E83 ; 00=a000H (128K); 01=a000H (64K)
seg000:9E83 ; 10=b000H (32K MDA);11=b800H (32K CGA)
seg000:9E84 inc dx
seg000:9E85 mov al, 1
seg000:9E87 out dx, al ; EGA port: graphics controller data register So by writing the value 1 to the Port, it sets the "Memory Map Select" to 00 and therefore causes a wrong memory area to be selected, as Mode 12h, which the application is in, should always be 01 (just the 64kb area is used to draw the planes). You could patch spdos.com to make a |
This article states that the behaviour of memory maping mode 0 is not really defined:
Therefore it may be the best solution to just ignore this mode alltogether in the VGA emulation. |
…defined and it is causing problems with our VGA emulator, i.e. with WPSDOS only displaying 307 lines. #255 It is unclear if this may lead to undesired side effects, but so far, it is not assumed to cause troubles.
WOW! You are really a pro at reverse engineering! Add me on discord if you are interested. |
As described, the Chinese input method toolbar that supposed to appear on the bottom of the screen is not showing.
Please fix this, if possible?
Also I would like to ask if using Tame DOS on Windows 10 22H2 would be possible? If yes, how?
The text was updated successfully, but these errors were encountered: