🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.msdos.programmer
3 messages
3 total messages Started by Tom Tanida Mon, 13 Aug 1990 23:24
Info wanted on 8253 chip
#1868
Author: Tom Tanida
Date: Mon, 13 Aug 1990 23:24
8 lines
734 bytes
I am writing an application which needs 100ths of a second accurate
timing. Calls to the BIOS are not enough.  I have heard that accessing
the 8253 timer chip is the way to go, but I cannot find any
information on how to use the chip.  Can anybody out there let me know
of a good reference/source of info for this?

Thanks,
Tom
Re: Info wanted on 8253 chip
#1899
Author: Avi Elenko
Date: Thu, 16 Aug 1990 15:25
29 lines
1257 bytes
In article <570@esosun.UUCP>, tanida@odin.css.gov (Tom Tanida) writes:
> I am writing an application which needs 100ths of a second accurate
> timing. Calls to the BIOS are not enough.  I have heard that accessing
> the 8253 timer chip is the way to go, but I cannot find any
> information on how to use the chip.  Can anybody out there let me know
> of a good reference/source of info for this?
> 
> Thanks,
> Tom

Tom -

    You can try the following assembly code.

=== Top Of File ===
                     ; Program the 8254-2

    
    MOV AL,      24H ; Program high order
    OUT 43H,      AL ;
    MOV AL,       01 ; Once 100 micros
    OUT 40H,      AL ;
                     ;
    MOV AL,      14H ; Program low order
    OUT 43H,      AL ;
    MOV AL,     077H ;
    MOV 40H,      AL ;

=== Bottom Of File ===
Re: Info wanted on 8253 chip
#1946
Author: Robert Collins
Date: Mon, 20 Aug 1990 15:50
16 lines
1028 bytes
In article <570@esosun.UUCP> tanida@odin.css.gov (Tom Tanida) writes:
>the 8253 timer chip is the way to go, but I cannot find any
>information on how to use the chip.  Can anybody out there let me know
>of a good reference/source of info for this?


Look in the Intel Peripherals book PN  296467.
Since this is an Intel part, the Intel Peripherals book is the
definitive source.


-- 
"Worship the Lord your God, and serve him only."  Mat. 4:10
Robert Collins                 UUCP:  ...!sun!altos86!rcollins
HOME:  (408) 225-8002
WORK:  (408) 432-6200 x4356
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads