| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: NadaNet for the //c - just an idea |
> >> What about the serial port? Can you just use the DSR (pin 5) for > >> input and DTR (pin 1) for output? > > > I wouldn't know if they were configurable at that level - I've always > > been a well-behaved programmer and used the firmware interfaces, > > despite their reputation for being awful > > They are, actually. At least to some extent. > But that requires more CPU cycles than the disk port, since the signal is > not available at bit 7 (it is in bit 6) and sending requires not just > banging a softswitch, but writing to a register. Well... Sort of. At least setting DTR off is easy: STZ $C09A, takes 4 cycles. A steal of a deal. You'd have to store #$01 into C09A to turn DTR on. LDA #$01 STA $c09a is just as effective, but takes two cycles longer than STZ does. Reading isn't all that bad, LDA $C099 and AND #$40, or rotate bits to test with the negative flag -- but either way this take 6 cycles to do. So, there's a lot of things that would take 6 cycles, and another 2/3 for a branch -- is this too slow for nada net? -B --- SBBSecho 2.12-Win32* Origin: Derby City Gateway (1:2320/100.2008) SEEN-BY: 10/1 3 34/999 106/1 120/228 123/500 140/1 222/2 226/0 236/150 249/303 SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119 SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700 SEEN-BY: 2320/100 105 200 2905/0 @PATH: 2320/100 261/38 633/260 267 |
|
| 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™.