
Operations Manual Watch dog timer card
DECISION Computer International
20
3. EXAMPLE PROGRAM USING C++
/*
WDSIMPLE.CPP -> Simple Program for Watchdog (I and II)
Program by Edgardo A Regodon Jr(SrSE)
of Decision Asia Inc. (Phil.)
*/
#include <stdio.h> /* Headers Declaration */
#include <conio.h>
#include <dos.h>
#include <string.h>
void main()
{
char UserChoice; /* Variable Declaration */
unsigned int WDAddress;
char Boolean;
Boolean = 'F';
clrscr(); /* Inquire for the Address */
printf("Please Enter the address of Watch Dog Card (I/II) in
hexadecimal\n");
printf("Address Range from 0 Hex to 0FFE Hex\n");
printf("Wathc Dog address is: ");
scanf("%x", &WDAddress);
Inquire:
clrscr(); /* Main menu */
printf("Menu Choices\n\n");
printf("1] Enable/Disable\n");
printf("2] Refresh\n");
printf("3] Exit\n\n");
Содержание Watch dog 1
Страница 9: ...Operations Manual Watch dog timer card DECISION Computer International 9 WATCH DOG I ...
Страница 10: ...Operations Manual Watch dog timer card DECISION Computer International 10 WATCH DOG II ...
Страница 55: ...Operations Manual Watch dog timer card DECISION Computer International 55 Data Type String ...