[A83] Re: InsertMem/DelMem


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

[A83] Re: InsertMem/DelMem



well if it does an lddr  from top of fps to 8000, then it could potentially
overwrite important system data.  i haven't looked at the exact operation of
the romcall, have you?  if you give the routine a proper pointer, then yes
thats how it does work.  theres no guarantees on that stuff when you don't
give a proper pointer

brandon sterner

----- Original Message -----
From: "Martin" <iemandiemand@xs4all.nl>
To: <assembly-83@lists.ticalc.org>
Sent: Tuesday, June 03, 2003 6:37 PM
Subject: [A83] Re: InsertMem/DelMem


> It shouldn't give any bugs, it would just move all variables needed to
> insert the mem and stop. Everything will just work right without any
> problems at all. This is how ion and mirageos execute programs, they
insert
> enough mem to put the program at address 9D95h, then they copy/move the
> program there and run it, afterwards they delete it using delmem.
>
> Martin Warmer
>
> At 09:18 PM 6/3/03 -0400, you wrote:
> >have you tried it?  probably  bad things...
> >
> >brandon sterner
> >
> >----- Original Message -----
> >From: "Sean McLaughlin" <sigma_ti@yahoo.com>
> >To: "A83" <assembly-83@lists.ticalc.org>
> >Sent: Tuesday, June 03, 2003 7:31 PM
> >Subject: [A83] InsertMem/DelMem
> >
> >
> > > InsertMem adds RAM to a variable, DelMem takes it
> > > away, what specifically happens if they're used on an
> > > address that isn't within a variable?
> > >
> > > E.g.
> > >    ld  de,8000h
> > >    ld  hl,1000
> > >    B_CALL  InsertMem
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> > > http://calendar.yahoo.com
> > >
> > >
>
>
>




Follow-Ups: References: