Re: A86: Graphics Question


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

Re: A86: Graphics Question




Trent Lillehaugen wrote:

> > This, in all, is 8 rows of 16 bytes.  I was wondering how I could
> > display the entire amount of data on the screen.  Please include
> some
> > example code.  Thanks!
> >
> > -Jeremy
>
>  ld de,$fc00 ; the video mem
>  ld hl,DATA ; where the data is
>  ld bc,1024  ; the number of bytes to copy
>  ldir            ; copy BC number of bytes from HL to DE
>
> DATA:
>     .db %11110000,%00010001,...
> hope that helps

Thanks.  That helps a lot!

> BTW for the entire screen you should have 64 lines of 16 bytes each.

Right...Thanks for catching that.

-Jeremy


References: