Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/divemode.asm @ 532:f5a06b9e2fef
cleanup debug stuff
author | heinrichsweikamp |
---|---|
date | Sat, 17 Dec 2011 10:28:29 +0100 |
parents | e33a8ac4b660 |
children | 3091628b2742 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm Fri Dec 16 22:41:47 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Sat Dec 17 10:28:29 2011 +0100 @@ -722,26 +722,7 @@ return store_dive_decodebug: - ; Dump 9 bytes, int_O_DBS_bitfield .. char_O_NDL_at_20mtr - lfsr FSR2, int_O_DBS_bitfield - movf POSTINC2,W - call write_external_eeprom ; Store in EEPROM - movf POSTINC2,W - call write_external_eeprom ; Store in EEPROM - movf POSTINC2,W - call write_external_eeprom ; Store in EEPROM - movf POSTINC2,W - call write_external_eeprom ; Store in EEPROM - movf POSTINC2,W - call write_external_eeprom ; Store in EEPROM - movf POSTINC2,W - call write_external_eeprom ; Store in EEPROM - movf POSTINC2,W - call write_external_eeprom ; Store in EEPROM - movf POSTINC2,W - call write_external_eeprom ; Store in EEPROM - movf POSTINC2,W - call write_external_eeprom ; Store in EEPROM + ; do something here GETCUSTOM8 d'25' movwf divisor_deco_debug ; Reload divisor from CF return @@ -1296,7 +1277,7 @@ addwf temp1,W ; copy to bits 0-3, result in WREG call write_external_eeprom - movlw d'9' ; information size Decodebug + movlw d'0' ; information size Decodebug movwf temp1 ; copy to bits 0-3 swapf temp1,F ; swap nibbels 0-3 with 4-7 GETCUSTOM8 d'25' ; Divisor Decodebug