Gotoxy PROC
Locates the cursor at a given row and column in
the screen's console buffer.
The values passed in DH and DL can range from 0
to X-1 and from 0 to Y-1, where X is the number of columns and Y is
the number of rows in the console buffer.
The default window size is 80 x 25 but it can be
set to a different size.
Use the GetMaxXY procedure to obtain the size of
the screen's console buffer.
If the console buffer is set larger than the
display window, the window repositions itself automatically to
display the cursor position.
Call args: DL = column DH = row Return arg: None Example: Locate the cursor in the lower right corner of an 80 x 25 screen. mov dl,79 ;column mov dh,24 ;row call GotoxyNote: The mGotoxy macro causes a call to this procedure.
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |