WinSystems EBC-LP Operation Manual

Small, high-performance, embeddable computer system on a single board

Advertisement

Quick Links

OPERATIONS MANUAL
EBC-LP
NOTE: This manual has been designed and created for use as part of the WinSystems' Technical Manuals
CD and/or the WinSystems' website.
If this manual or any portion of the manual is downloaded, copied or
emailed, the links to additional information (i.e. software, cable drawings) will be inoperable.
WinSystems reserves the right to make changes in the circuitry
and specifications at any time without notice.
Copyright 2003 by WinSystems. All Rights Reserved.

Advertisement

Table of Contents
loading

Summary of Contents for WinSystems EBC-LP

  • Page 1 OPERATIONS MANUAL EBC-LP NOTE: This manual has been designed and created for use as part of the WinSystems’ Technical Manuals CD and/or the WinSystems’ website. If this manual or any portion of the manual is downloaded, copied or emailed, the links to additional information (i.e. software, cable drawings) will be inoperable.
  • Page 2 RE VI SION HIS TORY P/N 403- 0306- 000B ECO Num ber Date Code Rev Level ORIGI NATED 030110 03-59 030530...
  • Page 3: Table Of Contents

    TABLE OF CONTENTS Section Paragraph Title Page Visual Index – Quick Reference General Information Features General Description Specifications EBC-LP Technical Reference Introduction Intel FW82439TX Chipset CPU Speed Selection Memory Installation Interrupt Routing Power/Reset Connections Mouse Interface Real Time Clock/Calendar Keyboard Interface 2.10...
  • Page 4: Paragraph Title Page

    Function Definitions Sample Programs APPENDIX A I/O Port Map APPENDIX B Interrupt Map APPENDIX C EBC-LP Mechanical Drawing APPENDIX D WS16C48 I/O Routines and Sample Program Listings APPENDIX E Cable Drawings and Software Drivers & Examples Warranty and Repair Information...
  • Page 5: Visual Index - Quick Reference

    J4 VGA Video FP/100 J7 Fan Power PC/104 Plus PC/104 Flat Panel Power Interrupt Routing Header Parallel I/O Floppy Drive COM3/COM4 Primary Hard Drive J32 USB Power Reset Secondary Hard Drive J23 Mouse J27 Multi I/O EBC-LP OPERATIONS MANUAL 030530...
  • Page 6 For the convenience of the user, a copy of the Visual Index has been provided with direct links to connector and jumper configuration data. CPU Configuration Panel Backlight Enable COM1 Configuration Master Battery Selection COM2 COM3/4 Enable Configuration DiskOnChip Parallel I/O VCC Address Selection Selection Parallel I/O Selection DiskOnChip Enable EBC-LP OPERATIONS MANUAL 030530...
  • Page 7: General Information

    Density Par al lel I/O. Four PC com pati ble se rial ports are stan dard, as are the floppy, hard disk, and par al lel printer in ter faces. The EBC-LP is popu lated with ei ther an In tel Pen tium 166MMX or Intel Pentium 266MMX processor.
  • Page 8: Specifications

    WinSystems - "The Embedded Authority" Speci fi ca tions 1.3.1 Elec tri cal Bus In ter face : PC/104 8- Bit or 16- Bit ex pan sion bus PC/104-Plus 32- bit ex pan sion bus Sys tem Clock : 66MHz...
  • Page 9 WinSystems - "The Embedded Authority" CRT : 14-pin 2mm Mo lex Type 87331-1420 Flat Panel : Two, 50-pin 2mm Mo lex type 87331-5020 Power/Re set : 9-pin in- line Mo lex type 26- 60- 7091 Fan Power : 3-pin in- line Mo lex type 22- 11- 2032...
  • Page 10: Ebc-Lp Technical Reference

    This sec tion of the man ual is in tended to pro vide suf fi cient in for ma tion re gard ing the con figu ra tion and us age of the EBC-LP board. WinSystems main tains a Tech ni cal Sup port group to help an swer ques tions re gard ing con figu ra tion, us age, or pro gram ming of the board.
  • Page 11: Cpu Speed Selection

    CPU Speed Select Jumper J6 The EBC-LP uses a crystal controlled frequency synthesizer to control the base CPU clock frequency. The processors available from WinSystems and the jumpering for them are shown below. 3 2 1 3 2 1...
  • Page 12: Memory Installation

    22 20 18 16 14 12 10 8 6 4 2 All in ter rupts on the EBC-LP are routed to their re spec tive PC/104 bus pins. On board non-PnP pe riph er als, are routed to their typi cal us age in ter rupts us ing the jumper block at J17. This block al lows dis con nect ing or re rout ing of the on board in ter rupts.
  • Page 13: Power/Reset Connections

    Power/Reset Connections Power is ap plied to the EBC-LP via the con nec tor at J18 (Mo lex part number 26- 60- 7091). The pin defi ni tions for J18 are given be low. An op tional push- button- reset (Normally Open) may also b e routed into J18 if de sired.
  • Page 14: Real Time Clock/Calendar

    Multi-I/O con nec tor at J27. An adapter ca ble P/N CBL-2 47-1 is avail able from WinSystems to make ready ac cess to all of the de vices ter mi nated at the Multi-I/O con nec tor. Us ers de sir ing cus tom con nec tions should ref er to the Multi-I/O con nec tor pin defi ni tions given later in this man ual.
  • Page 15: Serial Interface

    3 2 1 o o o 3 2 1 The EBC-LP pro vides four 16550 com pati ble RS- 232 se rial ports at the fol low ing ad dresses : COM1 3F8H at IRQ 4 (PnP Device)
  • Page 16 COM3 and COM4 are RS- 232 only and are ter mi nated at J25. An adapter ca ble is avail able from WinSystems (P/N CBL-173-1), which adapts J25 to two stan dard DB9M con nec tors. The pin defi ni tions for J25 are shown here :...
  • Page 17 RS- 422 lev els are sup ported on both COM1 and COM2 with the in stal la tion of the op tional “Chip Kit”, WinSystems part number CK- 75176-2. This kit pro vides the driver ICs nec es sary for a sin gle chan nel of RS- 422.
  • Page 18 The RS- 485 Multi- drop in ter face is sup ported on both chan nels with the in stal la tion of the op tional “Chip Kit”, WinSystems’ part number CK- 75176-2. A sin gle kit is suf fi cient to con fig ure both chan nels for RS- 485.
  • Page 19 WinSystems - "The Embedded Authority" COM1 - RS- 485 COM1 DB9 1 o o 6 U24 - Not In stalled 2 o o 7 TX/RX+ U25 - In stalled 3 2 1 1 2 3 3 o o 8 TX/RX-...
  • Page 20 Ve hi cle Ap pli ca tions”. It is be yond the scope of this docu ment to go into de tail on the J1708 speci fi ca tion. The EBC-LP may be user con fig ured for J1708 by the ad di tion of the CK- 75176-2 “Chip Kit”.
  • Page 21 WinSystems - "The Embedded Authority" COM1 - J1708 COM1 DB9 1 o o 6 U24 - Not In stalled 2 o o 7 TX/RX+ U25 - In stalled 3 2 1 1 2 3 3 o o 8 TX/RX- U26 - Not In stalled...
  • Page 22: Parallel Printer Port

    Multi-I/O Connector The EBC-LP sup ports a fully bi- directional par al lel printer port ca pa ble of EPP and ECP op era tions. The PnP par al lel port is mapped at 378H and is ter mi nated at the Multi-I/O con nec tor at J27 (pinout shown on page 2-26).
  • Page 23: Speaker/Sound Interface

    The EBC-LP sup ports I/O ex pan sion through the stan dard PC/104 con nec tors at J15 and J16. The EBC-LP sup ports both 8- bit and 16- bit PC/104 mod ules. The PC/104 con nec tor pin defi ni tions are pro vided here for ref er ence pur poses.
  • Page 24: Pc/104-Plus Bus Interface

    PC/104-Plus Bus In ter face The EBC-LP sup ports I/O ex pan sion through the stan dard PC/104-Plus con nec tor at J9. The EBC- LP sup ports PC/104-Plus mod ules. The PC/104-Plus con nec tor pin defi ni tions are pro vided here for ref er ence pur poses.
  • Page 25: Ide Hard Disk Interface

    Floppy Disk In ter face The EBC-LP sup ports up to 2 stan dard 3 1/2" or 5 1/4" PC com pati ble floppy disk drives. The drives are con nected via the I/O con nec tor at J28. Note that the in ter con nect ca ble to the drives is a stan dard floppy I/O ca ble used on desk- top PCs.
  • Page 26: Watchdog Timer Configuration

    2.17 Watch dog Timer Con figu ra tion The EBC-LP features a power-on voltage detect and power-down/power brown-out reset circuit to protect memory and I/O from faulty CPU operation during periods of illegal voltage levels. The supervisor circuitry also features a watchdog timer which can be used to guard against software lockups.
  • Page 27: Status Led

    DiskOnChip Con figu ra tion The EBC-LP sup ports the use of M-Systems Disk On Chip (DOC) de vice to be used as Solid State Disk (SSD) drive. Sec tion 4 of this man ual pro vides the nec es sary in for ma tion for the gen era tion and us age of the DOC drives.
  • Page 28: Parallel I/O

    Par al lel I/O En able The par al lel fea tures of the EBC-LP can be en abled or dis abled us ing the jumper block at J31. When J31 is jumpered the par al lel I/O is en abled at I/O ad dress 120H. When J31 is open, the 16 ad dresses start ing at I/O ad dress 120H are free for use by other de vices.
  • Page 29 WS16C48 Reg is ter Defi ni tions The EBC-LP uses the WinSystems ex clu sive ASIC de vice, the WS16C48. This de vice pro vides 48 lines of digi tal I/O. There are 17 unique reg is ters within the WS16C48. The fol low ing ta ble sum ma rizes the reg is ters and the text that fol lows pro vides de tails on each of the in ter nal reg is ters.
  • Page 30 WinSystems - "The Embedded Authority" I/O Ad dress Page 0 Page 1 Page 2 Page 3 Off set Port 0 I/O Port 0 I/O Port 0 I/O Port 0 I/O Port 1 I/O Port 1 I/O Port 1 I/O Port 1 I/O...
  • Page 31: Vga Configuration

    Asiliant controller supports standard and super-VGA as well as Color and Monochrome panels with 8, 9, 12, 15, 16, 18, 24 and 36-bit interfaces. WinSystems provides flat panel support through a series of Flat Panel kits. Contact your WinSystems Applications Engineer for the most current list of available FPA’s and supported panels.
  • Page 32 Video out put to a stan dard VGA moni tor is made via the con nec tor at J4. An adapter ca ble part number CBL- 234-1 is avail able from WinSystems’ to adapt from J4 to the stan dard DB15 VGA con nec tor.
  • Page 33: Flat Panel Output Connection

    SWVCC SWVCC 2.23.1 Video Mode Table The EBC-LP video section supports a number of standard and extended VGA modes. The following table extracted from the Asiliant 6900 databook shows the video modes supported. Resolution Color depth (bpp) Re fresh Rates...
  • Page 34: Ethernet Controller

    D3 = Eth er net link LED (Yel low) 2.25 Fan Power Connector The EBC-LP has a connector located at J7 to supply power to the processor cooling fan. The pin definitons are shown here for reference. Fan Power 030530...
  • Page 35: Multi-I/O Connector

    The I/O to the pri mary se rial chan nels, the printer port, and key board are all ter mi nated via the con nec tor at J27. An adapter ca ble, part number CBL- 247-1, is avail able from WinSystems to adapt to the con ven tional I/O con nec tors.
  • Page 36: Award Bios Configuration

    Gen eral In for ma tion The EBC-LP comes equipped with a stan dard Award BIOS with Setup in ROM that al lows us ers to mod ify the ba sic sys tem con figu ra tion. This type of in for ma tion is stored in battery- backed CMOS RAM so that it re tains Setup in for ma tion when power is turned off.
  • Page 37: Standard Cmos Setup

    WinSystems - "The Embedded Authority" ROM PCI/ISA BIOS (2A59IA2N) CMOS SETUP UTILITY Award SOFTWARE, INC. STANDARD CMOS SETUP INTERGRATED PERIPHERALS BIOS FEATURES SETUP SUPERVISOR PASSWORD CHIPSET FEATURES SETUP USER PASSWORD PnP/PCI CONFIGURATION IDE HDD AUTO DETECTION LOAD BIOS DEFAULTS SAVE AND EXIT SETUP...
  • Page 38 WinSystems - "The Embedded Authority" ROM PCI/ISA BIOS (2A59IA2N) STANDARD CMOS SETUP Award SOFTWARE, INC. Date (mm:dd:yy) : Wed, Sep 25 2000 Time (hh:mm:ss): 13 : 28 : 46 HARD DISKS TYPE SIZE CYLS HEAD PRECOMP LANDZ SECTOR MODE Primary Master...
  • Page 39 WinSystems - "The Embedded Authority" None Re served None 1024 1023 1024 None 1224 None 1023 1224 None 1223 1224 None 1223 1024 None 1223 1024 None 1023 None 1023 None 1023 1024 None 1024 None 1023 1024 None 1023...
  • Page 40 CGA80 MONO The EBC-LP has built- in VGA sup port so EGA/VGA should be se lected. Er ror Halt This cate gory de ter mines whether the sys tem will halt if a non- fatal er ror is de tected dur ing the power-up self test.
  • Page 41 WinSystems - "The Embedded Authority" The POST rou tines in the BIOS will de ter mine the amount of base (con ven tional) mem ory in stalled in the sys tem. The value of the base mem ory is typi cally 640K for sys tems with a Mega byte of mem ory or greater.
  • Page 42: Bios Features Setup

    WinSystems - "The Embedded Authority" Bios Fea tures Setup Vi rus Warn ing This op tion when en abled, pro tects the boot sec tor and par ti tion ta ble of the hard disk against un au thor ized writes through the BIOS. Any at tempt to al ter these ar eas will re sult in an er ror mes sage and a prompt to author ize the ac tiv ity.
  • Page 43 WinSystems - "The Embedded Authority" Swap Floppy Drive This op tion al lows for swap ping of the A: and B: floppy drives with out ac tu ally re lo cat ing the drives on the ca ble. Boot Up Floppy Seek Dur ing POST, when this op tion is en abled, the BIOS will de ter mine if the floppy drive is 40 track or 80 tracks.
  • Page 44 WinSystems - "The Embedded Authority" Type matic De lay When type matic rate set ting is en abled, this op tion speci fies the time in mil li sec onds bef ore auto- repeat be gins. The sup ported val ues are:...
  • Page 45 WinSystems - "The Embedded Authority" Report No FDD for Win 95 This option, when enabled, signals Windows 95 if there is no floppy present. The options are: Shad ow ing Op tions When shad ow ing for a par ticu lar ad dress range is en abled, it in structs the BIOS to copy the BIOS lo cated in ROM into DRAM.
  • Page 46: Chipset Features Setup

    WinSystems - "The Embedded Authority" ROM PCI/ISA BIOS (2A59IA2N) CHIPSET FEATURES SETUP Award SOFTWARE, INC. Auto Con figu ra tion : En abled CPU Warning Temperature : Disabled DRAM Tim ing : 70ns Current CPU Temperature : 4°C/39°F LEAD Off Tim ing...
  • Page 47 Enables and defines 16-bit I/O recovery time in number of clocks. Memory Hole At 15M-16M Memory Hole, when enabled, disables onboard memory in the specified range. PCI 2.1 Compliance This option, when enabled, makes the EBC-LP PCI 2.1 compliant. The options are: Enabled Disabled CPU Warning Temperature This option when enabled, allows temperature warning through ACPI capable operating systems.
  • Page 48 WinSystems - "The Embedded Authority" Current CPU Temperature This option displays current temperature of the processor. Shutdown Temperature This option when enabled, allows the user to set a shutdown temperature through ACPI capable operating systems. The available shutdown temperatures, Celsius and Fahrenheit, are listed below.
  • Page 49: Power Management

    Power Management ACPI Function This option enables the advanced configuration and power interface. Power Management This option, enables advance power management on the EBC-LP. PM Control by APM This option allows power management control throughout the advanced power management software interface.
  • Page 50 WinSystems - "The Embedded Authority" Video Off Method There are 3 video off methods to select from when power management is enabled. The options are: Blank Screen V/H Sync + Blank DPMS Video Off After This option, when Doze mode is enabled, will shut off video using one of the following methods:...
  • Page 51 WinSystems - "The Embedded Authority" This option, when power management is enabled, allows the user to select the length of time the system will wait with no activity before entering Standby mode. The choices are: Dis abled 1 minute 2 min utes...
  • Page 52 CPUFAN Off In Suspend This option, when enabled, shuts off power to the CPU fan when the system is in suspended mode. PowerOn by Ring This option is not supported on the EBC-LP. Contact WinSystems’ tech support for further information Resume by Alarm This option, when enabled, will wake the system from power management mode.
  • Page 53 WinSystems - "The Embedded Authority" This option, when enabled, will reset the power management timer if any of the following are accessed. IRQ 3-7 IRQ 9-15 Primary IDE 0 This option, when enabled, will reset the power management timer when the primary IDE drive is accessed.
  • Page 54: Pnp/Pci Configuration

    WinSystems - "The Embedded Authority" ROM PCI/ISA BIOS (2A59IA2N) PnP/PCI CONFIGURATION Award SOFTWARE, INC. PnP OS Installed : NO PCI IDE IRQ Map : ISA Resources Controlled By : Manual Primary IDE INT# Reset Configuration Data : Disabled Secondary IDE INT#...
  • Page 55: Load Bios Defaults

    WinSystems - "The Embedded Authority" Reset Configuration Data This option, when enabled, will reset the configuration data on power up. The options are: En abled Disabled IRQ3-15 / DMA 0-7 The options in this section of the manual will assign each of the interrupts to a PCI/ISA Plug and Play device, or to a Legacy ISA device.
  • Page 56: Load Setup Defaults

    WinSystems - "The Embedded Authority" 3.10 Load Setup Defaults This op tion will cause the CMOS RAM to be loaded with de fault setup val ues as signed by the fac tory. These are usu ally val ues that were de ter mined to give a higher level of per form ance along with re li able op era tion.
  • Page 57: Diskonchip Configuration

    DiskOnChip Usage The EBC-LP sup ports the M-Systems DISK- ON- CHIP (DOC) flash de vice in sizes rang ing from 8MB to 288MB. The DOC de vice con tains a BIOS ex ten sion, the TFFS (True Flash File Sys tem), and the Flash mem ory all in a sin gle 32- pin de vice.
  • Page 58: Ws16C48 Programming Reference

    There is no re turn value. This func tion ini tial izes all I/O pins for in put (Sets them high), d is ables all in ter rupt set tings, and sets the im age val ues. 030530 EBC-LP OPERATIONS MANUAL Page 5-1...
  • Page 59 WinSystems - "The Embedded Authority" READ_BIT - Reads an I/O port Bit Syn tax int read_bit(int bit_number); De scrip tion This func tion takes a sin gle ar gu ment: bit_number - This is a value from 1 to 48 that in di cates the I/O pin to read from.
  • Page 60 WinSystems - "The Embedded Authority" SET_BIT - Set the speci fied I/O Bit Syn tax void set_bit(int bit_number); De scrip tion This func tion takes a sin gle ar gu ment: bit_number - a value be tween 1 and 48 speci fy ing the port bit to be set.
  • Page 61 WinSystems - "The Embedded Authority" ENAB_INT - En able Edge In ter rupt, Se lect Po lar ity Syn tax void enab_int(int bit_number, int po lar ity); De scrip tion This func tion re quires two ar gu ments: bit_number - A value from 1 to 24 speci fy ing the ap pro pri ate bit po lar ity - Speci fies ris ing or fal ling edge po lar ity de tect.
  • Page 62 WinSystems - "The Embedded Authority" CLR_INT - Clear the speci fied pend ing in ter rupt Syn tax void clr_int(int bit_number); De scrip tion This func tion re quires a sin gle ar gu ment: bit_number - The speci fied bit number from 1 to 24 to re set the in ter rupt.
  • Page 63: Sample Programs

    Sam ple Pro grams There are three sam ple pro grams in source code form in cluded on the EBC-LP disk ette in the UIO48 di rec tory. These pro grams are not use ful by them selves but are pro vided to il lus trate the us age of the I/O func tions pro vided in UIO48C.
  • Page 64: Appendix A I/O Port Map

    AP PEN DIX A - I/O Port Map The fol low ing is a list of PC I/O ports. Ad dresses marked with a '-' are not used on the EBC-LP but their use should be care fully quali fied so as not to con flict with other I/O boards. I/O ad dresses marked with a '+' are used on the EBC-LP board and are unique to the WinSystems’...
  • Page 65 WinSystems - "The Embedded Authority" -3B0 -3BB -3C0 -3CF 3E8- 3EF COM3 3F0- 3F6 Floppy Disk 3F8- 3FF COM1 Page 6-2 EBC-LP OPERATIONS MANUAL 030530...
  • Page 66: Appendix B Interrupt Map

    BIOS time of day func tions BIOS Key board break vec tor BIOS User chained timer tick BIOS Video Ini tiali za tion BIOS Floppy Disk pa rame ter ta ble BIOS CGA graphic char ac ter font 030530 EBC-LP OPERATIONS MANUAL Page 7-1...
  • Page 67 WinSystems - "The Embedded Authority" MS- DOS Pro gram ter mi nate MS- DOS DOS func tion call MS- DOS Ter mi nate Ad dress MS- DOS Ctrl- Break Ad dress MS- DOS Fa tal Er ror Vec tor MS- DOS...
  • Page 68 APPENDIX C Mechanical Drawing...
  • Page 71: Appendix D Ws16C48 I/O Routines And Sample Program Listings

    APPENDIX D WS16C48 I/O Routines and Sample Program Listings...
  • Page 72 "As-is" basis and no warranty as to performance, fitness of purposes, or any other warranty is expressed or implied. In no case shall WinSystems be liable for any direct or indirect loss or damage, real or consequential resulting from the usage of this source code.
  • Page 73 "As-is" basis and no warranty as to performance, fitness of purposes, or any other warranty is expressed or implied. In no case shall WinSystems be liable for any direct or indirect loss or damage, real or consequential resulting from the usage of this source code.
  • Page 74 This function initializes all I/O pins for input, disables all interrupt sensing, and sets the image values. *===========================================================================*/ void init_io(unsigned io_address) int x; /* Save the specified address for later use */ base_port = io_address; /* Clear all of the I/O ports. This also makes them inputs */ for(x=0;...
  • Page 75 /* Adjust the bit_number to 0 to 47 numbering */ --bit_number; /* Calculate the I/O port address based on the updated bit_number */ port = (bit_number / 8) + base_port; /* Get the current contents of the port */ val = inportb(port); /* Get just the bit we specified */ val = val &...
  • Page 76 mask = (1 << (bit_number % 8)); /* Check whether the request was to set or clear and mask accordingly */ if(val) /* If the bit is to be set */ temp = temp | mask; else temp = temp & ~mask; /* Update the image value with the value we're about to write */ port_images[bit_number / 8] = temp;...
  • Page 77 polarity : This specifies the polarity of the interrupt. A non-zero argument enables rising-edge interrupt. A zero argument enables the interrupt on the flling edge. This function enables within the 16C48 an interrupt for the specified bit at the specified polarity. This function does not setup the interrupt controller, nor does it supply an interrupr handler.
  • Page 78 outportb(port,temp); /* Set access back to Page 0 */ outportb(base_port+7,0x0); /*=========================================================================== DISAB_INT * This function takes a single argument : * bit_number : Specifies the bit number to act upon. Range is from 1 to 48. * This function shuts off the interrupt enabled for the specified bit. *===========================================================================*/ void disab_int(int bit_number) unsigned port;...
  • Page 79 /*========================================================================== CLR_INT This function takes a single argument : bit_number : This argument specifies the bit interrupt to clear. Range is 1 to 24. This function is use to clear a bit interrupt once it has been recognized. The interrupt left enabled. *===========================================================================*/ void clr_int(int bit_number) unsigned port;...
  • Page 80 /*========================================================================== GET_INT This function take no arguments. return value : The value returned is the highest level bit interrupt currently pending. Range is 1 to 24. This function returns the highest level interrupt pending. If no interrupt is pending, a zero is returned. This function does NOT clear the interrupt. *===========================================================================*/ int get_int(void) int temp;...
  • Page 81 temp = inportb(base_port+9); /* See if any bit set, if so return the bit number */ if(temp !=0) for(x=0; x <=7; x++) if(temp & (1 << x)) outportb(base_port+7,0); /* Turn off access */ return(x+9); /* Return bitnumber with active int */ /* Lastly, read status of port 2 int id */ temp = inportb(base_port+0x0a);...
  • Page 82 "As-is" basis and no warranty as to performance, fitness of purposes, or any other warranty is expressed or implied. In no case shall WinSystems be liable for any direct or indirect loss or damage, real or consequential resulting from the usage of this source code.
  • Page 83 "As-is" basis and no warranty as to performance, fitness of purposes, or any other warranty is expressed or implied. In no case shall WinSystems be liable for any direct or indirect loss or damage, real or consequential resulting from the usage of this source code.
  • Page 84 /* Clean up the screen for our display. Nothing fancy */ clrscr(); for(x=1; x<25; x++) gotoxy(1,x); printf("Bit number %02d ",x); /* We will continue to display until any key is pressed */ while(!kbhit()) /* Retrieve any pending transitions and update the counts */ check_ints();...
  • Page 85 "As-is" basis and no warranty as to performance, fitness of purposes, or any other warranty is expressed or implied. In no case shall WinSystems be liable for any direct or indirect loss or damage, real or consequential resulting from the usage of this source code.
  • Page 86 old_handler = getvect(0x72); /* Hardwired for IRQ10 */ /* Install out new interrupt handler */ setvect(0x72,int_handler); /* Clear the transition count values and enable the falling edge interrupts. for(x=1; x<25; x++) int_counts[x] = 0; /* Clear the counts */ enab_int(x,FALLING); /* Enable the falling edge interrupts */ /* Unmask the interrupt controller */ outportb(0xa1,(inportb(0xa1) &...
  • Page 87 outportb(0xa1,inportb(0xa1) | 0x02); /* Mask IRQ 10 */ /* Restore the old handler */ setvect(0x72,old_handler); /* Put back the old interrupt handler */ /* Reenable interrupts. Things are back they way they were before we started. enable(); /* This function is executed when an edge detection interrupt occurs */ void interrupt int_handler(void) int current;...
  • Page 88 APPENDIX E Cable Drawings Cable Set includes: CBL-SET-280-1 CBL-173-1,CBL-225-1,CBL-234-1,CBL-236-2,CBL-247-1,CBL-249-1 CBL-115-4 50-pin 4ft. Opto Rack interface cable CBL-125-1 Floppy Disk Adapter Cable CBL-173-1 20-pin ribbon to two DB-9 for serial channels 3&4 CBL-225-1 PS/2 mouse adapter cable CBL-236-2 Power cable for sbc (unterminated) CBL-234-1 CRT adapter cable - 14-pin ribbon to 15-pin D-sub CBL-247-1...
  • Page 89: Warranty Service

    . . E-mail: info@winsystems.com WARRANTY WinSystems warrants that for a period of two (2) years from the date of shipment any Products and Software purchased or licensed hereunder which have been developed or manufactured by WinSystems shall be free of any material defects and shall perform substantially in accordance with WinSystems' specifications therefore.

Table of Contents