/* SG C Tools 1.3 (C) 1993 Steve Goldsmith All Rights Reserved Compiled with HI-TECH C 3.09 (CP/M-80). */ #include #include #include /* set cia timer b and control reg b */ void settimerbcia (ushort C, ushort Latch, uchar CtrlReg) { outp(C+ciaTimerBLo,(uchar) Latch); /* timer latch lo */ outp(C+ciaTimerBHi,(uchar) (Latch >> 8)); /* timer latch hi */ outp(C+ciaControlB,CtrlReg); /* set timer controls */ }