Re: XT-IDE on PCjr
Posted: Wed May 18, 2011 7:31 pm
Ah, OK. Thanks for explaining about the ROM space! I put both sets of address jumpers back into my schematic. Also, I've still got it hard-wired for an 8k EEPROM. You have a different idea for 16-bit data space, though? I'll try to work out what you're talking about, if I can, but if you have a specific idea for how to modify the design, it'd be easier on me.Brutman wrote:I don't think we should be touching any cartridge space. I'm not even sure cartridge space addresses make it out to the expansion bus - if I were IBM I wouldn't have done that. Check the wiring diagrams to see if it is even possible. Another small glitch - cartridges don't use the standard BIOS checksum - you need to use the CRC algorithm in the tech ref.
I'm not happy about 32K compared to 8KB. Seems kind of piggish. We basically have the space from C000:0000 to C000:FFFF for all of the possible ROM BIOS extensions. Burning 32KB for something where we know 8KB works is bad. It makes it harder to add other devices if we do that.
If we do the 'Chuck mod', I don't want to mimic what he did exactly because that messes up the addressing on the whole card, not just the register space. We should just be aiming to ensure the 16 bit data latch to the drive is in consecutive I/O addr space, and in the right order. Memory mapped would be 20% faster, but I/O ports are fast enough.
The current code doesn't use IRQs at all. And I doubt we'll ever need an IRQ.
I/O port numbers need to be flexible ..