534
*9
If the BHT is placed on the CU and is ready to be charged (or being charged), then "1" will
be returned. In this condition, the indicator LED on the BHT is lit in red or green showing
the charging state.
In either of the following cases, "0" will be returned even if the BHT is placed on the CU:
- No power is supplied to the CU.
- The BHT cannot be recognized as being placed on the CU due to contact failure of charg-
ing terminals.
*10
A user program returns the communications protocol type used for file transmission with
the
XFILE
statement.
*11
A user program returns the BHT’s ID number which is required for the use of the BHT-Ir
protocol. The ID number is expressed by two bytes: lower byte on port 6061h and upper
byte on port 6062h. The range of the returned value is from 1 to FFFFh. If the ID number
is 1234h, for example, the value on 6061h is 34h and that on 6062h is 12h.
*12
Fixed to 3/16 bit time.
*13
A user program returns the beeper volume level--01h (Low), 02h (Medium), or 03h (High).
00h means no beeping.
*14
A user program returns the currently specified size of the empty area to be defragmented in
units of 4 kilobytes. The size is expressed by two bytes: lower byte on port 60E0h and
upper byte on port 60E1h. The range of the returned value is from 1 to FFFFh. (The actu-
ally allowable maximum value is the size of the empty user area. If a value exceeding the
size is returned, it means that the whole empty area is specified to be defragmented.)
If the size is 2048 kilobytes, for example, the value on 60E0h is 00h and that on 60E1h is
02h (2048 kilobytes/4 kilobytes = 512 or 200h). 0 means the whole empty area to be
defragmented.
*15
If "0" is returned, the remote wakeup function is deactivated; if "1," the function is activated.
*16
The transmission speed to be applied when activating the remote wakeup will be returned.
*17
If the BHT was woken up remotely at the last powering on, then "1" will be returned; if the
BHT is initiated from any other means, "0" will be returned.
*18
If a user program executed by the remote wakeup has been terminated with
END
,
POWER
OFF
, or
POWER
0
statement, then "1" will be returned; in any other cases, "0" will be
returned.
*19
A user program returns the timeout period during which the BHT will wait for proper data
(specified remote wakeup character string) after receiving any data via the CU from the
host.
*20
Via port 6110h, the display mode (screen mode, screen font size, and display angle) speci-
fied by
SCREEN
statement may be read out.
Via ports 6112h and 6113h, the character attributes (font reverse, character enlargement,
and tone) specified by
SCREEN
statement may be read out.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...