Prev: 59477 Up: Map Next: 59515
59481: Routine at E859
Used by the routines at 54943, 57069 and 59649.
59481 PUSH DE Stash DE and HL on the stack.
59482 PUSH HL
59483 LD HL,(54704) HL=*54704.
59486 LD DE,38000 HL-=38000.
59489 SBC HL,DE
59491 JR Z,59507 Jump to 59507 if HL is equal to 0.
59493 LD HL,(54704) HL=*54704.
59496 LD A,(HL) A=*HL.
59497 INC HL Increment HL by one.
59498 LD (54704),HL Write HL to *54704.
59501 LD (58301),A Write A to *58301.
59504 POP HL Restore HL and DE from the stack.
59505 POP DE
59506 RET Return.
59507 LD SP,(53806) SP=*Storage_StackPointer.
59511 IM 1 Interrupt mode 1.
59513 EI Enable interrupts.
59514 RET Return.
Prev: 59477 Up: Map Next: 59515