[A83] Re: What the heck is RST???


[Prev][Next][Index][Thread]

[A83] Re: What the heck is RST???




As Dan said, just be sure to load the port back in, and you might also want
to disable interrupts. You may want to do:
ld a,h
add a,$40
ld h,a

As that is 1 tstate faster ;) Note that permanently changes H, so you would
only do that once per pointer.

-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Hyperbyte
Sent: Saturday, July 07, 2001 2:27 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: What the heck is RST???



Are there any implications to doin so?
Since 8000h+ is normally used by flags and so, I assume they can't be used
directly.
Also, how do I get the ram page back.
(I assume "in a,(07h)"

is this correct to modify the pointers read from the VAT:

hl contains the location in the 4000h range...

res 6,h
set 7,h

ld a,(hl)
...

It would be a whole lot faster than ld[a|c]indpaged'ing

--Peter-Martijn




Follow-Ups: References: