home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / HOWTO / DOSEMU-H < prev    next >
Encoding:
Text File  |  1995-04-20  |  41.1 KB  |  1,217 lines

  1.   The dosemu HOWTO
  2.   edited by Mike Deisher, deisher@dspsun.eas.asu.edu
  3.   v0.52.6, 2 Dec 1994
  4.  
  5.   This is the `Frequently Asked Questions' (FAQ) / HOWTO document for
  6.   dosemu.  The most up-to-date version of the dosemu-HOWTO may be found
  7.   in dspsun.eas.asu.edu:/pub/dosemu.
  8.  
  9.   1.  The preliminaries
  10.  
  11.   1.1.  What is dosemu, anyway?
  12.  
  13.   To quote the manual, "dosemu is a user-level program which uses
  14.   certain special features of the Linux kernel and the 80386 processor
  15.   to run MS-DOS in what we in the biz call a `DOS box.'  The DOS box, a
  16.   combination of hardware and software trickery, has these capabilities:
  17.  
  18.   o the ability to virtualize all input/output and processor control
  19.   instructions
  20.  
  21.   o the ability to support the word size and addressing modes of the
  22.   iAPX86 processor family's "real mode," while still running within the
  23.   full protected mode environment
  24.  
  25.   o the ability to trap all DOS and BIOS system calls and emulate such
  26.   calls as are necessary for proper operation and good performance
  27.  
  28.   o the ability to simulate a hardware environment over which DOS
  29.   programs are accustomed to having control.
  30.  
  31.   o the ability to provide MS-DOS services through native Linux
  32.   services; for example, dosemu can provide a virtual hard disk drive
  33.   which is actually a Linux directory hierarchy."
  34.  
  35.  
  36.   1.2.  What's the newest version of dosemu and where can I get it?
  37.  
  38.   The newest version of dosemu is dosemu0.52 and can be ftp'ed from the
  39.   following sites:
  40.  
  41.        dspsun.eas.asu.edu:/pub/dosemu/
  42.        tsx-11.mit.edu:/pub/linux/ALPHA/dosemu/
  43.  
  44.  
  45.  
  46.   However, pre-release versions are also available for developers and
  47.   ALPHA testers.  They may be found in
  48.  
  49.        dspsun.eas.asu.edu:/pub/dosemu/Development/
  50.        tsx-11.mit.edu:/pub/linux/ALPHA/dosemu/Development
  51.  
  52.  
  53.   and have names of the form pre0.53_??.  The pre-release code has the
  54.   distinct advantage that it is compatible with the most recent Linux
  55.   kernels.  Also, it includes new features (most notably X support).
  56.   Remember that this is ALPHA code, however:  there may be serious bugs
  57.   and very little documentation for new features.
  58.  
  59.  
  60.   1.3.  Where can I follow the development?
  61.  
  62.   If you want to follow the development of dosemu, you should consider
  63.   subscribing to the MSDOS channel on Linux-activists.  To subscribe,
  64.   send mail to linux-activists-request@niksula.hut.fi.  Your mail HEADER
  65.   or FIRST LINE must contain the line:
  66.  
  67.                           X-Mn-Admin: join MSDOS
  68.  
  69.  
  70.   To post to the list, send mail to linux-activists@niksula.hut.fi.
  71.   Your mail HEADER or FIRST LINE must contain the line:
  72.  
  73.                           X-Mn-Key: MSDOS
  74.  
  75.  
  76.  
  77.  
  78.   1.4.  What documentation is available for dosemu?
  79.  
  80.   The dosemu manual (dosemu.texinfo) written by Robert Sanders has not
  81.   been updated in some time but is still a good source of information.
  82.   It is distributed with dosemu.
  83.  
  84.   The "dosemu Novice's Altering Guide" or DANG is a road map to the
  85.   inner workings of dosemu.  It is designed for the adventurous, those
  86.   who wish to modify the source code themselves.  The DANG is maintained
  87.   by Alistair MacDonald (am20@unix.york.ac.uk) and is posted once in a
  88.   while to the MSDOS channel of Linux Activists.
  89.  
  90.   The EMU success list (EMUsuccess.txt) is a list of all programs that
  91.   have been reported to work with dosemu.  It is posted once in a while
  92.   to the MSDOS channel of Linux Activists.  The most recent version can
  93.   be found on dspsun.eas.asu.edu:/pub/dosemu.
  94.  
  95.   And then, of course, there is the dosemu FAQ/HOWTO.  But you already
  96.   know about that, don't you.  It is also posted once in a while to the
  97.   MSDOS channel of Linux Activists.  The most recent version can be
  98.   found on dspsun.eas.asu.edu:/pub/dosemu.
  99.  
  100.  
  101.   1.5.  How do I submit changes or additions to the HOWTO?
  102.  
  103.   The preferred method is to edit the file, dosemu-HOWTO-xx.x.sgml to
  104.   incorporate the changes, create a diff file by typing something like
  105.  
  106.  
  107.                  diff original-file new-file
  108.  
  109.  
  110.  
  111.   and send it to deisher@dspsun.eas.asu.edu.  If you do not know SGML,
  112.   that's ok.  Changes or new information in any form will be accepted.
  113.   Creating the diff file just makes it easier on the HOWTO maintainer.
  114.   :-)
  115.  
  116.  
  117.   2.  Compiling and installing dosemu
  118.  
  119.   2.1.  Where are the installation instructions?
  120.  
  121.   The installation instructions are in the file, "QuickStart", included
  122.   in the distribution.
  123.  
  124.  
  125.   2.2.  Why won't dosemu 0.52 compile?
  126.  
  127.   (7/9/94)
  128.  
  129.   There is a bug in the makefile of dosemu 0.52.  The makefile expects
  130.   the source to be located in /usr/src/dosemu????.  Either install the
  131.   source under /usr/src or try make clean ; make config ; make dep ;
  132.   make all.
  133.   Of course, this is not the only possible reason (see below).
  134.  
  135.  
  136.   2.3.  How can I be a bone-head when installing dosemu?
  137.  
  138.   a.k.a. Top Ten Stupid Mistakes installing dosemu (7/9/94)
  139.  
  140.  
  141.   1. Don't read the QuickStart Guide.
  142.   2. Try to compile with a kernel older than 1.0.8.
  143.   3. Try to compile with an *unpatched* kernel >= 1.0.8.
  144.   4. Try to compile with a kernel older than 1.1.12.
  145.   5. Use dosemu with a kernel that does not have IPC compiled in.
  146.   6. Compile with gcc older than 2.5.8 or libc older than 4.5.21.
  147.   7. Forget to edit your /etc/dosemu.conf file.
  148.   8. Forget to run "FDISK /mbr" on your hdimage.
  149.   9. Forget to run "mkpartition" when using partition access.
  150.   10. Don't compile dosemu with sufficient priveledges (i.e., root).
  151.  
  152.  
  153.  
  154.   [Please send me your stupid mistakes for inclusion in this list.  I
  155.   promise you will remain anonymous.  ;-)]
  156.  
  157.  
  158.   3.  Hard disk setup
  159.  
  160.   3.1.  How do I use my hard disk with dosemu?
  161.  
  162.   First, mount your dos hard disk partition as a Linux subdirectory.
  163.   For example, you could create a directory in Linux such as /dos (mkdir
  164.   -m 755 /dos) and add a line like
  165.  
  166.      /dev/hda1       /dos     msdos   umask=022
  167.  
  168.  
  169.   to your /etc/fstab.  (In this example, the hard disk is mounted read-
  170.   only.  You may want to mount it read/write by replacing "022" with
  171.   "000" and using the -m 777 option with mkdir).  Now mount /dos.  Now
  172.   you can add a line like
  173.  
  174.     lredir d: linux\fs/dos
  175.  
  176.  
  177.   to the AUTOEXEC.BAT file in your hdimage (see the comments on LREDIR
  178.   below).  On a multi-user system you may want to use
  179.  
  180.     lredir d: linux\fs\${home}
  181.  
  182.  
  183.   where "home" is the name of an environmental variable that contains
  184.   the location of the dos directory (/dos in this example).
  185.  
  186.   ---------------------
  187.  
  188.  
  189.   Tim Bird (Tim_R_Bird@Novell.COM) states that LREDIR users should
  190.  
  191.   be careful when they use LREDIR in the autoexec, because COMMAND.COM
  192.   will continue parsing the autoexec.bat from the redirected drive as
  193.   the same file offset where it left off in the autoexec.bat on the
  194.   physical drive.  For this reason, it is safest to have the
  195.   autoexec.bat on the redirected drive and the physical drive
  196.   (diskimage) be the same.
  197.  
  198.  
  199.   ---------------------
  200.  
  201.  
  202.   Robert D. Warren (rw11258@xx.acs.appstate.edu) reported (4/28/94) that
  203.  
  204.   I boot off a small hdimage file (less than 1 MB - and twice as large
  205.   as needs be at that), and the next to last line in my config.sys file
  206.   on the hdimage boot image is:
  207.  
  208.  
  209.           install=c:\lredir.exe LINUX\FS\home/dos
  210.  
  211.  
  212.   This will execute lredir just before the command interpreter runs. And
  213.   I have successfully run it with both command.com and 4DOS.  This elim-
  214.   inates the offset problem using lredir in autoexec.bat.
  215.  
  216.  
  217.   3.2.  Can I use my stacked/double-spaced/super-stored disk?
  218.  
  219.   At this time, compressed drives cannot be accessed via the redirector
  220.   (lredir or emufs).  However, many people have had success by simply
  221.   uncommenting the
  222.  
  223.      disk { wholedisk "/dev/hda" }        # 1st partition on 1st disk
  224.  
  225.  
  226.   line in their dosemu config file.  Others have had success using
  227.  
  228.      disk { partition "/dev/hda1" 1 }
  229.  
  230.  
  231.   and running the mkpartition utility (included in the dosemu distribu-
  232.   tion).
  233.  
  234.   [WARNING:  Make sure your dos partitions are not mounted and writeable
  235.   from Linux while you are using dosemu with wholedisk or partition
  236.   access.  This is an easy way to destroy the data on your dos
  237.   partition.]
  238.  
  239.   ---------------------
  240.  
  241.   If LILO is installed, the above will not work.  However...
  242.  
  243.   Thomas Mockridge (thomas@aztec.co.za) reported (8/5/94) that
  244.  
  245.   To boot dosemu with LILO and Stacker 4.0 I did a little work around...
  246.  
  247.   1. dd the MBR to a file. (or norton utility, etc., first 512 bytes)
  248.  
  249.   2. Boot dos (from full boot not emu), do a fdisk /mbr, make your dos
  250.   partition active with (dos) fdisk.
  251.  
  252.   3. Copy the new MBR to a file.
  253.  
  254.   4. Replace the original MBR
  255.  
  256.   5. Copy the second MBR to /var/lib/dosemu/partition.hda? (Whichever is
  257.   your dos partition)
  258.  
  259.   6. Set dosemu.conf
  260.  
  261.                  disk {partition "/dev/hda? ?"}
  262.  
  263.  
  264.  
  265.   7. Start dosemu and and voila!  No LILO.
  266.  
  267.   ---------------------
  268.  
  269.   Holger Schemel (q99492@pbhrzx.uni-paderborn.de) reported (2/10/94)
  270.   that
  271.  
  272.   Works even fine under DOSEMU with MS-DOS 6.0. If you have problems,
  273.   then you have to edit the file 'DBLSPACE.INI' manually and change the
  274.   disk letter to the letter your drive gets under DOSEMU.
  275.  
  276.   ---------------------
  277.  
  278.   Darren J Moffat (moffatd@dcs.gla.ac.uk) also reported (3/27/94)
  279.  
  280.   "...use 6.2 if you can get it!!  Just make sure you have a lilo boot
  281.   disk on hand since dos 6{.2} will change the MBR of the boot HD."
  282.  
  283.  
  284.   3.3.  I get an error message about my config.sys file but it looks
  285.   fine.
  286.  
  287.   Corey Sweeney (corey@amiganet.xnet.com) reported (12/8/93) that
  288.  
  289.   Sometimes when loading config.sys you will get a error message saying
  290.   something like "error in line 6 of config.sys".  The problem will go
  291.   away if you add several carriage returns at the end of your
  292.   config.sys.
  293.  
  294.  
  295.   3.4.  Is it safe to use dosemu with DOUBLE?
  296.  
  297.   Joep Mathijssen (joep@tm.tno.nl) reported (7/9/94) that
  298.  
  299.   Last night I installed DOSEMU-0.52 on a DouBle'd disk (compressed file
  300.   system for Linux). But when I tried to put a system on my hdimage, I
  301.   got an "ERROR ON DRIVE C:" message.  After putting the hdimage on a
  302.   normal filesystem, it worked fine.  Afterwards, I found the my
  303.   compressed filesystem was ruined.  Ah well, DouBle is an Alpha
  304.   version, so problems like these can be expected.
  305.  
  306.  
  307.   4.  Serial ports and mice
  308.  
  309.   4.1.  Where are the (microsoft compatible) mouse drivers?
  310.  
  311.   Tom Kimball (tk@pssparc2.oc.com) reported (11/24/93) that
  312.  
  313.   Several people said to use a different mouse driver and suggested
  314.   some.  I found a couple that seem to work fine.
  315.  
  316.      oak.oakland.edu:/pub/msdos/mouse/mouse701.zip   (mscmouse)
  317.      oak.oakland.edu:/pub/msdos/mouse/gmous102.zip   (gmouse)
  318.  
  319.  
  320.  
  321.  
  322.   4.2.  Why doesn't the mouse driver work?
  323.  
  324.   Scott D. Heavner (sdh@fishmonger.nouucp) reported (11/27/93) that
  325.  
  326.   If you start the mouse driver and it just hangs (it might actually
  327.   take 30-60s), but if you are waiting longer than a minute for the
  328.   mouse driver to start, remove any "timer" lines in your config file.
  329.  
  330.  
  331.   4.3.  Why does dosemu clobber COM4?
  332.  
  333.   Rob Janssen (rob@pe1chl.ampr.org) reported (3/24/94) that
  334.  
  335.   According to jmorriso@bogomips.ee.ubc.ca, "dosemu still clobbers COM4
  336.   (0x2e8, IRQ 5). 0x2e8 isn't in ports{} in config.  I have to run
  337.   setserial /dev/cua3 irq 5 on it after dosemu exits."
  338.  
  339.   This is caused by your VGA BIOS.  I have found that by enabling the IO
  340.   port trace and seeing where it was clobbered.
  341.  
  342.   Disable the "allowvideoportaccess on" line in config and it will work
  343.   fine.  When you then have problems with the video, try to enable more
  344.   selective ranges of IO addresses (e.g., 40-43).
  345.  
  346.  
  347.   4.4.  How do I use dosemu over the serial ports?
  348.  
  349.   Corey Sweeney (corey@amiganet.xnet.com) reported (12/8/93) that
  350.  
  351.   If you plan to be using dosemu over a serial line, telnet session, or
  352.   just don't want to use raw console mode, then you will probably want
  353.   to get to know the termcap file.  For those who don't know, the
  354.   termcap file is usually located in the /etc directory.  It contains
  355.   the information on what sequences of characters to send to your
  356.   terminal, and what sequences of characters from your terminal
  357.   represent what keystrokes.  If when you hit F5, and it does not work,
  358.   it will usually be the fault of a incorrect termcap entry.  (To learn
  359.   more about termcaps look up the termcap man page.)
  360.  
  361.   Now the information in the termcap relates to entries in the dosemu
  362.   code.  So after you put k5=\E[[E in your termcap, whenever your
  363.   terminal sends \E[[E, dosemu translates that and says "he hit the k5
  364.   key!"  Then it is up to dosemu to figure out what the proper scancode
  365.   for the k5 key is, and push that into the buffer in some magical way.
  366.   To determine the scancode, it looks up in a little table in termio.c.
  367.   In termio.c under the line which (currently) says
  368.  
  369.      #define FUNKEYS 20
  370.  
  371.  
  372.   There exist several lines following the form
  373.  
  374.      {NULL, "termcap code", scancode} /* name of key */
  375.  
  376.  
  377.   so when it says
  378.  
  379.      {NULL, "k5", 0x3f00} /* F5 */
  380.  
  381.  
  382.   it's saying that 0x3f00 is the scancode for F5, and that when the per-
  383.   son activates the k5 sequence (defined in the termcap) to stuff the F5
  384.   scancode into the buffer.
  385.  
  386.   Now that's all fine and dandy for analyzing how dosemu does this,  but
  387.   you probably want to be able to do something with this new
  388.   information.  Well you can add functionality for the F11 and F12 keys
  389.   (and any other keys that you can find the scancode for).
  390.  
  391.   All you have to do is add a line to the termio.c table that says:
  392.  
  393.      {NULL, "ka", 0x8500} /* F11 */
  394.  
  395.  
  396.  
  397.   Then to actually get it to read the line you just put in, add one to
  398.   the FUNKEYS number.
  399.  
  400.      #define FUNKEYS 21
  401.  
  402.  
  403.   Then add a "ka" entry to your termcap.  After that, every time you hit
  404.   the sequence stored in your termcap for ka, your dos program recog-
  405.   nizes an "F11."
  406.  
  407.   Warning:  Make sure that ka is not in use in your termcap.  If it is
  408.   you are headed for trouble.
  409.  
  410.   Note:  The scancode for F12 is 0x8600.
  411.  
  412.  
  413.   4.5.  How can I switch between dosemu and a shell over the serial
  414.   line?
  415.  
  416.   John Taylor (taylor@pollux.cs.uga.edu) reported (5/25/94) that
  417.  
  418.   I am running Linux 1.1.13 and want to point out a great feature that
  419.   should be protected and not taken out (IMHO). With the 52 version, I
  420.   can run the program, "screen."  From screen, i can invoke dos -D-a.
  421.   What is really great (IMHO) is the screen commands (the CTRL-A cmds)
  422.   still work. This means I can do a CTRL-A C and add another unix shell,
  423.   and switch between the two (DOS / UNIX).  This allows me to use dosemu
  424.   over the serial line really well, because switching is made easy.
  425.  
  426.  
  427.   5.  Multiple users and Non-interactive sessions
  428.  
  429.   5.1.  Can I use dosemu on a multi-user system?
  430.  
  431.   Corey Sweeney (corey@amiganet.xnet.com) reported (12/8/93) that
  432.  
  433.   If you are running dosemu on a system in which more then one person
  434.   may want to run dosemu, then you may want to change the directory of
  435.   your hard drive image.  Currently in the /etc/dosemu.conf file there
  436.   exists the line saying that the hard drive image is "hdimage".  If you
  437.   change this to /var/lib/dosemu/hdimage then people do not have to
  438.   worry about what directory they are in when they run dosemu, and
  439.   hdimage does not have to be moved each time you upgrade to the next
  440.   patch level.
  441.  
  442.   If you do do this for multi-user dosemu, then you will want to make
  443.   the hdimage in /var/lib/dosemu read-only for everyone but the dosemu
  444.   administrator.
  445.  
  446.   Note that you can use the new emufs.sys thing to mount a "public"
  447.   directory and/or a "private" directory (a sub-directory in each
  448.   person's home directory).
  449.  
  450.  
  451.   [Note: Users may also create a personal configuration file named
  452.   ~/.dosrc (same format as /etc/dosemu.conf) to run their own copy of
  453.   dos.]
  454.  
  455.  
  456.   5.2.  How can I run dos commands non-interactively?
  457.  
  458.   I have been meaning to write an article on this for quite some time
  459.   but have not gotten around to it.  Here are some hints from others:
  460.  
  461.  
  462.  
  463.   Dan Newcombe (newcombe@aa.csc.peachnet.edu) reported (1/27/94) that
  464.  
  465.   Here is an idea (untested) to be able to run a DOS command from the
  466.   command line (or menu choice, etc...) without modifying the acutal
  467.   emulator.  [Your dos partition is assumed to be mounted under Linux,
  468.   already.]
  469.  
  470.   Suppose you wanted to run wp60.exe with the parameter "wp60
  471.   d:\doc\paper.txt".  You would do something like "dosrun wp60
  472.   d:\doc\paper.txt".  "dosrun" would be a linux shell program that would
  473.   a) edit/modify/recreate the dos autoexec.bat from your dos partition
  474.   and b) simply run dosemu (e.g., "dos -C >/dev/null".  Step a) would
  475.   somehow keep all the stuff you'd normally want in autoexec.bat (e.g.,
  476.   mouse.com) and the last line would be "wp60 d:\doc\paper.txt".
  477.  
  478.   On the dosemu side, beforehand, you would have to modify the
  479.   config.sys file (located in hdimage) so that it 1) uses emufs to
  480.   access the dos partition as D:, 2) sets "COMPSEC=D:\ (I think.  I
  481.   don't have a DOS manual around.), and 3) sets "shell=c:\command.com
  482.   /p".
  483.  
  484.   The idea is that for each time that you load the DOS emulator, you
  485.   will recreate an autoexec.bat that is specific to that session.  What
  486.   makes it specific is that the last line will execute the program you
  487.   want.  The modifications on the hdimage are to tell the emulator/DOS
  488.   that you want to use (and effectivly) boot off of D:, which will be
  489.   the actual DOS partition.
  490.  
  491.   If you do not use hdimage and access the DOS filesystem directly upon
  492.   boot-up of DOSEMU, then this will work, and you don't have to go
  493.   through the hdimage part of this all.
  494.  
  495.   ---------------------
  496.  
  497.  
  498.   Daniel T. Schwager (danny@dragon.s.bawue.de) reported (7/2/94) that
  499.  
  500.   You can use different dosemuf.conf files (and different hd-boot-images
  501.   with different autoexec.bat's) and call dosemu like
  502.  
  503.   $ dos -F my_quicken_q_exe_dosemu.conf
  504.  
  505.  
  506.  
  507.   ---------------------
  508.  
  509.  
  510.   Dietmar Braun (braun@math20.mathematik.uni-bielefeld.de) reported
  511.   (7/4/94) that
  512.  
  513.   This is no problem at all when you use the redirector of dosemu.  It
  514.   is possible to redirect a drive letter to a linux path given by an
  515.   environment variable.
  516.  
  517.   So I have a shell script named "DOS" which does something like
  518.  
  519.    mkdir /tmp/dos.\*(dR\*(dR
  520.    DOSTMP=/tmp/dos.\*(dR\*(dR; export DOSTMP
  521.  
  522.  
  523.   and then a little trick to get "echo $* > $DOSTMP/startup.bat" really
  524.   working (actually a small C Program which turns '/' in '\' and termi-
  525.   nates lines correctly for messy dos with cr/lf pairs and adds ^Z at
  526.   the end of the file), creates startup files, links and so on in this
  527.   directory, and then starts dosemu. Within "autoexec.bat" drive c: is
  528.   redirected from hdimage to this tmp-directory, which has links for
  529.   $HOME and $PWD.
  530.  
  531.   So if I want to see my filenames shortened to 8.3 I can type "DOS dir"
  532.   and I get my current directory listing.  So I have full DOS multi user
  533.   (I don't have any DOS partition and redirecting to Linux preserves
  534.   user permissions) and multi tasking. (dosemu sessions are completely
  535.   independent).  I did this once to be able to use a dos driver for my
  536.   printer. My printcap df is actually a DOS program. So you can even
  537.   make DOS executables act as lpr filters.
  538.  
  539.  
  540.   6.  dosemu and Netware
  541.  
  542.   6.1.  How do I get Netware access from dosemu?
  543.  
  544.   James B. MacLean (jmaclean@fox.nstn.ns.ca) reported (11/28/94) that
  545.  
  546.   Dosemu now supports  pdipx  (an IPX over pktdrvr)  and  pdether  (uses
  547.   Novell's  MLID spec)  to  access  Novell LAN's via the built in packet
  548.   driver.   The  packet  driver sits at interrupt 0x60, and abids by the
  549.   normal paket driver rules.  That said, beware of trying any DOS TCP/IP
  550.   just yet.  Single access can be made by:
  551.  
  552.   1) cd ./net
  553.   2) cp libpacket.c.single libpacket.c
  554.   3) cp pktnew.c.single pktnew.c
  555.   4) recompile DOSEMU
  556.   5) run dosemu
  557.   6) load pdether as described by its docs (pdipx is another method)
  558.   7) load netx
  559.   8) enjoy netware access :-)
  560.  
  561.  
  562.   If you  need  special  access  to  your  NIC,  read  on.   By  default
  563.   dosemu  will  not  get interrupts from the kernel. That said, if you'd
  564.   like to give your NIC to dosemu for it to control, maybe for access to
  565.   Netware  on  the  network  through  a  NETX client, I do have a driver
  566.   (Silly Interrupt Generator) to put in the  kernel  that  any  program,
  567.   like dosemu can use to get at the interrupt for your NIC.  I use it in
  568.   DOSEMU to access a Novell Lite network in the  past  until  the packet
  569.   driver existed.
  570.  
  571.   Any interested parties should E-mail me (jmaclean@fox.nstn.ns.ca) and
  572.   I'll pass along some directions.
  573.  
  574.   Want multiple DOSEMU's access to Novell?
  575.  
  576.   1) compile current [pre-release] DOSEMU
  577.   2) follow directions in ./v-net/dosnet.README
  578.   3) carry on from 5) above.
  579.  
  580.  
  581.  
  582.  
  583.   6.2.  The Netware-HOWTO
  584.  
  585.   Lauri Tischler (ltischler@fipower.pp.fi) has authored this section of
  586.   the HOWTO (Thanks Lauri!!!).  This is Rev. 0.1, 26 Nov 1994.
  587.  
  588.   IMPORTANT NOTE:  This information applies to the pre-release versions
  589.   of dosemu (pre0.53_??) only!
  590.  
  591.   This is my first attempt to write some kind of advice on how to
  592.   connect to a Netware server from your Linux box.
  593.  
  594.  
  595.   Due to the first attempt and the scope of this note, it is not a real
  596.   HOWTO, not even a 'mini-HOWTO'.  You might call it a 'nano-HOWTO' if
  597.   you like.
  598.  
  599.   As in most sites the Netware is really just an extension to PC's
  600.   running DOS and DOS applications (Windows is JUST another DOS-
  601.   application), the Netware providing fileserver and printing support, I
  602.   will concentrate on getting the connection via DOSEMU only.
  603.  
  604.   It is possible to access Netware server via NFS from Linux directly,
  605.   but that requires the Novell NFS nlm-module for the server.  Unless
  606.   you have $x000 of extra dough around you better forget it.  Besides
  607.   all the applications are DOS programs anyway, so you can't run them in
  608.   Linux native mode.  Also, if there is filenamelength limitations in
  609.   Novell NFS it is quite useless in *nix environment. (I really don't
  610.   know NFS, never seen the beast).
  611.  
  612.   So, how to get the connection to the Netware server, that is the
  613.   question.
  614.  
  615.   We have a Netware network with 3 servers and appr. 110 PC's connected
  616.   to it.  It is TOTALLY Dos/Windows environment, running 'Novell
  617.   standard' Ethernet_802.3 frames, really very ordinary commercial REAL
  618.   LIFE setup.
  619.  
  620.   I use in my PC (in addition to DOS) Linux 1.1.65 and Dosemu pre0.53_35
  621.   and it works in my machine with my hardware and our network.  The
  622.   following may or may not work on Your pile of iron.
  623.  
  624.   1)  Linux kernel requirements  (NONE).  There is a config parameter
  625.   'IPX-SUPPORT'.  It makes no difference to use it or not to use it.  It
  626.   is provided for future hooks to kernel.  There are no working hooks
  627.   which use it,  not at least in dosemu,  not in various configurations
  628.   I have tested.
  629.  
  630.   2)  dosemu requirements  (FEW) Here is a fragment of dosemu.conf file.
  631.   Comment out ipxsupport on and pktdriver novell_hack
  632.  
  633.   #************************* NETWORKING SUPPORT *****************************
  634.   #
  635.   #    Turn the following option 'on' if you require IPX/SPX emulation.
  636.   #    Therefore, there is no need to load IPX.COM within the DOS session.
  637.   #    The following option does not emulate LSL.COM, IPXODI.COM, etc.
  638.   #    NOTE: MUST HAVE IPX PROTOCOL ENABLED IN KERNEL !!
  639.   #ipxsupport on
  640.   #
  641.   #    Enable Novell 8137->raw 802.3 translation hack in new packet driver.
  642.   #pktdriver novell_hack
  643.  
  644.  
  645.   The ipx support does not work yet in dosemu and the novell_hack has
  646.   been disabled in the latest dosemu (pl35).  There is a gallant effort
  647.   for better support, look at directory v-net for info, but we are not
  648.   there yet.
  649.  
  650.   In stock dosemu release (at least in pre0.53_35) in directory net the
  651.   two files pktnew.c and libpacket.c are the experimental multi-version.
  652.   They do not work yet.  You need to copy the single-versions over the
  653.   original multi-versions.
  654.  
  655.       cp pktnew.c.single pktnew.c
  656.       cp libpacket.c.single libpacket.c
  657.  
  658.  
  659.   Remake your dosemu, normally 'make most' and we are almost there.
  660.  
  661.   Test your newly made dosemu and when you are convinced that everything
  662.   is on order,  continue..
  663.  
  664.  
  665.   3)  The shell.
  666.  
  667.   To connect to Netware server you need the driver (ipx) and the shell
  668.   (netx or vlm).
  669.  
  670.   As a driver you can use either PDIPX, which is really an ipx-to-packet
  671.   driver shim, or PDETHER which is also ipx-to-packet driver shim, but
  672.   masquerading as an ODI compliant driver.  Which one to use depends
  673.   really on what frametypes is your Netware server using.
  674.  
  675.       a) If the Netware runs on Ethernet_802.3  use PDIPX
  676.       b) If the Netware runs on Ethernet_II     use PDETHER
  677.  
  678.  
  679.  
  680.   If you use PDIPX, you just load
  681.  
  682.       PDIPX
  683.       NETX
  684.  
  685.  
  686.   and voila there You are, connected...
  687.  
  688.   You can use PDIPX on Ethernet_II frame but then you need to run
  689.   program called econfig against PDIPX,  see Novell docs for info.
  690.  
  691.   If you use PDETHER, because PDETHER is an ODI driver, you load..
  692.  
  693.       LSL
  694.       PDETHER
  695.       IPXODI
  696.       NETX
  697.  
  698.  
  699.   and again You should be connected...  Because PDETHER is an ODI
  700.   driver, there must be corresponding section in Your net.cfg file.
  701.   Read the PDETHER.DOC for info.
  702.  
  703.   There is NO WAY to use PDETHER on Ethernet_802.3 frames.  If your
  704.   Netware runs on 802.3 and you MUST use ODI drivers then you need to
  705.   run both frametypes on Netware server.  You need to load the NIC-
  706.   driver second time in your server. This time specifying Ethernet_II
  707.   frame, like I do..
  708.  
  709.  
  710.       load SMCE32 port=6810 Name=Nv Frame=Ethernet_802.3    ; 'novell' frame
  711.       load SMCE32 port=6810 Name=Nl Frame=Ethernet_II       ; 'normal' frame
  712.       bind ipx to Nv Net=E1
  713.       bind ipx to Nl Net=E2
  714.  
  715.  
  716.  
  717.   Both nets E1 and E2 are really the same net.  If I use original PDIPX
  718.   I connect to E1 with PDETHER I connect to E2.
  719.  
  720.   Some people might want to use VLM drivers, because in DOS environment
  721.   they are much faster.  Don't bother,  for reasons unknown, in DOSEMU
  722.   the VLM drivers are dogs.
  723.  
  724.   With above mentioned setup it IS POSSIBLE to connect to Netware server
  725.   and even do some usefull work,  but slowly.
  726.  
  727.   Here is some benchmarking I did using NETX and VLM shells, with and
  728.   without packetburst.  The testprogram was TESTNET.EXE, available
  729.   somewhere in NetWire.  It tests the network transfer speed.  I can
  730.   saturate my ethernet with two stations running at full tilt.  Maximum
  731.   aggregate speed is appr. 900 kilobytes/sec.  I'm using SMC Elite 32
  732.   EISA board in Server and SMC Elite Ultra in workstation.
  733.  
  734.                          NETX          VLM(0)          VLM(3)
  735.   Dos6.2                 620           560             760
  736.   DosEmu                 107           111              60
  737.  
  738.  
  739.  
  740.   The figures denote transferspeed in kilobytes/second.  VLM(0) means
  741.   packetburst disabled, VLM(3) packetburst enabled.  You can see that
  742.   the connection with dosemu is not very fast, barely usable.
  743.  
  744.   Few months ago I had a NE2000 clone in my box, with DOS6.2/NETX it
  745.   would run to appr. 460 kbs.  I could live with that.  There is still
  746.   work to be done.
  747.  
  748.   I am well aware that I'm missing a lot of things in here, like
  749.  
  750.   - multiuser dos-session, I don't think it works yet,  anyway the speed
  751.   would be comparable to dead snail.
  752.  
  753.   - tcp-connections from dosemu, I havn't the faintest idea, the only
  754.   *nix machine in our net is my Linuxbox.
  755.  
  756.   Also I may have totally mixed the working and not working things.  As
  757.   the Dosemu as well as the Kernel are evolving, living things it is
  758.   sometimes difficult to keep up with the beasts.  I do apologize for
  759.   any mistakes and will gratefully accept and include any corrections
  760.   and additions to this note.
  761.  
  762.   We all know that the DOSEMU is still ALPHA but it is not really far
  763.   from BETA.  There is some interesting work going on by Vinod G
  764.   Kulkarni and others, read the relevant pieces in dosemu release
  765.   (READMEs and such).
  766.  
  767.   Regards, Lauri Tischler            ltischler@fipower.pp.fi
  768.  
  769.  
  770.   7.  dosemu and X-windows
  771.  
  772.   7.1.  Can I run dosemu in console mode while running X?
  773.  
  774.   Ronald Schalk (R.Schalk@uci.kun.nl) reported (1/17/94) that
  775.  
  776.   Yes, no problem.  Just remember to use ctrl-alt-<Fn> to go to a
  777.   Virtual Console (VC), and you can run any Linux application (dosemu is
  778.   a linux-application).  I've got almost always WP5.1 in a dos session.
  779.  
  780.   [Note:  Use ctrl-alt-F7 to switch back to X from dosemu.]
  781.  
  782.   [Note: Some people have reported problems when dosemu is started
  783.   before X]
  784.  
  785.  
  786.   7.2.  Is it possible to run dosemu in an xterm?
  787.  
  788.   Evmorfopoulos Dimitris (devmorfo@mtu.edu) reported (12/10/93) that
  789.  
  790.   It is possible to run dosemu under an xterm, but without any graphics,
  791.   and with no more than 128 characters.
  792.  
  793.   H. Peter Anvin (hpa@hook.eecs.nwu.edu) adds (2/6/94)
  794.  
  795.   no more than 128 characters... unless you use a special font.  Someone
  796.   has an IBM PC (CP 437) X font for use with ANSI-graphics on BBS's, as
  797.   well as a patch for Xterm that *might* include character translation
  798.   (for letters like \305, \304, \326 for example.
  799.  
  800.  
  801.   8.  Video and sound
  802.  
  803.   8.1.  Exiting from dosemu gives me a screen full of garbage.
  804.  
  805.   Keith A Grider (kgrider@magnus.acs.ohio-state.edu) reported (12/5/93)
  806.   that
  807.  
  808.   I have seen many postings concerning this with exit from X as well as
  809.   exiting from a graphic dos screen.  it seems to be prevalent among ATI
  810.   graphic card users as well as a few others.  The problem is that the
  811.   font information for the vga text screen is not being saved.  The only
  812.   way I have been able to fix it is to download the vgalib-090.tar.gz
  813.   file from sunsite.unc.edu.  It is (I believe) in the pub/Linux/GCC
  814.   directory.  You get a lot of stuff that is not directly used to solve
  815.   this problem, but in the fonts directory that is created when you
  816.   untar the file, there are 2 files of interest, runx and restorefont.
  817.   Read the README file in this directory.  Copy runx and restorefont to
  818.   a directory in your path.  when runx is used, for example, it saves
  819.   the font information in tmp/fontdata.  I use a file called fix which
  820.   consists of the line:
  821.  
  822.      restorefont -r /tmp/fontdata
  823.  
  824.  
  825.   so that it is easy to 'fix' a vt when I go there from X (i.e. ctrl-
  826.   alt-f2).  This should also work for dosemu.  I think the XFree86 peo-
  827.   ple know about the problem and are working on a solution as this is a
  828.   bit of a kluge.
  829.  
  830.  
  831.   8.2.  How do I get dosemu to work with my Trident/Actix/other video
  832.   card?
  833.  
  834.   [The screen flickers violently, displays the video BIOS startup
  835.   message, and hangs.]
  836.  
  837.   Andrew Tridgell (tridge@nimbus.anu.edu.au) reported (1/29/94) that
  838.  
  839.   I found with early versions it would work if I used:
  840.  
  841.      ports { 0x42 }
  842.  
  843.  
  844.   but that sometimes my machine would crash when it was cycling the
  845.   video bios in dosemu. This is because you're allowing the VGA bios to
  846.   re-program your clock, which severely stuffs with Linux.
  847.  
  848.   This prompted me to write the readonly and masking patches for dosemu,
  849.   which I believe are still in the latest version. I now use:
  850.  
  851.      ports { readonly 0x42 }
  852.  
  853.  
  854.   and it boots dosemu more slowly, but more reliably.
  855.  
  856.   ---------------------
  857.  
  858.  
  859.   Tim Shnaider (tims@kcbbs.gen.nz) also reported (1/18/94) that
  860.  
  861.   One way of fixing this is to use the GETROM program to dump your video
  862.   bios to a file and edit the config file in the /etc/dosemu directory
  863.   There will be a few video lines.  Here is my video line
  864.  
  865.      video { vga console graphics chipset trident memsize 1024 vbios_file
  866.      /etc/dosemu/vbios }
  867.  
  868.  
  869.   where vbios is the file generated by typing
  870.  
  871.      getrom > vbios
  872.  
  873.  
  874.  
  875.   ---------------------
  876.  
  877.  
  878.   Douglas Gleichman (p86884@tcville.edsg.hac.com) reported (9/1/94) that
  879.   (with the ATI Graphics Ultra)
  880.  
  881.   For DOSEMU 0.52 you need to add this line to your dosemu.conf file:
  882.  
  883.    ports  { 0x1ce 0x1cf 0x238 0x23b 0x23c 0x23f 0x9ae8 0x9ae9 0x9aee 0x9aef }
  884.  
  885.  
  886.   The board self test will list a failure but graphics programs will run
  887.   fine.
  888.  
  889.  
  890.   8.3.  Why doesn't my soundcard software work with dosemu?
  891.  
  892.   Hannu Savolainen (hsavolai@cs.Helsinki.FI) reported (3/21/94) that
  893.  
  894.   The DOSEMU and any DOS program with it run under control of a
  895.   protected mode operating system. This means that the memory is not
  896.   mapped as the program expects. If it somehow manages to start DMA
  897.   based recording with SB, the recorded sound doesn't find it's way to
  898.   the application. It just destroys some data in the memory.
  899.  
  900.  
  901.   James B. MacLean (jmaclean@fox.nstn.ns.ca) reported (6/19/94) that
  902.  
  903.   Sorry to disappoint, but at this time DOSEMU does not support directly
  904.   the necessary interception of interrupts or DMA generally required for
  905.   sound card access via DOSEMU :-(.
  906.  
  907.   It's bound to happen at some future date though :-),
  908.  
  909.  
  910.   9.  Other Hardware
  911.  
  912.   9.1.  How do I get my xxxxx device working under dosemu?
  913.  
  914.   Corey Sweeney (corey@bbs.xnet.com) reported (5/30/94) that
  915.  
  916.   Here is a log of my adventures trying to get devices working under
  917.   dosemu.  So far I've gotten my voice mail system working and my
  918.   scanner half working.  Here's how:
  919.  
  920.   1. Look in your manual and find if your card uses any ports.  If your
  921.   manual gives you some, put them in your config file at the "ports"
  922.   line.  Remember that sometimes you need to have several ports in a
  923.   row, and the first one might be the only one documented.
  924.  
  925.   2. Try it out. If it doesn't work, or you don't have a manual (or your
  926.   manual is as crappy as my AT&T manual:) then run dosemu with "dos -D+i
  927.   2> /tmp/io.debug".  Run your device software, then exit dosemu.  Look
  928.   through /tmp/io.debug and find any port numbers it might give you.
  929.   Try adding those to the port lines and try running dosemu again.
  930.  
  931.   3. If you still fail then you may need interrupts.  Find out what
  932.   interrupt the card uses and get the SIG.tgz (silly interrupt
  933.   generator) from somewhere on tsx-11.mit.edu.  Install it as specified
  934.   in the instructions.
  935.  
  936.   and that's about it...
  937.  
  938.   Question: What if my card uses DMA?  Answer: Your screwed.
  939.  
  940.  
  941.   10.  Problems and fixes
  942.  
  943.   10.1.  Why does dosemu 0.52 fail under kernels newer than 1.1.30?
  944.  
  945.   (8/5/94)
  946.  
  947.   Dosemu 0.52 is not compatible with kernels newer than 1.1.30.  This
  948.   problem will be fixed in dosemu 0.53.
  949.  
  950.  
  951.   10.2.  I've enabled EMS memory in dosemu.conf but it does not help.
  952.  
  953.   Rob Janssen (rob@pe1chl.ampr.org) reported (7/11/94)
  954.  
  955.   Don't forget to load the provided ems.sys from the config.sys file.
  956.  
  957.  
  958.   10.3.  How do I get rid of all those annoying "disk change" messages?
  959.  
  960.   (8/11/94)
  961.  
  962.   Grab and install klogd.  Try
  963.  
  964.            sunsite.unc.edu:/pub/Linux/system/Daemons/sysklogd1.2.tgz
  965.  
  966.  
  967.  
  968.  
  969.   10.4.  Why is the cursor position wrong?
  970.  
  971.   (7/9/94)
  972.  
  973.   This is a known bug in dosemu 0.52.  It will be fixed in dosemu 0.53.
  974.  
  975.  
  976.  
  977.   10.5.  Why does my busmouse act funny under dosemu 0.52?
  978.  
  979.   James B. MacLean (jmaclean@fox.nstn.ns.ca) reported (7/8/94) that
  980.  
  981.   Busmouse support is quite ALPHA at this time (as is DOSEMU :-)), and
  982.   will be continually refined for a while :-).  Look for better support
  983.   in the upcoming releases.
  984.  
  985.  
  986.   10.6.  Why won't dosemu run a second time after exiting in console
  987.   mode?
  988.  
  989.   Aldy Hernandez (aldy@sauron.cc.andrews.edu) reported (7/8/94) that
  990.  
  991.   You should disable your video and/or bios caching.
  992.  
  993.  
  994.   10.7.  Some dos applications still do not detect DPMI under
  995.   dosemu0.52.
  996.  
  997.   James B. MacLean (jmaclean@fox.nstn.ns.ca) reported (6/19/94) that
  998.  
  999.   At this time (as of 0.52 release) DOSEMU is still growing with respect
  1000.   to DPMI.  It will run certain DPMI programs, but has a ways to go yet.
  1001.   As suggested there needs to be more of the calls implemented, etc.
  1002.   Please be patient :-), as it's bound to come in time.
  1003.  
  1004.  
  1005.   10.8.  Why does dosemu give "divide overflow" errors after running for
  1006.   more than 24-hours?
  1007.  
  1008.   (1/17/94)
  1009.  
  1010.   This is a known bug.  It will (hopefully) be fixed in an upcoming
  1011.   release.  For now, you can simply exit dosemu and start it again.
  1012.  
  1013.  
  1014.   10.9.  Why will dosemu run in a term but not in the console?
  1015.  
  1016.   JyiJiin Luo (jjluo@casbah.acns.nwu.edu) reported (4/19/94) that
  1017.  
  1018.   I experienced exactly the same problem before. I figured out all the
  1019.   video shadow in my AMI BIOS must be disabled. Now dosemu runs fine on
  1020.   my system.
  1021.  
  1022.  
  1023.   10.10.  How can I speed up dosemu?
  1024.  
  1025.   Mark Rejhon (mdrejhon@undergrad.math.uwaterloo.ca) reported (4/7/94)
  1026.   that
  1027.  
  1028.   TIP: Speed up your DOS "dir" listings by about 25%-50% or so by typing
  1029.   break off at the DOS prompt or including it in autoexec.bat.
  1030.  
  1031.   TIP: Use the nnansi.com ANSI driver to speed up the "dir" output even
  1032.   more at roughly 50%-100% more.  It works properly in non-graphics
  1033.   mode, unlike turbo.com.
  1034.  
  1035.   ---------------------
  1036.  
  1037.  
  1038.   Joel M. Hoffman (joel@rac1.wam.umd.edu) reported (4/23/94) that
  1039.  
  1040.   Ironically, I've found that it's sometimes faster to run dosemu in an
  1041.   Emacs terminal emulator rather than directly to the console.  Emacs's
  1042.   output optimization is what makes the difference here.
  1043.  
  1044.   Put the following in your .emacs:
  1045.  
  1046.  
  1047.           (defun do-dos ()
  1048.             (interactive)
  1049.             (terminal-emulator "dos" "/usr/local/bin/dos" ()))
  1050.  
  1051.  
  1052.   and then "emacs -f do-dos" will run the dosemu inside the buffer.
  1053.   Make sure you emacs window is 25x80, of course.
  1054.  
  1055.   ---------------------
  1056.  
  1057.   Pete Heist (heistp@rpi.edu) reported (5/13/94) that
  1058.  
  1059.   If you compile it with the "-funroll-all-loops" option you will get
  1060.   MUCH faster screen output.  Some other parts of the emulator will run
  1061.   much faster as well.  Realize that the consequence of this is a larger
  1062.   executable which eats a little more memory, even though it's demand
  1063.   loaded.
  1064.  
  1065.   ---------------------
  1066.  
  1067.  
  1068.   Georg Wiegand (gw@gwcomp.e.open.de) reported (5/16/94) that
  1069.  
  1070.   You also can use the keyword HogThreshold in /etc/dosemu.conf.  The
  1071.   greater the following number the more calculating-time dosemu gets.
  1072.   For example, I use "HogThreshold 60000" on my 386/87-20 laptop.
  1073.  
  1074.  
  1075.   10.11.  My CDROM drive has problems reading some files under dosemu.
  1076.  
  1077.   Vinod G Kulkarni (vinod@cse.iitb.ernet.in) reported (4/7/94) that
  1078.  
  1079.   When a CDROM is mounted from linux and used from within DOSEMU (mapped
  1080.   drive), there could be some problems. The cdrom driver (iso9660) in
  1081.   the kernel tries to find out the type of the file (i.e. binary or
  1082.   text).  If it can't find, it tries to guess the type of the file using
  1083.   a heuristic. This heuristic fails under some circumstances when a
  1084.   (almost) text file is to be treated as binary.  (I do not know if it
  1085.   is a bug or feature.)
  1086.  
  1087.   The result of this is that if you copy such a file from cdrom (from
  1088.   linux itself, and not necessarily dosemu), the resulting file will be
  1089.   usually bigger than original file. (Blanks get added before ^J,^M.)
  1090.   So a program running in dosemu gives an error or hangs, which may be
  1091.   mistaken as problem of dosemu.
  1092.  
  1093.  
  1094.   Rob Janssen (pe1chl@rabo.nl) reported (8/10/94) that
  1095.  
  1096.   The way to solve this is to turn off conversion altogether.  Pass the
  1097.   option "-o conv=binary" to the mount command mounting the CDROM, or
  1098.   use the following in /etc/fstab:
  1099.  
  1100.   /dev/cdrom      /cdrom          iso9660 conv=binary,ro
  1101.  
  1102.  
  1103.   No patches to the kernel are necessary.
  1104.  
  1105.  
  1106.   10.12.  Where did the debugging output go?
  1107.  
  1108.   As of dosemu0.49pl4, stderr is automatically redirected to /dev/null.
  1109.   Try "dos -D+a 2>debug" to turn on debugging information and redirect
  1110.   it to the file "debug".
  1111.  
  1112.  
  1113.   10.13.  Why does dosemu lock up after one keystroke?
  1114.  
  1115.   (12/17/93)
  1116.  
  1117.   You need to turn on the keyboard interrupt in the dosemu config file.
  1118.   Add a line to the config file:
  1119.  
  1120.  
  1121.      keybint on
  1122.  
  1123.   Shouldn't be a problem in dosemu0.52.
  1124.  
  1125.  
  1126.   10.14.  Why are my keystrokes echoed ttwwiiccee??
  1127.  
  1128.   Nick Holloway (alfie@dcs.warwick.ac.uk) reported (2/22/94) that
  1129.  
  1130.   After running dos after playing with some stty settings, I was getting
  1131.   doubled key presses.  I can now reveal what the reason is!
  1132.  
  1133.   It only happens when dos is run on the console with 'istrip' set.
  1134.   This is (I think) because the raw scancodes are mutilated by the
  1135.   'istrip', so that key release events look like key press events.
  1136.  
  1137.   So, the input processing needs to be turned off when using the scan
  1138.   codes on a console (it wouldn't be a good idea to do it for tty
  1139.   lines).
  1140.  
  1141.  
  1142.   10.15.  Why are characters < 128 highlighted and blinking?
  1143.  
  1144.   Chris Kuehnke (Christian.Kuehnke@Informatik.Uni-Oldenburg.DE) reported
  1145.   (3/21/94) that
  1146.  
  1147.   I think I've found a bug in dosemu0.50pl1; with a MDA card displayed
  1148.   characters > 128 automagically appeared as highlighted and blinking.
  1149.  
  1150.   This patch fixed the problem for me [but on the other hand, maybe I'm
  1151.   totally wrong ;-)]:
  1152.  
  1153.   --- video.c~    Sat Mar 19 00:50:25 1994
  1154.   +++ video.c     Sat Mar 19 20:36:10 1994
  1155.   @@ -721,7 +721,7 @@
  1156.      int x, y, i, tmp;
  1157.      unsigned int s;
  1158.      static int gfx_flag = 0;
  1159.   -  char c;
  1160.   +  u_char c;
  1161.      us *sm;
  1162.  
  1163.      if (d.video >= 3)
  1164.  
  1165.  
  1166.  
  1167.  
  1168.   11.  Contributing to the dosemu project
  1169.  
  1170.   11.1.  Who is responsible for dosemu?
  1171.  
  1172.   (3/18/94)
  1173.  
  1174.   Dosemu is built upon the work of Matthias Lautner and Robert Sanders.
  1175.   James B. MacLean (jmaclean@fox.nstn.ns.ca) is responsible for
  1176.   organizing the latest releases of dosemu.
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.                          History of dosemu
  1190.  
  1191.             Version    Date                Person
  1192.            -------------------------------------------------
  1193.             0.1        September 3, 1992   Matthias Lautner
  1194.             0.2        September 13, 1992  Matthias Lautner
  1195.             0.3        ???                 Matthias Lautner
  1196.             0.4        November 26, 1992   Matthias Lautner
  1197.             0.47       January 27, 1993    Robert Sanders
  1198.             0.47.7     February 5, 1993    Robert Sanders
  1199.             0.48       February 16, 1993   Robert Sanders
  1200.             0.48pl1    February 18, 1993   Robert Sanders
  1201.             0.49       May 20, 1993        Robert Sanders
  1202.             0.49pl2    November 18, 1993   James MacLean
  1203.             0.49pl3    November 30, 1993   James MacLean
  1204.             0.49pl3.3  December 3, 1993    James MacLean
  1205.             0.50       March 4, 1994       James MacLean
  1206.             0.50pl1    March 18, 1994      James MacLean
  1207.             0.52       June 16, 1994       James MacLean
  1208.  
  1209.  
  1210.  
  1211.  
  1212.   11.2.  I want to help.  Who should I contact?
  1213.  
  1214.   The dosemu project is a team effort.  If you wish to contribute, see
  1215.   the DPR (DOSEMU Project Registry).  A current copy may be found in
  1216.   dspsun.eas.asu.edu:/pub/dosemu.
  1217.