home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!hp-cv!hp-pcd!hpcvra!rnews!hpcvbbs!akcs.rsanders
- From: akcs.rsanders@hpcvbbs.cv.hp.com (Robert Sanders)
- Newsgroups: comp.sys.hp48
- Subject: memory map & System RPL CREATETEMP
- Message-ID: <2aa6b8de.1655comp.sys.hp48@hpcvbbs.cv.hp.com>
- Date: 4 Sep 92 01:40:02 GMT
- Lines: 27
-
- I've been working my way up from the many scattered (but informative!)
- tidbits about ML programming on the '48, but I don't really feel
- comfortable about what I'm doing unless I REALLY understand it. My main
- concerns now are about memory allocation using CREATETEMP.
-
- 1) I have a program that calls CREATETEMP. I understand that if
- CREATETEMP returns with carry set, an allocation error has occurred. I
- then call GARBAGECOL (at #613e) and re-CREATETEMP. However, I don't
- think I'm doing this correctly, as my program ( a string reverser, what
- else?) will work once (in low memory conditions) then corrupt the string.
- I'm obviously not interpreting GARBAGECOL's exit conditions correctly,
- but I can't get much information from EXPAND (PMC at #61c1c), and my
- disassembly of GARBAGECOL might take a while. Has anyone done this
- already so that I can save a little time and study for finals? :)
-
- 2) CREATETEMP moves the heap into the free space between what was the
- heap and the RPL stack. However, I don't think I really understand what
- the memory areas referenced by the entries4 names RETTOP (saved B @
- #70574) and TEMPTOP (ptr @ #7056F) are (er, sorry for that weak
- sentence). Does anyone have an informative memory map?
-
- 3) Can anyone upload Goodies Disk #7 to seq.uncwil.edu?
-
- Howlin' Bob
- gt5379b@hydra.gatech.edu ; borrowed account
- gt8134b@hydra.gatech.edu ; after Sep 23
- and maybe pshuprs@hydra.gatech.edu if I get the job
-
-