Re: A83: Black Screen


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

Re: A83: Black Screen




Hehe, thank you.  I can't believe I did something so silly as to load to A
just to load to HL on the "83" version for my example.  I was still thinking
about the 83 Plus example, where you do need to load to A.  Anyhow, as a
slight improvement, you could do this:

    ld    hl,plotSScreen
    ld    de,plotSScreen+1
    ld    bc,767
    ld    (hl),c
    ldir

-Dan Englender

----- Original Message -----
From: "D Weiss" <dwedit@hotmail.com>
To: <assembly-83@lists.ticalc.org>
Sent: Sunday, January 07, 2001 7:39 PM
Subject: Re: A83: Black Screen


>
> The LDIR instruction is great here:
>
> ;Blacks Screen:
> ld hl,plotsscreen     ;Start at plotsscreen
> ld de,plotsscreen+1   ;Copies to the next byte
> ld bc,767             ;768 (length of graph memory minus 1)
> ld (hl),255           ;First byte of graph memory is all black
> ldir                  ;The first byte is copied to the next 767 bytes!
>
>
> >From: Jeff Ruud <pyroboy_04@yahoo.com>
> >Reply-To: assembly-83@lists.ticalc.org
> >To: assembly-83@lists.ticalc.org
> >Subject: A83: Black Screen
> >Date: Sun, 7 Jan 2001 15:32:45 -0800 (PST)
> >
> >
> >Can someone please tell me how to make the screen completely black
without
> >using tons of line commands?  Thanks for the help.
> >
> >~Jeff
> >
> >
> >
> >---------------------------------
> >Do You Yahoo!?
> >Yahoo! Photos - Share your holiday photos online!
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>




References: