As you can see from my comments below, I have a DOS application that used to run on MS-DOS 6.22 on this box. Now that I have changed to Linux and am trying to run it inside of Dosemu, then I get a Runtime Error , 6003 I think it says. Anyway it says it is a divide-by-zero error.
What can I do about it? I enabled the hardware address of 0x300, so it is not that problem. Please respond to both of my email addresses, so I can see it at home as well, where I am working on this box. Gary Gary Hinton wrote: > > Comments below. > > Keith Burton wrote: > > > > On Tuesday 11 Dec 2001 6:20 pm, Gary Hinton wrote: > > > Thanks for the help from both of you. > > > > > > Yes, the lredir was the command I needed. I used it this way: > > > lredir d: linux\fs\dosdisk > > > > > > Now I have to find out why the program that works in MS-DOS 6.22 causes > > > a Divide-by-zero error for Dosemu. > > ~~~~~~~~~~ > > / > > Is that 'for Dosemu' or 'in Dosemu'? > > I guess I should say 'in Dosemu'. > > > > > I suspect the later in which case, that will probably because your machine is > > too fast! Many old DOS applications calibrated themselves using biddy little > > counters that overflow on faster machines - you will probably find that your > > application will fall over in plain MS-DOS 6.22 if you get a fast enough > > machine :) > > > > What speed is the machine that you are running? > > What is the application? > > The application was working on this old 486, 50 MHz system in MS-DOS 6.22. > I decided to add Linux and make that the controlling OS. So I added a > second hard drive and loaded the Linux. So I use Dosemu to gain access > to all of the original applications on the original drive. > > The application that fails needs to read from the hardware port address > of 0x300. So my next step was to add in the enabling of that port address. > +--------------------------------------------------------------------+ | Gary Hinton AC7R Phone: (602) 438-3450 | | Product Engineering FAX: (602) 438-3836 | | Motorola Computer Group Pager: 877-992-6630 (two-way) | | 2900 S. Diablo Way e-mail: [EMAIL PROTECTED] | | Tempe, Arizona 85282 Mail Drop: DW278 | +--------------------------------------------------------------------+ - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html