Re: LZ-Adv: Help with code


[Prev][Next][Index][Thread]

Re: LZ-Adv: Help with code



> From: Ben Shakal <shakal@ns.net>
> 
> It looks like you probably need to switch to the right rom page:
> 
>   ld a,4
>   out (5),a
> 
> I think that is how to do it.  If that doesn't work, look in some source
code for any game 
> to confirm. (I might have the port number wrong or something.)


He doesn't use FINDPIXEL routines, do he should not have to switch to page
4. However...


> > Wait:                                   ;wait till user hits key
> > 
> >         CALL_(GET_KEY)                  ;check for keypress


this should be 
		call GET_KEY


> >         cp 0                            ;if no keypress
> >         JUMP_Z(Wait)                    ;go back to Wait check for
keypress
> >         ret                             ;any key returns to ZShell
> 
> 
> shakal@ns.net


; Max Mansour,       // mail : maxm@ziplink.net 
; self proclaimed   // irc : Justarius
; dictator.        // web : 3designs.home.ml.org  
;
;         come visit my handheld pages 
;      (OmniGo, Windows CE (soon), TI-85/ZShell)


.end


References: