MY PROGRAMS ZMachine 1.2 PROGRAM There are instructions below, under the license. BY DOWNLOADING YOU SIGNIFY YOU HAVE READ AND AGREED TO ALL OF THE CONDITIONS LISTED HERE. This is a C/assembly program. It is possible for a C/assembly program to damage data and even to make your organizer inoperable. USE AT YOUR OWN RISK. NO GUARANTEES ARE MADE. By downloading this program to your organizer you agree not to hold the author(s) responsible for any damage to data, hardware or anything else. IF ANY OF THESE CONDITIONS ARE NOT PERMITTED BY APPLICABLE LAW, YOU ARE NOT LEGALLY PERMITTED TO DOWNLOAD OR USE THE PROGRAM. This program may be freely distributed but only provided that this description is unmodified. Most of this program is copyright (c) 2001 Shawn Roberts and Matthew Holladay, but some is by Alexander R Pruss. It is recommended you back up your Wizard before running C/assembler programs. NOTE: If a C/assembly program hangs due to a bug, you may need to flip the battery switch on the bottom of the Wizard back and forth. If the Wizard does not respond to this, taking the batteries out for half a minute should help. If this doesn't help, you've read the WARNING above. None of this should be necessary, but no guarantees are made. This program may not have been sufficiently tested. Report bugs and suggestions to: m_holladay@hotmail.com. BASIC INSTRUCTIONS: This program will run Infocom Version III type games, which includes most of the "classic" Infocom games. To exit, at any time, press "MY PROGRAMS", , or the Power Button to exit. For more information on playing the game, or on how to load games, refer to the readme.txt file included with this program. NOTE: Any alarms going off while ZMachine is running will be missed. The auto power-off won't work either. TECHNICAL INFORMATION: This program is written in Hi-Tech C, with some assembly bits for i/o. BIN_PROG_1 PFILE:B8UQ7A8U.BAS p8d 1&HA012 u1ZB8UQ7A8UBASog!}|5:h2:2*$":&22>!R( MD kb6!6!ޥ} !ͨ!V!͐>>>V:2h*"$:2&!1!a i a i"y2x2>>&,> >&,!9[}2|2*y2x2\!9}2f|2gc.]| ^q,Vp,^q,Vp,K$K!>>*V>G^ppOGyx[*KkbK 6yxOGů>*+T]K K:o_:gWK 6yx:; OGů>!9n&)MD !!N#~G''''o&T])))Y;:A¯{ݶw {ݶw {ݶw {ݶw {ݶw {ݶG:xʫw ~_zw ~_zw ~_zw ~_zw ~_zw ~_zG:xw!4yxAWzݮw zݮw zݮw zݮw zݮw zݮG:xSw ~_zw ~_zw ~_zw ~_zw ~_zw ~_zG:xʯw     OGKҏyx!u_ yxxx)yH-y|yx66@s66p~(6n&xxmyHqy|yx66 666p~(6yxn:@.e,:@@oˆy! ~w*| >@w*|gʹWFreeEnvironmentStringsAFreeEnvironmentStringsWWideCharToMultiByteGetEnvironmentStringsGetEnvironmentStringsWUnhandledExceptionFilterSGetStringTypeAVGetStringTypeWLCMapStringALCMapStringWASetConsoleCtrlHandlercSetEnvi!6:0OG:(!""ԉ>2!"!"~"yx!~(G J#~ "##~ =+^{(7!i`Bs" ##~ +^{(!q#px8y8yx>2etLocaleInfoAwEnumSyem>2`!l"a>M2\!9nf2ψ!„+y<6 #= Ä!9>c2\>2`!u"aÄ!9>c2\>2`!+"anf }2ӈÄ!9~2\>2`og"a:OGnfN#F !!3nf~#fo| |,}8 .$!!\!~#fo]MDyx^#V{ʢ{ƉSԈ#^#V#{ ####2^#V#{.##2^#V#JP! ~ƀx!^c.~M©l~~MDnfq#pBMDnfq#pnfKԈq#p^#V{({ƉSԈ+V+^{ <+V+^{ 2+V+^{ (+V+^{ +V+^{ +V+^{ +Vz+^2.eyx+~+©:ӈL*"_B"  NFCZnf~2\2]>!9[Z B:\_+w+wMDV }2^:2:]^*_">2:^o&!9!9OG>W!%~!9w#6yx! 9Ki&)))K N!ٍ Nqpnf)! 9MD F#fhutww!9~ w0#4n f n f ! 9N!9]Tsw nfNF^V|nS22x(  y(::!::͔2OG> :q R:r K:p D:o) =:l 7S>!~## #~ #~# !~w!~wSyx:oP Xyy y""Q Y:0!9~2ԏ~2֏~2׏u!9!9K֏:ԏo&)))K !RO Nv2Տy:Տo&>29^V!S"^V*x#R(%[*!*60!v!nf } *vnf"xE9ͯ2[f!^Vnf 0 nfͶEnf"*tR [n&nE>2:<2:_:ob}0t:o&)~#fo[R :_:ob}:_!L~2t:o&)N#FC2,t:o&+)N#Fo&)q#p_!K~!L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