🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12782

Re: Virtual Memory / doable 1.4 request

#12782
From: Mike Farren
Date: Sat, 20 May 1989 22:33
22 lines
1397 bytes
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
Technical Details
Message-ID: <11756@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!well!farren
References: <8905181730.AA08602@postgres.Berkeley.EDU> <May.19.12.56.31.1989.24701@pilot.njin.net>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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> <May.19.12.56.31.1989.24701@pilot.njin.net>
Reply-To: farren@well.UUCP (Mike Farren)
Organization: Whole Earth 'Lectronic Link, Sausalito, CA
Lines: 22