comparison src/start.asm @ 608:d866684249bd

work on 2.99 stable
author heinrichsweikamp
date Mon, 07 Jan 2019 21:13:43 +0100
parents ca4556fb60b9
children 6dd6b37da7c8
comparison
equal deleted inserted replaced
607:c5151a490d88 608:d866684249bd
88 movwf TBLPTRU 88 movwf TBLPTRU
89 TBLRD*+ ; reads 0x07 for analog buttons 89 TBLRD*+ ; reads 0x07 for analog buttons
90 movlw 0x07 90 movlw 0x07
91 cpfseq TABLAT 91 cpfseq TABLAT
92 bcf analog_switches 92 bcf analog_switches
93
94 ; get screen type (2) from Bootloader-Info
95 bsf screen_type2
96 movlw 0x80
97 movwf TBLPTRL ; Only adjust low byte. High and Upper are still 0x01F7...
98 TBLRD*+ ; Reads 0x83 for screen 2
99 movlw 0x83
100 cpfseq TABLAT
101 bcf screen_type2
93 102
94 ; read button polarity 103 ; read button polarity
95 movlw LOW .897 104 movlw LOW .897
96 movwf EEADR 105 movwf EEADR
97 movlw HIGH .897 106 movlw HIGH .897