home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp48 / 4475 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.7 KB

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