Re: 1Mhz 6502 bitbang 57kbaud
Posted: Mon Sep 10, 2012 8:52 pm
BigEd wrote:
I'd describe baud as the symbol rate.
That article you mention might be this: George Hug, Toward 2400 (Transactor Vol. 9, Issue 3 - Feb. 1989 p.62)
In PDF here: http://ia700701.us.archive.org/21/items ... 3_text.pdf
In HTML reader here: http://archive.org/stream/transactor-ma ... 3/mode/1up
(via http://archive.org/details/transactor-magazines-v9-i03)
Interesting, thanks!
Cheers, Ed
That article you mention might be this: George Hug, Toward 2400 (Transactor Vol. 9, Issue 3 - Feb. 1989 p.62)
In PDF here: http://ia700701.us.archive.org/21/items ... 3_text.pdf
In HTML reader here: http://archive.org/stream/transactor-ma ... 3/mode/1up
(via http://archive.org/details/transactor-magazines-v9-i03)
Interesting, thanks!
Cheers, Ed
I couldn't recall his name but I remember that when I read the article (which was in the same issue as one of mine) I was impressed with the diligence Mr. Hug had put into solving a riddle that no one previously could solve.
The problem had to do with the timer B interrupt in the CIA (CIA #2) that was being used to bit-bang the RS-232. If timer B interrupted right around the interrupt status register was being read (e.g., due to timer A interrupting) the flag bit for B would not be set in the ISR, no interrupt (NMI in this case) would occur for quite a while (in computer terms, not wall-clock time) and incoming data bits would be dropped. No one, including Commodore, seemed to have a handle on the problem until Hug identified it and determined that it was a chip defect (which I subsequently discovered to be present in both CIAs in all three of my C-128s). It then turned out Elizabeth Deal had tripped over the same problem several years before Hug's article was published. Deal had published an article (in 1984, I believe) on how to use CIA interrupts to "orchestrate" the SID, in which she described how she kept running into periodic timing problems. She, however, did not research it to the extent that Hug did.
This CIA glitch was a common sort of problem with MOS Technology products. The best-known defect, of course, was the 6502's JMP (<addr>) bug, which could have been fixed if it weren't for a certain guy named Jack who was always exhorting the troops to cut cost to the bare bone.