rem vDos has some configuration options, you set them in this file. rem Don't try to include DOS config.sys settings like KEYB=, that won't work! rem : A numeric value or string. rem [optional]: Parameter is optional. rem val1|val2: Supply one (no |). REM Memory REM ====== rem The first 64KB (low) memory is excluded. rem If you need more than 575KB conventional memory. rem Caution, some DOS programs will chooke on this: rem LOW = ON rem 160KB of upper memory (UMB) is available. rem You can mainly use this for loading TSR's with LH/LOADHIGH. rem Standard 4MB of XMS memory is provided. rem If your application supports it, change it by: rem XMEM = [+] XMS|EMS|EXT rem The optional plus sign tells vDos to add the first 64KB of the graphics adapter to the 640KB conventional memory. rem Caution, you can't use graphics when this is set, it will override/destroy this extra memory! rem is 1-63. Note: bare EXTended memory is rarely needed. Only set this if you're completely sure it is! rem LOW = ON XMEM = 63 XMS REM Mouse REM ===== rem In text mode the mouse is standard disabled. rem Many (very old) DOS programs just handle the mouse badly, to turn it on: MOUSE = ON REM Window/font REM =========== rem Text is displayed using a built-in scalable TTF font. rem If some extended ASCII (diacritic) characters display incorrectly, they are probably simply not defined in this limited font. rem To use another (monospaced) TTF font, locate it in the Windows font folder and copy that file (consola.ttf...) to the vDos folder: rem FONT = CONSOLA rem The Euro symbol isn't displayed by default. Generally it's ASCII 128, to get it displayed instead of C-cedilla: rem EURO = 128 rem ASCII codes 176-223 mostly display a mix of lines/boxes and extended characters. rem If your application shows characters where you expect lines, force these to lines/boxes by the minus sign: rem FONT = -[fontname] rem The vDos window is lean and mean. No borders or title bar. Give it a try for some time to get accustomed to. rem Hover over the top line, a minimize button will appear in the upper right corner. rem Left click and drag the window to move it around. rem No close button, you have to exit the DOS application to close the window. rem If you don't like it and want the familiar Windows borders and title bar: rem FRAME = ON rem The vDos window will cover about (max) 75% of the screen. rem To change this, use WINDOW = . rem This would give you a full screen view (mind it's still a window and doesn't obscure Windows messages): rem WINDOW = 100 rem The vDos window is centered on the screen. rem To set it at another position, use WINDOW = , :. rem Note: The window is ensured to be fully visible. If not, the x- and y-pos parameters are ignored. rem WINDOW = 60,250:160 rem The number of lines/columns in text mode are the standard DOS 25/80. rem You can changes this by LINS = <24..60> and COLS = <80..160>. rem See for yourself if this is useful or supported by your application. rem LINS = 30 rem COLS = 100 rem To use a different color scheme in text mode, supply all 16 color values in RGB: (r,g,b) or hexadecimal as in HTML: #RRGGBB. rem The original DOS colors (first line is docu): 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 rem COLORS = #000000 #0000aa #00aa00 #00aaaa #aa0000 #aa00aa #aa5500 #aaaaaa #555555 #5555ff #55ff55 #55ffff #ff5555 #ff55ff #ffff55 #ffffff rem This would give you a gray scaled color scheme: rem COLORS = (0,0,0) #0e0e0e (75,75,75) (89,89,89) (38,38,38) (52,52,52) #717171 #c0c0c0 #808080 (28,28,28) (150,150,150) (178,178,178) (76,76,76) (104,104,104) (226,226,226) (255,255,255) rem Select a MDA card (with underline attribute). Mind it doesn't work for all programs. rem COLORS = MONO[,color scheme] rem Scale the window in graphics mode: SCALE = <1..9> (that’s 100..900%). rem It won't be that nice, One single point is simply enlarged to 2x2 points: rem SCALE = 2 REM Printing REM ======== rem LPT<1..9> and COM<1..9> are available for printing. rem Printer output is collected as a printjob, considered to be finished if the DOS application doesn't send any data for some time. rem If you experience problems with printing (broken pages) or like the printer to respond quicker. You can try if disabling this mechanism will help: rem TIMEOUT = OFF rem The program DOSPrinter by default handles printer output. rem If nothing is set, it will pop up a Windows printer selection dialog as your application finished printing. rem Note: Your DOS application has to be configured to print to an Epson printer (the most widely used and emulated one). rem Your Windows printer can be anyone. rem Some examples, look at the DOSPrinter.pdf file for all options: rem LPT1 = /SEL2 /CPIA /LEFT0.50 /TOP0.50 rem COM1 = /SEL /SEL2 /RTF /CPIA /LEFT0.75 /TOP0.75 /65 rem If your (DOS) printer is supported directly by your application: rem LPT2 = /SEL'HPLaserJet2200' /RAW rem Other options, not using DOSPrinter. rem Just ignore the output (for instance using another DOS to Windows printer program): rem LPT3 = DUMMY rem Use a printer port to exchange data with the Windows clipboard: rem LPT4 = CLIP rem Open the printer output in Notepad: rem COM2 = notepad #com2.txt rem Run a Windows application hidden with the printer data (@ followed by the Windows path to the program): rem COM2 = @%windir%\system32\notepad.exe /p #com2.txt rem If your (DOS) printer is supported directly by your application (/D:): rem LPT1 = @%windir%\system32\print /D:LPT1 C:\vDos\#lpt1.asc rem If your application supports a PCL or PostScript (PS) printer: rem Output to these printers is automatically detected, converted to PDF and shown in the default PDF reader. rem More information about this and download: http://www.columbia.edu/~em36/ghostpcl.html.