Go to file
2022-05-15 12:22:25 -04:00
LICENSE Initial commit 2022-05-15 11:15:21 -04:00
mem Add code and binary 2022-05-15 12:22:25 -04:00
mem.c Add code and binary 2022-05-15 12:22:25 -04:00
README.md Add code and binary 2022-05-15 12:22:25 -04:00

Amiga AllocMem Example Code

The C program used in "What the Heck is NoFastMem?" to show how AllocMem works. View the video here: https://www.youtube.com/watch?v=CDUtoaqKkkk

Compiling

You'll need vbcc with the m68k target and the appropriate Native Development Kit headers installed:

vc -lauto -lamiga -c99 +kick13 -o mem mem.c

mem included in this repo is built with the above command and should run on AmigaOS 1.3 and higher.

Running

Open a Shell on an Amiga with Fast RAM and run:

mem
run nofastmem
mem
run nofastmem
run