Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
x386 OS developed in Forth
Assembly Forth Python Makefile Other
branch: master

Fixed s2h awk regexp bug.

In Ubuntu 9.10 x64 the awk regexp used is invalid.
latest commit 1006fa790c
@jdinuncio authored
Failed to load latest commit information.
.gitignore Prettification of files.
LICENSE.txt Changes in documentation
Makefile Added note to Makefile.
README
boot.s Prettification of files.
floppy.orig.img isr now invoke a forth word as handler.
forth.h
forth2s.py Improved forth2s.py
forth_core.s Prettification of files.
forth_macros.s Prettification of files.
forth_words.s Prettification of files.
gdt.s Prettification of files.
idt.fth Added function to register isr hadlers.
irq.fth Improved forth2s.py
kbd_map.s Renamed words to lower case
kernel.fth Corrected bug in pit_init.
kernel_kbd.fth Improved forth2s.py
kernel_pit.fth
kernel_test.fth Corrected bug in pit_init.
kernel_video.fth Improved forth2s.py
kernel_words.fth Renamed words to lower case
link.ld Initial commit
s2h
test.fth Renamed words to lower case

README

FORTHOS:
========

A forth operative system (and, in the future, interpreter).

This is based on :
"A FORTH compiler and tutorial - a step-by-step implementation of a FORTH 
language system." on http://annexia.org/forth which is in public domain, and 
in Bran's Kernel Development Tutorial, by Brandon Friesen at 
http://www.osdever.net/bkerndev/Docs/title.htm

Port to nasm started by jdinuncio (José Dinuncio)
August (augustulus@freenet) tested the kernel with  qemu.


CURRENT STATUS:
===============

In this point, forthos initialize the GDT, IDT and PIT. It has drivers for 
text video and keyboard.


REQUIREMENTS:
=============

*) nasm
*) GNU make
*) python >= 2.4
*) qemu >= 0.11


GETTING FORTHOS:
================

To get forthos, you'll need git. You can get a copy from 
git@github.com:jdinuncio/forthos.git. In linux you can type:

    $ git clone git@github.com:jdinuncio/forthos.git


COMPILATION:
============

    $ cd forthos
    $ make clean
    $ make kernel
    $ make image


INSTALATION AND RUNNING:
========================

forthos runs as a virtual machine inside qemu. It doesn't need to be installed
and it doesn't touch any file outside its directory. To run it, type:

    $ make run


Something went wrong with that request. Please try again.