Re: A85: Drawing a menu
[Prev][Next][Index][Thread]
Re: A85: Drawing a menu
this can be done quite easily.
...
ld a,$FF
ld bc,1024 - 1
ld hl,$FC00
call CopyByte
...
;hl points to starting mem addr.
;a has character
;bc has # of bytes-1 to store
CopyByte:
ld d,h
ld e,l
inc de
ld (hl),a
ldir
ret
-mike pearce
On Tue, 5 May 1998 15:21:03 -0400, you wrote:
>
>This brought up a question I am wondering. Is there a way to set an
>entire range of memory to a specific value? I think there is an
>assembler opcode that does this for the 8086. It's very fast for
>clearing the screen to a certain color. For the calc it might be useful
>if you want to have a black background.
>
>egillespie@juno.com
>erik_gillespie_1096@gwgate.kvcc.edu
>
>"In a prototypical world, nothing ever goes wrong." -Scott Meyers
>
>_____________________________________________________________________
>You don't need to buy Internet access to use free Internet e-mail.
>Get completely free e-mail from Juno at http://www.juno.com
>Or call Juno at (800) 654-JUNO [654-5866]
>
References: