flat assembler
Message board for the users of flat assembler.
Index
> Linux > screen control and a very old post |
Author |
|
JohnFound 27 Jan 2015, 16:57
Code: ESC=27 |
|||
27 Jan 2015, 16:57 |
|
gens 27 Jan 2015, 18:05
a list of escape codes for a "normal" terminal
http://www.climagic.org/mirrors/VT100_Escape_Codes.html ESC is in man ascii |
|||
27 Jan 2015, 18:05 |
|
Rem- 28 Jan 2015, 05:58
It's the first time I use FASM and this code works well!
Code: ----------------------[clear_screen]------------------------------------ ESC equ 1bh clear_screen: db ESC,"[2J" ; screen clearing sequence clear_screenSize = $-clear_screen ------------------------------------------------------------------------ ----------------------[clear_screen2]----------------------------------- clear_screen2: db 1bh,"[2J" ; screen clearing sequence clear_screenSize2 = $-clear_screen2 ------------------------------------------------------------------------ ---------------------[cursor_position]---------------------------------- cursor_position: db 1bh,"[5;1HMy message is here",10 ; row 5, column 1 cursor_positionSize = $-cursor_position ------------------------------------------------------------------------ -----------------------[text_color]------------------------------------- text_color db 1bh,"[0;31;40mHello world!",10 ; red color text_colorSize = $-text_color ------------------------------------------------------------------------ More info here --> http://bogdro.ciki.me/linux/tryb_txt_linux_en.html |
|||
28 Jan 2015, 05:58 |
|
Endre 28 Jan 2015, 09:13
The link
|
|||
28 Jan 2015, 09:13 |
|
MajorDill 29 Jan 2015, 06:10
that got it...thanks
|
|||
29 Jan 2015, 06:10 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.