Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 254:8f20e8948b97
working word-around for nofly issue
author | heinrichsweikamp |
---|---|
date | Fri, 08 Apr 2011 11:58:55 +0200 |
parents | 3a4096f32526 |
children | d8dfbc7041b0 |
comparison
equal
deleted
inserted
replaced
253:3a4096f32526 | 254:8f20e8948b97 |
---|---|
1047 movff WREG,char_I_desaturation_multiplier | 1047 movff WREG,char_I_desaturation_multiplier |
1048 | 1048 |
1049 ostc_debug 'G' ; Sends debug-information to screen if debugmode active | 1049 ostc_debug 'G' ; Sends debug-information to screen if debugmode active |
1050 call deco_calc_desaturation_time ; calculate desaturation time | 1050 call deco_calc_desaturation_time ; calculate desaturation time |
1051 movlb b'00000001' ; select ram bank 1 | 1051 movlb b'00000001' ; select ram bank 1 |
1052 call calc_deko_surfmode ; work-around for nofly bug | |
1052 rcall calculate_noflytime ; Calc NoFly time | 1053 rcall calculate_noflytime ; Calc NoFly time |
1053 ostc_debug 'H' ; Sends debug-information to screen if debugmode active | 1054 ostc_debug 'H' ; Sends debug-information to screen if debugmode active |
1054 ; store header and ... | 1055 ; store header and ... |
1055 movlw 0xFD ; .... End-of-Profile Bytes | 1056 movlw 0xFD ; .... End-of-Profile Bytes |
1056 call write_external_eeprom | 1057 call write_external_eeprom |