Please forgive my ignorance -- I don't understand the use of color as explained in config.txt -- but is it possible to replicate Windows colors schemes in vDosxy?
For example, I'm trying to get black text on a 237,241,243 background -- which for me produces less eye strain than what I'm now using (green text on black). Is this possible?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With COLORS = you can set how the 16 DOS colors are displayed.
You can use it to let green display as black and black as 237,241,243:
COLORS = #edf1f3 #0000aa #000000 #00aaaa #aa0000 #aa00aa #aa5500 #aaaaaa #555555 #5555ff #55ff55 #55ffff #ff5555 #ff55ff #ffff55 #ffffff
But this way all black is displayed as 237,241,243 (#edf1f3 hexadecimal), background, foreground, text, menus…
You would first have to select/set a color scheme in XyWrite that most closely satisfies your needs and then eventually tune some individual color in config.txt.
And of course, Windows colors schemes have no relevance with XyWrite color schemes.
Jos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks.... That color command, and a MD NM=2 command in the xywrite printer file, which would ordinarily produce green characters on a black background, does yield black text on an off-white background.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At least 150 programs I maintain use standardised routines to write a string of length L to the screen with a given background/foreground 16-bit combination (256 colour schemes available), starting at a particular X/Y column/row integer*2 combination and whether to move the cursor afterwards or not.
In a similar fashion, other INT 10h services allow setting the cursor position, setting the cursor geometry, reading any area of the screen, editing text areas on-screen, obtaining the b/g colour at the cursor and so on (ans as noted elsewhere here, waiting for, or testing for, keystrokes of any shift and key combinations).
Colour work is FINE under vDos; I haven't detected any deviation from expectation.
As an aside, these same-name routines, but coded for windows, give identical results and appearance in a native Windows environment. Very useful technique for planned conversions.
Last edit: Terence Wright 2015-05-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anthony designed his vDos color scheme to get other colors than the standard DOS ones in XyWrite. Using INT 10h routines is no object for him, he’s “just” using a text processor, not into programming. The BIOS only lets you select one out of 16 colors, with COLORS= you can select one out of 16,777,216 for each individually.
Jos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Please forgive my ignorance -- I don't understand the use of color as explained in config.txt -- but is it possible to replicate Windows colors schemes in vDosxy?
For example, I'm trying to get black text on a 237,241,243 background -- which for me produces less eye strain than what I'm now using (green text on black). Is this possible?
With COLORS = you can set how the 16 DOS colors are displayed.
You can use it to let green display as black and black as 237,241,243:
COLORS = #edf1f3 #0000aa #000000 #00aaaa #aa0000 #aa00aa #aa5500 #aaaaaa #555555 #5555ff #55ff55 #55ffff #ff5555 #ff55ff #ffff55 #ffffff
But this way all black is displayed as 237,241,243 (#edf1f3 hexadecimal), background, foreground, text, menus…
You would first have to select/set a color scheme in XyWrite that most closely satisfies your needs and then eventually tune some individual color in config.txt.
And of course, Windows colors schemes have no relevance with XyWrite color schemes.
Jos
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Thanks.... That color command, and a MD NM=2 command in the xywrite printer file, which would ordinarily produce green characters on a black background, does yield black text on an off-white background.
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
rem 0 - Black 1 - Blue 2 - Green 3 - Aqua 4 - Red 5 - Purple 6 - Yellow 7 - White 8 - Gray 9 - Lt Blue 10 - Lt Green 11 - Lt Aqua 12 - Lt Red 13- Lt Purple 14 - Lt Yellow 15 - Bright White
COLORS = #000000 #000080 #008000 #008080 #800000 #800080 #808000 #c0c0c0 #808080 #0000ff #00ff00 #00ffff #ff0000 #ff00ff #ffff00 #ffffff
here is the XPmode dos colors by default on my système. Usefull to have the same colors in vdos.
Anthony
Have a look at the INT 10h services "Anonymous".
At least 150 programs I maintain use standardised routines to write a string of length L to the screen with a given background/foreground 16-bit combination (256 colour schemes available), starting at a particular X/Y column/row integer*2 combination and whether to move the cursor afterwards or not.
In a similar fashion, other INT 10h services allow setting the cursor position, setting the cursor geometry, reading any area of the screen, editing text areas on-screen, obtaining the b/g colour at the cursor and so on (ans as noted elsewhere here, waiting for, or testing for, keystrokes of any shift and key combinations).
Colour work is FINE under vDos; I haven't detected any deviation from expectation.
As an aside, these same-name routines, but coded for windows, give identical results and appearance in a native Windows environment. Very useful technique for planned conversions.
Last edit: Terence Wright 2015-05-13
Anthony designed his vDos color scheme to get other colors than the standard DOS ones in XyWrite. Using INT 10h routines is no object for him, he’s “just” using a text processor, not into programming. The BIOS only lets you select one out of 16 colors, with COLORS= you can select one out of 16,777,216 for each individually.
Jos