Prev: 00906 Up: Map Next: 00930
00915: Compare Buffer
Used by the routine at HandleInterrupt.
Compare the live buffer pointer with the saved pointer in the workspace.
Output
F Z flag set when the two pointers match
CompareBuffer 00915 PUSH HL Stash HL on the stack.
00916 LD A,6 Call ReadWorkspace for the saved pointer.
00918 CALL ReadWorkspace
00921 CALL ReadBufferPointer Call ReadBufferPointer.
00924 SBC HL,BC Compare the two pointers.
00926 POP HL Restore HL from the stack.
00927 SCF Clear the carry flag.
00928 CCF
00929 RET Return.
Prev: 00906 Up: Map Next: 00930