stephen@hpdml93.HP.COM (Stephen Holmstead) (01/10/90)
I have a home-made RAM board that I want to add to my Amiga. Before I add the auto-config stuff to the board, I want to try it out and see how it works. Thus, does anyone know how to add a known chunk of fixed-address memory to the system free list? I know that there is an AddFreeList routine that will do this, but you need to provide it with the free list! How do I find out where the system free list resides? Is this too much trouble? Should I just wait until I make the board auto-config? There's gotta be a simple routine to do this, right? ____ ____ | / /_ __\ | Disk 0S/2 == 1/2 OS (Leo Schwab) Stephen Holmstead | | / / /_/ | | Mechanism // ...!hplabs!hpdmlge!stephen |___\ / /___| Division \X/ Amiga stephen@hpdmlge.boi.hp.com
ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) (01/11/90)
In article <15450006@hpdml93.HP.COM> stephen@hpdml93.HP.COM (Stephen Holmstead) writes: >I have a home-made RAM board that I want to add to my Amiga. [ ... ] >Thus, does anyone know how to add a known chunk of >fixed-address memory to the system free list? [ ... ] Well, you could use AddMem, which can be found lurking on old developers' disks, or old memory vendors' disks. There's also an Exec function: AddMemList (size, attributes, pri, base, name) LONG size; /* Size in bytes of the memory reigon. */ LONG attributes; /* Memory attributes (MEMF_FAST, etc.). */ LONG pri; /* Priority in the memory list (usually 0). */ APTR base; /* Base address of the memory reigon. */ char *name; /* Name (usually NULL) */ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape INET: well!ewhac@ucbvax.Berkeley.EDU \_ -_ Recumbent Bikes: UUCP: pacbell > !{well,unicom}!ewhac O----^o The Only Way To Fly. hplabs / (pronounced "AE-wack") "Because you never know who might want to sit in your lap."