[A83] Re: What the heck is RST???
[Prev][Next][Index][Thread]
[A83] Re: What the heck is RST???
You'd be better off to have a custom font with your own vputs. The ROM reads
from all sorts of RAM values including pencol and penrow when it's
vputmap'ing. And as Michael said to even lookup the bitmap of a font, it's
stored into RAM.
For IPoint, you can simply have a findpixel routine, which isn't very big.
For DispOP1a, depending on what you use it for, you could be better of using
an unpacking mechanism (if the numbers you display are numbers that came
from a Z80 register).
-----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:51 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: What the heck is RST???
Well, then, it would be an idea to include some of the rom routines
into the program, are the _vputs, _ipoint, and _dispop1a routines
found somewhere, or should I use VTI to find them out?
--Peter-Martijn
> You can't use *any* system RAM (that includes flags, OP registers, graph
> buffer, saveSScreen, appBackUpScreen, etc) while you have the page
swapped,
> and you can't use any ROM routine that would use system RAM (additionally,
> TIOS checks to make sure a RAM page is loaded in port 7 in some places).
>
> And yes, for restoring the page, you can get the current page that's there
> with "in a,(7)", save that value, and output it to port 7 after you're
> through.
>
> -Dan Englender
>
>
> > -----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
> >
> >
> >
>
>
>
References: