Page 2 - Table of Contents; PCRTC T
Documentation Number PCRTC2095 Manual Table of Contents i B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Table of Contents CHAPTER 1. GENERAL INFORMATION .................................... 1 I NTRODUCTION ................................................
Page 3 - Chapter 1. General Information; Introduction
Documentation Number PCRTC2095 Manual 1 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Chapter 1. General Information Introduction The PCRTC is real time clock for PCs based on a highly stable oscillator circuit. Using the software driver provided, the...
Page 4 - Hardware Setup; The address switch on the PCRTC must be set to an
2 Documentation Number PCRTC2095 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Chapter 2. Setup Hardware Setup The address switch on the PCRTC must be set to an address which doesn’t conflict with other devices in the hostcomputer. The address ...
Page 5 - Hardware Installation
Documentation Number PCRTC2095 Manual 3 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Hardware Installation 1. Shut the host computer power off. 2. Remove the computer cover. 3. Remove the expansion slot cover of an unused slot. 4. Handle the PCRTC on...
Page 6 - Overview; The most common application of the PCRTC is to simply; Using the Device Driver; In order for the PCRTC to automatically update the DOS
4 Documentation Number PCRTC2095 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Chapter 3. Operation Overview The most common application of the PCRTC is to simply maintain the correct time on the host computer. Loading the devicedriver in the C...
Page 7 - Command Line Options
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: 200hBattery Status: Good If this message appears, the driver has been installed and isrun...
Page 8 - Replacing the battery
6 Documentation Number PCRTC2095 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 The best method of updating the PCRTC time is to use the shareware program Timeset. Note that although this program isincluded on the PCRTC diskette, it is shareware...
Page 9 - is installed at. The device driver must be installed.; Purpose: Check battery status of PCRTC
Documentation Number PCRTC2095 Manual 7 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Start_RTC_API Purpose: Initializes API, must be the first PCRTC function calledin the program. C: int Start_RTC_API(unsigned int address); Pascal: FUNCTION Start_RTC...
Page 10 - Purpose : Returns the RTC time within a structure.; TYPE GetTimeT
8 Documentation Number PCRTC2095 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Get_RTC_Time Purpose : Returns the RTC time within a structure. C: struct GetTime_T { unsigned int hours;unsigned int min;unsigned int seconds;unsigned int h_seconds...
Page 11 - TYPE TimeSaveT
Documentation Number PCRTC2095 Manual 9 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Last_Power_Down_RTC Purpose: Returns date and time of last power down within astructure. C: struct TimeSave_T { unsigned int month;unsigned int day;unsigned int hour...
Page 12 - Pascal Programming Example
10 Documentation Number PCRTC2095 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 QuickBASIC Example: '$INCLUDE: 'RTC_API.BI' ‘Must be first executed statement in your program DIM timeS AS TimeSaveT ‘Define Variable Structure DIM time AS GetTimeT...
Page 13 - C Programming Example
Documentation Number PCRTC2095 Manual 11 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 C Programming Example #include <conio.h>#include "rtc_api.h" void main() { TimeSave_T *ts = (TimeSave_T *) malloc(sizeof(TimeSave_T));GetTime_T *time ...
Page 14 - Chapter 4. Calculating Error; PPM Terminology
12 Documentation Number PCRTC2095 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Chapter 4. Calculating Error PPM Terminology The unit ppm (parts per million) provides a number similar to error expressed with percentages, but reduces the number ...
Page 15 - Aging
Documentation Number PCRTC2095 Manual 13 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Aging All crystal oscillators have an aging characteristic. The crystal used in the PCRTC uses the coldweld manufacturingtechnique, which exhibits the lowest aging ...
Page 16 - Hex Address
14 Documentation Number PCRTC2095 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Appendix A. Hardware I/O Map I/O Map of XT Class Machines Hex Address Address Function in XT Class Machines 000-00F DMA controller (8237A) 020-021 interrupt control...