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