-
Notifications
You must be signed in to change notification settings - Fork 394
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
Returning to TTF mode from VESA mode sets default, instead of user-specified, colors #3318
Comments
With the latest version (as fixed by PR #3351), if you append a leading "+" to the |
@Wengier When invoked from the command line at dosbox-x startup, it works fine. |
@grapeli Indeed you cannot really change the
The effect is the same as COLORS option, just with a different syntax. You can type |
Wonderful, @Wengier! Thank you! Please forgive my ignorance but how do I download the revised (32-bit Windows) version? Thanks again! |
@Wengier |
@RobertJSawyer You can download 32-bit Windows builds from: https://github.com/Wengier/dosbox-x/suites/5775324969/artifacts/192358311 Hope this helps. |
Thank you, @Wengier! The "+" in front of the color codes does indeed fix my problem. I'm very grateful. But perhaps I screwed up replacing the files properly, but the new version starts up running glacially slowly on my 32-bit Windows 7 Dell laptop, which is the only computer I have with me to test this on (I'm away from home for a few days). I have to press F11+Left every session to get it back to normal speed. I'm using the same .conf file I've always used (except for trying out the new "+" parameter, although its presence or absence makes no difference to this initial-speed issue). The loading of DOSBox-X becomes super-slow starting with the "Welcome to DOSBox-X" blue-colored screen; I can see it paint in from top to bottom, and everything moves at a snail's pace after that until I press F11+Left. |
@RobertJSawyer I tried the config file you posted, and compared the loading speed between DOSBox-X 0.83.16/0.83.20 and the latest build, but have not found a difference between the loading speed yet. So I am surprised to hear the slowdown as you said. Maybe you can try a different config file (including the default one) and see how it performs? |
The default .conf file seems to work fine with one exception. I'm working on tracking down whatever difference there is in my .conf file that causes the problem. Many thanks for all your help, @Wengier! I am very grateful to you! |
Hi, @Wengier. :) Working with an otherwise unmodified version of the dosbox-x.conf file that was included with the new test release, adding a bunch of mount commands and changing shell = to shell = 4DOS.COM is enough to trigger an enormous slowdown in the mounting of drive letters. The difference is obvious at a glance. The attached .conf file has only the shell change and the mount commands I use, all of which are existing paths on my system, and all mount successfully, but much more slowly under this new DOSBox-X release. Under previous releases of DOSBox-X, there's no difference in the speed of executing the MOUNT commands regardless of the SHELL = setting. |
@RobertJSawyer I cannot really test the build with your config file(s) as is, because none of the paths for mounts as listed in your config files (like |
Hi, @Wengier. I'm traveling until April 12, and only have a 32-bit Windows 7 Pro laptop with me. I'll be able to do more extensive testing once I'm back home, but here are videos demonstrating the difference between "Shell = [blank]" and "Shell = 4DOS" with the build you supplied me with yesterday. No previous build ever showed this disparity. All best wishes! |
@RobertJSawyer I tried the config on my system, and I noticed they all have a somewhat slowdown when mounting drives with |
Code of Conduct & Contributing Guidelines
Have you checked that no other similar bug report(s) already exists?
What operating system(s) this bug have occurred on?
Windows 7 32-bit SP1
What version(s) of DOSBox-X have this bug?
0.83.23 SLD1 32-bit
Describe the bug
When I toggle from TTF mode to VESA graphics and then return to TTF mode, instead of conforming to the "colors" directive in the TTF section of DOSBOX-X.CONF, the default VGA standard colors are used.
For testing purposes, here's a colors directives that sets a soft green background color for everything that had a black background and makes some other obvious substations as well.
colors = #c0dcc0 #0e0e0e #0000FF #000000 #000000 #00FF00 #000000 #FF0000 #000000 #0e0e0e #000000 #000000 #000000 #000000 #000000 #000000
My use case: in WordStar 7.0 for DOS, going from text mode into WordStar's Advanced Page Preview, and then returning to text mode. I can reset my choice of colors by running a batch file with appropriate SETCOLOR commands, but it would be nice if DOSBox-X returned to TTF mode with the colors the user had in fact specified for that mode.
Expected behavior
User color choice obeyed whenever (re)entering TTF mode.
Steps to reproduce the behaviour
Put this color directive into DOSBox-X.conf under the TTF section:
colors = #c0dcc0 #0e0e0e #0000FF #000000 #000000 #00FF00 #000000 #FF0000 #000000 #0e0e0e #000000 #000000 #000000 #000000 #000000 #000000
Toggle from text mode to graphics mode then back again. DOSBox-X ignores the DOSBOX-X.conf value and instead uses the default VGA color palette.
Used configuration
No response
Emulator log
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: