linux-msdos-digest         Saturday, 29 May 1999       Volume 01 : Number 144

In this issue:

----------------------------------------------------------------------

From: Mirco Spaziani <[EMAIL PROTECTED]>
Date: Thu, 20 May 1999 02:51:45 -0700 (PDT)
Subject: Multiprocessor Bug ???

HI, I'm Mirco
and I tried to use dosemu on my linux server but when
I start it on dos prompt appear this message :
division overflow
and the prompt come back.
I've tried it on another server and all works fine,
the only differences that I have is that the first
have 2 processors (PII 350 - Linux 2.2.9 ).
What can I do ????

        Thanks

             Mirco

_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com

------------------------------

From: [EMAIL PROTECTED] (David Hodges)
Date: Fri, 21 May 1999 19:22:44 +1200 (NZST)
Subject: Re: mtools should be updated...

> I'm just gettings started with DOSEmu -- thought you should now that one =
> of you links is outdated at http://www.suse.com/dosemu/, mtools is at =
> 3.9.5 at sunsite.
> 
> + your online documentation links of 0.67 dosemu goes to an invalid =
> page...

All of the information at http:/www.suse.com/dosemu is outdated. This
page should either be removed or changed to point to the official
dosemu web page at http://www.dosemu.org.


------------------------------

From: [EMAIL PROTECTED]
Date: Fri, 21 May 1999 08:33:29 -0700
Subject: Re: Dosemu-fault (linux-crash)

Hello,
        I'm having the same problem as you. I'm running slackware 3.6, kernel
2.2.7, and dosemu 0.98.6. Unfortunately, that's about all I can tell you
because my system isn't logging.
        I've used the script setup-bootdir and altered my dosemu.conf to point
to that bootdir.first place and had the script get the necessary files
off a windows 95 bootdisk. I load dosemu, then try to execute a command,
doesn't have to change to the floppy drive, try copying a file from the
floppy drive, and it bombs out. I'm immediately kicked all the way out of
linux and I have to relogin, I'm using a terminal. I've simply copied
dosemu.users.easy to /etc/dosemu.users.
        Hope this information helps. Any advice appreciated.
        Thank you, and keep up the good work.
Dave.

On Thu, 20 May 1999 19:46:53 -0400 [EMAIL PROTECTED] (Bernhard
Bialas) writes:
> Dear Sirs,
> I have problems with Dosemu (version 0.98.6, suse linux 6.0, kernel
> 2.2.5). After starting dosemu correctly from a hdimage .first i like 
> to
> change to drive A: (floppy disk).The dosemu does this but after 
> nothing
> goes. I can input via keyboard what I like :nothing happend. also
> ctrl-alt-pgdn or ctrl-alt f1/2.. does not work.The only way to 
> continue
> is a hardware reset!!
> what is the reason? I know that in any earlier versions I had no
> problems to access the floppy drive. By the way, the access to cdrom 
> is
> no problem!
> 
> Otherwise I like to encourage you to continue your work.
> It's great, that I can run my DOS chess software (also with 32 bit
> extender) under Linux. I hope that any time this emulation is so
> powerful as under OS/2.
> If I can help you to write documentation or so please let me know.
> Best regards
> Bernhard Bialas
> 
> 

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

------------------------------

From: [EMAIL PROTECTED] (David Hodges)
Date: Sat, 22 May 1999 07:39:41 +1200 (NZST)
Subject: Re: Dosemu-fault (linux-crash)

> I have problems with Dosemu (version 0.98.6, suse linux 6.0, kernel
> 2.2.5). After starting dosemu correctly from a hdimage .first i like to
> change to drive A: (floppy disk).The dosemu does this but after nothing
> goes. I can input via keyboard what I like :nothing happend. also
> ctrl-alt-pgdn or ctrl-alt f1/2.. does not work.The only way to continue
> is a hardware reset!!
> what is the reason? I know that in any earlier versions I had no
> problems to access the floppy drive. By the way, the access to cdrom is
> no problem!

problem #1 dosemu locks up when using floppy:
the solution to this was posted to the mailing list just yesterday.
Have a look at the mailing list archive at http://www.dosemu.org

problem #2 you can't use Linux once dosemu locks up:
I expect this is because you are running dosemu on the console.
If you run it under X, you should not have this problem.



------------------------------

From: Reinhard Karcher <[EMAIL PROTECTED]>
Date: Fri, 21 May 1999 09:34:29 +0200
Subject: Re: Error with ipx.c

At 19 May 1999 Jordan DeLozier wrote:
> >%_I get an error when I try to compile dosemu-0.66.7.tgz I use redhat 5.2
> linux kernel 2.2.3
> 
> This is the error:
> ipx.c: In function 'IPXOpenSocket':
> ipx.c:486: 'SOL_IPX' undeclared (first use this function)
> ipx.c:468: (each undeclared identifier is reported only once
> ipx.c:486: for each function it appears in.)
> make: *** [ipx.o] Error 1
> 
> Do you know why this is? Do you know how to fix this?
> 

Hi, thats funny. In my linux 2.2.9 SOL_IPX is declared in
/usr/src/linux/include/linux/socket.h. I don't know why the compiler
doesn't find it.
By the way, dosemu-0.66.7 is rather old. You could look for a new
version at ftp.dosemu.org/dosemu for the latest stable version (0.98.6)
and ftp.dosemu.org/dosemu/Development for the latest developer version
(0.99.11).

Reinhard

------------------------------

From: [EMAIL PROTECTED] (David Hodges)
Date: Sat, 22 May 1999 13:51:26 +1200 (NZST)
Subject: Re: dosemu

> i am the linux archivist at unc's metalab (formerly sunsite).  was
> wondering if a new version of dosemu is available for our archive (we
> currently have version 60.4).  the url listed in our current lsm was
> broken, so i had trouble checking for myself.

Yes, the latest stable version is 0.98.6.
The main site for dosemu is now ftp.dosemu.org.


------------------------------

From: John & Ruth Huysing <[EMAIL PROTECTED]>
Date: Sun, 23 May 1999 18:38:42 +1100
Subject: Trying to send break from a Dos comm program

Hi

Is there any way to configure DOMEMU so that a dos comms program
can send a BREAK or will this require some code hacking to allow
the comms program to send the break. 

The equipment I am trying to connect to requires a break to initiate 
communication.

John

------------------------------

From: John & Ruth Huysing <[EMAIL PROTECTED]>
Date: Sun, 23 May 1999 18:45:30 +1100
Subject: Trying to send break from a Dos comm program

Hi

Is there any way to configure DOMEMU so that a dos comms program
can send a BREAK or will this require some code hacking to allow
the comms program to send the break. 

The equipment I am trying to connect to requires a break to initiate 
communication.

John

------------------------------

From: "Mark H. Wood" <[EMAIL PROTECTED]>
Date: Sat, 22 May 1999 11:56:36 -0500 (EST)
Subject: Re: mtools should be updated...

On Fri, 21 May 1999, David Hodges wrote:
> > I'm just gettings started with DOSEmu -- thought you should now that one =
> > of you links is outdated at http://www.suse.com/dosemu/, mtools is at =
> > 3.9.5 at sunsite.
> > 
> > + your online documentation links of 0.67 dosemu goes to an invalid =
> > page...
> 
> All of the information at http:/www.suse.com/dosemu is outdated. This
> page should either be removed or changed to point to the official
> dosemu web page at http://www.dosemu.org.

I've seen this problem a lot lately -- some package has been archived at
site X for years, and everybody *knows* it can be found there, then for
some reason the maintainer moves it or stops forwarding updates or
whatever, and somehow the word never gets out.  (Witness the note from the
Metalab archivist.  A *lot* of packages just stopped being sent up to
Metalab, apparently without a word of explanation.)

Please, if you're going to switch primary sites, or de-mirror a site, ask
the site maintainers to clean out the old package and replace it with a
pointer to the new list of canonical sites.

- -- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Specializing in unusual perspectives for more than twenty years.


------------------------------

From: John Huysing <[EMAIL PROTECTED]>
Date: Sun, 23 May 1999 18:50:03 +1000
Subject: Send BREAK from comm program

Hi

Is there any way to configure DOMEMU so that a dos comms program
can send a BREAK or will this require some code hacking to allow
the comms program to send the break. 

The equipment I am trying to connect to requires a break to initiate 
communication.

John

------------------------------

From: John & Ruth Huysing <[EMAIL PROTECTED]>
Date: Sun, 23 May 1999 18:39:41 +1100
Subject: Trying to send break from a Dos comm program

Hi

Is there any way to configure DOMEMU so that a dos comms program
can send a BREAK or will this require some code hacking to allow
the comms program to send the break. 

The equipment I am trying to connect to requires a break to initiate 
communication.

John

------------------------------

From: [EMAIL PROTECTED]
Date: Sun, 23 May 1999 21:23:38 -0700
Subject: need floppy locking solution.

Hello,
        I missed the solution to the problem where floppy access locks dosemu
v0.98.6, which I desperately need. Could someone please resend this
information or provide a url to get it?
Thanks.
Dave.

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

------------------------------

From: Divos Gyorgy <[EMAIL PROTECTED]>
Date: Sun, 23 May 1999 20:47:06 +0200 (CEST)
Subject: Dos Emulator

