Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 70:8d8e753d72e3
1.72beta - small output fix in non-GF modes
author | heinrichsweikamp |
---|---|
date | Wed, 20 Oct 2010 19:43:11 +0200 |
parents | df2d3b28947f |
children | 6beb680a6130 |
comparison
equal
deleted
inserted
replaced
69:df2d3b28947f | 70:8d8e753d72e3 |
---|---|
2443 movlw .139 | 2443 movlw .139 |
2444 movff WREG,box_temp+4 ; column right (0-159) | 2444 movff WREG,box_temp+4 ; column right (0-159) |
2445 call PLED_box | 2445 call PLED_box |
2446 return | 2446 return |
2447 | 2447 |
2448 PLED_decoplan_delete_gf: ; Delete unused rows | |
2449 movlw .238 | |
2450 movff WREG,box_temp+2 ; row bottom (0-239) | |
2451 bra PLED_decoplan_delete_common | |
2452 | |
2448 PLED_decoplan_delete: ; Delete unused rows | 2453 PLED_decoplan_delete: ; Delete unused rows |
2454 movlw .184 | |
2455 movff WREG,box_temp+2 ; row bottom (0-239) | |
2456 PLED_decoplan_delete_common: | |
2449 movlw .0 | 2457 movlw .0 |
2450 movff WREG,box_temp+0 ; data 00, x0, 0y, xy clear, links, rechts, beide | 2458 movff WREG,box_temp+0 ; data 00, x0, 0y, xy clear, links, rechts, beide |
2451 movff hi,box_temp+1 ; row top (0-239) | 2459 movff hi,box_temp+1 ; row top (0-239) |
2452 movlw .238 | |
2453 movff WREG,box_temp+2 ; row bottom (0-239) | |
2454 movlw .100 | 2460 movlw .100 |
2455 movff WREG,box_temp+3 ; column left (0-159) | 2461 movff WREG,box_temp+3 ; column left (0-159) |
2456 movlw .159 | 2462 movlw .159 |
2457 movff WREG,box_temp+4 ; column right (0-159) | 2463 movff WREG,box_temp+4 ; column right (0-159) |
2458 call PLED_box | 2464 call PLED_box |
2459 bsf last_ceiling_gf_shown ; Set flag | 2465 bsf last_ceiling_gf_shown ; Set flag |
2460 return | 2466 return |
2467 | |
2461 | 2468 |
2462 PLED_decoplan_gf_page_current: | 2469 PLED_decoplan_gf_page_current: |
2463 movlw d'0' | 2470 movlw d'0' |
2464 cpfseq temp8 | 2471 cpfseq temp8 |
2465 bra PLED_decoplan_gf_page2 ; =1: Dispplay Page 2 | 2472 bra PLED_decoplan_gf_page2 ; =1: Dispplay Page 2 |
2543 movff temp6,win_top | 2550 movff temp6,win_top |
2544 movff temp6,hi ; copy for PLED_decoplan_bargraph | 2551 movff temp6,hi ; copy for PLED_decoplan_bargraph |
2545 | 2552 |
2546 movff char_O_array_decodepth+0,WREG ; Ceiling | 2553 movff char_O_array_decodepth+0,WREG ; Ceiling |
2547 cpfslt temp7 ; Ceiling already displayed? | 2554 cpfslt temp7 ; Ceiling already displayed? |
2548 goto PLED_decoplan_delete ; Yes, quit display and RETURN | 2555 goto PLED_decoplan_delete_gf ; Yes, quit display and RETURN |
2549 movff temp7,lo ; Decodepth | 2556 movff temp7,lo ; Decodepth |
2550 | 2557 |
2551 lfsr FSR2,letter | 2558 lfsr FSR2,letter |
2552 output_99x ; outputs into Postinc2! | 2559 output_99x ; outputs into Postinc2! |
2553 movlw 'm' | 2560 movlw 'm' |