Skip to content

feat/DIR improvements, CD command, and cleanup#120

Merged
mbrukner merged 1 commit into
mainfrom
fix/slot5-reentry-and-cleanup
Apr 8, 2026
Merged

feat/DIR improvements, CD command, and cleanup#120
mbrukner merged 1 commit into
mainfrom
fix/slot5-reentry-and-cleanup

Conversation

@mbrukner

@mbrukner mbrukner commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

…word

Move IsDestructiveActionOK check out of module code (dos.asm) into warmstart.asm so it runs before slot 5 is paged in. The confirmation dialog calls EXTPrintCharacter/KNLGetSingleCharacter which do their own inc 8+5, double-incrementing slot 5 and executing from the wrong page — hanging the system.

Also change jmp EXTBootXA to jsr so the wrapper's dec 8+5 properly restores slot 5 when kernel.RunNamed returns (program not found).

Remove unused SIZE keyword from token table and tokeniser module.

…word

Move IsDestructiveActionOK check out of module code (dos.asm) into
warmstart.asm so it runs before slot 5 is paged in. The confirmation
dialog calls EXTPrintCharacter/KNLGetSingleCharacter which do their
own inc 8+5, double-incrementing slot 5 and executing from the wrong
page — hanging the system.

Also change jmp EXTBootXA to jsr so the wrapper's dec 8+5 properly
restores slot 5 when kernel.RunNamed returns (program not found).

Remove unused SIZE keyword from token table and tokeniser module.
@mbrukner mbrukner merged commit f06ff8b into main Apr 8, 2026
agurtovoy pushed a commit that referenced this pull request Apr 14, 2026
…word (#120)

Move IsDestructiveActionOK check out of module code (dos.asm) into
warmstart.asm so it runs before slot 5 is paged in. The confirmation
dialog calls EXTPrintCharacter/KNLGetSingleCharacter which do their
own inc 8+5, double-incrementing slot 5 and executing from the wrong
page — hanging the system.

Also change jmp EXTBootXA to jsr so the wrapper's dec 8+5 properly
restores slot 5 when kernel.RunNamed returns (program not found).

Remove unused SIZE keyword from token table and tokeniser module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant