Re: A85: DJNZ
[Prev][Next][Index][Thread]
Re: A85: DJNZ
I believe all you would have to do is for the loop also decrease say d
every time you draw a new point. just load d with a certain number (say 10
pixels?) befor eyou start and thendo it like this:
	ld d, 10   ; 10 pixels
top:
	inc b
	call_(drawpixel)  ; draws pixel at b,c
	dec d
	djnz top
am I correct? i havn't used htis function much myself and not for a while
anyway =)
On Mon, 28 Jul 1997, John Koch wrote:
> Question, how do I use DJNZ.  I'm trying to make a loop that plots
> pixels in rows and things.  Can someone please explain this to me.
> 
> John
> 
				Biya! =)
                         .       .     .    
                     .    .   .             .
              .    .                            .     .
          .                     Will Stokes                .
      .             wstokes@vertex.ucls.uchicago.edu           .
    .                   wstokes@geocities.com                       .
      .  http://www.geocities.com/SiliconValley/Pines/7360/will.htm    .
       .                                                             .
      .                                                               .
       .   http://www.geocities.com/SiliconValley/Pines/7360/      .
        .    .           (The TI-85 Calc. Center)               .
          .                                                      .
               .               .                     .       .
                  .         .    .       .    .    .   .   .
                     .   .          .   .       .       .
                       . 
Follow-Ups:
References: