Code Monkey home page Code Monkey logo

benos's Introduction

BenOS: a 32-bit Forth operating system

I wrote this little 32-bit Forth "operating system" when I was 16 (in 1998), and am now putting it online for anyone interested. I'm releasing it under a permissive MIT license.

It includes a Forth cross-compiler (stolen from Gforth), the OS's "subroutine threaded" Forth interpreter, and simple device drivers written in a combination of Forth and 386 assembly. Oh, and the boot sector code, written in 8086 assembly.

See the *.TXT files for documentation. Some interesting ones:

  • FIND.TXT: describes the Forth word find routines and data structures
  • KEY.TXT: discusses the keyboard driver code
  • MALLOC.TXT: describes the (very simple) memory allocation routines
  • PRIMS.TXT: talks about the primitive Forth words and the threading and register model
  • TASKING.TXT: briefly describes the OS's cooperative mulitasking routines

Related projects:

  • Third, my 16-bit Forth compiler for DOS
  • FE, my Dad's Forth Editor that I wrote all this code in

Original README.TXT copied below:


BenOS v1.0aaa (c) Benjamin Hoyt 1998 -- triple alpha trial release

To install BenOS on a floppy disk insert a 1.44mb disk into drive A
and type DODISK. This will copy the necessary stuff onto the floppy,
and if a bunch of success messages are displayed, you are ready to
boot. Simply keep the disk in the drive and reset your machine!

The BenOS project was started in the latter part of the nineteen
hundred and ninety-seventh year after the birth of Christ, and now
over half a year later it is FAR from complete. The aforementioned
designer and programmer (yours truly) is a 16 year old who has coded
this beast in spare time.  Basically the project is a laughable
learning experience for the author. Coded in the author's own 32 bit
Forth target compiler and assembler, BenOS is designed for speed and
simplicity. For more information about the author or about BenOS,
contact him via the email address given below.

You are very welcome to give this package to any friends who may wish
a copy. Be sure you include all seven of these files!

Please note: NO guarantees come with this triple alpha trial release
package. If you or your computer suddenly internally combust the
author does not want to know about it (but don't worry, they say
internal combustion is a very quick and painless process). If
anything you think are my bugs occur please inform me about them.

Thank you!

Ben Hoyt   email: <see my homepage for up-to-date contact info>

benos's People

Contributors

benhoyt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.