CosmOS pre-alpha and launchable application versions of old programs.

This commit is contained in:
Anachronaut
2026-08-17 15:31:49 -04:00
parent eff6902bcf
commit 91c9d49d1b
66 changed files with 5612 additions and 160 deletions
+10
View File
@@ -0,0 +1,10 @@
console mode ports
at start: 01 ready
key mode: 05 ready keys
what came in:
hi
at the end: 06 ended keys
line mode: 02 ended
Execution halted after 891 cycles.
[exit 0]
+14
View File
@@ -0,0 +1,14 @@
console test
byte hex: 00 0F A5 FF
word hex: 0000 03E8 FFFF
byte dec: 0 7 42 100 255
word dec: 0 9 10 255 1000 10001 65535
spaces: || |
lines read:
[hello] 5
[] 0
[SplitBit] 8
[a line that is f] 16
end of input
Execution halted after 6064 cycles.
[exit 0]
+25
View File
@@ -0,0 +1,25 @@
CosmOS
> dir list what is on the disk
load <file> read a program off the disk
run start what was loaded
dump sixty four bytes of memory, and again for more
dump <program|data|bank> <address>
help this
exit stop
> greeting.txt 17
filler1.txt 8
filler2.txt 8
filler3.txt 8
filler4.txt 8
filler5.txt 8
filler6.txt 8
filler7.txt 8
filler8.txt 8
across.txt 700
empty.txt 0
aName22CharactersLong! 22
12 files
> > I do not know: frobnicate
> halted
Execution halted after 12376 cycles.
[exit 0]
+23
View File
@@ -0,0 +1,23 @@
CosmOS
> dump <program|data|bank> <address>
> there is no such bank
> loaded, starting at 2000
> 2000 47 00 10 00 18 10 47 00 10 44 18 10 47 00 10 7A G.....G..D..G..z
2010 27 1F 18 11 47 00 10 5D 18 10 47 00 10 7A 18 10 '...G..]..G..z..
2020 47 00 10 65 18 10 18 12 00 00 00 00 00 00 00 00 G..e............
2030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> 2040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
2070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> 1000 61 20 70 72 6F 67 72 61 6D 2C 20 6C 6F 61 64 65 a program, loade
1010 64 20 6F 66 66 20 61 20 64 69 73 6B 2C 20 72 75 d off a disk, ru
1020 6E 6E 69 6E 67 20 6F 6E 20 74 68 65 20 73 79 73 nning on the sys
1030 74 65 6D 20 74 68 61 74 20 6C 6F 61 64 65 64 20 tem that loaded
> 0000 01 FF 00 00 00 00 00 00 01 FF 00 00 00 00 00 00 ................
0010 03 FF 08 00 00 00 00 00 01 20 01 00 00 00 00 00 ......... ......
0020 00 FF 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 ................
0030 00 FF 00 00 00 00 00 00 00 FF 00 00 00 00 00 00 ................
> halted
Execution halted after 23498 cycles.
[exit 0]
+9
View File
@@ -0,0 +1,9 @@
CosmOS
> loaded, starting at 2000
> Hello, World!
finished
> Hello, World!
finished
> halted
Execution halted after 2668 cycles.
[exit 0]
+873
View File
@@ -0,0 +1,873 @@
CosmOS
> loaded, starting at 2000
>  #
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
##
##

#
#
###

# #
##
#

#
# #
##

#
#
##

#
##

##
##
the board has settled
finished
>
halted
Execution halted after 11671206 cycles.
[exit 0]
+25
View File
@@ -0,0 +1,25 @@
CosmOS
> loaded, starting at 2000
>  #
#
###
stopped
finished
> >
halted
Execution halted after 26219 cycles.
[exit 0]
+7
View File
@@ -0,0 +1,7 @@
CosmOS
no filesystem on the disk
> no filesystem on the disk
>
halted
Execution halted after 636 cycles.
[exit 0]
+20
View File
@@ -0,0 +1,20 @@
CosmOS
> nothing is loaded
> greet.sbx 210
hello.sbx 52
Life.sbx 1411
notes.txt 21
4 files
> load what?
> no such file
> not a program
> loaded, starting at 2000
> a program, loaded off a disk, running on the system that loaded it
what should I call you? hello, Anachronaut. that is all I do.
finished
> a program, loaded off a disk, running on the system that loaded it
what should I call you? hello, Claude. that is all I do.
finished
> halted
Execution halted after 11647 cycles.
[exit 0]
+15
View File
@@ -0,0 +1,15 @@
greeting.txt 17
filler1.txt 8
filler2.txt 8
filler3.txt 8
filler4.txt 8
filler5.txt 8
filler6.txt 8
filler7.txt 8
filler8.txt 8
across.txt 700
empty.txt 0
aName22CharactersLong! 22
files: 12
Execution halted after 9498 cycles.
[exit 0]
+9
View File
@@ -0,0 +1,9 @@
stack reclaim test
at start: FFFF
spent: FFF7
reclaimed: FFFF
still good: 33
borrowed: 7 and 9
back home: FFFF
Execution halted after 1054 cycles.
[exit 0]
+8
View File
@@ -0,0 +1,8 @@
split: [dump] [program 2000]
split: [dir] []
same: yes no no no
hex: 2000 00FF 00FF BEEF FFFF 0000
0 is a fine way to begin a string
no number here
Execution halted after 2730 cycles.
[exit 0]