Re: [Freedos-user] Linux on FreeDos or vice versa?

2005-03-23 Thread Fox
On Wednesday 23 March 2005 08:18, Leke Lapinkangas wrote:
 Is it possible to install Linux on FreeDos or vice versa?
Yes, it is possible to run Linux on a DOS system using MonkeyLinux. It is also 
possible to run FreeDOS (or any other DOS) on Linux with DOSemu or even BOCHS 
(better, because it emulate the whole PC, not only FreeDOS!)

 More importantly could I do it on my machine?
No.
Of course, you can try, because it is *possible*, but the whole thing will go 
really slow... Emulating is a process which requires a lot of power.
For your system I think the best would be an FreeDOS installation. You must 
have only ~15 MB free disk (to install FreeDOS using the installer), but it 
is possible to get a nice working FreeDOS even on not more than 1MB (but you 
have to install everything manually...)
If I were you I will not try to install anything else than FreeDOS...

 I checked out some minimalist distro listings, here's one example...

 GNU Brutalware Linux

 Website: http://hysteria.sk/brutalware/
 Category: Minimalist
 Description: Floppy-based Linux distribution. It is designed to boot from 3
 floppies on any MSDOS/Windows machine.

If you're curious - go. But don't be surprised if the resulting system will 
not be useable
Installing FreeDOS is a far better way - you can even install Win3.1x (in none 
386 mode) to have a nice gui :)

Fox


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882alloc_id=15148op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Re: Linux on FreeDos or vice versa?

2005-03-23 Thread Eric Auer

Hi Leke Lapinkangas (interesting name...),

 Is it possible to install Linux on FreeDos or vice versa? 
 More importantly could I do it on my machine?
(Which is a 486dx25 with 12MB RAM and plain VGA)

A small / old Linux will run in acceptable ways on that kind
of PC, I assume. I myself had it running on a Pentium 100-something
class machine with 15 MB RAM and 1 MB onboard VGA, for example.
However, it will definitely be no big fun. In my case, it was a
kernel 2.2 based Linux with fvwm2 GUI. If you start a browser or
LaTeX or any office-ish thing in there, even 32 MB RAM are not
enough for pleasant speed. As Fox wrote, there are special Linux
versions with light kernel and libc, which are optimized for
low-memory situations and may even run on 8 MB systems (although
you may have to plug the disk to a bigger system for the initial
install and for more complex compile runs).

If you open a DOSEMU window on Linux, it will usually take 1-2
nonswappable MB and 10-15 MB of further RAM (or space on your
swapfile). Any EMS or XMS allocation inside the window will cause
DOSEMU to consume more RAM. It will probably not work at all on
your 486dx25 system. However, your 486dx has a cache and hardware
floating point support, and DOSEMU does not simulate the whole CPU,
only hardware like a VGA card and sound card. The latter would be
VERY slow on your system, but text mode programs would probably
run okay as long as DOSEMU can start at all.

You cannot run a Linux session in DOS at all. Actually in PTS-DOS
(as far as I remember), you can, because PTS-DOS can store the
whole state of DOS somewhere, boot Linux, and then restore the
state of DOS when you leave Linux again. In FreeDOS, you can only
boot Linux from DOS and later reboot to start DOS again.

The best install for YOUR computer, if you have enough harddisk
space, is to have Linux and DOS on separate partitions and have
a boot menu like Lilo which lets you select either Linux or DOS
each time when you boot. Even on 12 MB, Linux can do some interesting
things which DOS cannot, but booting pure DOS on that system will
give quite good performance for most DOS programs and even some
grahpical user interfaces like OpenGEM, Desktop2 or SEAL (check the
freedos.org link page). If you own a copy of it, you can even run
Windows 3 (but not Windows for Workgroups yet) in standard mode on
FreeDOS. Many newer Win programs will insist on 386 mode or Win32s,
which do not work in FreeDOS yet, so your Win3 experience will be
somewhat limited.

Eric


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882alloc_id=15148op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] Linux on FreeDos or vice versa?

2005-03-23 Thread Leke Lapinkangas

Is it possible to install Linux on FreeDos or vice versa? 
More importantly could I do it on my machine?

COMPAQ LTE Lite 4/25C

PROCESSOR TYPE: 80486
   PROCESSOR SPEED: 25 mhz
   COPROCESSOR TYPE: 80487
   BUS TYPE: ISA
   BUS SPEED: 25 mhz

   MEMORY INFORMATION 
   BASE MEMORY: 640k
   EXTENDED MEMORY: 11520k
   EXPANDED MEMORY: 0k

   VIDEO INFORMATION 
   VIDEO BIOS: IBM
   VIDEO MEMORY: 256k
   VIDEO MAXIMUM MODE: VGA Adapter
   DISPLAY: Color Analog

If it is possible to do both ways. Which would be easier?

I checked out some minimalist distro listings, here's one example...

