A86: problems drawing to vidmem during alt on execution
[Prev][Next][Index][Thread]
A86: problems drawing to vidmem during alt on execution
is there any way to force the calc to draw the screen
during the alt on execution.
i tried this code but the calc doesnt show the
scrolling just the final product
.org _alt_on_exec
ld hl,$fc00
ld de,$fc01
ld (hl),0
ld bc,1024
ldir
ld b,12
ld hl,pic
ld de,$fc04+( 16 * ( 64-12) )
loop1:
push bc
ld bc,7
ldir
push hl
ld hl,16-7
add hl,de
ex de,hl
pop hl
pop bc
djnz loop1
ld b,30
loop2:
push bc
ld de,$fc00
ld hl,$fc10
ld bc,1024-16
ldir
pop bc
djnz loop2
ret
pic:
.db $60,$1C,$0C,$0F,$FC,$FF,$C0
.db $70,$1C,$0C,$00,$C0,$0C,$00
.db $70,$3C,$1E,$00,$C0,$0C,$00
.db $58,$2C,$1E,$00,$C0,$0C,$00
.db $58,$6C,$33,$00,$C0,$0C,$00
.db $4C,$4C,$33,$00,$C0,$0C,$00
.db $4C,$CC,$61,$80,$C0,$0C,$00
.db $46,$8C,$61,$80,$C0,$0C,$00
.db $47,$8C,$7F,$80,$C0,$0C,$00
.db $43,$0C,$C0,$C0,$C0,$0C,$00
.db $43,$0C,$C0,$C0,$C0,$0C,$00
.db $40,$0C,$C0,$C0,$C0,$0C,$00
alt_on_end:
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com