; patch #1 for M100/T102 rom ; this patch primarily accomplished 2 things ; 1) it reduced the amount of space needed in the LCD patterns table, enabling room for changes ; 2) it lays the underlying foundation for the hardware scrolling patch ; blocks: ; 6C39 ; 7467 - 746E ; 74BB - 74EA ; 7551 - 75AF ;-------------------------------------------------------------------------------------- ;PATCH1 ; this entry corrects the data in "Hayash" .org 06C39H p1: db 00H ;-------------------------------------------------------------------------------------- ;PATCH2 ; Proposed replacement code 7467 to 746E .org 07467H p2: LXI H,0F9AAH CALL p5 NOP NOP ;-------------------------------------------------------------------------------------- ;PATCH3 ; Proposed replacement code 74BB to 74EA .org 074BBH p3: RLC MOV C,A MVI B,00H LXI H,7551H DAD B MOV C,M INX H MOV A,M PUSH PSW LDA 0FFF4H RAR RAR RAR LXI H,0F9AAH CALL p5 CALL 753BH SHLD 0FFF6H POP PSW ORA B MOV B,A POP H DCR D CALL 74F7H INR D MVI A,06H SUB E RZ MOV E,A PUSH H LHLD 0FFF6H ;-------------------------------------------------------------------------------------- ;PATCH4 ; this is the corrected LCD table 7551 to 75A0 ; 75A1 to 7640 is free to use, 160 bytes total .org 07551H p4: db 00H,00H,00H,06H,00H,0CH,00H,12H,00H,18H,00H,1EH,00H,24H,00H,2AH db 00H,30H db 02H,04H,02H,0AH,02H,10H,02H,16H,02H,1CH,02H,22H,02H,28H,02H,2EH db 04H,02H,04H,08H,04H,0EH,04H,14H,04H,1AH,04H,20H,04H,26H,04H,2CH db 06H,00H,06H,06H,06H,0CH,06H,12H,06H,18H,06H,1EH,06H,24H,06H,2AH db 06H,30H db 08H,04H,08H,0AH,08H,10H,08H,16H,08H,1CH,08H,22H ;-------------------------------------------------------------------------------------- ;PATCH5 ; Proposed subroutine at 75A1H to ?? .org 075A1H p5: MOV B,M LXI H,7643H JNC ahead1 MVI L,4DH ahead1: ADD B MVI B,00H DAD B MOV B,A RET