home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17325 / text0000.txt < prev   
Encoding:
Text File  |  1992-12-14  |  767 b   |  18 lines

  1. In article <37848@cbmvax.commodore.com> jesup@cbmvax.commodore.com (Randell Jesup) writes:
  2. > chris@alchemy.tn.cornell.edu writes:
  3. > >However, apparently dol_StartUp does NOT always point to a valid
  4. > >FileSystemStartupMsg (hereafter abbreviated FSSM) even though IsFileSystem()
  5. > >returns true.
  6.  
  7. > ...startup can hold 3 things: an integer,
  8. > an BPTR to a BSTR, or a pointer to an FSSM (actually I think it's a BPTR).
  9. > Ugly, eh?
  10. >
  11. >     A heuristic approach: first, filter out values <64 (64*4 = the size of
  12. > the 680x0 vector table, no pointer can be here).  Next, see if TypeOfMem
  13. > on startup<<2 says it's real memory.  Next, see if the various FSSM pointers
  14. > (or BPTRs) point to real memory (TypeOfMem again).  That should catch almost
  15. > all cases.  (UGLY!!!!).
  16. >
  17.  
  18.