| Include file for Proteus console functions |
; Include file for Proteus console functions ; **** Parameters for DISPSET/DISPGET **** ; X offset CONST DISP_XSTART 0 ; Y offset CONST DISP_YSTART 1 ; cursor type CONST DISP_CURSOR 2 ; X cursor position CONST DISP_CURX 3 ; Y cursor position CONST DISP_CURY 4 ; viewport columns CONST DISP_MAXCOL 5 ; viewport rows CONST DISP_MAXROW 6 ; text colour CONST DISP_FOREG 7 ; unselected text colour CONST DISP_UNSFG 8 ; selected text colour CONST DISP_SELFG 9 ; background colour CONST DISP_BACKG 10 ; selected background colour CONST DISP_SELBG 11 ; text colour for buttons CONST DISP_BUTFG 12 ; background colour for buttons CONST DISP_BUTBG 13 ; text colour for selected buttons CONST DISP_SBUTFG 14 ; background colour for selected buttons CONST DISP_SBUTBG 15 ; text colour for title CONST DISP_TITLEFG 16 ; background colour for title CONST DISP_TITLEBG 17 ; default justification type CONST DISP_JUST 18 ; default justification length CONST DISP_JLEN 19 ; enable/disable scoreboard CONST DISP_SCORE 20 ; scoreboard text colour CONST DISP_SCRFG 21 ; scoreboard background colour CONST DISP_SCRBG 22 ; scoreboard X position CONST DISP_SCRX 23 ; scoreboard Y position CONST DISP_SCRY 24 ; scoreboard length CONST DISP_SCRLEN 25 ; justification type for scoreboard CONST DISP_SCRJUST 26 ; enable/disable frames CONST DISP_FRAME 27 ; frame text colour CONST DISP_FRAMEFG 28 ; frame background colour CONST DISP_FRAMEBG 29 ; frame characters CONST DISP_FRAMECH 30 ; 3D effect on frame CONST DISP_FRAME3D 31 ; selection character in lists CONST DISP_LISTSEL 32 ; shadow type/status for box CONST DISP_SHADOW 33 ; fill character CONST DISP_PATTERN 34 ; blink status CONST DISP_BLINK 35 ; sound status CONST DISP_SOUND 36 ; characters for indicator and lift CONST DISP_THUMBCH 37 ; enable automatic wrap at end-of-line CONST DISP_EOLWRAP 38 ; **** Options for DISP_CURSOR **** ; no cursor CONST DISP_CUR_OFF 0 ; big cursor CONST DISP_CUR_BIG 1 ; small cursor CONST DISP_CUR_SMALL 2 ; **** Colours **** ; black CONST BLACK 0 ; blue CONST BLUE 1 ; green CONST GREEN 2 ; cyan CONST CYAN 3 ; red CONST RED 4 ; magenta CONST MAGENTA 5 ; brown CONST BROWN 6 ; light gray CONST LIGHTGRAY 7 ; dark gray CONST DARKGRAY 8 ; light blue CONST LIGHTBLUE 9 ; light green CONST LIGHTGREEN 10 ; light cyan CONST LIGHTCYAN 11 ; light red CONST LIGHTRED 12 ; light magenta CONST LIGHTMAGENTA 13 ; yellow CONST YELLOW 14 ; white CONST WHITE 15 ; **** Options for DISP_SCORE **** ; disable scoreboard CONST DISP_SCORE_OFF 0 ; enable scoreboard CONST DISP_SCORE_ON 1 ; **** Type of justification **** ; no justification CONST DISP_JUST_NONE 0 ; justify to the left CONST DISP_JUST_LEFT 1 ; center CONST DISP_JUST_CENTER 2 ; justify to the right CONST DISP_JUST_RIGHT 3 ; justify packet CONST DISP_JUST_PACK 4 ; **** Options for DISP_FRAMECH **** ; single frame CONST DISP_FRAME_SINGLE "ÚÄ¿³ÙÄÀ³" ; double frame CONST DISP_FRAME_DOUBLE "ÉÍ»º¼ÍȺ" ; single/double frame CONST DISP_FRAME_SNGDOU "ÖÄ·º½ÄÓº" ; double/single frame CONST DISP_FRAME_DOUSNG "Õ͸³¾ÍÔ³" ; dot frame CONST DISP_FRAME_DOTS "ùùùùùùùù" ; **** Options for DISP_THUMBCH **** ; default characters for lift CONST DISP_THUMB_STD "°þ" ; **** Options for DISP_FRAME3D **** ; normal frame CONST DISP_FRAME3D_OFF 0 ; frame with 3D effect CONST DISP_FRAME3D_ON 1 ; **** Options for DISP_LISTSEL **** ; arrow character CONST DISP_LISTSEL_ARR "" ; check character CONST DISP_LISTSEL_CHK "û" ; square character CONST DISP_LISTSEL_SQR "þ" ; double arrow character CONST DISP_LISTSEL_DAR "¯" ; "greater than" character CONST DISP_LISTSEL_GT ">" ; **** Options for DISP_SHADOW **** ; shadow disabled CONST DISP_SHADOW_NONE 0 ; shadow to the left CONST DISP_SHADOW_LEFT 1 ; shadow to the right CONST DISP_SHADOW_RIGHT 2 ; **** Options for DISP_BLINK **** ; blink off CONST DISP_BLINK_OFF 0 ; blink on CONST DISP_BLINK_ON 1 ; **** Parameters for BEEP **** ; default frequency for BEEP CONST BEEP_DEFFREQ 329 ; default duration for BEEP CONST BEEP_DEFDELAY 300