Discussion:
ZAPF, a new Z-machine assembler
(too old to reply)
vaporware
2009-07-02 14:46:57 UTC
Permalink
Introducing ZAPF: the Z-machine Assembler Program of the Future.

ZAPF is a new assembler with old roots. It supports a modern syntax
similar to Inform's, but by default it provides a fully retro
experience, using the same opcode names and syntax described in
Infocom's famous ZIP manual. You'll feel just like an Implementor in
the dark--I mean *exciting* days before ZILCH was invented.

Unlike other Z-machine assemblers, ZAPF gives you plenty of assistance
without forcing your program into a strict mold. It's an ideal tool
for low level work, whether you're coding by hand or writing a
compiler: you control what goes into RAM and ROM, and where.

Want to conserve space in the save file by putting read-only arrays in
ROM? Interleave data with code? Make a file that contains no valid
instructions and will choke any interpreter? Rock on! Now you can do
it without giving up such features as named variables and constants,
include files, and automatic dictionary sorting.

I've just uploaded version 0.1 of ZAPF to the IF Archive. In the
meantime, check out the manual and some sample code:

http://hansprestige.com/zapf/zapf_manual.html
http://hansprestige.com/zapf/beer.zap

vw
S. John Ross
2009-07-02 15:00:59 UTC
Permalink
I don't understand it, but it radiates cool.
markm
2009-07-02 17:03:52 UTC
Permalink
Post by vaporware
Introducing ZAPF: the Z-machine Assembler Program of the Future.
Obvious: if folks create a user group for this, they'll have
to call themselves ZAPF Dingbats.



Regards,
markm
Otto Grimwald
2009-07-02 17:07:49 UTC
Permalink
Post by vaporware
Introducing ZAPF: the Z-machine Assembler Program of the Future.
funny :)

is it free software?

With sources I could make a package for it.
Jesse McGrew
2009-07-02 22:02:44 UTC
Permalink
On Jul 2, 10:07 am, Otto Grimwald
Post by Otto Grimwald
Post by vaporware
Introducing ZAPF: the Z-machine Assembler Program of the Future.
funny :)
is it free software?
With sources I could make a package for it.
I do eventually plan to release it under the GPL, but there's more to
be done first.

Oh, I almost forgot... what good is a program like this without a
playable game to try? Specifically, *that* game? I give you:
http://hansprestige.com/zapf/cloak.zip

No comments in this one, though. Reading bare code builds character
and is a great way to show your friends how hardcore you are.

vw
Katzy
2009-07-02 22:57:47 UTC
Permalink
Hello.

Jesse McGrew wrote in message ...
On Jul 2, 10:07 am, Otto Grimwald
<snip>
Post by Jesse McGrew
Oh, I almost forgot... what good is a program like this without a
playable game to try? Specifically, *that* game? I give you:
http://hansprestige.com/zapf/cloak.zip

It's cloak-zap.zip and zapf-0_1.zip is there too...;)

Bye, Katzy.
Jesse McGrew
2009-07-02 23:16:11 UTC
Permalink
Post by Katzy
Hello.
Jesse McGrew wrote in message ...
On Jul 2, 10:07 am, Otto Grimwald
<snip>
Post by Jesse McGrew
Oh, I almost forgot... what good is a program like this without a
playable game to try? Specifically, *that* game? I give you:http://hansprestige.com/zapf/cloak.zip
It's cloak-zap.zip and zapf-0_1.zip is there too...;)
Bye, Katzy.
Whoops, you're right. The correct link is: http://hansprestige.com/zapf/cloak-zap.zip

zapf-0.1.zip has made it to the unprocessed directory at the IF
Archive: http://www.ifarchive.org/if-archive/unprocessed/zapf-0.1.zip
(though you can also download it from my site, you sneaky devil)

vw
Isxek
2009-07-03 08:35:00 UTC
Permalink
Post by Jesse McGrew
Oh, I almost forgot... what good is a program like this without a
playable game to try? Specifically, *that* game? I give you:http://hansprestige.com/zapf/cloak.zip
No comments in this one, though. Reading bare code builds character
and is a great way to show your friends how hardcore you are.
I just took a look at the sample game code.

