A86: Grayscale Sprites
[Prev][Next][Index][Thread]
A86: Grayscale Sprites
What is the best grayscale sprite routine (speedwise)? I'm trying to use
the SDR+16 routine from Macross Software, but I can't seem to get it
working (probably because I'm using invalid grayscale layers). Here's the
source, in case any of you see anything wrong: (note that it uses the new
include files from ACZ, and that old86.h is needed by SDR+16)
#include "ti86asm.inc"
#include "old86.h"
.org _asm_exec_ram
Ww = 1
Hh = 8
PAGE1ADDR = $0000
PAGE2ADDR = $5000
call _clrLCD
Test:
ld b, 25
ld c, 25
ld hl, Sprite
ld de, Mask
call SDR16Plus2
; jp Test
ret
#include "sdr16p86b.h"
Sprite:
.db %01111110
.db %11111111
.db %11111111
.db %11100111
.db %11100111
.db %11111111
.db %11111111
.db %01111110
.db %01111110
.db %10000001
.db %10000001
.db %10011001
.db %10011001
.db %10000001
.db %10000001
.db %01111110
Mask:
.db %00000000
.db %00000000
.db %00000000
.db %00000000
.db %00000000
.db %00000000
.db %00000000
.db %00000000
.end
Thanks in advance :)
--James
___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.
Follow-Ups: