Mercurial > public > hwos_code
diff src/aa_wordprocessor.asm @ 648:aeca5717d9eb
3.17 / 10.72 release
author | heinrichs weikamp |
---|---|
date | Fri, 04 Mar 2022 08:29:36 +0100 |
parents | 4050675965ea |
children | 75e90cd0c2c3 |
line wrap: on
line diff
--- a/src/aa_wordprocessor.asm Thu Oct 14 12:04:12 2021 +0200 +++ b/src/aa_wordprocessor.asm Fri Mar 04 08:29:36 2022 +0100 @@ -432,6 +432,10 @@ btfsc screen_type3 ; display 3 ? bra aa_decode_3_display3 ; YES + ; Screen 1 or 0 + btfsc less_io_cpu ; less I/O CPU? + bra aa_decode_3_display0and1_less_io ; YES + movff PRODH,PORTA ; move high byte to PORTA movff PRODL,PORTH ; move low byte to PORTH aa_decode_3_display0and1: @@ -441,6 +445,17 @@ bra aa_decode_3_display0and1; NO - loop bra aa_decode_3_done ; YES - done +aa_decode_3_display0and1_less_io: + movff PRODH,PORTA ; move high byte to PORTA + bcf tft_nwr ; tick + bsf tft_nwr ; ... + movff PRODL,PORTA ; move low byte to PORTA + bcf tft_nwr ; tick + bsf tft_nwr ; ... + decfsz aa_bitlen,F ; decrement length counter, became zero? + bra aa_decode_3_display0and1_less_io; NO - loop + bra aa_decode_3_done ; YES - done + aa_decode_3_display2: movff win_color5,PORTH ; move high byte to PORTH (display is big endian) bcf tft_nwr ; tick