TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: david nugent
from: Russell Coker
date: 1993-11-21 20:24:00
subject: Interrupted Serial Ports

dn> >    You don't need to write an interrupt driven program to get

dn>around this

dn> > problem.  Just use direct reads from and writes to the ports

dn> > on the UART instead of using BIOS routines.  That should give

dn> > you enough speed.

dn>

dn>The point of using interrupt driven methods is to service a

dn>hardware device WHEN IT NEEDS TO BE SERVICED.  Directly reading



   Yes, I know.  But the original post stated that slow computers couldn't¨
handle moderate serial speeds when using the BIOS, and I was pointing out
that¨ it might not be necessary to go to the effort of writing an interrupt
driven¨ program to solve this problem (the problem being that the BIOS is
too slow).

Also directly polling the UART will not require changes to the structure
of¨ his program (he can write functions to poll the UART which take the
same¨ parameters as the BIOS calls if he wants) so it will be a quick
change.





   cya





--- SuperBBS 1.17-2 (Reg)


* Origin: MBUG, The microbee club of Australia 61-3-739-5238 (3:633/362)
SEEN-BY: 50/99 54/54 620/243 622/405 623/630 632/348 998 633/104 204 207 252
SEEN-BY: 633/260 362 366 371 373 634/383 384 635/210 502 503 544 570 636/100
SEEN-BY: 670/206 711/409 430 807 808 809 932 934 712/623 714/906 800/1
@PATH: 633/362 373 371 635/503 50/99 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.