- All tests passing
- Updated README and image - Added itoa to stdlib - Implemented modulus math for bcc which has none in the stdlib - Updated the build scripts to work on Ubuntu 22 - Added bochsrc with some useful overrides (new bochs bios in ubuntu is broken, use the legacy) - Made most of stdlib compile and run under GNU C for testing - Improved the tokenizer so it will return tokens of more than one character - Moved the basic parser from using void pointers to store values to using basic_value unions to represent possible types - Added tests for the basic tokenizer
This commit is contained in:
@@ -17,24 +17,27 @@ Right now, not much of anything at all. It boots from a 1.44mB floppy disk, and
|
||||
|
||||

|
||||
|
||||
Currently the BASIC only understands simple, 1-digit arithmetic expressions. But this will soon change; I intend to implement at least as many features as uBASIC, maybe QuickBASIC eventually.
|
||||
Currently the BASIC only understands simple arithmetic expressions. But this will soon change; I intend to implement at least as many features as uBASIC, maybe QuickBASIC eventually.
|
||||
|
||||
How can I run it?
|
||||
=====
|
||||
|
||||
You have to build it to run it. To build it, you need:
|
||||
You have to build it to
|
||||
run it. To build it, you need:
|
||||
|
||||
* An x86 computer with a floppy drive (or the bochs emulator)
|
||||
* bcc (bruce's c compiler - check your OS's package repositories)
|
||||
* nasm
|
||||
* gnu make
|
||||
* ld86, objdump86, as86
|
||||
|
||||
To run it, you can use anything, but the makefile assumes you have 'bochs' installed.
|
||||
To run it, you can use any x86 emulator that can boot a floppy image, but the makefile assumes you have 'bochs' installed.
|
||||
|
||||
make clean run
|
||||
|
||||
This will rebuild all of the sources and fire up the bochs emulator. Have fun.
|
||||
|
||||
|
||||
Developing & Testing
|
||||
=======
|
||||
|
||||
|
||||
Reference in New Issue
Block a user