Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Directory cleanup.

  • Loading branch information...
commit bc05fbc863b9acfdc49289667f4891d29a88a684 1 parent 78d0950
@hellige authored
View
12 Makefile
@@ -46,14 +46,14 @@ $(MAIN_O):out/%.o: $(MAIN_DIR)/%.c
colortest.img: colortest.dasm masm
./masm $< $@
-out/boot.img: goforth.dasm masm
+out/boot.img: forth/goforth.dasm masm
m4 $< > out/goforth.s
./masm out/goforth.s $@
-goforth.img: goforth.ft asm.ft disasm.ft out/boot.img dcpu
- cat goforth.ft | ./dcpu -k 10000 out/boot.img > /dev/null
- cat asm.ft | ./dcpu -k 10000 core.img > /dev/null
- cat disasm.ft | ./dcpu -k 10000 core.img > /dev/null
+goforth.img: forth/goforth.ft forth/asm.ft forth/disasm.ft out/boot.img dcpu
+ cat forth/goforth.ft | ./dcpu -k 10000 out/boot.img > /dev/null
+ cat forth/asm.ft | ./dcpu -k 10000 core.img > /dev/null
+ cat forth/disasm.ft | ./dcpu -k 10000 core.img > /dev/null
mv core.img $@
clean:
@@ -62,7 +62,7 @@ clean:
-rm -f out/goforth.s
spotless: clean
- -rm -f $(ALL_O:.o=.d)
+ -rm -rf out
-include $(ALL_O:.o=.d)
View
0  font.bmp → emulator/font.bmp
File renamed without changes
View
0  asm.ft → forth/asm.ft
File renamed without changes
View
0  disasm.ft → forth/disasm.ft
File renamed without changes
View
0  goforth.dasm → forth/goforth.dasm
File renamed without changes
View
0  goforth.ft → forth/goforth.ft
File renamed without changes
View
15 quine.dasm
@@ -1,15 +0,0 @@
-; this is a dcpu-16 machine code quine: it replicates itself into the
-; immediately following ram and then continues executing into the new
-; copy. of course it eventually fills ram with copies of itself and
-; wraps, and will run forever.
-;
-; this quine is 9 words long. can you define a shorter one?
-
- set a, pc
- sub a, 1
- set b, a
- add b, 9
- set [9+a], [a]
- add a, 1
- ifn a, b
- sub pc, 5
View
0  swapend → scripts/swapend
File renamed without changes
View
0  toasm → scripts/toasm
File renamed without changes
View
0  tohex → scripts/tohex
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.