Re: A92: Lines


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

Re: A92: Lines




> 
> I am wondering why this code fails to produce a line.  Could someone
> help me?
> _main:
>         jsr     flib::zap_screen
>         move.w  #99,-(sp)
>         move.w  #120,-(sp)
>         jsr     tios::MoveTo
>         add.l   #4,sp
>         move.w  #190,-(sp)
>         move.w  #239,-(sp)
>         jsr     tios::DrawTo
>         add.l   #4,sp
>         jsr     flib::idle_loop
>         rts

It seems that MoveTo/DrawTo have a defined clipping rectangle somewhere. Try 
drawing a big X on the screen and you'll see what I mean...



Follow-Ups: References: