> >>   I don't know. But I think it's possible to "add" this instructions.
(-;
> >> In the same way as ADVRAM works, but doing a "bridge" over Z180.
> >Hmmm... How will the registers be read then???
>
>   I think that, if it's possible, it'll be a DIRTY service... (-;

Yes. And I really have no idea how he is planning to do it...

> >Sometimes you need extra registers. And they aren't that slow. I use IX
and
> >IY a lot. I don't use IXh / IXl etc. often, but Patriek uses them often
in
> >GEM for example.
>
>   Yes, and if he find a way to remove them, the emulation will be a
> lot faster... (-;

Not. It is a common mistake to think the IX/IY registers serve no good. They
are not that slow at all, and since Patriek uses a lot of lookup tables
(that's what they are made for), they can be pretty useful.

Example: You've got a block of copy-data stored in RAM. You want to change
DX, NX, and the color.
The HL way (HL pointing to DX):
    LD  (HL),A
    INC HL
    INC HL
    INC HL
    INC HL
    LD  (HL),A
    INC HL
    INC HL
    INC HL
    INC HL
    LD  (HL),A
The IX way (IX pointing to the start of the copy):
    LD  (IX+4),A
    LD  (IX+8),A
    LD  (IX+12),A

What is faster... You may guess...


~Grauw


--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<
 email me: [EMAIL PROTECTED] or ICQ: 10196372
      visit my homepage at http://grauw.blehq.org/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<


****
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
****

Reply via email to