GNU Brutalware Linux
 
Website: http://hysteria.sk/brutalware/
Category: Minimalist 
Description: Floppy-based Linux distribution. It is designed to boot from 3
floppies on any MSDOS/Windows machine.

...

But I was wondering if anyone had done it and which distro they used.

Cheers,
Leke.



FREE learndirect courses for Merseyside SMEs and individual learners
Register at: http://www.connectbusinesscentre.com/learndirect/?mmf
See what you can achieve


---
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882alloc_id=15148op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] HTML address for new Help file.

2005-03-23 Thread Bernd Blaauw
Basil Holloway schreef:
Got this reply on forum and have not be able to locate the new Free Dos 9 help 
file
to replace the existing copy on the download program.
this is a known bug in htmlhelp program.  We don't really know what
the cause is, but a recompiled version using kitten library instead of
cats seems to fix it (and should be available somewhere, ask on
fd-user list if you can't find it)
Can anyone please advise download web address.
I have the fixed program, but will not redistribute it until next 
FreeDOS distro, as I need to provide proper credits to the patcher.
If anyone feels like creating a diff file, go ahead.

patch process and patch documentation by Robert Kircher.
-
Here is the source I used to build help.exe.  The files contained in this
archive already incorporate the changes below.
***WARNING***
The help.prj file is the original, unmodified project file.  It will *not*
build a working help.exe.
Here are the steps I used to compile a working help.exe.
I copied the CDROM to \CDROM.  Next I downloaded zlib from
http://www.gzip.org/zlib/zlib121.zip and kitten from
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/lang/libs/cats/kitten-b.zip
and placed them in my \XFER directory.
Note that I used Borland C++ 3.1.  I don't recall if Turbo C 2 has the
prj2mak utility.  If not then just change the build environment in the IDE
by adding kitten.c and removing cats/catdb.lib, or I could send you the
whole help.mak file.
1.  Create a build directory and change to it
md \build
cd \build
2. Unpack the help source
pkunzip /d \cdrom\freedos\packages\src_base\disk10\helps.zip
3. Create a zlib directory and change to it
md \build\zlib
cd \build\zlib
4. Unpack the zlib distribution
pkunzip /o /d \xfer\zlib121.zip
5. Build zlib
make -f msdos\makefile.bor
6. Copy the zlib header and lib files
copy zconf.h \build\source\help
copy zlib.h \build\source\help\unz
copy zlib_l.lib \build\source\help\unz
7. Go to the help src dir
cd \build\source\help
8. Create a makefile from the project file
prj2mak help.prj
9.  Edit the makefile:
   Change LIBPATH and INCLUDEPATH if appropriate; my compiler is in C:\BC
   Change line 37 from:
cats\catdb.lib
   to:
kitten.obj
   Add a '+' to the end of line 55 (unzip.obj -- unzip.obj+)
   then add a line just below it (before the line that says help by
   itself):
kitten.obj
   Delete line 60, cats\catdb.lib+
   Change cl.lib in (the new) line 60 to C:\BC\LIB\cl.lib  Note: this 
step
   shouldn't be needed but I've always had to do it in other projects; it
   should be handled by $LIBPATH but isn't always.

   Add a dependency line for kitten.c, around line 85:
kitten.obj: help.cfg kitten.c
   (make sure it's preceded and followed by a blank line)
   Save the makefile and exit the editor.
10.  Extract the kitten source and header files
pkunzip \xfer\kitten-b.zip
11.  Edit catdefs.h by changing line 4 from:
#include cats\catgets.h
to:
#include kitten.h
12. In kitten.c, add new line 23:
#include io.h /* open, read, close */
   then change the #if 1 to #if 0 in line 62.
13.  Build it
make -f help.mak
14.  Compress it
upx --best help.exe

---
This SF.net email is sponsored by Microsoft Mobile  Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r)  Windows Mobile(tm) platforms, applications  content.  Register
by 3/29  save $300 http://ads.osdn.com/?ad_id=6883alloc_id=15149op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: Re: [Freedos-user] HTML address for new Help file.

2005-03-23 Thread Kenneth J. Davis
Bernd Blaauw wrote:
Basil Holloway schreef:
Got this reply on forum and have not be able to locate the new Free 
Dos 9 help file
...
Can anyone please advise download web address.
I have the fixed program, but will not redistribute it until next 
FreeDOS distro, as I need to provide proper credits to the patcher.
If anyone feels like creating a diff file, go ahead.

...
I will put together the necessary changes and upload to ibiblio along 
with a compiled version by tommorow (as I already said I would).
For reference, help mirror on ibiblio is at
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/help/

Jeremy


---
This SF.net email is sponsored by Microsoft Mobile  Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r)  Windows Mobile(tm) platforms, applications  content.  Register
by 3/29  save $300 http://ads.osdn.com/?ad_id=6883alloc_id=15149op=click
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user