* Re: DOS .exe file support
@ 2002-05-03 6:37 Michael Kallas
2002-05-03 13:25 ` Alan Cox
2002-05-03 16:59 ` DOS .exe file support Harry Kalogirou
0 siblings, 2 replies; 14+ messages in thread
From: Michael Kallas @ 2002-05-03 6:37 UTC (permalink / raw)
To: Linux-8086
Hi,
Harry Kalogirou <harkal@gmx.net> schrieb am 29.04.02:
> Hi,
> I wonder from the first time I let my eyes on this project, what the
> EXE file support in the kernel configuration means? I simply don't see
> any way of running a DOS .EXE executable in ELKS. Maybe if it was a COM
> file but even then we should emulate all the DOS _system_ calls. Am I
> missing something bigger here, or we should just remove it from the
> tree?
If this should be considered for being implemented any time, I suggest
having a look at http://www.freedos.org because FreeDOS is in beta stage
now already for quite a while and is quite advanced.
They even have FAT32 support now (but no LFN yet) and they also
support swapping.
Maybe ELKS could be something like a multitasking environment able to
execute linux/elks and DOS programs?
Best regards
Michael
--
All thoughts are free, Who can ever guess them?
Die Gedanken sind frei, Wer kann sie erraten?
______________________________________________________________________________
All inclusive! 100 MB Speicher, werbefrei, SMS günstiger, Wunschrufnummer, Events,
Preisvorteile und mehr unter http://club.web.de/?mc=021104
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: DOS .exe file support
2002-05-03 6:37 DOS .exe file support Michael Kallas
@ 2002-05-03 13:25 ` Alan Cox
2002-05-03 15:13 ` Hard drive problems? Dan Olson
2002-05-03 16:59 ` DOS .exe file support Harry Kalogirou
1 sibling, 1 reply; 14+ messages in thread
From: Alan Cox @ 2002-05-03 13:25 UTC (permalink / raw)
To: Michael Kallas; +Cc: Linux-8086
> > file but even then we should emulate all the DOS _system_ calls. Am I
> > missing something bigger here, or we should just remove it from the
> > tree?
> If this should be considered for being implemented any time, I suggest
> having a look at http://www.freedos.org because FreeDOS is in beta stag=
I think it ought to go in the bitbucket.
> now already for quite a while and is quite advanced.
> They even have FAT32 support now (but no LFN yet) and they also
> support swapping.
> Maybe ELKS could be something like a multitasking environment able to
> execute linux/elks and DOS programs?
On such a small memory machine you'd use a lot of resources to do that
and make a nasty mess in other bits of the kernel. Seems better to let
FreeDOS do its job well
^ permalink raw reply [flat|nested] 14+ messages in thread
* Hard drive problems?
2002-05-03 13:25 ` Alan Cox
@ 2002-05-03 15:13 ` Dan Olson
2002-05-03 15:54 ` pauln
0 siblings, 1 reply; 14+ messages in thread
From: Dan Olson @ 2002-05-03 15:13 UTC (permalink / raw)
To: Linux-8086
Last night I hooked up my IBM and tried downloading the latest ELKS. I
think I ended up with 1.0 pre 4 as I got an access denied message tring to
get the latest version. I boot up and get the following:
Loading Init
hd: error: AX=0x0
BIOS HD:I/O error
dev 380, sector 260
init panic
ELKS..
login:
I login as root and get everything between "loading init" and "ELKS"
above, then "no shell!" Here's the catch, I have no hard drive, and the
boot process correctly detects my drives. Here's what I do have, should
it be of any help:
IBM PCXT 640K RAM
NEC V20
VGA video
1.44M floppy with "comb" image
no other boards aside from FDC and VGA
I booted .83 which was on the disk before my latest download, and it
worked fine.
Dan
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Hard drive problems?
2002-05-03 15:13 ` Hard drive problems? Dan Olson
@ 2002-05-03 15:54 ` pauln
2002-05-03 17:05 ` Harry Kalogirou
0 siblings, 1 reply; 14+ messages in thread
From: pauln @ 2002-05-03 15:54 UTC (permalink / raw)
To: Linux-8086
On Fri, May 03, 2002 at 08:13:54AM -0700, Dan Olson wrote:
> Last night I hooked up my IBM and tried downloading the latest ELKS. I
> think I ended up with 1.0 pre 4 as I got an access denied message tring to
> get the latest version. I boot up and get the following:
>
> Loading Init
> hd: error: AX=0x0
> BIOS HD:I/O error
> dev 380, sector 260
> init panic
OK - this may be the bioshd stuff. Try turning it off in your kernel.
System has no hard drive (CONFIG_HW_NO_HARD_DRIVE) [Y/n/?] y
I had problems with stalling with a dodgy HD, sometimes detected.
Then just do make boot from elkscmd and use the packaged root floppy.
I'm unsure how well elkscmd is making comb image at the moment
Paul
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Hard drive problems?
2002-05-03 15:54 ` pauln
@ 2002-05-03 17:05 ` Harry Kalogirou
2002-05-03 17:49 ` Dan Olson
2002-05-03 18:20 ` pauln
0 siblings, 2 replies; 14+ messages in thread
From: Harry Kalogirou @ 2002-05-03 17:05 UTC (permalink / raw)
To: pauln; +Cc: Linux-8086
Την Παρ, 03-05-2002 στις 18:54, ο/η pauln@truemesh.com έγραψε:
> On Fri, May 03, 2002 at 08:13:54AM -0700, Dan Olson wrote:
> > Last night I hooked up my IBM and tried downloading the latest ELKS. I
> > think I ended up with 1.0 pre 4 as I got an access denied message tring to
> > get the latest version. I boot up and get the following:
> >
> > Loading Init
> > hd: error: AX=0x0
> > BIOS HD:I/O error
> > dev 380, sector 260
> > init panic
>
> OK - this may be the bioshd stuff. Try turning it off in your kernel.
>
> System has no hard drive (CONFIG_HW_NO_HARD_DRIVE) [Y/n/?] y
>
> I had problems with stalling with a dodgy HD, sometimes detected.
>
> Then just do make boot from elkscmd and use the packaged root floppy.
>
No this has nothing to do with the hard drive. The floppy disk is just
one of the _good_ ones...
dev 380 is /dev/fd0
Get a good floppy disk and try again...
Harry
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Hard drive problems?
2002-05-03 17:05 ` Harry Kalogirou
@ 2002-05-03 17:49 ` Dan Olson
2002-05-04 6:25 ` Harry Kalogirou
2002-05-03 18:20 ` pauln
1 sibling, 1 reply; 14+ messages in thread
From: Dan Olson @ 2002-05-03 17:49 UTC (permalink / raw)
To: Linux-8086
> > > Loading Init
> > > hd: error: AX=0x0
> > > BIOS HD:I/O error
> > > dev 380, sector 260
> > > init panic
> No this has nothing to do with the hard drive. The floppy disk is just
> one of the _good_ ones...
>
> dev 380 is /dev/fd0
>
> Get a good floppy disk and try again...
Okay, that's good to know. I just assumed that the "hd" in the error
message refered to hard drive. The disk was okay when .83 was on it, but
I'll definetly try it again. Thanks!
Dan
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Hard drive problems?
2002-05-03 17:05 ` Harry Kalogirou
2002-05-03 17:49 ` Dan Olson
@ 2002-05-03 18:20 ` pauln
1 sibling, 0 replies; 14+ messages in thread
From: pauln @ 2002-05-03 18:20 UTC (permalink / raw)
To: Linux-8086
On Fri, May 03, 2002 at 08:05:19PM +0300, Harry Kalogirou wrote:
>
> No this has nothing to do with the hard drive. The floppy disk is just
> one of the _good_ ones...
>
> dev 380 is /dev/fd0
doh - serve me write for posting an answer without thinking :)
Need to remember the device numbers for elks...
Paul
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: DOS .exe file support
2002-05-03 6:37 DOS .exe file support Michael Kallas
2002-05-03 13:25 ` Alan Cox
@ 2002-05-03 16:59 ` Harry Kalogirou
1 sibling, 0 replies; 14+ messages in thread
From: Harry Kalogirou @ 2002-05-03 16:59 UTC (permalink / raw)
To: Michael Kallas; +Cc: Linux-8086
Την Παρ, 03-05-2002 στις 09:37, ο/η Michael Kallas έγραψε:
> Hi,
>
> Harry Kalogirou <harkal@gmx.net> schrieb am 29.04.02:
> > Hi,
> > I wonder from the first time I let my eyes on this project, what the
> > EXE file support in the kernel configuration means? I simply don't see
> > any way of running a DOS .EXE executable in ELKS. Maybe if it was a COM
> > file but even then we should emulate all the DOS _system_ calls. Am I
> > missing something bigger here, or we should just remove it from the
> > tree?
>
> If this should be considered for being implemented any time, I suggest
> having a look at http://www.freedos.org because FreeDOS is in beta stage
> now already for quite a while and is quite advanced.
> They even have FAT32 support now (but no LFN yet) and they also
> support swapping.
> Maybe ELKS could be something like a multitasking environment able to
> execute linux/elks and DOS programs?
>
ELKS will never be able to run .EXE files. Even if we emulate all the
DOS system calls, the memory model is different. To that add that most
of DOS programs - if not all - use directly the hardware and that is
imposible to multitask on an 8086. DOS programs do all sorts of _wild_
things with the machine (from hooking to interupts, to reprogramming
timers chips, etc) , that require the program be the only thing running.
About the swap thing you say, I don't see how they can swap out. Maybe
they implement it in a _might work, might crash_ way.
Harry
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 14+ messages in thread
* DOS .exe file support
@ 2002-04-29 16:17 Harry Kalogirou
2002-04-29 21:27 ` Riley Williams
0 siblings, 1 reply; 14+ messages in thread
From: Harry Kalogirou @ 2002-04-29 16:17 UTC (permalink / raw)
To: Linux-8086
Hi,
I wonder from the first time I let my eyes on this project, what the
EXE file support in the kernel configuration means? I simply don't see
any way of running a DOS .EXE executable in ELKS. Maybe if it was a COM
file but even then we should emulate all the DOS _system_ calls. Am I
missing something bigger here, or we should just remove it from the
tree?
Harry
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: DOS .exe file support
2002-04-29 16:17 Harry Kalogirou
@ 2002-04-29 21:27 ` Riley Williams
0 siblings, 0 replies; 14+ messages in thread
From: Riley Williams @ 2002-04-29 21:27 UTC (permalink / raw)
To: Harry Kalogirou; +Cc: Linux-8086
Hi Harry.
> I wonder from the first time I let my eyes on this project, what the
> EXE file support in the kernel configuration means? I simply don't
> see any way of running a DOS .EXE executable in ELKS. Maybe if it
> was a COM file but even then we should emulate all the DOS _system_
> calls. Am I missing something bigger here, or we should just remove
> it from the tree?
I have to admit that I've wondered about that myself, and to be honest,
I don't even see how we could begin to emulate the DOS system calls to
start with.
My personal feeling is quite simple: If it doesn't work, at least move
it under EXPERIMENTAL until we can sort out what to do with it.
Best wishes from Riley.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2002-05-06 23:24 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-03 6:37 DOS .exe file support Michael Kallas
2002-05-03 13:25 ` Alan Cox
2002-05-03 15:13 ` Hard drive problems? Dan Olson
2002-05-03 15:54 ` pauln
2002-05-03 17:05 ` Harry Kalogirou
2002-05-03 17:49 ` Dan Olson
2002-05-04 6:25 ` Harry Kalogirou
2002-05-04 15:35 ` Blaz Antonic
2002-05-04 18:32 ` Riley Williams
2002-05-06 23:24 ` Dan Olson
2002-05-03 18:20 ` pauln
2002-05-03 16:59 ` DOS .exe file support Harry Kalogirou
-- strict thread matches above, loose matches on Subject: below --
2002-04-29 16:17 Harry Kalogirou
2002-04-29 21:27 ` Riley Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox