6530 Programmer's Guide
Block Mode Operation
6530 Programmer’s Guide
3-11
Page Operations
This group of escape sequences displays a new page on the screen, selects 
the page for I/O from your application program, and sets the maximum 
number of available pages.
All keyboard operations take place on the displayed page (set by the 
Esc ; sequence). I/O operations from your application are performed on 
the currently selected page (set by the Esc : sequence). The selected page 
can be the same as or different from the currently displayed page. If they 
are the same, any attempts to read from the page causes the keyboard to 
lock until the read operation is complete. 
Display Page (Esc ;) 
The Esc ; sequence specifies the page to be displayed on the screen. The 
escape code is followed by an ASCII character whose code, offset by 
20H, specifies the page number. The valid range for this character code is 
20H (for page 0) through the maximum number of available pages. 
Character codes outside of this range cause the escape sequence to be 
ignored, and the currently displayed page remains unchanged. 
When a new page is displayed, the cursor moves to the location stored for 
that page. This may be the same location as the last time the page was 
displayed, a new location set by your application, or the default home 
position if the cursor position has not been previously set. 
Video attributes Esc 6 Set video attributes
Esc 7 Set video prior condition register
Esc - q Set/reset color map table
Esc - u Read color configuration
Esc - t Set color configuration
Esc ’ Start enhanced color field
Esc - v Read color mapping table
Esc - x Set enhanced color support
Esc Q Read screen and attributes with 
address
Table 3-2. Control Codes and Escape Sequences (continued)
Group
Code or 
Sequence Function










