home .. forth .. colorforth mail list archive ..

[colorforth] Success...my first boot screen


Open mouth, insert foot, chew vigorously. Sorry about that.

4word runs in flat real mode from a bare DOS boot only (no DOS hi-memory
managers) for 32-bit memory access.

4word still runs and executes in real mode, if a memory manager is present, but
is limited to 64k (more than enough room for basic development). Thus it does
run in a DOS box under Win9x and NT. Possibly DOSEMU under Linux but have never
tested it.

Downsides to flat real mode are as noted above, 32 bit operand prefixes take up
about 5% overall more code space and 32-bit flat addressing of memory is
referenced relative to the current segment.

Regards,
Terry Loveall


----- Original Message -----
From: "t" <loveall@xxxxxxxxx>
To: "colorforth List Member" <colorforth@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, July 10, 2002 7:48 AM
Subject: [colorforth] Success...my first boot screen


> For a working example of a 32-bit implementation of flat real mode see my
4word
> color forth
> http://www.users.qwest.net/~loveall/binary/4word18.zip
> with a slightly stronger version of round-robin multi-tasking, BIOS character
> I/O and DOS file interface. No networking, but it runs on all X86 cpus from
the
> 386 to PII, on DOS, Win 9x and NT DOS boxes.
>
> Regards,
> Terry Loveall
>
> ----- Original Message -----
> From: "Myron Plichota" <myron.plichota@xxxxxxxxxxxx>
> To: "colorforth List Member" <colorforth@xxxxxxxxxxxxxxxxxx>
> Sent: Wednesday, July 10, 2002 6:35 AM
> Subject: [colorforth] Success...my first boot screen
>
>
> > Mark Slicker wrote:
> >
> > >
> > > There exists a flat 32-bit real mode, I just found out about this. See:
> > >
> > > http://www.nondot.org/sabre/os/files/ProtectedMode/FLAT.txt
> > >
> > > With this you can make bios calls, and run 32-bit code.
> > >
> > > I might try to make a colorForth version in flat real mode with bios
calls
> > > for floppy and video. There should be no difference in functionality,
> > > except hopefully this will work on many more machines.
> > >
> >
> > This looks promising. It's too bad that not even the Intel documentation
> > fully advertises all the tricks you can do with 386+ processors,
> > although it does hint at such things.
> >
> > Hopefully the BIOS will not mess up the situation somehow. It would be a
> > fantastic breakthrough to achieve hardware independence for ColorForth.
> >
> > I suspect that things are not quite so simple and that unattractive
> > compromises will be necessary, but it seems worth experimenting along
> > these lines.
> >
> > Myron Plichota
> ------------------------
>
> To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
> unsubscribe ColorForth
> as the first and only line within the message body
> Problems   -   List-Admin@xxxxxxxxxxxxxxxxxx
> Main ColorForth site   -   http://www.colorforth.com
> Wiki page http://kristopherjohnson.net/wiki/ColorForth
> ColorForth index http://www.users.qwest.net/~loveall/c4index.htm
>
>
------------------------

To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
unsubscribe ColorForth
as the first and only line within the message body
Problems   -   List-Admin@xxxxxxxxxxxxxxxxxx
Main ColorForth site   -   http://www.colorforth.com
Wiki page http://kristopherjohnson.net/wiki/ColorForth
ColorForth index http://www.users.qwest.net/~loveall/c4index.htm