Re: A89: Curser
[Prev][Next][Index][Thread]
Re: A89: Curser
> WrtStr macro
> move.w \3,-(a7)
> pea \4(pc)
> move.w \2,-(a7)
> move.w \1,-(a7)
> jsr tios::DrawStrXY
> lea 10(a7),a7
> endm
>
> _main:
> jsr util::zap_screen
> move.w #40,d5
> move.w #40,d6
>
> Write:
> WrtStr d5,d6,#1,letterx
> jsr util::idle_loop
> cmp #340,d0
> beq Down
> cmp #264,d0
> beq Exit
> bsr Write <--- ERROR: have to put bra Write, because then the rts of the Exit label will make you jump back after the bsr.
Xavier VASSOR
---The Doors Team
E-mail:xvassor@mail.dotcom.fr
Doors Homepage: http://start.at/doors
ICQ:10241721
References: