Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/dive_icons.asm @ 123:6a94f96e9cea
The big cleanup, again.
author | JeanDo |
---|---|
date | Thu, 30 Dec 2010 23:45:20 +0100 |
parents | e0f29e20bd24 |
children | 8bda2452a532 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/dive_icons.asm Tue Dec 28 15:28:55 2010 +0100 +++ b/code_part1/OSTC_code_asm_part1/dive_icons.asm Thu Dec 30 23:45:20 2010 +0100 @@ -28,6 +28,9 @@ ; ; Known bug: ;============================================================================= +mixtype_icons code + +;============================================================================= ; Display either Air, Nitrox, or Trimix icon (in surface mode). ; Inputs: None: explore the gaz list. ; Ouputs: None. @@ -46,9 +49,9 @@ ;---- Common setup ----------------------------------------------- movlw .170 - movff WREG, img_top + movff WREG, win_top movlw .110 - movff WREG, img_left + movff WREG, win_leftx2 movlw UPPER(dive_air_block) movwf TBLPTRU @@ -135,7 +138,7 @@ movwf TBLPTRL dive_gaz_99: - rcall color_image + call color_image movlb 1 ; Back to bank 1. return