Fixed assembler bug that caused crash on IR array resize. Added line editor app.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
0000 0001 0001 0002 0003 0005 0008 000D 0015 0022 0037 0059 0090 00E9 0179 0262 03DB 063D 0A18 1055 1A6D 2AC2 452F 6FF1
|
||||
Execution halted after 2534 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -222,5 +222,5 @@
|
||||
|
||||
|
||||
|
||||
Execution stopped after 3000000 cycles. (cycle limit reached)
|
||||
Execution stopped. (cycle limit reached)
|
||||
[exit 0]
|
||||
|
||||
@@ -222,5 +222,5 @@
|
||||
|
||||
|
||||
|
||||
Execution stopped after 3000000 cycles. (cycle limit reached)
|
||||
Execution stopped. (cycle limit reached)
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
00000000 00000001 00000001 00000002 00000003 00000005 00000008 0000000D 00000015 00000022 00000037 00000059 00000090 000000E9 00000179 00000262 000003DB 0000063D 00000A18 00001055 00001A6D 00002AC2 0000452F 00006FF1 0000B520 00012511 0001DA31 0002FF42 0004D973 0007D8B5 000CB228 00148ADD 00213D05 0035C7E2 005704E7 008CCCC9 00E3D1B0 01709E79 02547029 03C50EA2 06197ECB 09DE8D6D 0FF80C38 19D699A5 29CEA5DD 43A53F82 6D73E55F
|
||||
Execution halted after 10610 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
0 1 1 2 3 5 8 13 21 34 55 89 144 233
|
||||
Execution halted after 1506 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251
|
||||
Execution halted after 54061 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Fault: The device on port 233 refused the access at Program Address 0x001D, and nothing is installed to deal with it.
|
||||
O
|
||||
Execution halted after 16 cycles.
|
||||
Execution halted.
|
||||
[exit 1]
|
||||
|
||||
@@ -3,5 +3,5 @@ blitted
|
||||
DE AD
|
||||
untouched
|
||||
ABABCDEFGH
|
||||
Execution halted after 464 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
QAB C qab c
|
||||
9876543210
|
||||
Execution halted after 176 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -3,5 +3,5 @@ asked for: 0D ready keys interrupts
|
||||
what arrived:
|
||||
keys
|
||||
at the end: 02 ended
|
||||
Execution halted after 1597 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -6,5 +6,5 @@ hi
|
||||
|
||||
at the end: 06 ended keys
|
||||
line mode: 02 ended
|
||||
Execution halted after 891 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -10,5 +10,5 @@ lines read:
|
||||
[SplitBit] 8
|
||||
[a line that is f] 16
|
||||
end of input
|
||||
Execution halted after 6064 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
DE AD BE EF
|
||||
01 FF
|
||||
00 00
|
||||
Execution halted after 315 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -2,5 +2,5 @@ AA BB
|
||||
readonly
|
||||
nobank
|
||||
done
|
||||
Execution halted after 245 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
CosmOS
|
||||
> dir list what is on the disk
|
||||
load <file> read a program off the disk
|
||||
run start what was loaded
|
||||
run [words] start what was loaded, and tell it those words
|
||||
delete <file> take it off the disk
|
||||
rename <file> <to> call it something else
|
||||
dump sixty four bytes of memory, and again for more
|
||||
dump <program|data|bank> <address>
|
||||
help this
|
||||
@@ -21,5 +23,5 @@ aName22CharactersLong! 22
|
||||
12 files
|
||||
> > I do not know: frobnicate
|
||||
> halted
|
||||
Execution halted after 12376 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -19,5 +19,5 @@ CosmOS
|
||||
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 23512 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
CosmOS
|
||||
> loaded, starting at 2000
|
||||
> poem.txt, 0 lines
|
||||
> : : : : > : : > 1: alpha
|
||||
2: INSERTED
|
||||
3: beta
|
||||
4: gamma
|
||||
> : > > 1: CHANGED
|
||||
2: INSERTED
|
||||
3: beta
|
||||
> written, 22 bytes
|
||||
> finished
|
||||
> poem.txt, 3 lines
|
||||
> 1: CHANGED
|
||||
2: INSERTED
|
||||
3: beta
|
||||
> there is no such line
|
||||
> finished
|
||||
> halted
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
@@ -0,0 +1,17 @@
|
||||
CosmOS
|
||||
> one.txt 13
|
||||
two.txt 14
|
||||
2 files
|
||||
> renamed
|
||||
> first.txt 13
|
||||
two.txt 14
|
||||
2 files
|
||||
> gone
|
||||
> two.txt 14
|
||||
1 file
|
||||
> no such file
|
||||
> rename what to what?
|
||||
> there is no such file, or that name is taken
|
||||
> halted
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
@@ -5,5 +5,5 @@ finished
|
||||
> Hello, World!
|
||||
finished
|
||||
> halted
|
||||
Execution halted after 2702 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -13,5 +13,5 @@ FE10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
||||
FE20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
||||
FE30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
|
||||
> halted
|
||||
Execution halted after 10055 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -869,5 +869,5 @@ the board has settled
|
||||
finished
|
||||
>
|
||||
halted
|
||||
Execution halted after 11671230 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -21,5 +21,5 @@ stopped
|
||||
finished
|
||||
> >
|
||||
halted
|
||||
Execution halted after 26243 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -3,5 +3,5 @@ no filesystem on the disk
|
||||
> no filesystem on the disk
|
||||
>
|
||||
halted
|
||||
Execution halted after 636 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -5,8 +5,9 @@ hello.sbx 52
|
||||
Life.sbx 1411
|
||||
Snake.sbx 2175
|
||||
Keys.sbx 663
|
||||
Say.sbx 155
|
||||
notes.txt 21
|
||||
6 files
|
||||
7 files
|
||||
> load what?
|
||||
> no such file
|
||||
> not a program
|
||||
@@ -18,5 +19,5 @@ finished
|
||||
what should I call you? hello, Claude. that is all I do.
|
||||
finished
|
||||
> halted
|
||||
Execution halted after 14083 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
CosmOS
|
||||
> loaded, starting at 2000
|
||||
> nothing was said
|
||||
finished
|
||||
> it says: notes.txt
|
||||
finished
|
||||
> it says: a longer thing with spaces
|
||||
finished
|
||||
> halted
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
@@ -289,5 +289,5 @@ you ran into something
|
||||
finished
|
||||
>
|
||||
halted
|
||||
Execution halted after 1910693 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
ABCZ
|
||||
Execution halted after 21 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
O
|
||||
K
|
||||
!
|
||||
Execution halted after 19 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
04
|
||||
04
|
||||
06
|
||||
Execution halted after 114 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
00
|
||||
from the disk
|
||||
02
|
||||
Execution halted after 245 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -2,5 +2,5 @@ one
|
||||
two
|
||||
three
|
||||
done
|
||||
Execution halted after 126 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
O
|
||||
K
|
||||
Execution halted after 17 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Fault: 0xFE at Program Address 0x0002 is not an instruction.
|
||||
Execution halted after 2 cycles.
|
||||
Execution halted.
|
||||
[exit 1]
|
||||
|
||||
@@ -4,5 +4,5 @@ caught 01FC
|
||||
read ok
|
||||
lowered ok
|
||||
fenced 05
|
||||
Execution halted after 535 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Hello, World!
|
||||
Execution halted after 70 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Input Test: Will echo anything you put in.
|
||||
Hello SplitBit
|
||||
Execution halted after 406 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Input Test: Will echo anything you put in.
|
||||
Hello SplitBit
|
||||
Execution halted after 406 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
00 00 00 00 01
|
||||
1
|
||||
Execution halted after 4707 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ready
|
||||
trap
|
||||
device
|
||||
Execution halted after 105 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
OKC
|
||||
Execution halted after 19 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
loader
|
||||
loaded off a disk, with a string and a loop of its own
|
||||
Execution halted after 1098 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
before
|
||||
loaded
|
||||
back
|
||||
Execution halted after 132 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Fault: The device on port 16 interrupted at Program Address 0x0019, and hardware vector 16 has no handler installed.
|
||||
M
|
||||
S
|
||||
Execution halted after 16 cycles.
|
||||
Execution halted.
|
||||
[exit 1]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
0000 0032
|
||||
Execution halted after 1134 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
AAA
|
||||
Execution halted after 24 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
00 31
|
||||
Execution halted after 78 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -3,5 +3,5 @@ twenty
|
||||
sixty three
|
||||
automatic
|
||||
done
|
||||
Execution halted after 272 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Hello
|
||||
World
|
||||
H
|
||||
Execution halted after 79 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Hello, World!
|
||||
42 is the great answer.
|
||||
Execution halted after 295 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -9,5 +9,5 @@ Testing printByteHex...
|
||||
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF
|
||||
|
||||
Testing complete!
|
||||
Execution halted after 71185 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Fault: The device on port 17 refused the access at Program Address 0x000A, and nothing is installed to deal with it.
|
||||
O
|
||||
Execution halted after 6 cycles.
|
||||
Execution halted.
|
||||
[exit 1]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
caught
|
||||
caught
|
||||
done
|
||||
Execution halted after 136 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -3,5 +3,5 @@ flags 01
|
||||
5A 5A
|
||||
refused
|
||||
refused
|
||||
Execution halted after 443 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
10 10 00
|
||||
FF 01 00
|
||||
05 00 00
|
||||
Execution halted after 440 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
here.txt 0002 already here
|
||||
doc.txt 0003 first draft
|
||||
doc.txt 0004 a second draft, which is longer than the first
|
||||
notes.txt 0004 a second draft, which is longer than the first
|
||||
doc.txt gone
|
||||
notes.txt gone
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
@@ -3,5 +3,5 @@ across.txt 0002 BC ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHI
|
||||
aName22CharactersLong! 0000 16 exactly twenty two!!!!
|
||||
empty.txt 0000 00
|
||||
absent.txt missing
|
||||
Execution halted after 19230 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -11,5 +11,5 @@ across.txt 700
|
||||
empty.txt 0
|
||||
aName22CharactersLong! 22
|
||||
files: 12
|
||||
Execution halted after 9498 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
here.txt 0002 already here
|
||||
first.txt 0003 written by SplitBit itself
|
||||
second.txt 0004 and a second one after it
|
||||
Execution halted after 5888 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
OK
|
||||
Execution halted after 14 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -5,5 +5,5 @@ reclaimed: FFFF
|
||||
still good: 33
|
||||
borrowed: 7 and 9
|
||||
back home: FFFF
|
||||
Execution halted after 1054 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -2,5 +2,5 @@ one
|
||||
two
|
||||
three
|
||||
AFTER
|
||||
Execution halted after 122 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Fault: Software vector 20, dispatched from Program Address 0x0008, has no handler installed.
|
||||
O
|
||||
Execution halted after 5 cycles.
|
||||
Execution halted.
|
||||
[exit 1]
|
||||
|
||||
@@ -4,5 +4,5 @@ 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.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Two pointers, no stack shenanigans.
|
||||
Execution halted after 395 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
OK!
|
||||
good
|
||||
AFTER
|
||||
Execution halted after 77 cycles.
|
||||
Execution halted.
|
||||
[exit 0]
|
||||
|
||||
Reference in New Issue
Block a user