the pip(needs proper name) program loader and the example program

This commit is contained in:
minjaesong
2021-12-01 16:15:42 +09:00
parent 065dfdac6f
commit 55113ff11f
7 changed files with 4101 additions and 10 deletions

View File

@@ -0,0 +1,19 @@
Nuke comments until no match left:
/\*[ -~\n]+?\*/|//[^\n]*
then do:
\n *\n+
replace into
\n
until no match left
(4 spaces)
replace into
\t

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +0,0 @@
println("Hello, Personal Information Processor!")
while (1) {
for (let i = 0; i <= 160*140; i++) {
sys.poke(-1048576 - i, Math.round(Math.random()*15));
}
}

BIN
assets/bios/pipboot.rom Normal file

Binary file not shown.

View File

@@ -1 +1,4 @@
10 PRINT "HAI!"
10 FOR K = 0 TO (160*140)
20 POKE(-1048576-K, INT(RND(1)*16))
30 NEXT
40 GOTO 10