@echo off
if "%1" == "" goto usage
if "%1" == "ibm5" goto mess
if "%1" == "IBM5" goto mess
if "%1" == "pc6" goto mess
if "%1" == "PC6" goto mess
if "%1" == "ms6" goto mess
if "%1" == "MS6" goto mess
goto mess
:mess
echo 注意!!
echo ・このバッチファイルは空きメインメモリーをできるだけ作った状態の立ち上げ
echo  用のディスクを作成するための物です。
echo ・このバッチファイルによって作られる“CONFIG.SYS”と“AUTOEXEC.BAT”はあ
echo  くまでも通常のデスクトップ及びタワー型パソコン用のサンプルですので、一
echo  部のノートパソコン(FDDをPCMCIAカードで接続するタイプの物)等
echo  では動作させることができなかったり、また省電力用のドライバも組み込みま
echo  せんので、省電力機能が働かなかったりします。
echo  その場合は、それぞれのドライバをこのバッチファイルによってフロッピーに
echo  作成される“CONFIG.SYS”及び“AUTOEXEC.BAT”に追加するようにして下さい。
echo  ただし、追加されるドライバによってメモリーが不足する可能性がありますので
echo  極力UMBを使う等、メモリーを空けて下さい(UMBの使用法等はDOS付属
echo  のマニュアルを参照して下さい)
echo ・あらかじめフォーマットされたフロッピーを1枚用意して下さい。
echo  フォーマットのしかたは、
echo  FORMAT A:
echo  です。
echo  このバッチファイルはハードディスクをCドライブ、フロッピードライブを
echo  Aドライブとして動作いたしますので、違う環境の場合はバッチファイルの中
echo  のドライブの指定のところを書き換えてから実行して下さい。
echo ・途中でやめたい場合は[Ctrl]+[C]を押してバッチファイルの実行を
echo  止めて下さい。
echo フォーマットされたフロッピーをAドライブに挿入して準備ができたら何かキー
echo を押して下さい。
sys c:\ a:
if "%1" == "ibm5" goto ibm5
if "%1" == "IBM5" goto ibm5
if "%1" == "pc6" goto pc6
if "%1" == "PC6" goto pc6
rem ms6
copy config.ms6 a:config.sys /v /y > nul
copy autoexec.ms6 a:autoexec.bat /v /y > nul
goto mess1
:ibm5
copy config.pc5 a:config.sys /v > nul
copy autoexec.pc5 a:autoexec.bat /v > nul
copy c:\$jpnhn16.fnt a: /v > nul
copy c:\$jpnhn19.fnt a: /v > nul
copy c:\$jpnzn16.fnt a: /v > nul
goto mess1
:pc6
copy config.pc6 a:config.sys /v /y > nul
copy autoexec.pc6 a:autoexec.bat /v /y > nul
:mess1
echo 立ち上げディスクの作成は終了しました。
echo ゲームをするときは立ち上げディスクを挿入してDOSを立ち上げて下さい。
echo 今までの環境に戻す時には立ち上げディスクを抜いてDOSを立ち上げて下さい。
goto end
:usage
echo 使用法:MAKEDISK IBM5 ... IBM DOS version J5.0/V 用
echo     MAKEDISK PC6�0�2�0�2...�0�2�0�2PC DOS version J6.x/V 用
echo     MAKEDISK MS6�0�2�0�2...�0�2�0�2MS DOS version J6.2/V 用
echo     注意:あらかじめフォーマットされたフロッピーを1枚用意して下さい。
echo        フォーマットのしかたは、
echo        FORMAT A:
echo        です(フロッピーがAドライブの場合)
:end
 
@echo off
if "%1" == "" goto usage
if "%1" == "ibm5" goto mess
if "%1" == "IBM5" goto mess
if "%1" == "pc6" goto mess
if "%1" == "PC6" goto mess
if "%1" == "ms6" goto mess
if "%1" == "MS6" goto mess
goto mess
:mess
echo Attention!
echo ・This batch file is for creating a disk for booting with as much free main memory as possible.
echo ・The "CONFIG.SYS" and "AUTOEXEC.BAT" created by this batch file are just sample ones for ordinary desktops and tower PCs. So, some notebook PCs (those with FDD connected via PCMCIA card) etc. may not work, and power-saving drivers are not included, so the power-saving function may not work.
echo  In that case, please add each driver to "CONFIG.SYS" and "AUTOEXEC.BAT" created on the floppy by this batch file.
echo  However, since the added driver may run out of memory, please free up memory as much as possible, such as using UMB as much as possible (refer to the manual attached with DOS for how to use UMB).
echo ・Please prepare one pre-formatted floppy.
echo  The way to format is,
echo  FORMAT A:
echo  This batch file operates with the hard disk as drive C and the floppy drive as drive A. So, if the environment is different, please rewrite the drive specifications in the batch file before running.
echo ・If you want to stop in the middle, press + to stop the execution of the batch file.
echo Please press any key when the prepared formatted floppy is inserted into drive A.
sys c:\ a:
if "%1" == "ibm5" goto ibm5
if "%1" == "IBM5" goto ibm5
if "%1" == "pc6" goto pc6
if "%1" == "PC6" goto pc6
rem ms6
copy config.ms6 a:config.sys /v /y > nul
copy autoexec.ms6 a:autoexec.bat /v /y > nul
goto mess1
:ibm5
copy config.pc5 a:config.sys /v > nul
copy autoexec.pc5 a:autoexec.bat /v > nul
copy c:\$jpnhn16.fnt a: /v > nul
copy c:\$jpnhn19.fnt a: /v > nul
copy c:\$jpnzn16.fnt a: /v > nul
goto mess1
:pc6
copy config.pc6 a:config.sys /v /y > nul
copy autoexec.pc6 a:autoexec.bat /v /y > nul
:mess1
echo The creation of the boot disk has been completed.
echo When playing games, please insert the boot disk and boot DOS.
echo When returning to the previous environment, please remove the boot disk and boot DOS.
goto end
:usage
echo Usage: MAKEDISK IBM5 ... For IBM DOS version J5.0/V
echo    MAKEDISK PC6 ... For PC DOS version J6.x/V
echo    MAKEDISK MS6 ... For MS DOS version J6.2/V
echo    Note: Please prepare one pre-formatted floppy.
echo       The way to format is,
echo       FORMAT A:
echo       (If the floppy is drive A)
:end