Prev: 4000 Up: Map Next: 5E00
5B80: Decryption Routine
Runs "RRD" on every byte from 5FFF-DBFF.
5B80 LD HL,$5FFF HL=5FFF.
5B83 LD BC,$007C BC=7C.
5B86 XOR A Reset the flags.
5B87 RRD RRD operation.
5B89 INC HL Increment HL by one.
5B8A DJNZ $5B87 Decrease counter by one and loop back to 5B87 until counter is zero.
5B8C DEC C Decrease C by one.
5B8D JR NZ,$5B87 Loop back to 5B87 until C is zero.
5B8F JP SecurityCheck Jump to SecurityCheck.
View the equivalent code in Lunar Jetman.
Prev: 4000 Up: Map Next: 5E00