diff options
author | Alexis211 <alexis211@gmail.com> | 2009-12-09 15:48:39 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-12-09 15:48:39 +0100 |
commit | 7471d467fed21671f2f4549446249de7e3a7d578 (patch) | |
tree | fd643abf459e2d8dae9957c18a812ef6c423f587 /Source/Library/Interface/VirtualTerminal.iface.h | |
parent | 7c6d20a31acfa2c7ff8c6cec42257af0058f1b7f (diff) | |
download | Melon-7471d467fed21671f2f4549446249de7e3a7d578.tar.gz Melon-7471d467fed21671f2f4549446249de7e3a7d578.zip |
Change on memory handling, and .iface.h files documented.
Diffstat (limited to 'Source/Library/Interface/VirtualTerminal.iface.h')
-rw-r--r-- | Source/Library/Interface/VirtualTerminal.iface.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/Source/Library/Interface/VirtualTerminal.iface.h b/Source/Library/Interface/VirtualTerminal.iface.h index c7e75e8..e0f59d5 100644 --- a/Source/Library/Interface/VirtualTerminal.iface.h +++ b/Source/Library/Interface/VirtualTerminal.iface.h @@ -4,24 +4,25 @@ #define VTIF_OBJTYPE 0x10 //S = static, GET = get, PR = process, IN/OUT : in/out, VT = virtualterminal -#define VTIF_SGETPRINVT 6 -#define VTIF_SGETPROUTVT 7 +#define VTIF_SGETPRINVT 6 //Get process input virtual terminal (R) | no arguments +#define VTIF_SGETPROUTVT 7 //Get process output virtual terminal (R) | no arguments -#define VTIF_PUT 0x01 -#define VTIF_WRITEHEX 0x02 -#define VTIF_WRITEDEC 0x03 -#define VTIF_WRITE 0x04 +#define VTIF_PUT 0x01 //Put one character to virtual terminal (v) | c:character +#define VTIF_WRITEHEX 0x02 //Write a number in hexadecimal (v) | i:number +#define VTIF_WRITEDEC 0x03 //Write a number in decimal (v) | j:number, J:number +#define VTIF_WRITE 0x04 //Write a string (v) | S:string -#define VTIF_READLINE 0x05 -#define VTIF_GETKEYPRESS 0x06 //Takes two flags : 1<<0 = show, 1<<1 = block +#define VTIF_READLINE 0x05 //Reads a line from virtual terminal (S) : b:show? +#define VTIF_GETKEYPRESS 0x06 //Get a keypress from virtual terminal (*) : i:flags + //Takes two flags : 1<<0 = show, 1<<1 = block -#define VTIF_SETCOLOR 0x10 -#define VTIF_SETCSRLINE 0x11 -#define VTIF_SETCSRCOL 0x12 -#define VTIF_ISBOXED 0x13 +#define VTIF_SETCOLOR 0x10 //Set text color (v) | i:foreground_color, i:backgrond_color +#define VTIF_SETCSRLINE 0x11 //Set cursor line (v) | i:line +#define VTIF_SETCSRCOL 0x12 //Set cursor column (v) | i:column +#define VTIF_ISBOXED 0x13 //Is VT boxed ? (b) | no arguments -#define VTIF_GETHEIGHT 0x1A -#define VTIF_GETWIDTH 0x1B -#define VTIF_LOCATE 0x1C //Takes line, col and sets cursor position +#define VTIF_GETHEIGHT 0x1A //Get VT width (i) | no arguments +#define VTIF_GETWIDTH 0x1B //Get VT height (i) | no arguments +#define VTIF_LOCATE 0x1C //Sets cursor position (v) | i:line, i:column #endif |