Prev: 33663 Up: Map Next: 33706
33695: Add String To Buffer
Input
DE Buffer address
HL Message string
AddStringToBuffer 33695 LD A,(HL) Fetch a character from the string and store it in A.
33696 AND %01111111 Strip off the termination bit.
33698 LD (DE),A Write the character to the buffer.
33699 BIT 7,(HL) Test if bit 7 of the current character is set.
33701 INC HL Increment the message string pointer by one.
33702 INC DE Increment the buffer pointer by one.
33703 JR Z,AddStringToBuffer Jump to AddStringToBuffer until the termination bit is set.
33705 RET Return.
Prev: 33663 Up: Map Next: 33706