Path: utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!intelhf!agora!billsey From: billsey@agora.uucp (Bill Seymour) Newsgroups: comp.sys.amiga.tech Subject: Re: A Rad: using only 16 bit memory... Message-ID: <1990Sep20.225328.5564@agora.uucp> Date: 20 Sep 90 22:53:28 GMT References: <13089@june.cs.washington.edu> Organization: Open Communication Forum Lines: 42 In article <13089@june.cs.washington.edu> dylan@june.cs.washington.edu (Dylan McNamee) writes: : :I am about to bring the 32 bit memory in my system up to 4 megabytes. :This makes me think of creative ways of using the 2 megs of 16 :bit memory on my 2091 card. I'd prefer not to run code from the :16 bit memory, so the idea of a 16 bit RAD: seems natural. The static :nature of RAD: makes it more handy for this than ram:. Here's a :first cut at a scheme for doing this: : :1) Allocate all of the 32 bit memory in the system. (Using the :routines in MTest seems the easiest, although slow.) I guess this :would be doable by checking the address returned for range in 32 bit :memory space, and freeing it if it weren't. : :2) Create a Rad: disk, which would allocate the 16 bit memory, since :that is all that is around. : :3) Free the 32 bit memory. : :This process would only need to be done at system turn on time, since :after that, the memory is fixed in rad: : :Comments? Easier methods? Mistakes (will this indeed work?) Since RAD is designed to allocate memory from the end of the list instead of the beginning, you don't have to go through all that. Just mount RAD the size you want and it'll come from the 16 bit memory. Remember that you don't really need to use all the 16 bit memory to make sure you're programs will all be running from 32 bit memory... Instead, just don't use all the 32 bit memory up. The start of auto- congi space has a higher priority that then end, therefor programs won't use the 16 bit memory until all the 32 bit is allocated. :dylan :dylan@cs.washington.edu -- -Bill Seymour ...tektronix!reed!percival!agora!billsey ============================================================================= Bejed, Inc. NES, Inc. Northwest Amiga Group At Home Sometimes (503) 281-8153 (503) 246-9311 (503) 656-7393 BBS (503) 640-0842