Settle the view before saying how the landing went
The console draws into the map and the map is what is being scrolled, so a message printed while the view was three pixels into a cell came out three pixels off the top, with as much of its first row missing as the cell above it had lost. The flying is over by then, so the fractional part of the view has no more work to do. Putting it back is what makes the whole message visible. This is not the general problem. A status bar that has to stay readable WHILE the map moves is a different thing entirely, and nothing here solves it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E2JrLzFvuFX9fgi1LDRjrW
This commit is contained in:
co-authored by
Claude Opus 5
parent
a074a831f0
commit
e3eccd17a8
@@ -801,6 +801,19 @@ touchdown:
|
||||
touchdownCrash:
|
||||
SETD.0 CrashedText
|
||||
touchdownStop:
|
||||
; ---- The view settled before anything is said ----
|
||||
;
|
||||
; The console draws into the map, and the map is what is being scrolled - so a message
|
||||
; printed while the view is three pixels into a cell comes out three pixels off the top,
|
||||
; with as much of its first row missing as the cell above it has lost.
|
||||
;
|
||||
; Nothing is being aligned for tidiness: the flying is over, so the fractional part of the
|
||||
; view has no more work to do, and putting it back is what makes the whole message visible.
|
||||
; A HUD that had to stay readable WHILE the map moved is a different problem - see the
|
||||
; CosmOS README - and this is not it.
|
||||
RSTA
|
||||
OUTA 0x37
|
||||
OUTA 0x38
|
||||
SWI osPrintString
|
||||
INIA 0x0A
|
||||
OUTA 0x00
|
||||
|
||||
Reference in New Issue
Block a user