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

Re: A85: Writing text to graph memory






Miklos wrote:

> >Does anyone know how to write text to the graph memory. i assume you
> >set (or reset) one of the bits using the IY register. please help
> >ASAP.
> >
> >-mike
> > mgp4007@omega.uta.edu
>

This works: (Tested by dm5@geocities.com)        push hl                 ;
Make sure to save all registers!
        push bc
        push de
        push af
        ld hl,VIDEO_MEM
        ld de,GRAPH_MEM
        ld bc,1024
        ldir
return:
        pop af                  ; Restore all Registers!
        pop de
        pop bc
        pop hl



References: