[vz] how to set VZ filename in appmake

Discussion about other targets
Post Reply
nippur72
Member
Posts: 29
Joined: Sat Sep 29, 2018 4:47 pm

[vz] how to set VZ filename in appmake

Post by nippur72 »

appmake for the +vz platform generates a ".VZ" file, which is a container for binary files. Now the file name within the container is always "z80.mc". How do I change it? I tried setting the "blockname" option but it doesn't seem to work:

Code: Select all

zcc +vz gr_inspect_L310.c --list -O2 -create-app -Cz--audio -Cz--blockname=GRINSPECT -o gr_inspect_L310.vz
User avatar
dom
Well known member
Posts: 1966
Joined: Sun Jul 15, 2007 10:01 pm

Re: [vz] how to set VZ filename in appmake

Post by dom »

--blockname sets the name for the .cas file The .VZ name was hardcoded to z80.mc in the crt0.

I've added an option to allow it to be changed: -pragma-string:vzname=yourname - there's a maximum length of 17 characters for the vzname but I guess that should be more than enough.
nippur72
Member
Posts: 29
Joined: Sat Sep 29, 2018 4:47 pm

Re: [vz] how to set VZ filename in appmake

Post by nippur72 »

thank you!

I've switched to the night build "v21611-e49feda1fb-20230912" but now I get this error:

Code: Select all

gr_inspect_L310.c:2: file 'vz.h' not found
(line 2 is just #include <vz.h>)

It compiles fine with the release build v19766-9ffe2042c-20220723. What am I doing wrong? Folder structure is the same, I just do a folder rename to switch between builds (in Windows).
User avatar
dom
Well known member
Posts: 1966
Joined: Sun Jul 15, 2007 10:01 pm

Re: [vz] how to set VZ filename in appmake

Post by dom »

nippur72 wrote: Tue Sep 12, 2023 9:47 am thank you!

I've switched to the night build "v21611-e49feda1fb-20230912" but now I get this error:

Code: Select all

gr_inspect_L310.c:2: file 'vz.h' not found
It got moved to arch/vz.h as part of an attempt to remove target specific files from the root include directory.
nippur72
Member
Posts: 29
Joined: Sat Sep 29, 2018 4:47 pm

Re: [vz] how to set VZ filename in appmake

Post by nippur72 »

thank you!
Post Reply