|
|
Re: Z80 16 bit i/o [message #8353 is a reply to message #8352] |
Thu, 25 February 2021 10:10   |
cmacarthur
Messages: 26 Registered: April 2018 Location: Alberta / Montana
|
Junior Member |
|
|
YES,
You can check out some of Alan's 16 bit I/O z80 boards for the RC2014,
https://hackaday.io/EtchedPixels
https://hackaday.io/project/168355-rc2014-bus-extender
https://hackaday.io/project/170819-16c552-dual-uart-for-rc20 14
They Work GREAT...
you just load BC with 16 bit I/O port address
then out (C),A or whatever register has data byte in it...
The issue is that once you start using/decoding 16 bit I/O, all programs and boards must be changed to 16 bit...
This includes your OS (CP/M etc)
Alan's boards above get around this by only having 1 8 bit I/O location that uses 16 bit addressing...
He swaps the HIGH and LOW bytes on the board (A0-A7 are now high and A8-A15 are now low)...
This also works great for INI,INDR,INIR,OTDR,OTIR,OUTD,OUTI as the "B" reg is INC or DEC giving you block I/O through one 8bit I/O location...
THX
CM
|
|
|
|
|
Re: Z80 16 bit i/o [message #8365 is a reply to message #8358] |
Mon, 01 March 2021 07:48  |
cmacarthur
Messages: 26 Registered: April 2018 Location: Alberta / Montana
|
Junior Member |
|
|
Sorry Missed that...
YES
The above diagram works great for Output as the high data byte is in the "B" reg
CM
|
|
|