Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ffjeld
committed
Jan 13, 2004
0 parents
commit 94b2413
Showing
114 changed files
with
47,630 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
###################################################################### | ||
## | ||
## Copyright (C) 1999, 2003-2004, | ||
## Department of Computer Science, University of Troms�, Norway | ||
## | ||
## Filename: COPYING | ||
## Description: Defines the terms under which this software may be copied. | ||
## Author: Frode Vatvedt Fjeld <frodef@acm.org> | ||
## Created at: Mon Nov 8 20:32:12 1999 | ||
## Distribution: See the accompanying file COPYING. | ||
## | ||
## $Id: COPYING,v 1.1 2004/01/13 11:04:59 ffjeld Exp $ | ||
## | ||
###################################################################### | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
|
||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
3. Neither the name of the University nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED | ||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
IN NO EVENT SHALL THE UNIVERSITY OR CONTRIBUTORS BE LIABLE FOR ANY | ||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE | ||
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER | ||
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
;;;;------------------------------------------------------------------ | ||
;;;; | ||
;;;; Copyright (C) 20012000, 2004, | ||
;;;; Department of Computer Science, University of Tromsø, Norway | ||
;;;; | ||
;;;; Filename: assembly-syntax.lisp | ||
;;;; Description: | ||
;;;; Author: Frode Vatvedt Fjeld <frodef@acm.org> | ||
;;;; Created at: Thu Nov 9 17:34:37 2000 | ||
;;;; Distribution: See the accompanying file COPYING. | ||
;;;; | ||
;;;; $Id: assembly-syntax.lisp,v 1.1 2004/01/13 11:04:59 ffjeld Exp $ | ||
;;;; | ||
;;;;------------------------------------------------------------------ | ||
|
||
(in-package movitz) | ||
|
||
(defstruct assembly-macro-environment | ||
(expanders (make-hash-table :test #'eq))) | ||
|
||
(defun assembly-macro-expander (symbol amenv) | ||
(gethash symbol (assembly-macro-environment-expanders amenv))) | ||
|
||
(defun (setf assembly-macro-expander) (expander symbol amenv) | ||
(setf (gethash symbol (assembly-macro-environment-expanders amenv)) | ||
expander)) | ||
|
||
;;;(defun assembly-macroexpand (prg amenv) | ||
;;; (cond | ||
;;; ((and (consp prg) (symbolp (car prg))) | ||
;;; (let ((expander (assembly-macro-expander (car prg) amenv))) | ||
;;; (if expander | ||
;;; (assembly-macroexpand (funcall expander prg) amenv) | ||
;;; #0=(cons (assembly-macroexpand (car prg) amenv) | ||
;;; (assembly-macroexpand (cdr prg) amenv))))) | ||
;;; ((consp prg) #0#) | ||
;;; (t prg))) | ||
|
||
(defun assembly-macroexpand (prg amenv) | ||
(loop for p in prg | ||
as expander = (and (consp p) | ||
(symbolp (car p)) | ||
(assembly-macro-expander (car p) amenv)) | ||
if expander | ||
append (funcall expander p) | ||
else if (consp p) | ||
append (list (assembly-macroexpand p amenv)) | ||
else append (list p))) | ||
|
||
;;;(defmacro with-assembly-syntax (&body body) | ||
;;; `(let ((*readtable* (copy-readtable nil))) | ||
;;; (set-dispatch-macro-character | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
############################################################### | ||
# bochsrc.txt file for DLX Linux disk image. | ||
############################################################### | ||
|
||
# how much memory the emulated machine will have | ||
megs: 32 | ||
|
||
# filename of ROM images | ||
#romimage: file=/usr/local/bochs/1.2.1/BIOS-bochs-latest, address=0xf0000 | ||
#vgaromimage: /usr/local/bochs/1.2.1/VGABIOS-elpin-2.40 | ||
romimage: file=../../tmp/bochs-cvs/bios/BIOS-bochs-latest, address=0xf0000 | ||
vgaromimage: ../../tmp/bochs-cvs/bios/VGABIOS-elpin-2.40 | ||
|
||
# what disk images will be used | ||
floppya: 1_44=los0-image, status=inserted | ||
#floppya: 1_44=grub, status=inserted | ||
#floppyb: 1_44=floppyb.img, status=inserted | ||
#diskc: file=hd10meg.img, cyl=306, heads=4, spt=17 | ||
#newharddrivesupport: enabled=1 | ||
|
||
# choose the boot disk. | ||
boot: a | ||
|
||
# where do we send log messages? | ||
log: bochsout.txt | ||
|
||
vga_update_interval: 100000 | ||
|
||
# disable the mouse, since DLX is text only | ||
mouse: enabled=0 | ||
|
||
ne2k: ioaddr=0x280, irq=9, mac=00:40:05:18:66:d8, ethmod=fbsd, ethdev=xl0 | ||
ne2k: ioaddr=0x300, irq=3, mac=00:40:05:18:66:d9, ethmod=fbsd, ethdev=xl0 | ||
|
||
# panic: action=report | ||
error: action=report | ||
# debug: action=report | ||
|
||
ips: 3000000 | ||
# com1: dev=/dev/ptypv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1882 |
Oops, something went wrong.