Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!well!farren From: farren@well.UUCP (Mike Farren) Newsgroups: comp.sys.amiga.tech Subject: Re: Virtual Memory / doable 1.4 request Message-ID: <11756@well.UUCP> Date: 20 May 89 22:33:49 GMT References: <8905181730.AA08602@postgres.Berkeley.EDU> Reply-To: farren@well.UUCP (Mike Farren) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 22 limonce@pilot.njin.net (Tom Limoncelli) writes: >Maybe this is too weird. Maybe there aren't many spare bits left in >the MEM_* flags (I don't have an Amiga here at work so I can't check >if it's a word or a long word) but why not have MEM_PHYSICAL *and* >MEM_VIRTUAL? Or, why not have the default value used by AllocMem et al be definable? Like so: 1. Add a new protection bit - 'v'. (Or other mechanism - something older apps will not have set). 2. If 'v' flag is set, AllocMem assumes MEMF_VIRTUAL as default. If 'v' flag is not set, AllocMem assumes MEMF_PHYSICAL as default. Older programs don't have 'v' flag set, don't crash. Newer programs do, run fine. Also, non-VM systems can allocate all memory as physical. I'm assuming that this is naive - it's certainly off-the-cuff. Do you see problems? -- Mike Farren uucp: well!farren