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


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

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




Yes. The lower half of the stack I've never seen used. You should check the
SP first though, and you could write a routine to automatically fill the
unused stack space with data.


Michael Vincent
Detached Solutions - www.detacheds.com
Radical Software - www.radicalsoft.org

----- Original Message -----
From: "Dan Englender" <dan@calc.org>
To: <assembly-83@lists.ticalc.org>
Sent: Saturday, July 07, 2001 2:01 PM
Subject: [A83] Re: What the heck is RST???


>
> Well, unless I misunderstood, he only needs to swap the pages to read a
bit
> of data from the ROM page (which he can stick on the stack, or some other
> place still accessible while the RAM page is out).  Once he's done doing
> that, he can swap back in the RAM page, and use all ROM calls like usual.
> And like Michael said, most ROM calls use RAM areas, and they get pretty
> long if you want to put the *whole thing* in your application.
>
> -Dan Englender
>
>
> ----- Original Message -----
> From: "Michael Vincent" <hookman@worldnet.att.net>
> To: <assembly-83@lists.ticalc.org>
> Sent: Saturday, July 07, 2001 4:57 PM
> Subject: [A83] Re: What the heck is RST???
>
>
> >
> > That's more complicated then you think. I may be wrong, but routines
like
> > _vputmap use system RAM area such as sfont_record I think.
> >
> >
> > Michael Vincent
> > Detached Solutions - www.detacheds.com
> > Radical Software - www.radicalsoft.org
> >
> > ----- Original Message -----
> > From: "Hyperbyte" <hyper@hysoft-automation.com>
> > To: <assembly-83@lists.ticalc.org>
> > Sent: Saturday, July 07, 2001 1:50 PM
> > 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: