VT52 auf dem Atari ST oder ein Offset von (32,32)

Dinge, die Devs an den Rand – bzw. Tage kosten können (weil einfach nicht an sowas denkt, sondern an den eigenen Fehler) – bringen können. https://freemint.github.io/tos.hyp/en/VT_52_terminal.html#Goto_pos

3.8.20 Goto_pos

Name:»Set cursor position« – Position the cursor.
 
Declaration:#define Goto_pos(x,y) (Cconws(„\33Y“),Cconout(‚ ‚+y),Cconout(‚ ‚+x))
 
Description:With ‚Set cursor position‘ one can position the cursor in the x-th line and y-th column. Please note that the count starts at 32 (the screen has coordinates (32,32) at the upper left of the screen). That is why 32 (spaces) were added in the above macro, so that the count can start at 0 when using the macro.
 
See also:Escape sequences   VT-52 terminal

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert