Routines |
Prev: 37841 | Up: Map | Next: 37876 |
|
||||||||
37857 | SUB 65 | Subtract 65 (ASCII code for "A") to get index of menu item selected | ||||||
37859 | ADD A,A | Double the value | ||||||
37860 | LD H,0 | Load into HL... | ||||||
37862 | LD L,A | ... | ||||||
37863 | LD BC,54733 | Point BC at start table of start addresses of input device reading routines | ||||||
37866 | ADD HL,BC | Add double selected item index to BC in HL (HL now points to entry for selected input device) | ||||||
37867 | LD A,(HL) | Load address into HL... | ||||||
37868 | INC HL | ... | ||||||
37869 | LD H,(HL) | ... | ||||||
37870 | LD L,A | ... | ||||||
37871 | LD (37882),HL | Place in routine at 37882 | ||||||
37874 | XOR A | Reset A to zero | ||||||
37875 | RET | Return |
Prev: 37841 | Up: Map | Next: 37876 |