80 lines
4.1 KiB
HTML
80 lines
4.1 KiB
HTML
<html>
|
|
<title>The Dream Scheme Operating System</title>
|
|
<div style="color:black; font-family:sans-serif;">
|
|
<h1>DreamOS</h1>
|
|
<font color="darkblue"><pre>
|
|
______________________________________________________________________________
|
|
| ____ |
|
|
| | \ |
|
|
| | \ __ ___ _____ __ ____ ____ _____ ______ |
|
|
| | | |/^\ / \ \ |/ \ / \ / \ / |
|
|
| | | | / \ ______| | | | | | \_____ |
|
|
| | | | |========= / | | | | | | \ |
|
|
| | / | \ | | | | | | | | |
|
|
| _|__/ _|_ \____/ \_____/| _|_ _|_ _|_ o \_____/ _____/ |
|
|
| |
|
|
| /^\ /^\ *=====================* |
|
|
| \ / ___________________________ \ / | || + |+ + || | |
|
|
| | |/ \| | | || + +| + || | |
|
|
| | | | | / ||------|------|| \ |
|
|
| | | _______________ | | |/\|| + +| + ||/\| |
|
|
| | |___________| z z z z |_| | __|______|______|__ |
|
|
| | |\ | z z z | \ | \_______________/ |
|
|
| | | \ | z z z | \ |
|
|
| | | \ |_______________| \ Written by David Stith |
|
|
| | | \ /_______________\ \ |
|
|
| | | \ |_________________| \ Ascii-art by Matthew Stith |
|
|
|_|_|__________\____________________________\________________________________|
|
|
</pre></font>
|
|
<hr>
|
|
<b>Download the latest version of DreamOS:</b> <a href="/cgi-bin/wiki_joey/dreamos20100101.tar.gz">dreamos20100101.tar.gz</a>
|
|
<hr>
|
|
On Linux, use the following to write to a floppy disk:
|
|
<pre>
|
|
gunzip dreamos20100101.tar.gz
|
|
tar -xvf dreamos20100101.tar
|
|
cd dreamos
|
|
dd if=dreamos.floppy of=/dev/fd0
|
|
</pre>
|
|
<hr>
|
|
Once you boot the floppy, you will find yourself in the read-eval-print loop of the Dream Scheme Interpreter.
|
|
<br>
|
|
Files are stored on the floppy disk using a rudimentary flat file system.
|
|
<br>
|
|
<b>(sys-file-list)</b> will return a list of their names.
|
|
<br>
|
|
The files "bootstrap.scm" and "init.scm" are loaded automatically when the Dream Scheme Interpreter starts.
|
|
<br>
|
|
There is a primitive clone of the 'vi' editor, coded in scheme in the file "edit.scm" (loaded automatically by "init.scm").
|
|
<br>
|
|
Type <b>(edit "README")</b> for example, and use the keys 'h', 'j', 'k', and 'l' for navigation, ':q' to quit.
|
|
<br>
|
|
All of the source scheme files are included.
|
|
<br>
|
|
<b>(load "make.scm")</b> will recompile.
|
|
<br>
|
|
<b>(sys-write-floppy)</b> will save changes to floppy (and only then).
|
|
<br>
|
|
<b>(sys-boot)</b> will reboot.
|
|
<br>
|
|
Have fun! :-)
|
|
<hr>
|
|
Hard-disk installation is possible. Do not call <b>(sys-save)</b> unless your hard-drive data is expendable!
|
|
<br>
|
|
To install on your hard-drive <font color="red">(but only do this if you don't mind overwriting your hard-drive entirely!)</font>:
|
|
<br>use <b>(sys-copy)</b> to read everything from the floppy into RAM,
|
|
<br>use <b>(edit "make.scm")</b> then change the value of BOOT_FLOPPY to #f,
|
|
<br>use <b>(load "make.scm")</b> to recompile,
|
|
<br>use <b>(sys-save 0)</b> to save the image to the hard drive, then eject the floppy and use <b>(sys-boot)</b> to reboot.
|
|
<hr>
|
|
This version works on my Dell Inspiron 7500, 5000 and Dell Latitude CPi laptops, but there is no telling whether it may work on anything else. Good luck!
|
|
<hr>
|
|
My son Matthew has used DreamOS to code a number of games.
|
|
Here is the latest copy of his programs: <a href="/cgi-bin/wiki_joey/matthew.img">matthew.img</a> (bootable DreamOS using SVGA)
|
|
<br>
|
|
Not all of them are yet in working order, but definitely try <b>(load "robot-war.scm")</b> and <b>(load "blockade.scm")</b>.
|
|
</div>
|
|
<a href="home.html">home</a>
|
|
|
|
</html>
|