# HG changeset patch # User heinrichsweikamp # Date 1344496485 -7200 # Node ID 7e2c324aa33337ddd55934eb7c679daa12111c37 # Parent 3f1a85ce7785f43a7772c719dc9b7933676b096d 2.50 release diff -r 3f1a85ce7785 -r 7e2c324aa333 code_part1/OSTC_code_asm_part1/changelog.txt --- a/code_part1/OSTC_code_asm_part1/changelog.txt Wed Aug 08 13:28:10 2012 +0200 +++ b/code_part1/OSTC_code_asm_part1/changelog.txt Thu Aug 09 09:14:45 2012 +0200 @@ -1,5 +1,6 @@ New in 2.50 Stable: INFO: This update will reset all Custom Functions and gases to defaults +BUGFIX: Divetime display in Gauge mode New in 2.29: INFO: This update will reset CFIII menu to defaults diff -r 3f1a85ce7785 -r 7e2c324aa333 code_part1/OSTC_code_asm_part1/pled_outputs.asm --- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Wed Aug 08 13:28:10 2012 +0200 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Thu Aug 09 09:14:45 2012 +0200 @@ -1023,6 +1023,25 @@ DISPLAYTEXT .10 ; Setup... DISPLAYTEXT .142 ; More... DISPLAYTEXT .11 ; Exit + +; Write OSTC serial in Main Menu + WIN_TOP .215 + WIN_LEFT .47 + GETCUSTOM8 d'64' ; Write header in blue when + call PLED_set_color ; compiled in DEBUG mode... + lfsr FSR2,letter + OUTPUTTEXTH d'262' ; "OSTC " + clrf EEADRH + clrf EEADR ; Get Serial number LOW + call read_eeprom ; read byte + movff EEDATA,lo + incf EEADR,F ; Get Serial number HIGH + call read_eeprom ; read byte + movff EEDATA,hi + bsf leftbind + output_16 + call word_processor + call PLED_standard_color return PLED_setup_menu_mask: