Re: A86: disp sprite
[Prev][Next][Index][Thread]
Re: A86: disp sprite
You need to have a routine to place the sprite on the screen. There are
plenty of them on ticalc.org in the routines section. You could also look
through other people's source code to see how they did it. Looking at
other's source code is a great way to learn.
>#include "ti86asm.inc"
>
>.org _asm_exec_ram
>
> call _clrLCD
> ld hl, $0000
> ld (_curRow),hl
> ld hl, Sprite
> call _puts
This doesn't display a sprite. _puts is *not* a putsprite routine. It is
used for displaying a string. (ex. db "Hello",0) Look for a sprite
routine somewhere on ticalc.
> call _newline
> ret
>
>Sprite:
> .db %00111100
> .db %01000010
> .db %10000001
> .db %10100101
> .db %10000001
> .db %10111101
> .db %01000010
> .db %00111100
>
>
>.end
Jeff Zimmerman
Minkus2@juno.com
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
References: