Re: A86: Programming Questions....


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

Re: A86: Programming Questions....




>From your local z80iss.txt:

+------------+--------------------+------+---+---+----------------------+
|Mnemonic    |Operation           |CZPSNH|Len|Tim|Comments              |
+------------+--------------------+------+---+---+----------------------+
|LDI         |(DE):=(HL);         |..*.00| 2 |16 |PV=0 if BC=0,else PV=1|
|            |inc DE,HL;dec BC    |      |   |   |                      |
+------------+--------------------+------+---+---+----------------------+
|LDIR        |Repeat LDI          |..0.00| 2 |21 |                      |
|            | until Z=1 or BC=0  |      |   |16 |                      |
+------------+--------------------+------+---+---+----------------------+

I don't know about the "Z=1" comment, as ldi never affects the zero flag.


Eventually, you'll probably want to compress any full screen graphics,
either with the puny rle or with happy lcss.

-josh


On Fri, 16 Feb 2001 07:12:40 -0000 "Christopher Peters"
<the_3rd@hotmail.com> writes:
> 
> yeah, my background was painstakingly hand crafted in hex.  Will 
> this load 
> the entire variable set to the screen, or only the first line?  
> there seems 
> to be no loop, unless ldir is it.....
> 
> Christopher
> 
> 
> 
> >From: rabidcow@juno.com
> >Reply-To: assembly-86@lists.ticalc.org
> >To: assembly-86@lists.ticalc.org
> >Subject: Re: A86: Programming Questions....
> >Date: Thu, 15 Feb 2001 21:19:14 -0800
> >
> >
> >Just how is it "mapped"?  Hex format like .db $45, etc?
> >If it's a straight bitmap, try:
> >    ld hl,background
> >    ld de,$fc00
> >    ld bc,$0400
> >    ldir
> >
> >
> >-josh
> >
> >
> >On Thu, 15 Feb 2001 01:07:57 -0000 "Christopher Peters"
> ><the_3rd@hotmail.com> writes:
> > >
> > > my stuff.  I have done some experimenting, but I don't know 
> exactly
> > > HOW to
> > > put the <and oh so painstakingly mapped> background for my 
> first
> > > game to the
> > > screen.  It is in Hex format, and I USED to be able to get it, 
> but
> > > it was in
> > > 85 ASM, w/ZShell.  Thank you all, keep programming, and I will 
> join
> > > you
> > > soon!
> > >
> > > Christopher
> > > 
________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.