Re: Pin compatibility between W65C816S and W65C02S
Posted: Tue May 21, 2013 6:06 pm
Hi again! Sorry for the thread necromancy
I've been busy lately... but at the bench, actually giving birth to my first (working) 6502 computer!
I'll better open a new thread about my creation, but certainly I have learned a lot and I want to thank you all for your help!
Just for future reference of newcomers, I'd like to reply some unanswered questions:
Most respectable, indeed. However, I find the 65C22 quite convenient to use, even with its known quirks... About the 65C51, while certainly not the best ACIA/UART out there, I think it's able to perform decently as long as:
You're right. Currently, I'm not using RDY and it goes to Vcc thru a 4K7 resistor. Next "scheduled" device will use an HC74 to generate the RDY signal when interfacing to some slow peripherals... not sure if that would be safe in case of an unexpected WAI instruction
An exception-like mechanism, still to be fully implemented... whenever an dangerous instruction (SEI, write directly to I/O addresses and/or system variables...) is executed outside kernel space, the offending process would be sweetly terminated - although (except for SEI) needs some extra logic to actually prevent it writing before NMI is acknowledged.
(That would be for the 65C02; I understand the 65C816 makes this much easier with its ABORT input, but I conceive my system as generic as possible)
AC certainly is. But as far as I know, ABT is a BiCMOS technology -- an hybrid between Bipolar and CMOS, with "considerable" static power consumption.
I aim to battery-powered systems with as low as possible power requirements... but I understand that there's always a tradeoff between speed and low-power design
I think AC will serve well, at least below 10 MHz.
I plan to do a similar thing, in order to (temporarily) disconnect some power hungry parts of the circuit when not needed. I had a hard time finding a suitable P-channel MOSFET with very low voltage drop...
Once again, many thanks to all for your help! Now, time to open a new thread to introduce my system
All the best,
Just for future reference of newcomers, I'd like to reply some unanswered questions:
BigDumbDinosaur wrote:
the 65C51 is a lame design that gives real UARTs a bad name, and everything that can be done with the 65C22 can be done better with other hardware. This is an opinion, of course.
- No speeds over the "classic" ones (up to 19200 kb/s) are needed
- The CMOS version is used
- Some kind of interrupt-based receiving buffer is implemented
- The hardware handshake lines (RTS/CTS) are used
Quote:
RDY *should not* ever be directly connected to Vcc. Even if not intentional, there is no guarantee that a WAI instruction won't be accidentally executed due to software errors.
Quote:
BTW, what you have that would be generating NMIs?
(That would be for the 65C02; I understand the 65C816 makes this much easier with its ABORT input, but I conceive my system as generic as possible)
Quote:
74ABT and 74AC are CMOS devices (the AC in 74AC means "advanced CMOS").
I aim to battery-powered systems with as low as possible power requirements... but I understand that there's always a tradeoff between speed and low-power design
I think AC will serve well, at least below 10 MHz.
BigDumbDinosaur wrote:
The only thing hinky about it was it (the 6850) doesn't have a reset input, so I simulated one with a totem pole arrangement triggered by /RESET. When /RESET went low, Vcc to the 6850 was cut off and that was its "reset." Genuine monkey engineering but it did work.
Once again, many thanks to all for your help! Now, time to open a new thread to introduce my system
All the best,
