Sharp mz-3500 Manual For Use page 300

Business computer eos 3.0
Hide thumbs Also See for mz-3500:
Table of Contents

Advertisement

Section B:
Hardware interface
************************************************************************
26 - Get /
Set Calendar and Clock
*************************************************~**********************
On entry:
On exit
c
DE
0"
or 0FFH
Time Buffer
If
register C is zero on entry to this function,
the internal calendar
and
clock are read and the data are deposited in the specified
buffer.
If C has a value of 0FFH,
date and time are transferred from the buffer
into the hardware clock. The time buffer must be structured as follows:
DW
DB
DB
DB
DATE
lSH
30H
55H
Julian Date, where 1
=
Jan lst, 1978
Hours, BCD format
Minutes, BCD format
Seconds, BCD format
Example:
Set date/time to June lst, 1983, 15:30:55
LD
LD
CALL
PARAMS:
DB
DB
DW
DW
DW
DTETME:
DW
DB
DB
DB
EOS System manual
C,50"
DE,PARAMS
EOS function code
Parameters
5
26
0
0FFH
DTETME
1978
15H
30H
SSH
Call EOS to execute function
Hardware function No.
June 1st, 1983
Hours
Minutes
Seconds
Daeumling & Zimmermann
Page 162

Advertisement

Chapters

Table of Contents
loading

Table of Contents