[A83] Error in SDK Documentation?
[Prev][Next][Index][Thread]
[A83] Error in SDK Documentation?
I was wondering if all the information in the SDK is completely
accurate.I've used VPutMap in loops to print out a null terminated
string, or something similar. I never preserve HL, yet this loop seems
to work fine. In the SDK, it says that VPutMap destroys "All but
BC".Here's an example loop.
ld hl,Text
call VPutFF
ret
VPutFF:
ld a,(hl)
inc hl
cp 0ffh
ret z
B_CALL VPutMap
jr VPutFF
Text: db "Example Code",0ffh
Follow-Ups: