LZ: Re: my new prog
[Prev][Next][Index][Thread]
> From: Frank <Jblaze77@msn.com>
>
> Hey was up i am new to zshell programming.. i tried to make a program
that
> would draw pixels corresponding to the keys pressed... (like etch a
> sketch).... here it is... it dont work.... if someone can help let me
know
> (jblaze77@msn.com)...
>
...
All these should be conditional calls (except for the last jump, which you
should change to
jr start..
> > Start:
> > call GET_KEY ; get a key
> > cp $04 ; up ?
> > CALL_(up)
> > cp $01 ; down?
> > CALL_(down)
> > cp $02 ; left?
> > CALL_(left)
> > cp $03 ; right
> > CALL_(left)
> > cp $37 ;exit
> > CALL_(exit)
> > JUMP_(Start) ; loop
...
>
; Max Mansour, // mail : mmansour@gis.net
; self proclaimed // irc : Justarius
; dictator. // web : maxwww.home.ml.org
;
; Drugs for Doughnuts !
; Crack, smack, weed, speed, you want it,
; I got it. I can be found in the nearest
; deep-fried pastry establishment.
; I'm the one with the badge and the gun.
.end
Follow-Ups:
References: