Prev: 9A60 Up: Map Next: 9A86
9A6F: Controls
Used by the routines at ControlMethod_InterfaceTwo and ControlMethod_Cursor.
Controls 9A6F LD B,$01 B=01.
9A71 LD HL,$9A57 HL=9A57.
This entry point is used by the routines at ControlMethod_InterfaceTwo and ControlMethod_Cursor.
Controls_0 9A74 LD A,(HL) A=*HL.
9A75 INC HL Increment HL by one.
9A76 IN A,($FE) A=byte from port FE.
9A78 AND (HL) Merge the bits from *HL.
9A79 INC HL Increment HL by two.
9A7A INC HL
9A7B JR NZ,Controls_1 Jump to Controls_1 if HL is not equal to *HL.
9A7D SCF Set the carry flag.
Controls_1 9A7E RL B Rotate B left.
9A80 JR NC,Controls_0 Jump to Controls_0 if HL is greater than or equal to *HL.
9A82 LD A,B A=B.
9A83 OR C Set the bits from C.
9A84 LD C,A C=A.
9A85 RET Return.
Prev: 9A60 Up: Map Next: 9A86