zcc +nascom -lm -o adventure -create-app adv_a.c
-or-
zcc +nasansi -lm -o adventure -create-app adv_a.c
This command will build a file called “adventure.nas”, an HEX formatted binary file suitable to be run on the existing emulators.
It is possible to choose a full VT/ANSI emulation or a tiny console support. The ANSI version of the library depends a bit less on the ROM because the video memory is addressed directly.
To run a compiled program:
vnascom ROM=nassys1.nas RAM=adventure.nas KBD=EC80