Go to file
John Bintz 95c05025a4 Add binary 2023-04-05 08:19:50 -04:00
LICENSE Initial commit 2022-05-15 11:15:21 -04:00
README.md tyop 2022-05-15 12:23:19 -04:00
fast_ram_bye_bye Add binary 2023-04-05 08:19:50 -04:00
fast_ram_bye_bye.c Small C program to test RAM going away 2023-04-05 08:15:58 -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

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
mem