"INPUT for ZORK ZERO (c) Copyright 1988 Infocom, Inc. All Rights Reserved." >>) (T >>)> ) ( > >>)> > ; 5) ( 4) (T 9)>> > 13 > )>) ( ) ( >> >> ;"key def" .TRM >> )>) (T )>> > > ;"number chars in def" > ;"number chars already" ;> 13 10> ;"this def is a terminator" >)> > >> > ;"overflowed input buffer" .N 1>>)> > )> .TRM> ) CHR) > ) (ELSE > > >) (ELSE )>)>> > > ;"function key stuff" >> <+ > 2> 1>> >> "MDL routine to create a set of soft-key tables and defaults" )> > > > > !\ >>>)> > >) (ELSE >)>>>> > >> > >> > > ,MACINTOSH> )> )> )> )> >>> > > 2>> 2>> > > > .LINMAX> 2>> <* .FX .LEFT>> > <+ 1 <* .FX <+ ,FLEN 4>>>> > >) (T >)> > > > > >> .NLINE <>> >>> >)> 0>> )>)> ) ( 0>> > ) (ELSE > )>) ( > .LINMAX>) (ELSE )>) ( > 0>) (ELSE >)>) ( >> 4>>) ( > > > !\ > <+ .TMP 5>> ) (ELSE )>) ( > > > ) ( 1> ) (ELSE )> > > >)> .CHR> ) (ELSE )>)>) (ELSE )> > >> .NLINE <>> >>> >)>> > "given a window, returns line hit with mouse click, or false if not in that window." > > >> >>> ) (ELSE > > > >> )> >> )>> ) (F 0) N FKEY (CNT 0)) > > <>) (ELSE T)>> >) (ELSE )> >>> ) S N M TMP (Y <+ .CNT 2>) X) 0> ;"constant string" )> > ) (ELSE > > >> ) (ELSE )> > ) (ELSE )>)> > ;"get past header bytes" > 13> ;"last character CR?" > >)>)> >)>)> > > > )> > >> .KL>> > > <- >> .L>)> >> > > > )> > > )> > > ;"max length of a key definition" ;"window to use for defining" "table containing string definitions for each function key. contiguous so it can be written out or read in." -5 -6
-2
> ;>> ;> ; >) (T >)> ; ) ( > ) (T ">)>> > > > .PIC2) (T .PIC1)> .Y .X> > ,ROSE-NEEDS-UPDATING > )> ) (T ;"leave unhighlited pic up" )> )>>> > > 1>> 1>>> > ;"X-coordinate of most recent mouse click" > ;"Y-coordinate of most recent mouse click" > >> ;>> ; <+ > 2> 1>> >>