Re: A89: Re: Re: Why are these buttons doing this?


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

Re: A89: Re: Re: Why are these buttons doing this?




Up is #337
Down is #340
Left is #338
Right is #344




---Miles Raymond <m_rayman@bigfoot.com> wrote:
>
> 
> Sorry about that... I clicked on send before I meant to...
> 
> I also wanted to ask if anyone had the real keycodes for the arrow
keys.
> I'm trying to make make Arwing greysprite move around, but the
keycodes are
> all messed up.  If anyone would like to look at the code, I'd gladly
send it
> to them.
> 
> -Miles Raymond      EML: m_rayman@bigfoot.com
> ICQ: 13217756       IRC: Killer2        AIM: MRayMan
> http://www.bigfoot.com/~m_rayman/
> 
> -----Original Message-----
> From: Miles Raymond <m_rayman@bigfoot.com>
> To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
> Date: Thursday, March 04, 1999 11:22 PM
> Subject: A89: Re: Why are these buttons doing this?
> 
> 
> >What's c2?
> >
> >-Miles Raymond      EML: m_rayman@bigfoot.com
> >ICQ: 13217756       IRC: Killer2        AIM: MRayMan
> >http://www.bigfoot.com/~m_rayman/
> >
> >-----Original Message-----
> >From: Ben Rodgers <bentensai@yahoo.com>
> >To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
> >Date: Thursday, March 04, 1999 10:42 PM
> >Subject: A89: Why are these buttons doing this?
> >
> >>For some reason these keys are causing my program to crash my calc
> >>even though they are not even being used.
> >>Could someone tell me what is going on?  It is a program to make
> >>sounds by hitting certain keys.  Thanks.
> >>
> >> include "tios.h"
> >> include "userlib.h"
> >> include "graphlib.h"
> >> include "sndlib.h"
> >>
> >> xdef _main
> >> xdef _comment
> >> xdef _ti89
> >>
> >>note MACRO
> >> lea \2(pc),a0
> >> jsr sndlib::PlaySong
> >>
> >>\2
> >> dc.l $40000
> >> dc.b \1,4,255
> >>
> >> ENDM
> >>
> >>_main:
> >> jsr graphlib::clr_scr
> >>
> >>key:
> >> jsr userlib::idle_loop
> >> cmp.w #264,d0 ;first row
> >> beq exit
> >> cmp.w #258,d0
> >> beq playd1
> >> cmp.w #149,d0
> >> beq playe1
> >>
> >> cmp.w #48,d0
> >> beq playc2
> >>
> >> bra key
> >>
> >>exit:
> >> rts
> >>
> >>playd1:
> >>
> >> note 2,d1
> >> bra key
> >>
> >>playe1:
> >>
> >> note 4,e1
> >> bra key
> >>
> >>playc2:
> >>
> >> note 12,c2
> >> bra key
> >>
> >>_comment:
> >> dc.b "Keyboard Composer By Bentensai",0
> >>
> >> end
> >>_________________________________________________________
> >>DO YOU YAHOO!?
> >>Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 

==
Visit my website, Some Assembly Required, at 
http://meltingpot.fortunecity.com/gilford/908 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com