Op 10-7-2011 16:07, Aitor Santamaría schreef: > Hello, > This NLS stuff is doing my head in, even before trying to automate it in configuration scripts..
CONFIG.SYS: ======================================== COUNTRY=31,858,C:\FDOS\BIN\COUNTRY.SYS NLS.BAT / AUTOEXEC.BAT: ===================================== NLSFUNC C:\FDOS\BIN\COUNTRY.SYS DISPLAY CON=(EGA,858,1) MODE CON CP PREP=((858) C:\FDOS\CPI\EGA.CPX) MODE CON CP SEL=858 KEYB US,858,C:\FDOS\BIN\KEYBOARD.SYS /NOHI CHCP 858 1) Is above correct? If not, how should it be? 2) Why's KEYB 2.0 crashing under JEMMEX? (see below #1) 3) Why's KEYB 2.0 crashing when clean booting? (see below #2) 4) Why's NLSFUNC 0.4 not throwing errorlevel 1 or so when already installed? 5) DISPLAY seems to be able to be loaded lots of time in a row? 6) Why's CHCP choking? Expected it to work in 2040 as I think it worked in 2035 or 2037 or even 2039. Might be due to one of earlier loaded tools (be it NLSFUNC, DISPLAY or MODE) ? 7) Isn't CHCP supposed to be replacing MODE CON CP SEL ? 8) How do I get an euro sign from keyboard? Thought using 858 instead of 850 would allow this, keyboard has a sign above the "5". 9) I think Rugxulo mentioned something about KEYB/KEYBOARD.SYS in some earlier mail? http://www.columbia.edu/~em36/wpdos/eurodos.html seems like a fun site to read up on things Bernd C:\>nls x y FreeDOS NLSFUNC ver. 0.4 NLSFUNC is already installed FreeDOS DISPLAY ver. 0.13b Buffers allocated: 000 in TPA, 001 in XMS Uncompressing and loading UPXed CPI (CPX) file :-). MODE select codepage 858 function completed FreeDOS KEYB 2.0 (pre4) - (c) Aitor Santamar¡a Merino - GNU GPL 2.0 Keyboard layout : C:\FDOS\BIN\KEYBOARD.SYS:US [858] JemmEx: exception 06 occured at CS:EIP=0BA1:0000150C, ERRC=00000000 SS:ESP=11C6:00001D3E EBP=00002046 EFL=00033206 CR0=80000011 CR2=00000000 EAX=00000000 EBX=00000001 ECX=0000000A EDX=0000000A ESI=00001D34 EDI=000008AE DS=1104 ES=0BA1 FS=0000 GS=0000 [CS:IP]=0F 00 00 A0 A0 05 03 07 Press ESC to abort program unimplemented internal dos function INT2F/122b unimplemented internal dos function INT2F/122d unimplemented internal dos function INT2F/122b unimplemented internal dos function INT2F/122d unimplemented internal dos function INT2F/122b unimplemented internal dos function INT2F/122d unimplemented internal dos function INT2F/122b unimplemented internal dos function INT2F/122d Failed to change current code page. nls x y @echo off if "%1"=="" goto end set charname=CON nlsfunc C:\FDOS\BIN\COUNTRY.SYS >> %charname% DISPLAY CON=(EGA,858,1) >> %charname% MODE CON CP PREP=((858) C:\FDOS\CPI\EGA.CPX) >> %charname% MODE CON CP SEL=858 >> %charname% if "%2"=="" goto chcp KEYB US,858,C:\FDOS\BIN\KEYBOARD.SYS /NOHI >> %charname% goto chcp :chcp CHCP 858 >> %charname% set charname= scrdump /A > out.txt echo. >> out.txt echo %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 >> out.txt echo. >> out.txt if exist %0 set /e charname=truename %0 if exist %0.bat set /e charname=truename %0.bat type %charname% >> out.txt set charname= goto end :end either version 2, or (at your option) any later version. C: HD1, Pri[ 1], CHS= 0-1-1, start= 0 MB, size= 101 MB FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00] XMS driver not found. C:\>nls x y FreeDOS NLSFUNC ver. 0.4 FreeDOS DISPLAY ver. 0.13b Buffers allocated: 001 in TPA, 000 in XMS Uncompressing and loading UPXed CPI (CPX) file :-). MODE select codepage 858 function completed FreeDOS KEYB 2.0 (pre4) - (c) Aitor Santamar¡a Merino - GNU GPL 2.0 Keyboard layout : C:\FDOS\BIN\KEYBOARD.SYS:US [858] Invalid Opcode at 150C 2ADC 7246 4129 0000 0004 1800 4325 5C3A 633B 5C3A 6466 73 6F unimplemented internal dos function INT2F/122b unimplemented internal dos function INT2F/122d unimplemented internal dos function INT2F/122b unimplemented internal dos function INT2F/122d unimplemented internal dos function INT2F/122b unimplemented internal dos function INT2F/122d unimplemented internal dos function INT2F/122b unimplemented internal dos function INT2F/122d Failed to change current code page. nls x y ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel