intfiction.org

The Interactive Fiction Community Forum
It is currently Thu Jul 19, 2018 4:28 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Z Code Jedi Training
PostPosted: Sat Apr 14, 2018 8:55 am 
Offline
User avatar

Joined: Mon Mar 13, 2017 3:26 pm
Posts: 102
Quarterly reminder to the community ... :D

We have a small but growing group of Z code coders! If you fancy learning the original ways of the Infocom Jedi then let me know and i'll be happy to hook you into the group by whatever your preferred means.

The FB group is here, but by all means we can liaise through other mediums....

https://www.facebook.com/groups/ZILcom/


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Z Code Jedi Training
PostPosted: Sat Apr 14, 2018 3:35 pm 
Offline

Joined: Sat Oct 04, 2008 9:21 pm
Posts: 241
I do not use Facebook, but I did write the Tricky Document; you may read it if you have an interest in optimizations in Z-machine code. (Some of these optimizations have been called rather extreme. It is also possible it contains mistakes; if so, please report them.)

_________________
.


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Z Code Jedi Training
PostPosted: Sun Apr 15, 2018 3:12 am 
Offline
User avatar

Joined: Mon Mar 13, 2017 3:26 pm
Posts: 102
zzo38 wrote:
I do not use Facebook, but I did write the Tricky Document; you may read it if you have an interest in optimizations in Z-machine code. (Some of these optimizations have been called rather extreme. It is also possible it contains mistakes; if so, please report them.)


Awesome, thanks for sharing! I'll share this link into the FB group too if that's ok.

Whilst I have you then, any 'tricks' for implementing Vehicles? I'm having a fun time trying to implement VEHBIT into ZILF. I'm on attempt no.3 so any ideas or suggestions welcome.

Adam.


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Z Code Jedi Training
PostPosted: Sun Apr 15, 2018 9:34 pm 
Offline

Joined: Sat Oct 04, 2008 9:21 pm
Posts: 241
The document only describes tricks for the Z-machine itself, not specific to ZILF or any other programming language used to program it. Examples are given in pseudo-code (for algorithms that a compiler can use) and assembly language (for algorithms implemented in Z-code), although in some cases you may be able to translate them to ZILF. You may still be able to do some of these things with ZIL code though, although some would require modifying the compiler itself.

And, it is OK to share the link if you want to do so. (The document is in the public domain; you may also copy it if you wish.)

(Also, I do not actually know how to program in ZIL (although I can understand most ZIL code I have read) or any other programming language for the Z-machine other than assembly language, so I cannot say how to implement vehicles; sorry.)

_________________
.


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Z Code Jedi Training
PostPosted: Mon Apr 16, 2018 5:01 am 
Offline
User avatar

Joined: Mon Mar 13, 2017 3:26 pm
Posts: 102
zzo38 wrote:
The document only describes tricks for the Z-machine itself, not specific to ZILF or any other programming language used to program it. Examples are given in pseudo-code (for algorithms that a compiler can use) and assembly language (for algorithms implemented in Z-code), although in some cases you may be able to translate them to ZILF. You may still be able to do some of these things with ZIL code though, although some would require modifying the compiler itself.

And, it is OK to share the link if you want to do so. (The document is in the public domain; you may also copy it if you wish.)

(Also, I do not actually know how to program in ZIL (although I can understand most ZIL code I have read) or any other programming language for the Z-machine other than assembly language, so I cannot say how to implement vehicles; sorry.)


I understand. It's still an interesting document. Thanks for sharing!


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group