Please send me the new version of DosEmu.
My english is very poor :( . I am sorry for my grammatical errors.

Thanks!



                                        _-=Divos=-_


------------------------------

From: [EMAIL PROTECTED]
Date: Sun, 23 May 1999 20:24:38 -0700
Subject: replacing freedos?

Hello,
        I've used freedos now to get my emulator working. Now that it is, I'd
like to remove it, and replace it with something like dr-dos 7, ms-dos
6.22 or 7.0. How can this be done? Thank you.
Dave.

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

------------------------------

From: "Robert W. March" <[EMAIL PROTECTED]>
Date: Mon, 24 May 1999 06:48:41 -0400
Subject: Re: DOSemu & dumb terminal

UNIXMAN wrote:

> so you've used VP/ix eh?  that must have been on SCO UNIX right.  Is it
> still supported?  I used to use Merge386; they're both quite different
> than dosemu.

Actually, I am using VP/ix on Interactive Unix (AT&T Unix).  We run serial
terminals off the unix box.  The serial terminals are actually "stripped down"
PC's booting DOS and running terminal emulation software emulating the Wyse60
terminal in PC TERM personality.  The result is, while running a DOS
application,  the appearance of the PC console to the user whether on the actual
console or at a serial terminal.  For the user, the display and keyboard on the
dumb terminal appear exactly as expected.

As Dosemu cannot properly handle the serial terminal case and as Dosemu has
other limitations in its present state, I have not been able to replace the
Interactive Unix system with Linux.

But the Dosemu developers have produced amazing results when it comes to the
capability of Dosemu to handle a graphic intensive application at the console.

I do not buy support for VP/ix so I do not know about support for it.  I believe
that Sunsoft still sells Interactive Unix.

Cheers,
Robert

- --
____________________________________________________________
                        Robert W. March
                       St. Andrew's House
                      L'Orignal  ON  Canada




------------------------------

From: Doug Smith <[EMAIL PROTECTED]>
Date: Mon, 24 May 1999 15:07:09 -0500
Subject: dosemu

After exhausting all other avenues I'm asking for help on dosemu. It
seems that when I try to boot from a floppy disk the system hangs eg:
dosemu -A. I end up having to kill the process and trying again.
Any help would be greatly appreciated.
Thanks
Doug

------------------------------

From: David Simon <[EMAIL PROTECTED]>
Date: 24 May 99 15:50:00 -0800
Subject: DOSEMU lredir is driving me crazy!

I am running RH6, from cheapbytes, and I am using the latest version of dosemu, and a 
fairly recent version of freedos. No matter how many syntaxes I tried, I could not get 
lredir remap /mnt/floppy to any drive letter. It gives me at least 6 different error 
codes depending on how I tried to call it, and if I tried to use install in config.sys 
to load it, it told me the problem letter was always the last letter of the first 
word. Please help; am I doing something stupid? Do I need to update something? Thanks

- -David Simon
Big Cheese of the Anyware Organization
come.to/anyware


------------------------------

From: Samuel Kvasnica <[EMAIL PROTECTED]>
Date: Tue, 25 May 1999 20:42:19 +0200
Subject: xdos and VGA graphics

Hello,

I'm trying to run a dos app which requires 640x480 16 color VGA mode
(borland BGI driver) in dosemu. Everything works in console mode but
using xdos graphisc looks strange - almost everything is blue and only
~2 of each  8 vertical columns are displayed. I think there could be
some problem with video ram mapping, I'm using 16 bpp in X. Does anybody
have an idea or a fix ?

thanks

Sam



- --
- --------------------------------------------------------------
Mag.Samuel Kvasnica
IAEE TU-WIEN
Gusshausstrase 27-29 / 359   email: [EMAIL PROTECTED]
1040 Wien                    tel:   +43-1-58801-35914
Austria                      fax:   +43-1-58801-35997
- --------------------------------------------------------------




------------------------------

From: [EMAIL PROTECTED] (David Hodges)
Date: Tue, 25 May 1999 09:07:58 +1200 (NZST)
Subject: Re: need floppy locking solution.

>       I missed the solution to the problem where floppy access locks dosemu
> v0.98.6, which I desperately need. Could someone please resend this
> information or provide a url to get it?

From: Steffen Winterfeldt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: floppy A: B:, vbootfloppy and 0.98.6
Date:   Tue, 18 May 1999 17:40:00 +0200

> I have spent hours and hours working with my dosemu setup because
> no matter how I configure it, I could not access floppy A:  This
> is version 0.98.6
> 
> If I used _vbootfloppy the BOOTOFF.COM program was
> non-functional.  I could never see anything but the boot image.
> 
> So yesterday I made a hard drive image to boot from instead.
> When I use that, then everytime I try to read or write from the
> floppy drive it spins for just a moment and locks up.  (Just
> dosemu, of course, not the whole machine).
> 
> So I tried the new "boot directory" option.  Unfortunately it was
> just as with the hard drive image.  The floppy spins for a moment
> and locks the emulator.

Actually, you describe *two* problems. :-(

> I finally found an answer tucked in the mail archives (where I
> must have missed it before).  It was the following patch to
> 0.98.6

Below is the �official� fix for this that will go into 0.98.7:

- --- dosemu-0.98.6.2/src/base/misc/utilities.c   Fri Mar 26 20:02:54 1999
+++ dosemu-0.98.6.3/src/base/misc/utilities.c   Mon May 17 22:29:35 1999
@@ -506,15 +506,16 @@
 
 void sigalarm_onoff(int on)
 {
- -  static struct itimerval itv_old_;
- -  static struct itimerval *itv_old = &itv_old_;
+  static struct itimerval itv_old;
   static struct itimerval itv;
- -  if (on) setitimer(TIMER_TIME, &itv_old_, NULL);
- -  else {
+  static int is_off = 0;
+  if (on) {
+    if (is_off--) setitimer(TIMER_TIME, &itv_old, NULL);
+  }
+  else if (!is_off++) {
     itv.it_interval.tv_sec = itv.it_interval.tv_usec = 0;
     itv.it_value = itv.it_interval;
- -    setitimer(TIMER_TIME, &itv, itv_old);
- -    itv_old = NULL;
+    setitimer(TIMER_TIME, &itv, &itv_old);
   }
 }

> I applied the patch and it worked for me.  I am still booting
> from a "boot directory" now.

So this was for problem #1. :-)
 
> I tried switching back to _vbootfloppy, but still I find that
> BOOTOFF.COM is non-functional.  But I can at least write to the
> floppy drive now with the "boot directory" approach.  If you are
> having problems with your floppy and happen to be running the
> most recent "stable" version you might consider the patch and use
> some other boot method than _vbootfloppy.

This (problem #2) is actually a known problem. It�s basically the main reason I
developed the boot_dir stuff in the first place for.

At the moment booton/-off simply does not work. I�ll fix this in the near
future (unless someone else does, that is :-) ).


Bye,

Steffen



------------------------------

From: [EMAIL PROTECTED] (David Hodges)
Date: Tue, 25 May 1999 08:50:10 +1200 (NZST)
Subject: Re: Dos Emulator

> Please send me the new version of DosEmu.

Hmm, if 10% of the people reading this emailed you a copy of dosemu,
you would get a very large number of copies :-)

You can ftp it from ftp://ftp.dosemu.org/pub/dosemu



------------------------------

From: Reinhard Karcher <[EMAIL PROTECTED]>
Date: Tue, 25 May 1999 08:14:06 +0200
Subject: Re: Multiprocessor Bug ???

Mirco Spaziani wrote:
> 
> HI, I'm Mirco
> and I tried to use dosemu on my linux server but when
> I start it on dos prompt appear this message :
> division overflow
> and the prompt come back.
> I've tried it on another server and all works fine,
> the only differences that I have is that the first
> have 2 processors (PII 350 - Linux 2.2.9 ).

Hi Mirco,
ara there applications in your autoexec.bat, that do delay-loops and
can't cope
with your fast processor? Turbo Pascal has that problem, if you use the
dealy subroutine.

Reinhard

------------------------------

From: Bjorn Eriksson <[EMAIL PROTECTED]>
Date: Tue, 25 May 1999 09:57:06 +0200
Subject: Re: Sending a break

 Why not just produce a framing error by temporarily switching to e.g. 9600E1 if your 
normal mode of communication is 9600N81.

Regards, Bj�rn.


------------------------------

From: Declan Moriarty <[EMAIL PROTECTED]>
Date: Wed, 26 May 1999 16:28:55 +0000
Subject: Dosemu on Acer 370 - Video problems

 
Has anyone got Dosemu set up on this Laptop?

I have Dosemu 0.98.6 on this, and am stuck with the settings. In
/etc/dosemu.conf at about line 105,  I have the following

$_video = "vga"   
$_console = (0)    
$_graphics = (1)

The above settings because I need vga to use the programs I am running,
particularly t4040.exe for driving my Analogue Signature Analyser, for
faultfinding on Electronic Hardware, and Megazeux, for keeping my kids
amused. T4040 needs vga, and Megazeux uses enhanced Ansi; both are
otherwise primitive Dos programs which should present no hassle. If I
set $_console = (1), and $_graphics = (0), dosemu runs with no problems,
but T4040 finds no VGA card, and Megazeux looks like a bad trip on
something very strong :)

$_videoportaccess = (0) # Is this right?    
$_vbios_seg = ????       #set the Address of your VBIOS  (e.g.0xe000) 
$_vbios_size = ????      # set the size of your BIOS  (e.g. 0x8000) 
$_vmemsize = ????  #size of regen buffer.

1.      Can anyone tell me how to set these? The system reserves upper
memory, and I have not managed to get a breakdown of what's going on
there. The only thing information  I can get is from Norton's SYSINFO,
(v6.1 ) which tells me

"Video Memory    - 256K or more (2 Megs, I think)
Video Segment Address - B800  hex
Video Page Size - 4096 Bytes
32 K-Bytes display memory (at B800 - C000 hex)
ROM-BIOS Extensions are found at hex paragraphs: C000"
The BIOS on this are Acer's own, not AMI or Award. They have reserved
scores of Software interrupts, which SYSINFO lists addresses for; most
but not all begin with F000.  Here's the ones that mention video:

05   Print Screen                F000:FF54       BIOS
10   Video                       0638:  0819     BIOS
1D  Video parameters     F000: F0A4      BIOS
1F  Video Graphics Characters   C000: 7371       BIOS
42   Relocated Video Handler     F000: F065      BIOS

The Bios also have Hardware IRQs 9, & 13; Sysinfo claims 13 is for the
coprocessor, so I presume 9 is for the video.

Under "Device drivers" I get 
0638:0000   CON          Console keyboard/screen
0071:0006   CON          Console keyboard/screen
I probably have the answer to my own questions here, I just can't
make sense of it.

2.      The Dosemu-Howto makes reference to a program called "GETROM"
which apparently dumps the video bios to a file, and there are options
for using it  in the HOWTO....around line 1400 :-(( .  Has anyone a url
for this?


- --
        Regards
                              (now at [EMAIL PROTECTED])
        Declan Moriart


------------------------------

From: christian <[EMAIL PROTECTED]>
Date: Wed, 26 May 1999 15:49:38 -0300 (EST)
Subject: Re: replacing freedos?

On Sun, 23 May 1999 [EMAIL PROTECTED] wrote:

>       I've used freedos now to get my emulator working. Now that it is, I'd
> like to remove it, and replace it with something like dr-dos 7, ms-dos
> 6.22 or 7.0. How can this be done? Thank you.

Like you'd do with a normal dos drive: for msdos 7, virtually boot from a
system disk (with system files and sys.com, at least) and sys X: where X:
is the name of the drive you want to transfer your system: for your main
diskimage, C: would be the one to use. You'll probably want to copy the
files in the \windows\command directory if moving to dos7, since that's
where the usual dos applications (xcopy, etc) reside.

cr


------------------------------

From: Martin =?iso-8859-1?Q?S=FCfke?= <[EMAIL PROTECTED]>
Date: Wed, 26 May 1999 19:08:24 +0200
Subject: RE: No serial ports, missing characters in video

You wrote: 
>I've got two problems:
>
>Problem one: while using a particular piece of control software for some
>equipment (written for DOS), I can't see any of the numbers 1 to 9 on the
>display. All alpha characters appear and so does the zero, but not 1 to 9.
>Slightly bad since this software displays almost all numbers. :)

Could you just tell wat kind of equipment ? Or is it about those nuclear
warheads nobody should know of ?

JK ...

Well, I have almost the same problem with a controling proggie for a
satellite dish.
That prog is called HRPT.EXE, and it can display all characters but no
numbers, dots or similar.
(No char with an ASCII value less than 0x40)
That is a SuperVGA (VESA) application, so is another kind of problem.
Does your proggie run in VESA too, or in plain text (CRT) mode ?

>Problem two: dosemu doesn't see my com ports. I have the conf file set to
>use /dev/ttyS0 and /dev/ttyS1 which are my two com ports. I've verified
>that linux (debian 2.1) sees them just fine and can communicate with them.
>But, within dosemu, they're not available.

I fixed this by giving in the $_ports = "" line in dosemu.conf the
access to the io ports for the serial uarts. That is because a lot of
proggies claim to be so genious to fiddle around with the hardware
themselves.

Do "cat /dev/ioports" to see where your serial port are (range of
ioports).
Then add for example $_ports = "range 0x2f8 , 0x2ff" to the dosemu.conf
(the ports will vary dependent on your hardware) .

A fine tool for getting to know the hardware you DOSEMU can "see" is
MSD.EXE by Micro$oft.

- -- 
Wr8Ul8r,
        Martin
- --
Visit: www.computermuseum.fh-kiel.de

------------------------------

From: Martin =?iso-8859-1?Q?S=FCfke?= <[EMAIL PROTECTED]>
Date: Wed, 26 May 1999 18:47:38 +0200
Subject: Re: DOS-EMU ERROR in emulated system time / real time clock

Dies ist eine mehrteilige Nachricht im MIME-Format.
- --------------398C465945DE1533EC187CD3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

David Hodges schrieb:
> 
> > BTW: where do I get the sourcecodes of the "stable" releases ?
> 
> ftp://ftp.dosemu.org

Thnx,  I didn't see them at the first attempt :-(

> you forgot to say which version of dosemu you are using.
> The latest stable version is 0.98.6
That is the one I am using, I tried 0.99_11 development, too.
They both have that error in CMOS-Time.

I'll send my test-prog (DOS-exe) and its source (Pascal) with this mail.


- -- 
Wr8Ul8r,
        Martin
- --
Visit: www.computermuseum.fh-kiel.de
- --------------398C465945DE1533EC187CD3
Content-Type: application/octet-stream;
 name="Timers.exe"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="Timers.exe"

TVogAQ0AZQAbACcEJ6SeAQBAAAAbAQAAHAAAAAsAAAApAAAARwAAAEwAAABWAAAAYwAAAB4B
AAAjAQAALgEAADcB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+i+VdygwAVYvsgewAAoN+BgB+XIN+CAB+VoF+CP8A
f0+Bfgb/AH4Fx0YG/wCNvgD/FlfEfgoGV7gBAFCLRghIUA7oWP6NvgD+FlfEfgoGV4tGCANG
BlC4/wBQDug+/g7oe/7EfgoGV7j/AFAO6An+i+VdyggAi9weNsV/BDPJiQ24AD2BfQKx13QN
sAL/BYF9ArPXdAK0PIB9MAB0CY1VMM0hclqJBbgLBLq8ADPJM9uBfQKx13Qvix24AETNIfbC
gLhgBLq8AIvIi9p1FIF9ArPXdQPoKwC4OwS6vAAzyTPbx0UCsteJRRSJVRaJTRiJXRrHRRyA
BMdFHrwAM8AfygQAM9IzyYsduAJCzSEtgACD2gBzBDPAM9KLyovQix24AELNIY2VgAC5gACL
HbQ/zSFzAjPAM9s72HQggLmAABp0A0Pr8ovTK9C5//+LHbgCQs0hM8mLHbRAzSHDi8++CgCL
2gvbeRH32/fYg9sA6AcATybGBS1BwzPSk/f2k/f2gMIwgPo6cgOAwgdPJogVi9AL03XjK8/D
M8Az0jP2410mgD0rdAcmgD0tdQVOR0l0TCaAPSR0SCaKHYDrOoDDCnMl9sbwdTZT0eDR0lJQ
0eDR0tHg0dJbA8NbE9NbMv8Dw4PSAEfi0IvYC9p0Dwv2eQf32vfYg9oAM/J4AcP5w0dJdPom
ih2A+2FyA4DrIIDrOoDDCnILgOsXgMMGc8mAwwq3BNHg0dJy1P7PdfYKw0fi0Qv2eQf32vfY
g9oA+MOL3DaKRwQ8YXIGPHp3AiwgygIAv2IAHge52AIrz9HpM8D886vDAAAAAAAAAAAAAAAA
AAAAADAxMjM0NTY3ODlBQkNERUYAAAAAAAAAAAAAAAAAAAAAAAD//wAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBAAACgALAAuAAAAgANCgAAAAAAAAAA
AAAAAAAA

- --------------398C465945DE1533EC187CD3
Content-Type: text/plain; charset=us-ascii;
 name="Timers.pas"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Timers.pas"

program timers;
uses crt,dos;

var regs:registers;

function hexbyte(b:byte):string; {this one is used for BCD display}
const hexziff:array[$0..$F]of 
char=('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F');
begin hexbyte:=hexziff[b div $10]+hexziff[b mod $10]+' ';end;

begin
clrscr;
writeln('Press ESC to exit');
repeat
        gotoxy(1,2);
        regs.ax:=$2C00;{get time from DOS Int 21}
        intr($21,regs);
        with regs do begin
                writeln('DOS  time: ',CH:2,CL:3,DH:3);
        end;
        regs.ax:=$0200;     {get time from Bios INT 1A}
        intr($1A,regs);
        clreol;
        if regs.Flags and FCarry=FCarry then writeln('Error reading DOS time') else
        with regs do begin
                write('SYS  time: ',hexbyte(CH),hexbyte(CL),hexbyte(DH));
                if boolean(DL) then writeln('Daylight') else writeln;
        end;
write('CMOS time: '); {Hack time out of CMOS}
port[$70]:=(port[$80] and $80) or $04; {Display it in BCD}
write(hexbyte(port[$71]));
port[$70]:=(port[$80] and $80) or $02;
write(hexbyte(port[$71]));
port[$70]:=port[$80] and $80;
write(hexbyte(port[$71]),'  binary:  ');{Display it in Binary}
port[$70]:=(port[$80] and $80) or $04;
write(port[$71]:2);
port[$70]:=(port[$80] and $80) or $02;
write(port[$71]:3);
port[$70]:=port[$80] and $80;
write(port[$71]:3,'     ');
port[$70]:=(port[$80] and $80) or $0B;  {Display CMOS settings for clock}
if (port[$71] and $04)=$04 then write('binary') else write('BCD');
port[$70]:=(port[$80] and $80) or $0B;
if (port[$71] and $02)=$02 then write('  24h  ') else write(' am/pm ');
port[$70]:=(port[$80] and $80) or $0B;
if (port[$71] and $01)=$01 then writeln(' DLS') else writeln;


delay(100);                                  {Wait for user Abort / Input}
if keypressed then case UpCase(readkey) of
        #27:break;
        'I':begin
                        regs.flags:=$0000;
                        regs.ax:=$0F00;
                        intr($1A,regs);
                        if (regs.flags and fCarry)=fCarry then write('Initializing 
CMOS failed') else write('Initialized CMOS');
                end;
end     else clreol;
until false;

end.

- --------------398C465945DE1533EC187CD3--


------------------------------

From: Steffen Winterfeldt <[EMAIL PROTECTED]>
Date: Thu, 27 May 1999 10:20:33 +0200 (MEST)
Subject: DOSEMU 0.98.6 floppy problems/lockups etc...

As this has been asked quite frequently during the last days:

If you have any floppy related problems (eg. dosemu locks up while
accessing it or you cannot boot from it or whatever), please
apply the patch below (will be integrated in 0.98.7).

Note that the patch I posted in the thread
"floppy A: B:, vbootfloppy and 0.98.6"
was broken; use this one instead.


Bye,

Steffen


- --- dosemu-0.98.6/src/base/misc/utilities.c   Fri Mar 26 20:02:54 1999
+++ dosemu-0.98.6/src/base/misc/utilities.c   Mon May 17 22:29:35 1999
@@ -506,15 +506,16 @@
 
 void sigalarm_onoff(int on)
 {
- -  static struct itimerval itv_old_;
- -  static struct itimerval *itv_old = &itv_old_;
+  static struct itimerval itv_old;
   static struct itimerval itv;
- -  if (on) setitimer(TIMER_TIME, itv_old, NULL);
- -  else {
+  static int is_off = 0;
+  if (on) {
+    if (is_off--) setitimer(TIMER_TIME, &itv_old, NULL);
+  }
+  else if (!is_off++) {
     itv.it_interval.tv_sec = itv.it_interval.tv_usec = 0;
     itv.it_value = itv.it_interval;
- -    setitimer(TIMER_TIME, &itv, itv_old);
- -    itv_old = NULL;
+    setitimer(TIMER_TIME, &itv, &itv_old);
   }
 }


------------------------------

From: "Fernando J. =?iso-8859-1?Q?D=EDaz?= Vilela" <[EMAIL PROTECTED]>
Date: Thu, 27 May 1999 10:26:25 +0000
Subject: clock go back

This is a multi-part message in MIME format.
- --------------F981B1B5ADD8C2D7216B3560
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello:
    This is my first time to write you, I have a problem with dosemu
clock, I start dosemu and 30 min. later the clock go back for 1 hour,
for example I start at 8:00, at 8:29:50 i execute time and dosemu say
8:29:50, at 8:30:00 say 7:30:00 and if i execute unix date, it say
8:30:xx. If I wait for some hours the dosemu clock doesn't pass 8:30:00.

    My kernel is 2.0.36, my dosemu level is 0.98.1.0 and i'm running
MS/DOS 3.3 (and i probe with IBM DOS 6.0, freedos, ... and i had the
same problem)
    Thanks for your help.

- --------------F981B1B5ADD8C2D7216B3560
Content-Type: text/x-vcard; charset=us-ascii;
 name="fernando.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Fernando J. D�az Vilela
Content-Disposition: attachment;
 filename="fernando.vcf"

begin:vcard 
n:D�az Vilela;Fernando Jos�
tel;cell:34607888245
tel;work:3422218122
x-mozilla-html:FALSE
url:www.titsa.com
org:Transportes Interurbanos de Tenerife S.A.;Inform�tica
adr:;;Av. 3 de Mayo, 47;Santa Cruz de Tenerife;;38003;Espa�a
version:2.1
email;internet:[EMAIL PROTECTED]
title:T�cnico de Sistemas
fn:Fernando D�az
end:vcard

- --------------F981B1B5ADD8C2D7216B3560--


------------------------------

From: Catalin Bucur <[EMAIL PROTECTED]>
Date: Wed, 26 May 1999 04:46:58 +0000
Subject: Re: replacing freedos?

[EMAIL PROTECTED] wrote:
> 
> Hello,
>         I've used freedos now to get my emulator working. Now that it is, I'd
> like to remove it, and replace it with something like dr-dos 7, ms-dos
> 6.22 or 7.0. How can this be done? Thank you.
> Dave.

man mkfatimage16

- -- 
Catalin Bucur                                \|/
Hardware engineer                          ^(o o)^
mailto:[EMAIL PROTECTED]       ~~~~~~~~~oOO~~(_)~~OOo~~~~~~~~~

------------------------------

From: Steffen Winterfeldt <[EMAIL PROTECTED]>
Date: Wed, 26 May 1999 15:03:34 +0200 (MEST)
Subject: Re: Dosemu-fault (linux-crash)

Hi Bernhard,

> I have problems with Dosemu (version 0.98.6, suse linux 6.0, kernel
> 2.2.5). After starting dosemu correctly from a hdimage .first i like to
> change to drive A: (floppy disk).The dosemu does this but after nothing
> goes. I can input via keyboard what I like :nothing happend. also
> ctrl-alt-pgdn or ctrl-alt f1/2.. does not work.The only way to continue
> is a hardware reset!!
> what is the reason? I know that in any earlier versions I had no

Please apply the appended patch (will be integrated in 0.98.7).


Bye,

Steffen


- --- dosemu-0.98.6/src/base/misc/utilities.c   Fri Mar 26 20:02:54 1999
+++ dosemu-0.98.6/src/base/misc/utilities.c   Mon May 17 22:29:35 1999
@@ -506,15 +506,16 @@
 
 void sigalarm_onoff(int on)
 {
- -  static struct itimerval itv_old_;
- -  static struct itimerval *itv_old = &itv_old_;
+  static struct itimerval itv_old;
   static struct itimerval itv;
- -  if (on) setitimer(TIMER_TIME, itv_old, NULL);
- -  else {
+  static int is_off = 0;
+  if (on) {
+    if (is_off--) setitimer(TIMER_TIME, &itv_old, NULL);
+  }
+  else if (!is_off++) {
     itv.it_interval.tv_sec = itv.it_interval.tv_usec = 0;
     itv.it_value = itv.it_interval;
- -    setitimer(TIMER_TIME, &itv, itv_old);
- -    itv_old = NULL;
+    setitimer(TIMER_TIME, &itv, &itv_old);
   }
 }



------------------------------

From: Steffen Winterfeldt <[EMAIL PROTECTED]>
Date: Wed, 26 May 1999 15:19:51 +0200 (MEST)
Subject: Re: replacing freedos?

Hi,

>       I've used freedos now to get my emulator working. Now that it is, I'd
> like to remove it, and replace it with something like dr-dos 7, ms-dos
> 6.22 or 7.0. How can this be done? Thank you.

If you use 0.98.6 or above, the easiest way is the following:

 - create a directory, say /dos
 - move io.sys, msdos.sys, command.com to /dos
 - add your favorite config.sys/autoexec.bat
 - put a symlink in /var/lib/dosemu pointing to /dos, say
   ln -s /dos /var/lib/dosemu/dos
 - change the $_hdimge line in /etc/dosemu.conf to
     $_hdimage = "dos"

That�s it. Works with MS-DOS up to (at least) version 7.

If you want to try a different flavor of DOS, you�ll need an additional
step:

 - put this DOS�s boot block into /dos/boot.blk
     dd if=/dev/xxxx of=/dos/boot.blk bs=1b count=1
     (if your DOS is on /dev/xxxx (xxxx may be hda1 of fd0 or whatever))


Bye,

Steffen


------------------------------

From: Steffen Winterfeldt <[EMAIL PROTECTED]>
Date: Wed, 26 May 1999 15:25:35 +0200 (MEST)
Subject: Re: Multiprocessor Bug ???

Hi Mirco,

> and I tried to use dosemu on my linux server but when
> I start it on dos prompt appear this message :
> division overflow
> and the prompt come back.
> I've tried it on another server and all works fine,
> the only differences that I have is that the first
> have 2 processors (PII 350 - Linux 2.2.9 ).
> What can I do ????

Which version of dosemu are you using? I�ve been using up to 0.99.9
on Dual-PII/350 machines without problems (up to kernel 2.2.5).


Bye,

Steffen


------------------------------

From: Jim Morris <[EMAIL PROTECTED]>
Date: Thu, 27 May 1999 10:46:44 -0500
Subject: Re: xdos and VGA graphics

Hi Samuel,

I looked into this about a year ago, as I also have a 640x480x16
legacy DOS app I wanted to run under xdos.  Unfortunately, the X
interface for DOSEMU does not bother to implement the 16-color
graphics modes of the VGA - just 256 color modes or better.  When you
get down to it I guess, those 16-color modes haven't been used by many
people since the late 1980's for doing graphics mode stuff, so I can
understand the DOSEMU developers not putting any effort into it.

Having done most of my graphics related programming under DOS in the
late 1980's, I can tell you that the 16-color mode of the EGA/VGA is a
LOT more complicated than the 256 color modes.  256-color modes are
organized simply as a large array of bytes, with one byte per pixel,
along with a 256 entry palette table, saying what 24-bit color each of
the values 0-255 map to.  Nice and easy to implement.  The 16-color
modes of the EGA/VGA are implemented as 4 planes, with 1 bit per
plane, per pixel.  You have to do a lot of AND/OR bit level operations
across the planes to get the output color 0-15 for a specific pixel on
the output display.  This is just so much more complicated than
256-color and better VGA modes that it is ridiculous.

The only solution a year ago was to run those 16-color graphics apps
under DOSEMU in console mode, and it appears to still be the only
solution available under DOSEMU - unless someone want's to jump in and
implement it!  I am capable of doing it, and am very familiar with how
the 16-bit graphics hardware is implemented - but I sure don't have
the time to mess with it...

 --
If you have to think twice about it, you're wrong.
 --
/------------------------------------------------\
| Jim Morris  | Business:  [EMAIL PROTECTED] |
|             | Personal:  [EMAIL PROTECTED]        |
|------------------------------------------------|
|    World Wide Web:  http://Jim.Morris.net      |
|       AOL Instant Messenger:  JFM2001          |
\------------------------------------------------/



------------------------------

From: Steffen Winterfeldt <[EMAIL PROTECTED]>
Date: Thu, 27 May 1999 19:17:38 +0200 (MEST)
Subject: Re: xdos and VGA graphics

Hi Sam,

> I'm trying to run a dos app which requires 640x480 16 color VGA mode
> (borland BGI driver) in dosemu. Everything works in console mode but
> using xdos graphisc looks strange - almost everything is blue and only
> ~2 of each  8 vertical columns are displayed. I think there could be
> some problem with video ram mapping, I'm using 16 bpp in X. Does anybody
> have an idea or a fix ?

You may or may not get better results using a recent development
version, eg. dosemu 0.99.9 or better.

This will eventually get fixed. Not in the near future, AFAIK.


Bye,

Steffen


------------------------------

From: Reinhard Karcher <[EMAIL PROTECTED]>
Date: Thu, 27 May 1999 09:19:46 +0200
Subject: Re: DOSEMU lredir is driving me crazy!

David Simon wrote:
> 
> I am running RH6, from cheapbytes, and I am using the latest version of dosemu, and 
>a fairly recent version of freedos. No matter how many syntaxes I tried, I could not 
>get lredir remap /mnt/floppy to any drive letter. It gives me at least 6 different 
>error codes depending on how I tried to call it, and if I tried to use install in 
>config.sys to load it, it told me the problem letter was always the last letter of 
>the first word. Please help; am I doing something stupid? Do I need to update 
>something? Thanks
> 

Lredir isn't yet supported by freedos. (This is actually documented in
the newest
dosemu documentation)

Reinhard

------------------------------

From: [EMAIL PROTECTED] (David Hodges)
Date: Thu, 27 May 1999 19:34:21 +1200 (NZST)
Subject: Re: DOSEMU lredir is driving me crazy!

> I am running RH6, from cheapbytes, and I am using the latest version of dosemu, and 
>a fairly recent version of freedos. No matter how many syntaxes I tried, I could not 
>get lredir remap /mnt/floppy to any drive letter. It gives me at least 6 different 
>error codes depending on how I tried to call it, and if I tried to use install in 
>config.sys to load it, it told me the problem letter was always the last letter of 
>the first word. Please help; am I doing something stupid? Do I need to update 
>something? Thanks

freedos still does not support lredir yet (it is mentioned in the HOWTO
and the READMEs - perhaps it would not be a bad idea to put a message
in lredir saying "warning, as of 27 May 1999 lredir does not work under
FreeDOS" for people who don't read the documentation)


------------------------------

From: [EMAIL PROTECTED] (David Hodges)
Date: Thu, 27 May 1999 19:30:32 +1200 (NZST)
Subject: Re: dosemu

> After exhausting all other avenues I'm asking for help on dosemu. It
> seems that when I try to boot from a floppy disk the system hangs eg:
> dosemu -A. I end up having to kill the process and trying again.

There is a mailing list archive you can find from http://www.dosemu.org
which answers your question:


>From vger.rutgers.edu!owner-linux-msdos-outgoing Fri May 21 07:20:57 1999
Return-Path: <vger.rutgers.edu!owner-linux-msdos-outgoing>
Received: by erewhon
        id m10kYNE-000AFra
        (Debian Smail-3.2 1996-Jul-4 #2); Fri, 21 May 1999 07:20:56 +1200 (NZST)
Sender: vger.rutgers.edu!owner-linux-msdos-outgoing
Received: from mx1.ix.net.nz ([EMAIL PROTECTED] [203.97.100.27])
        by planet.ak.planet.gen.nz (8.8.8/8.8.8) with ESMTP id TAA06981
        for <[EMAIL PROTECTED]>; Thu, 20 May 1999 19:31:39 +1200 (NZST)
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
        by mx1.ix.net.nz (8.8.8/8.8.5) with ESMTP id TAA27586;
        Thu, 20 May 1999 19:36:08 +1200
Received: by vger.rutgers.edu via listexpand id <S.rEkzJ160959>; Wed, 19 May 1999 
15:24:05 -0400
Received: by vger.rutgers.edu id <S.rEa.M160343>; Wed, 19 May 1999 02:54:16 -0400
Received: from Cantor.suse.de ([194.112.123.193]:10839 "HELO Cantor.suse.de") by 
vger.rutgers.edu with SMTP id <S.rEM43184478>; Tue, 18 May 1999 11:04:37 -0400
Received: from Galois.suse.de (Galois.suse.de [194.112.123.130])
        by Cantor.suse.de (Postfix) with ESMTP id E802732D03
        for <[EMAIL PROTECTED]>; Tue, 18 May 1999 17:53:26 +0200 (MEST)
Received: from metcalf.suse.de (Metcalf.suse.de [10.0.0.10])
        by Galois.suse.de (Postfix) with ESMTP id DDB2F9411
        for <[EMAIL PROTECTED]>; Tue, 18 May 1999 17:53:26 +0200 (MEST)
Received: from localhost (localhost [[UNIX: localhost]])
        by metcalf.suse.de (8.9.3/8.9.3) id RAA00427
        for [EMAIL PROTECTED]; Tue, 18 May 1999 17:53:26 +0200
From: Steffen Winterfeldt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: floppy A: B:, vbootfloppy and 0.98.6
Date:   Tue, 18 May 1999 17:40:00 +0200
X-Mailer: KMail [version 1.0.17]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <99051817532600.00394@metcalf>
Content-Transfer-Encoding: 8bit
Sender: [EMAIL PROTECTED]
Precedence: bulk
X-Loop: [EMAIL PROTECTED]
X-Orcpt: rfc822;linux-msdos-outgoing-dig
Status: RO

> I have spent hours and hours working with my dosemu setup because
> no matter how I configure it, I could not access floppy A:  This
> is version 0.98.6
> 
> If I used _vbootfloppy the BOOTOFF.COM program was
> non-functional.  I could never see anything but the boot image.
> 
> So yesterday I made a hard drive image to boot from instead.
> When I use that, then everytime I try to read or write from the
> floppy drive it spins for just a moment and locks up.  (Just
> dosemu, of course, not the whole machine).
> 
> So I tried the new "boot directory" option.  Unfortunately it was
> just as with the hard drive image.  The floppy spins for a moment
> and locks the emulator.

Actually, you describe *two* problems. :-(

> I finally found an answer tucked in the mail archives (where I
> must have missed it before).  It was the following patch to
> 0.98.6

Below is the �official� fix for this that will go into 0.98.7:

- --- dosemu-0.98.6.2/src/base/misc/utilities.c   Fri Mar 26 20:02:54 1999
+++ dosemu-0.98.6.3/src/base/misc/utilities.c   Mon May 17 22:29:35 1999
@@ -506,15 +506,16 @@
 
 void sigalarm_onoff(int on)
 {
- -  static struct itimerval itv_old_;
- -  static struct itimerval *itv_old = &itv_old_;
+  static struct itimerval itv_old;
   static struct itimerval itv;
- -  if (on) setitimer(TIMER_TIME, &itv_old_, NULL);
- -  else {
+  static int is_off = 0;
+  if (on) {
+    if (is_off--) setitimer(TIMER_TIME, &itv_old, NULL);
+  }
+  else if (!is_off++) {
     itv.it_interval.tv_sec = itv.it_interval.tv_usec = 0;
     itv.it_value = itv.it_interval;
- -    setitimer(TIMER_TIME, &itv, itv_old);
- -    itv_old = NULL;
+    setitimer(TIMER_TIME, &itv, &itv_old);
   }
 }

> I applied the patch and it worked for me.  I am still booting
> from a "boot directory" now.

So this was for problem #1. :-)
 
> I tried switching back to _vbootfloppy, but still I find that
> BOOTOFF.COM is non-functional.  But I can at least write to the
> floppy drive now with the "boot directory" approach.  If you are
> having problems with your floppy and happen to be running the
> most recent "stable" version you might consider the patch and use
> some other boot method than _vbootfloppy.

This (problem #2) is actually a known problem. It�s basically the main reason I
developed the boot_dir stuff in the first place for.

At the moment booton/-off simply does not work. I�ll fix this in the near
future (unless someone else does, that is :-) ).


Bye,

Steffen



------------------------------

From: Steffen Winterfeldt <[EMAIL PROTECTED]>
Date: Thu, 27 May 1999 10:27:22 +0200 (MEST)
Subject: Re: DOSEMU lredir is driving me crazy!

Hi David,

On 24 May 1999, David Simon wrote:

> I am running RH6, from cheapbytes, and I am using the latest version of dosemu,
> and a fairly recent version of freedos. No matter how many syntaxes I
> tried, I could not get lredir remap /mnt/floppy to any drive letter. It gives
> me at least 6 different error codes depending on how I tried to call it,
> and if I tried to use install in config.sys to load it, it told me the problem
> letter was always the last letter of the first word. Please help; am I
> doing something stupid? Do I need to update something? Thanks

The following will make /mnt/floppy available as drive F: in DOSEMU

  lredir f: linux\fs/mnt/floppy

Put this into autoexec.bat or as an "install="-line into config.sys.

To undo the assignment enter

  lredir del f:

And, if you run out of drive letters, don't forget the "lastdrive=z"-line
in config.sys.


Bye,

Steffen


------------------------------

From: Martin =?iso-8859-1?Q?S=FCfke?= <[EMAIL PROTECTED]>
Date: Wed, 26 May 1999 19:16:46 +0200
Subject: How to do DMA transfer under dosemu ?

Hi, all! 

Does anyone have an idea how to get a transfer on DMA 5 (16 bit) under
DOS-EMU to work ?
I don't under stand what the docu is saying about that. Freeing access
to the DMA-controllers didn't help.

Thanks !

- -- 
Wr8Ul8r,
        Martin
- --
Visit: www.computermuseum.fh-kiel.de

------------------------------

From: Alistair MacDonald <[EMAIL PROTECTED]>
Date: Thu, 27 May 1999 22:42:44 +0100 (BST)
Subject: Re: mtools should be updated...

On Sat, 22 May 1999, Mark H. Wood wrote:

> On Fri, 21 May 1999, David Hodges wrote:
> > All of the information at http:/www.suse.com/dosemu is outdated. This
> > page should either be removed or changed to point to the official
> > dosemu web page at http://www.dosemu.org.
> I've seen this problem a lot lately -- some package has been archived at
[...] 
> Please, if you're going to switch primary sites, or de-mirror a site, ask
> the site maintainers to clean out the old package and replace it with a
> pointer to the new list of canonical sites.

We did. The canonical site for DOSEMU *was* tsx-11. We placed a note on
the TSX-11 site quoting www.dosemu.org & the ftp address when we could no
longer reliably upload and we got the dosemu.org domain. The LSM entry was
also updated to list ftp.dosemu.org as the primary site.

The problem is with sites mirroring others and not paying attention. We
are not responsible for notifying the mirrors of a mirror site (or even
the mirrors of a site we don't adminster) *IF* people registered their
mirror sites with us then we would notify them of any changes. We have
only a few *registered* sites, although we know (and list) a few others on
the FTP/WWW site.

Alistair
(Occasionally webpage maintainer, generally outspoken ....)



------------------------------

From: [EMAIL PROTECTED] (John Covici)
Date: Fri, 28 May 1999 02:56:10 -0400
Subject: dos 7 under dosemu

I am using dosemu 99.11 and have successfully booted dos 7.0 (Win98
version), under Linux 2.2.7 kernel, but I have some questions which
are not covered in any docs I have read (if there is some more not in
the distribution or if I have missed something, please let me know).

The system tries to load highmem.sys -- should I let it do so?  Same
for emm386.exe?  Should I let it do dos=high,umb like I have in my
original system?

I havesome software which would look for lfn's under Windows, is there
any way to fool these programs into working properly or do I even need
to do so?

Thanks much for any assistance you can give.

- -- 
         John Covici
          [EMAIL PROTECTED]

------------------------------

End of linux-msdos-digest V1 #144
*********************************

To subscribe to linux-msdos-digest, send the command:

Reply via email to