Pfft. *That* was hardcore? =)
Jesse McGrew
2009-07-03 21:08:18 UTC
Permalink
Post by Isxek
Post by Jesse McGrew
Oh, I almost forgot... what good is a program like this without a
playable game to try? Specifically, *that* game? I give you:http://hansprestige.com/zapf/cloak.zip
No comments in this one, though. Reading bare code builds character
and is a great way to show your friends how hardcore you are.
I just took a look at the sample game code.
Pfft. *That* was hardcore? =)
Well, if you want a real challenge, you could hack the parser to
support "then", or "and", or disambiguation, or noun inference...

vw
Isxek
2009-07-04 01:48:40 UTC
Permalink
Post by Jesse McGrew
Post by Isxek
I just took a look at the sample game code.
Pfft. *That* was hardcore? =)
Well, if you want a real challenge, you could hack the parser to
support "then", or "and", or disambiguation, or noun inference...
Nah, I'm just kidding. I can't even grok the source codes to those so-
called "z-machine abuse" games.
f***@gmail.com
2015-06-11 14:38:29 UTC
Permalink
Late in the game and looking for some support with the ZAPF assembler. I am using it to generate unit tests for a z machine interpreter I am working on and I have some problem with version 5 story files which does not seem to assemble correctly. Is there any chance to get access to the sources, I would happily help fixing any problem I can find. Cheers!
Post by vaporware
Introducing ZAPF: the Z-machine Assembler Program of the Future.
ZAPF is a new assembler with old roots. It supports a modern syntax
similar to Inform's, but by default it provides a fully retro
experience, using the same opcode names and syntax described in
Infocom's famous ZIP manual. You'll feel just like an Implementor in
the dark--I mean *exciting* days before ZILCH was invented.
Unlike other Z-machine assemblers, ZAPF gives you plenty of assistance
without forcing your program into a strict mold. It's an ideal tool
for low level work, whether you're coding by hand or writing a
compiler: you control what goes into RAM and ROM, and where.
Want to conserve space in the save file by putting read-only arrays in
ROM? Interleave data with code? Make a file that contains no valid
instructions and will choke any interpreter? Rock on! Now you can do
it without giving up such features as named variables and constants,
include files, and automatic dictionary sorting.
I've just uploaded version 0.1 of ZAPF to the IF Archive. In the
http://hansprestige.com/zapf/zapf_manual.html
http://hansprestige.com/zapf/beer.zap
vw
vaporware
2015-09-21 05:54:44 UTC
Permalink
Post by f***@gmail.com
Late in the game and looking for some support with the ZAPF assembler. I am using it to generate unit tests for a z machine interpreter I am working on and I have some problem with version 5 story files which does not seem to assemble correctly. Is there any chance to get access to the sources, I would happily help fixing any problem I can find. Cheers!
Source code for ZAPF (and ZILF) is available at https://bitbucket.org/jmcgrew/zilf. I've done a lot more work on the tools since posting this thread, so the problem you encountered may already be fixed in the latest release.

vw
Happy MAC XL
2017-06-07 02:28:48 UTC
Permalink
Post by vaporware
Introducing ZAPF: the Z-machine Assembler Program of the Future.
ZAPF is a new assembler with old roots. It supports a modern syntax
similar to Inform's, but by default it provides a fully retro
experience, using the same opcode names and syntax described in
Infocom's famous ZIP manual. You'll feel just like an Implementor in
the dark--I mean *exciting* days before ZILCH was invented.
Unlike other Z-machine assemblers, ZAPF gives you plenty of assistance
without forcing your program into a strict mold. It's an ideal tool
for low level work, whether you're coding by hand or writing a
compiler: you control what goes into RAM and ROM, and where.
Want to conserve space in the save file by putting read-only arrays in
ROM? Interleave data with code? Make a file that contains no valid
instructions and will choke any interpreter? Rock on! Now you can do
it without giving up such features as named variables and constants,
include files, and automatic dictionary sorting.
I've just uploaded version 0.1 of ZAPF to the IF Archive. In the
http://hansprestige.com/zapf/zapf_manual.html
http://hansprestige.com/zapf/beer.zap
vw
This might be what i'm after...

For an IF i'm planning I have a number of quite complex non-player characters, when I say complex what I mean is that the player will be able to have fairly long conversations with them.

I'm thinking of having separate *.zil Object files for the characters; will this cause any problems when it comes to compiling to *.z5 (or whatever the output format is) ?

Thanks

Adam

Loading...