Wayback 20101013111425

www.stripedgazelle.org/joey/dreamos.html
This commit is contained in:
Lassi Kortela 2023-02-22 15:42:43 +02:00
parent c923dd1532
commit c11614b8e8
1 changed files with 24 additions and 9 deletions

View File

@ -27,17 +27,25 @@ ______________________________________________________________________________
|_|_|__________\____________________________\________________________________|
</pre></font>
<hr>
<b>Download the latest version of DreamOS:</b> <a href="/cgi-bin/wiki_joey/dreamos20080925.img">dreamos20080925.img</a>
<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>
On Linux, use <b>dd if=dreamos.img of=/dev/fd0</b> to write to a floppy disk.
<br>
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>
The file "bootstrap.scm" is loaded automatically when the Dream Scheme Interpreter starts.
<b>(sys-file-list)</b> will return a list of their names.
<br>
There is a primitive clone of the 'vi' editor, still under construction, coded in scheme in the file "edit.scm" (loaded automatically by "bootstrap.scm").
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>
@ -52,12 +60,19 @@ All of the source scheme files are included.
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 (but only do this if you don't mind overwriting your hard-drive entirely!) change the value of BOOT_FLOPPY to #f in make.scm, recompile with <b>(load "make.scm")</b>, then <b>(sys-save 0)</b>.
<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 (using SVGA graphics, 1024x768, in 16 bit color), but there is no telling whether it may work on anything else. Good luck!
To recompile for VGA alphanumeric mode change the value of SVGA to #f in make.scm then recompile as described above.
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>