Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 257:f8f869bafd92
Use timer TMR3 to limit loops in calc_hauptroutine_calc_deco()
author | JeanDo |
---|---|
date | Sun, 10 Apr 2011 13:12:38 +0200 |
parents | d8dfbc7041b0 |
children | 27c9bb14b008 |
comparison
equal
deleted
inserted
replaced
256:d8dfbc7041b0 | 257:f8f869bafd92 |
---|---|
1084 movff WREG,char_I_desaturation_multiplier | 1084 movff WREG,char_I_desaturation_multiplier |
1085 | 1085 |
1086 ostc_debug 'G' ; Sends debug-information to screen if debugmode active | 1086 ostc_debug 'G' ; Sends debug-information to screen if debugmode active |
1087 call deco_calc_desaturation_time ; calculate desaturation time | 1087 call deco_calc_desaturation_time ; calculate desaturation time |
1088 movlb b'00000001' ; select ram bank 1 | 1088 movlb b'00000001' ; select ram bank 1 |
1089 call calc_deko_surfmode ; work-around for nofly bug | 1089 call calc_deko_surfmode ; work-around for nofly bug |
1090 rcall calculate_noflytime ; Calc NoFly time | 1090 rcall calculate_noflytime ; Calc NoFly time |
1091 ostc_debug 'H' ; Sends debug-information to screen if debugmode active | 1091 ostc_debug 'H' ; Sends debug-information to screen if debugmode active |
1092 ; store header and ... | 1092 ; store header and ... |
1093 movlw 0xFD ; .... End-of-Profile Bytes | 1093 movlw 0xFD ; .... End-of-Profile Bytes |
1094 call write_external_eeprom | 1094 call write_external_eeprom |