Re: A86: Graphics Question


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

Re: A86: Graphics Question




> 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
BTW for the entire screen you should have 64 lines of 16 bytes each.
--
Trent Lillehaugen
Computer Engineering Major
California Polytechnic University, San Luis Obispo
<http://www.calpoly.edu/~tllilleh/a86/a86.html>
<mailto:tllilleh@polymail.calpoly.edu>



Follow-Ups: References: