Typo
[linux_from_scratch_hints.git] / OLD / dosemu.txt
blob53aa0c440428e4ce17c02d781ed2c68d221b1046
1 TITLE:          Setting up dosemu with freeDOS or any other dos
2 LFS VERSION:    any
3 AUTHOR:         Alex Kloss <l.x.@gmx.de>
5 SYNOPSIS:
6         Sometimes you want to use the good old Disk Operating System,
7         e.g. for playing some real old games (like commander keen), but
8         you don't want to shutdown your linux box and don't have a DOS
9         bootdisk anyway...
11 HINT:   
12         Get dosemu (and freeDOS) now!
14 DOWNLOADS:
15         http://www.dosemu.org
16         dosemu-<version>.tgz; dosemu-freedos-bin.tgz
18 INSTALL:
19         dosemu:
21         First edit the compiletime-settings to match your preferences.
22         The file compiletime-settings.help explains the usage of these
23         options. I myself used the following options:
25         --snip
26         config {
27           experimental on
28           sbemu on
29           mitshm on
30           x on
31           net on
32           dodebug on
33           slangforce on
34           oldslang off
35           runasroot off
36           linkstatic off
37           newint on
38           aspi on
39         }
40         --snap
42         ./rebuild all &&
43         cp bin/* <wanted prefix, e.g. /usr/bin> &&
44         mkdir /var/lib/dosemu /var/lib/dosemu/dosemu &&
45         cp src/plugin/commands/*.com /var/lib/dosemu/dosemu
47         now try "dos" or "xdos". If xdos complains about not finding
48         the necessary fonts, you should edit your etc/X11/XftConfig
49         and add to the first lines
51         dir "/usr/X11R6/lib/X11/fonts/misc"
53         and restart X.
55         A minor problem is that the src/plugin/commands dir does not
56         contain all of the dosemu stuff, for example the cdrom.sys
57         driver is missing. You'll find the turbo C sources in
58         /src/commands. Since you propably don't have turbo C, you'll
59         have to find a way to 1. extract that driver from the binary
60         distribution or 2. compile it without turbo C:
62         cd src/commands &&
63         for i in aspi cdrom ems emufs; do
64           as86 -b ${i}.sys ${i}.S
65         done &&
66         cp *.sys /var/lib/dosemu/dosemu
68         Just don't mind the errors. The drivers should work anyway.
71         freedos:
73         mkdir /var/lib/dosemu &&
74         cd /var/lib/dosemu &&
75         tar xzfv /<wherever it is>/freedos-bin.tar.gz
78         any other dos:
80         mkdir /var/lib/dosemu /var/lib/dosemu/dos &&
81         cp /<wherever it is>/io.sys /var/lib/dosemu &&
82         cp /<wherever it is>/msdos.sys /var/lib/dosemu &&
83         cp /<wherever it is>/command.com /var/lib/dosemu
85         You may be interested in copying other files you want (himem.sys)
86         to the dos directory.
88 CONFIGURE:
89         Copy etc/dosemu.users.[easy|secure] and etc/dosemu.conf to /etc and 
90         edit them to match your preferences.
92 TODO:
93         Check for other DOS, e.g. Caldera Open Dos, which is also free.
95 Hope this was helpful!
96 Alex