On Fri, 21 Apr 2000, Daniel Jorge Caetano wrote:
> How MSX hardware (specially
> that memory mapped ones) will cope with the 4Gb linear addressing?
You could map the entire slot structure into the 4Gb address space.
Example:
#0000:0000 .. #0000:FFFF : MSX compatible slot selection
#0001:0000 .. #000F:FFFF : unused
#0010:0000 .. #0010:FFFF : slot 0-0
#0011:0000 .. #0011:FFFF : slot 0-1
#0012:0000 .. #0012:FFFF : slot 0-2
#0013:0000 .. #0013:FFFF : slot 0-3
#0014:0000 .. #0014:FFFF : slot 1-0
#0015:0000 .. #0015:FFFF : slot 1-1
...
#001F:0000 .. #001F:FFFF : slot 3-3
#0020:0000 .. #FFFF:FFFF : others (main RAM, ADVRAM)
If a slot is not expanded, you simply map it 4 times: non-expanded slot 2
would be mapped as 2-0, 2-1, 2-2 and 2-3.
So it is possible to use memory mapped MSX hardware (SCC, IDE) in a linear
addressing mode. Just as long as you take care not to send data too fast,
either in hardware (wait-states) or software (NOPs).
In fact, linear mapping will make access to old memory mapped MSX hardware
faster, because slot switching is no longer necessary.
Bye,
Maarten
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
The MSX faq: http://www.faq.msxnet.org/
The MSX newsgroup: comp.sys.msx
The MSX IRC channel: #MSX on Undernet
****