A82: Re: Re: Blockbuster v4.0


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

A82: Re: Re: Blockbuster v4.0




Dunno, but I can get it one byte smaller. I made the appropriate changes below.
Also, I got the save state feature to work in TxtView. If anyone wants the new
version, it's at my website: http://pages.hotbot.com/edu/kouri/programs.html
It took me 40 bytes to do, but it's not optimized yet. I'll work on bringing
the total size down later (it's 2339 bytes).

----- Original Message -----
From: Doug Torrance <profzoom@hotmail.com>
To: <assembly-82@lists.ticalc.org>
Sent: Sunday, November 14, 1999 5:20 PM
Subject: A82: Re: Blockbuster v4.0
>
<snip>
> Anyone know what's going on?  Here's the code-
>
> DrawRowOfBlocks:
> ld a,(hl)
> ld b,8
> ; push af
> DrawRowLoop:
> ; pop af
> rra
> push af
> jr c,DrawBlock
> NoBlock:
> ld a,d
> add a,8
> ld d,a
   pop af
> jr DrawRowLoop
> DrawBlock:
> push bc
> push hl
> ld hl,Block
> call ZoomSprite
> pop hl
> pop bc
   pop af
> djnz DrawRowLoop
> ; pop af
> inc hl
> ld d,b
> inc e
> ld a,e
> cp 12
> jr nz,DrawRowOfBlocks



Follow-Ups: References: