
|
[zxspectrum]
||
[Date Prev]
[04-2006 Date Index]
[Date Next]
||
[Thread Prev]
[04-2006 Thread Index]
[Thread Next]
[zxspectrum] Re: infinity
- From: "Alessandro" <apoppi@xxxxxxxx>
- To: <zxspectrum@xxxxxxxxxxxxx>
- Date: Sat, 8 Apr 2006 19:23:25 +0200
On Saturday, April 08, 2006 3:20 PM [GMT+1],
Luca Bisti <lucbisti@xxxxxx> wrote:
E' giusto cosi': INI esegue una IN all'indirizzo BC, mentre OUTI
esegue una OUT all'indirizzo BC-256.
Ma allora perche` in questo documento (preso da quel sito) mi sembra che
dicano il contrario?
4.416BitI/Oports
When using theI/O ports, the16 address lines areused. And infact, the high
8bit do actually have
some value, so you can use 65536 ports afterall. INr,(C),OUT(C),r, and
the Block I/O instructions actually place the entire BC register on the
address
bus. Similary IN A,(n) and OUT (n),A put A×256+n on the addressbus.
The INI/INIR/IND/INDR instructions use BC after decrementing B, and the
OUTI/OTIR/OUTD/OTDR instructions before.
No, ci mancherebbe! RealSpectrum esegue una sola OUT all'indirizzo
con B-1, come dev'essere! Occhio alla decodifica degli indirizzi, ci
sono valanghe di indirizzi di I/O che attivano la 7FFD
Ecco, a questo non avevo pensato (e si spiega tutto).
Ciao!
|

|