80 likes | 198 Views
Making Movies & Games. André Thomas Computer Graphics Supervisor EA Sports. In the Beginning. LD BC,($4026) ; (20) fetch possible previous key value from ; CH_ADD LD ($4026),HL ; (16) put the fresh key value in CH_ADD.
E N D
Making Movies & Games André Thomas Computer Graphics Supervisor EA Sports
In the Beginning LD BC,($4026) ; (20) fetch possible previous key value from ; CH_ADD LD ($4026),HL ; (16) put the fresh key value in CH_ADD. LD A,B ; ( 4) fetch high byte. ADD A,$02 ; ( 7) test for $FF, no-key which will set ; carry. SBC HL,BC ; (15) subtract the two raw keys. EX DE,HL ; ( 4) result, possibly zero, to DE. LD HL,$4022 ; (10) now address system variable RESULT. LD A,(HL) ; ( 7) load A from RESULT_lo. OR D ; ( 4) check the OR E ; ( 4) subtraction result. RET Z ; ( 5,11) return if all three zero
Tool & Die Maker • Restaurant Manager • Hotel Manager