Path: utzoo!attcan!uunet!samsung!usc!snorkelwacker!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!santra!hila.hut.fi!jmunkki From: jmunkki@hila.hut.fi (Juri Munkki) Newsgroups: comp.sys.handhelds Subject: Re: HP48 machine language Message-ID: <1990Sep16.164904.4675@santra.uucp> Date: 16 Sep 90 16:49:04 GMT References: <8377@jarthur.Claremont.EDU> Sender: news@santra.uucp (Cnews - USENET news system) Reply-To: jmunkki@hila.hut.fi (Juri Munkki) Organization: Helsinki University of Technology, FINLAND Lines: 20 bgribble@jarthur.Claremont.EDU (Bill Gribble) writes: >1.) What is the procedure for allocating and using large chunks of memory? > Say, f'rinstance, that I wanted to rewrite DUP. I know how to fiddle > the stack pointers to tell the system that another object is on the > stack; I know enough about object representation to find and deal with > the object in level 1, and even how big it is; but how do I find a free > memory chunk large enough for a copy of the object? I assume the system > maintains a list of free segments; how do I find it and alter it, if > that's what I need to do? This isn't my idea originally (credit goes to Antti Louko alo@hut.fi): Switch back to RPL and use BLANK to create a new GROB. You can't get exact nibble allocation (bytes are ok), but it's compatible with anything that HP might come up with. ____________________________________________________________________________ / Juri Munkki / Helsinki University of Technology / Wind / Project / / jmunkki@hut.fi / Computing Center Macintosh Support / Surf / STORM / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~