EasyManua.ls Logo

NEC CP/M-86 - Report Cursor Position; Auto Power off

NEC CP/M-86
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Advanced
BIOS
Functions
Report Cursor Position
ENTRY
CL:
04H
DS:DX:
Data
Buffer Address
EXT
FUNC
4
REPORT
CURSOR
POSITION
RETURN
Buffer:
Cursor
Position
The
Report
Cursor
Position function gets the
current
active position
on
the console
screen. Registers
DS
and
DX
point
to the address
of
the
I/O
buffer in which the
data
is
to be stored. The system
returns
the
column
and
line numbers
of
the
current
position prefixed
by
the escape (ESC) code in the following format.
E
S
[
PI
,
Pc
R
C
~8
bytes
All
characters
are
returned
as
ASCII
code values.
PI
is
the line
number
(01-25). Pc
is
the
column
number
(01-80).
Auto Power
Off
ENTRY
RETURN
CL: 05H
EXT
FUNC
5
APO
The
Auto
Power Off function
turns
off the power
of
the machine. When the function
is
called, the system waits approximately five seconds before turning off the power.
To
turn
the system
back
on, remove
any
diskettes in the drives,
turn
the power
switch off, then
turn
it
back
on.
6-17

Table of Contents

Related product manuals