Pullup resistors

General Chit Chat about Sinclair Computers and their Clones
Post Reply
User avatar
blittled
Posts: 229
Joined: Fri Dec 19, 2008 3:04 am
Location: Northwestern Pennsylvania, USA

Pullup resistors

Post by blittled »

I've always wondered about the function of the 8 pull up resistors on the data bus of the ZX81. Are the outputs of the ULA open collector which would need them?
2X Timex Sinclair 1000, ZX81, ZX80Core, 5X 16K Ram Pack, ZXBlast, ZX P file to Ear Input Signal Converter, Elf II
User avatar
PokeMon
Posts: 2264
Joined: Sat Sep 17, 2011 6:48 pm

Re: Pullup resistors

Post by PokeMon »

Yes - the ULA has open collector outputs for overdriving the databus with NOPs during video mode.
User avatar
RetroTechie
Posts: 379
Joined: Tue Nov 01, 2011 12:16 am
Location: Hengelo, NL
Contact:

Re: Pullup resistors

Post by RetroTechie »

blittled wrote:I've always wondered about the function of the 8 pull up resistors on the data bus of the ZX81.
There's 2 data busses on the ZX81, fyi. :mrgreen: But pull-up resistors on a data bus is pretty standard, even without OC outputs in the picture. It makes for defined logic levels when nothing responds to a memory or I/O read. Read: more predictable software behavior since for every "unused" bit a "1" will be read rather than "undefined". Imho, it's stupid that software exists where "undefined" bits can actually change a software's behavior. Or it relies on "undefined" to be a 'defined' level in reality. But as you know, stupid software is the rule rather than the exception... :lol:
Are the outputs of the ULA open collector which would need them?
If the ULA used tri-state outputs to put keyboard signals on the Z80 data bus, then external keyboards (attached to the edge connector) probably wouldn't work. I can't confirm personally since I don't own such keyboard(s), but this alone suggests the ULA has OC data outputs. And if so, pull-ups are pretty much a necessity. Outputting a Z80 NOP code doesn't conflict with OC outputs. ;)
Post Reply