A86: Strings in memory
[Prev][Next][Index][Thread]
A86: Strings in memory
I'll try again with this...
Normally to display text you would do something like this:
ld hl,string
call _vputs
string:
.db "Hello",0
But I have the string INSIDE a bigger area like this:
sprite_string:
.db %11111111
.db %10000001
.db %10000001
.db %10000001
.db %10000001
.db %10000001
.db %10000001
.db %11111111
.db "Hello",0
So, how could I load that 'Hello' string into a location defined as:
name = $8000
and later use it in like this:
ld hl,name
call _vputs
--> (Which would display 'Hello' on screen)
uh...I hope someone understands and can help...
Thanx,
Dave
Follow-Ups: