background image

Documentation Number PCRTC2095 Manual

5

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5105

PCRTC v1.00, (c) Copyright 1995, B&B Electronics Mfg. Co.
PCRTC address: 200h
Battery Status: Good

If this message appears, the driver has been installed and is
running. The DOS clock will be updated every minute using the time
from the PCRTC. The driver will report any errors found upon
installation.

Command Line Options

All of the PCRTC features can be accessed and controlled

from the command line as well. The program PCRTC.EXE has the
following command line options.

PCRTC /t [address]

Set PCRTC time

PCRTC /d [address]

Set PCRTC date

PCRTC /i [address]

Initialize PCRTC (after battery change)

PCRTC /s [address]

Display date, time and battery status

PCRTC /p [address]

Display time/date of last power down

PCRTC /c [address]

Display PCRTC and DOS clock

PCRTC /u [address]

Set PCRTC date/time to DOS date/time

PCRTC /n [address]

Set DOS date/time to PCRTC date/time

PCRTC /h+ [address]

Increment hours +1 for Daylight Savings

PCRTC /h- [address]

Decrement hours -1 for Daylight Savings

PCRTC /-

Disable PCRTCDD.SYS

PCRTC /+

Enable PCRTCDD.SYS

It is necessary to insert the PCRTC address [address] only if the
device driver is not loaded. Note that the last two options are only
available if the driver is loaded. These options may be displayed at
the DOS prompt by typing PCRTC {enter}.

Setting the PCRTC Time and Date

There are several methods of setting the time and date of

the PCRTC. To manually set the time and date, use the DOS TIME
and DATE commands to first set the DOS clock, then use the /u
command line option to set the PCRTC time and date to be equal to
the DOS time and date. The time and date can also be set manually
using the command PCRTC /t and PCRTC /d. This sets the PCRTC
time and date without affecting the DOS time and date.

Summary of Contents for PCRTC

Page 1: ...C2095 This product Designed and Manufactured In Ottawa Illinois USA of domestic and imported parts by B B Electronics Mfg Co Inc 707 Dayton Road P O Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 43...

Page 2: ...HARDWARE SETUP 2 TABLE 1 ADDRESS SWITCH SETTINGS 2 HARDWARE INSTALLATION 3 SOFTWARE SETUP 3 CHAPTER 3 OPERATION 4 OVERVIEW 4 USING THE DEVICE DRIVER 4 COMMAND LINE OPTIONS 5 SETTING THE PCRTC TIME AND...

Page 3: ...reset Packing List Examine the shipping carton and contents for physical damage The following items should be in the shipping carton 1 PCRTC unit 2 One PCRTC 3 5 disk 3 This instruction manual If any...

Page 4: ...factory set for 200h If you need to change this address select one from the table which will not conflict with another device in the host computer If the PCRTC does not operate properly select a new a...

Page 5: ...n Chapter 3 of this manual or by the device driver If you are using the device driver it will automatically initialize the PCRTC when it loads Upon initialization a warning will appear stating that th...

Page 6: ...take action on a low battery before the time is corrupted The second function is the time of last power loss or reset By checking this function the time of the last host computer power loss or system...

Page 7: ...CRTC c address Display PCRTC and DOS clock PCRTC u address Set PCRTC date time to DOS date time PCRTC n address Set DOS date time to PCRTC date time PCRTC h address Increment hours 1 for Daylight Savi...

Page 8: ...time to be updated to within 0 1 seconds of the atomic clock selected The small discrepancy in time is dependent on the speed of the host computer and background activities on the host computer Replac...

Page 9: ...RTC_API address WORD WORD BASIC FUNCTION StartRTCAPI BYVAL address AS INTEGER Remarks Start_RTC_API takes the address at which the PCRTC is installed at The device driver must be installed Returns 0 d...

Page 10: ..._T far gt Pascal TYPE GetTime_T RECORD hours WORD min WORD seconds WORD h_seconds WORD END TYPE GetTime_Ptr GetTime_T FUNCTION Get_RTC_Time time GetTime_Ptr WORD BASIC TYPE GetTimeT hours AS INTEGER m...

Page 11: ...ve_T far ts Pascal TYPE TimeSave_T RECORD month WORD day WORD hour WORD minute WORD second WORD END TYPE TimeSave_Ptr TimeSave_T FUNCTION Last_Power_Down_RTC timeSave TimeSave_Ptr WORD BASIC TYPE Time...

Page 12: ...imeS day PRINT at timeS hour timeS minute timeS second END IF IF BatteryRTC THEN Check Battery Status PRINT Battery Status GOOD ELSE PRINT Battery Status LOW END IF ELSE PRINT Device Driver PCRTCDD SY...

Page 13: ...gned int address cprintf Demo PCRTC c v1 00 c Copyright 1994 B B Electronics Mfg Co r n r n address Start_RTC_API 0 if address if Get_RTC_Time time cprintf RTC time u u u u r n time hours time min tim...

Page 14: ...dependent on the quality of the oscillator circuit There are three sources of error in the oscillator and understanding them will allow you to estimate the precision of the PCRTC in your application...

Page 15: ...he coldweld manufacturing technique which exhibits the lowest aging characteristic of 1 ppm year In practice this aging rate improves significantly with time but for practical purposes the value of 1...

Page 16: ...ontroller 8259A 040 043 timer 8253 060 063 PPI 8255A 080 083 DMA page register 74LS612 0A0 0AF NMI non maskable interrupt 200 20F game port joystick controller 210 217 expansion unit 2E8 2EF COM4 seri...

Page 17: ...ller 2 8237A 0F0 0FF 80287 math coprocessor 1F0 1F8 hard disk 200 20F game port joystick controller 258 25F Intel Above Board 278 27F parallel printer port 2 2E8 2EF COM4 serial port 2F8 2FF COM2 seri...

Reviews: