[zxspectrum] Re: Info Z80
- From: Mario <mario.prato@xxxxxxxx>
- To: zxspectrum@xxxxxxxxxxxxx
- Date: Wed, 14 Feb 2007 10:57:32 +0100
l'istruzione OUT(c),a e' standard e viene usata
molto nel 128K perche' il chip ay e il registro
di controllo della memoria sono associati ad A14 e A15 oltre che A1.
in realta' anche le istruzioni IN A,(n) e OUT
(n),A lavorano con 16 bit di indirizzamento, solo
che la parte alta (A8-A15) e' data dal contenuto
di A. Nel caso dell'in ha senso, nel caso dell'out e' abbastanza inutile..
per quanto riguarda lo ZX81, ma puo' valere anche
sullo spectrum, si e' scelto di associare ogni
periferica a una linea degli indirizzi invece che
decodificare l'intero bus, col risultato che il
numero massimo di periferiche si e' ridotto
drasticamente e che possono esserci conflitti nel
caso due linee siano attive contemporaneamente.
Se pensi che l'interfaccia joystick vuole
A5,A6,A7 bassi e che praticamente e'
universalmente usata (e' quasi l'unico standard a
cavallo tra il mondo europeo e quello sovietico)
ti puoi rendere conto di quanto poco spazio di
manovra hai quando crei una nuova interfaccia.. :(
ciaoo
At 10.39 14/02/2007, you wrote:
Su it.comp.retrocomputing ho trovato....
>The Z80 was officially described as supporting 16 bit (64 KiB) memory
>addressing, and 8 bit (256 ports) I/O-addressing. Looking carefully at the
>hardware reference manual, it can be seen that
several I/O instructions, OUT
>(C),A for example, assert the contents of the entire 16 bit BC register to
>the address bus. An orthodox design would maybe decode the entire 16 bit
>address bus on I/O operations in order to take advantage of this feature,
>but it has also been used to minimize hardware requirements, see ZX81.
Se ho capito bene con OUT(C),A sarei in grado di
gestire 65536 periferiche, ma questa istruzione
fa parte del set ufficiale dello Z80 oppure e'
uno quegli opcode non supportati da tutte le cpu ?
Non mi e' chiaro poi l'accenno al fatto che tale
opportunità sarebbe stata sfruttata dallo zx81 (in che modo ?) ....
----------------------------------------------------------------------------
Vuoi rendere inaccessibili agli altri i tuoi documenti riservati?
Prova Ksek! Il potente software di cifratura di Interfree.
Scopri le sue funzionalita': http://ksek.interfree.it/
Lo Staff di Interfree
----------------------------------------------------------------------------
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Cerchi un gioiello per te o da regalare? Sfoglia il nostro catalogo on-line e
non lasciarti sfuggire le numerose occasioni presenti!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?midV31&d-2
- Follow-Ups:
- [zxspectrum] Re: Info Z80
- From: Paolo Ferraris
- References:
- [zxspectrum] Info Z80
- From: cerelli
Other related posts:
- » [zxspectrum] Info Z80
- » [zxspectrum] Re: Info Z80
- » [zxspectrum] Re: Info Z80
- » [zxspectrum] Re: Info Z80
Su it.comp.retrocomputing ho trovato.... >The Z80 was officially described as supporting 16 bit (64 KiB) memory >addressing, and 8 bit (256 ports) I/O-addressing. Looking carefully at the>hardware reference manual, it can be seen that several I/O instructions, OUT
>(C),A for example, assert the contents of the entire 16 bit BC register to >the address bus. An orthodox design would maybe decode the entire 16 bit >address bus on I/O operations in order to take advantage of this feature, >but it has also been used to minimize hardware requirements, see ZX81.Se ho capito bene con OUT(C),A sarei in grado di gestire 65536 periferiche, ma questa istruzione fa parte del set ufficiale dello Z80 oppure e' uno quegli opcode non supportati da tutte le cpu ? Non mi e' chiaro poi l'accenno al fatto che tale opportunità sarebbe stata sfruttata dallo zx81 (in che modo ?) ....
---------------------------------------------------------------------------- Vuoi rendere inaccessibili agli altri i tuoi documenti riservati? Prova Ksek! Il potente software di cifratura di Interfree. Scopri le sue funzionalita': http://ksek.interfree.it/ Lo Staff di Interfree ----------------------------------------------------------------------------
- [zxspectrum] Re: Info Z80
- From: Paolo Ferraris
- [zxspectrum] Info Z80
- From: cerelli