Files
SplitBit-Emulator/Tests/lint-baseline.txt
T
Anachronaut 87d819847e A program can say how it went
SWI osExit takes a status in A, and the shell keeps it. Fifty eight exits
across twenty three programs now say deliberately whether they worked: 25
did what they were asked, 24 did not, 9 were asked wrongly. Compare is the
exception and says so - one there means the files differ, which is a result
rather than a failure, the way diff has always had it.

IN A RATHER THAN Q, which is not a departure from the rule that a service
answers in Q. This one takes an ARGUMENT, the way osPrintNumber takes A and
B, and it never returns to answer anything. A is free precisely because a
return would have put it back - and Q is the ALU's output, so a small
number costs four instructions there against one in A.

The shell does not print it. A program that failed has already said so in
words and a number beside that is noise, so osLastStatus hands it back and
Status is the program that shows it. That indirection is the point: the
number exists for the thing that cannot read words.

MARKING THE EXITS FOUND A DEFECT ON THE FIRST RUN. Type and More printed
why they had failed and then fell through into the success exit, reporting
that all was well. Nobody had noticed, because while the only reader was a
person, the person could see both the complaint and the claim.

Two smaller things. Snake sets the console to line mode and then exits with
zero, and the linter flagged the second RSTA as redundant - an exit status
and a console mode, equal by accident, which is the class that must never
be collapsed. And the README still taught answering by writing into the
frame, three months of habit that SRET replaced yesterday; that section is
gone and the one describing SRET stands in its place.
2026-08-27 19:16:21 -04:00

34 lines
1.7 KiB
Plaintext

Programs/Boot/slotData.asm redundant-setd 1
Programs/Boot/stage1.asm redundant-setd 2
Programs/Boot/stage2.asm redundant-setd 1
Programs/CosmOS/Apps/Copy.asm redundant-setd 2
Programs/CosmOS/Apps/Edit.asm redundant-setd 3
Programs/CosmOS/Apps/Status.asm redundant-setd 1
Programs/CosmOS/Apps/Wander.asm redundant-setd 1
Programs/CosmOS/Assembler/Asm.asm redundant-assignment 2
Programs/CosmOS/Assembler/Asm.asm redundant-setd 8
Programs/CosmOS/Assembler/classify.asm redundant-assignment 2
Programs/CosmOS/Assembler/classify.asm redundant-setd 6
Programs/CosmOS/Assembler/readTest.asm redundant-setd 1
Programs/CosmOS/Assembler/token.asm redundant-assignment 4
Programs/CosmOS/Assembler/token.asm redundant-setd 2
Programs/CosmOS/Assembler/tokenTest.asm redundant-setd 1
Programs/CosmOS/Source/config.asm redundant-assignment 1
Programs/CosmOS/Source/cosmos.asm redundant-assignment 1
Programs/CosmOS/Source/cosmos.asm redundant-setd 9
Programs/CosmOS/Source/sbfs.asm branch-to-next 1
Programs/CosmOS/Source/sbfs.asm redundant-assignment 4
Programs/CosmOS/Source/sbfs.asm redundant-setd 1
Programs/CosmOS/Source/text.asm redundant-setd 2
Programs/Loader/loader.asm redundant-assignment 1
Programs/testPrograms/branchTest.asm redundant-assignment 1
Programs/testPrograms/branchTest.asm redundant-ccf 1
Programs/testPrograms/controllerWriteTest.asm branch-to-next 1
Programs/testPrograms/diagnostics/duplicateLabel.asm branch-to-next 1
Programs/testPrograms/diskTest.asm redundant-assignment 1
Programs/testPrograms/dispatchTest.asm branch-to-next 1
Programs/testPrograms/fenceTest.asm redundant-assignment 1
Programs/testPrograms/moveQTest.asm redundant-ccf 1
Programs/testPrograms/rawCallAndOffsets.asm redundant-assignment 1
Programs/testPrograms/waitTest.asm redundant-assignment 1