設定に関しては、周りのページから拾ってきたものを独自に弄ってます。
まぁ・・きにすんなし!
PCMCIA用の箇所を追加、autoexecでpoweroff方法をalias貼ったぐらいです
参考先
リブレット用に調整を行っているので、その他の機種では動きは保証しません
CD/DVDドライバも無効化にしているので、通常は6で起動すれば問題ないかと、
問題があれば5で起動してください。
電源はhaltで行えます。
■fcdonfig.sys
—-ここから—-
;!SWITCHES=/F
!MENUCOLOR=7,1
MENU FreeDOS
MENU ———————————————————————-
MENU 0 – Safe Mode (don’t load any drivers)
MENU 1 – XMS
MENU 2 – CD/DVD + XMS
MENU 3 – CD/DVD + XMS + EMS
MENU 4 – Japanese + CD/DVD + XMS
MENU 5 – Japanese + CD/DVD + XMS + EMS
MENU 6 – Japanese + CD/DVD + XMS + DPMI + PCMCIA
MENU ———————————————————————-
MENUDEFAULT=6,10
0?ECHO Warning: basic stuff only!
!COUNTRY=081,,\FDOS\BIN\COUNTRY.SYS
!LASTDRIVE=Z
!BUFFERS=20
!FILES=40
123456?DOS=HIGH
123456?DOS=UMB
123456?DOSDATA=UMB
124?DEVICE=\FDOS\BIN\JEMMEX.EXE NOEMS X=TEST I=TEST
;35?DEVICE=\FDOS\BIN\HIMEMX.EXE
;35?DEVICE=\FDOS\BIN\JEMM386.EXE X=TEST I=TEST NOVME NOINVLPG
;6?DEVICE=\FDOS\BIN\JEMMEX.EXE X=TEST I=B000-B7FF I=C800-CFFF NOVME NOINVLPG
6?DEVICE=\FDOS\BIN\JEMMEX.EXE NOEMS X=TEST I=TEST X=D000-DFFF
35?DEVICE=\FDOS\BIN\JEMMEX.EXE X=TEST I=TEST
456?DEVICEHIGH=\FDOS\BIN\FONTNX.EXE
6?DEVICEHIGH=\FDOS\PCCARD\IBMDSS01.SYS
6?DEVICEHIGH=\FDOS\PCCARD\IBMDOSCS.SYS
6?DEVICE=\FDOS\PCCARD\DICRMU01.SYS /MA=XD000-DFFF
;6?DEVICEHIGH=\FDOS\PCCARD\FLSHDMTD.SYS
6?DEVICEHIGH=\FDOS\PCCARD\PAWATA.SYS
6?DEVICEHIGH=\FDOS\PCCARD\AUTODRV.SYS
;123?DEVICEHIGH=\FDOS\BIN\NANSI.SYS /S
;456?DEVICEHIGH=\FDOS\BIN\PANSI.SYS
0?SHELL=C:\COMMAND.COM C:\ /E:1024 /P=C:\AUTOEXEC.BAT
123456?SHELLHIGH=C:\COMMAND.COM C:\ /E:1024 /P=C:\AUTOEXEC.BAT
—-ここまで—-
■Autoexec.bat
—-ここから—-
@echo off
SET LANG=
SET TZ=JST-9
SET DOSDIR=C:\FDOS
SET PATH=%DOSDIR%\BIN
if not exist C:\FDOS\BIN\HELP.EXE goto FDONLY
SET DOSDIR=C:\FDOS
SET PATH=%DOSDIR%\BIN;%DOSDIR%\KEY;%PATH%
if exist %DOSDIR%\NLS\CHOICE.EN SET NLSPATH=%DOSDIR%\NLS
if exist %DOSDIR%\HELP\COMMAND.EN SET HELPPATH=%DOSDIR%\HELP
SET TEMP=%DOSDIR%\TEMP
SET TMP=%TEMP%
:FDONLY
if “%CONFIG%”==”0” goto END
loadhigh FDAPM ADV:REG
loadhigh KEYB JP,932,%DOSDIR%\BIN\KEYBOARD.SYS
rem loadhigh NLSFUNC %DOSDIR%\BIN\COUNTRY.SYS
if “%CONFIG%”==”1” goto COMMON
if “%CONFIG%”==”2” goto CDROM
if “%CONFIG%”==”3” goto CDROM
if not “%CONFIG%”==”6″ goto JP
:DPMI
loadhigh CWSDPMI -p
if exist %DOSDIR%\djgpp\bin\cat.exe SET PATH=%PATH%;%DOSDIR%\djgpp\bin
:JP
vframe /x14 /y8 /h10 /w52 /fBlack /bGray Single Shadow
vecho
vecho /fBlue ” Which driver do you want to use for Japanese?”
vline hidden
vecho ” D: DISPV”
vecho ” B: DISPVB”
vecho ” V: DSPVV”
vecho ” No display driver to load for now.”
vchoice /fLightGreen /bBlack /t1 /d1
set choice=%errorlevel%
vgotoxy eot
verrlvl %choice%
set choice=
if errorlevel 4 goto CDROM
if errorlevel 3 goto DSPVV
if errorlevel 2 goto DISPVB
:DISPV
loadhigh DISPV /HS=on
VMX 03
goto JP2
:DISPVB
loadhigh DISPVB /HS=on
goto JP2
:DSPVV
loadhigh DSPVV
:JP2
rem loadhigh DSP4U /VD=71
CHEJ JP
:CDROM
rem DEVLOAD /H /Q %DOSDIR%\BIN\UDVD2.SYS /D:FDCD0001
rem SHSUCDX /QQ /D3
rem SHSUCDX /QQ /~ /D:?FDCD0001,Q /D:?FDCD0002,Q /D:?FDCD0003,Q
:COMMON
loadhigh DOSLFN
rem loadhigh RDISK /S80 /:R
loadhigh CTMOUSE
loadhigh fdapm apmbios
:END
SET DIRCMD=/P /OGN /Y
rem SET COPYCMD=/-Y
alias jp=chej jp
alias us=chej us
alias reboot=fdapm warmboot
alias reset=fdisk /reboot
alias halt=fdapm pureoff
alias shutdown=fdapm poweroff
SET BLASTER=A220 I5 D1 T4
—-ここまで—-