Mercurial > public > mk2
view code_part1/OSTC_code_asm_part1/dive_air.inc @ 241:f44274d8440a
Model cleanups.
+ Fix look for current gas.
+ Minor optimize.
+ Fix needs to remember last switch gas depth, too.
+ Always take deepest gas.
+ Optimize by limiting search to 10m/min ascent.
+ FIX ascending 10m is 0.9985 bar.
+ FIX typos 9995 --> 9985
author | JeanDo |
---|---|
date | Mon, 21 Mar 2011 20:50:52 +0100 |
parents | 652e17b6267a |
children |
line wrap: on
line source
dive_air_width equ .78 dive_air_height equ .26 dive_air_block: db .39, .26 db .5, 0 dw 0x0000 ; rgb=(0,0,0) dw 0x31a6 ; rgb=(53,53,53) dw 0x7bcf ; rgb=(122,122,122) dw 0xbdd7 ; rgb=(185,185,185) dw 0xffff ; rgb=(255,255,255) ; db 0x07, 0x49, 0x0f, 0x49, 0x0f, 0x41, 0x05, 0x41 db 0x0f, 0x41, 0x05, 0x41, 0x0e, 0x20, 0x41, 0x05 db 0x41, 0x20, 0x0b, 0x10, 0x30, 0x42, 0x05, 0x42 db 0x30, 0x10, 0x08, 0x20, 0x42, 0x20, 0x10, 0x05 db 0x10, 0x20, 0x42, 0x20, 0x06, 0x20, 0x41, 0x30 db 0x0b, 0x30, 0x41, 0x20, 0x04, 0x20, 0x41, 0x20 db 0x0d, 0x20, 0x41, 0x20, 0x02, 0x10, 0x41, 0x20 db 0x0f, 0x20, 0x41, 0x10, 0x01, 0x30, 0x40, 0x30 db 0xf1, 0x01, 0x30, 0x40, 0x30, 0x00, 0x10, 0x41 db 0x10, 0xf1, 0x01, 0x10, 0x41, 0x10, 0x20, 0x40 db 0x30, 0xf1, 0x03, 0x30, 0x40, 0x20, 0x30, 0x40 db 0x20, 0xf1, 0x03, 0x20, 0x40, 0x30, 0x41, 0x10 db 0xf1, 0x03, 0x10, 0x43, 0xf1, 0x05, 0x43, 0xf1 db 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43 db 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05 db 0x43, 0xf1, 0x05, 0x43, 0x0f, 0x11, 0x03, 0x43 db 0x0b, 0x10, 0x20, 0x30, 0x41, 0x20, 0x03, 0x43 db 0x08, 0x10, 0x30, 0x45, 0x20, 0x03, 0x43, 0x04 db 0x10, 0x20, 0x30, 0x45, 0x20, 0x10, 0x05, 0x43 db 0x02, 0x10, 0x45, 0x30, 0x20, 0x41, 0x07, 0x43 db 0x02, 0x20, 0x43, 0x20, 0x02, 0x41, 0x07, 0x43 db 0x02, 0x20, 0x45, 0x30, 0x20, 0x41, 0x07, 0x43 db 0x02, 0x10, 0x30, 0x48, 0x20, 0x10, 0x05, 0x43 db 0x05, 0x10, 0x20, 0x30, 0x47, 0x20, 0x03, 0x43 db 0x09, 0x10, 0x30, 0x44, 0x20, 0x03, 0x43, 0x0c db 0x10, 0x20, 0x30, 0x40, 0x20, 0x03, 0x43, 0xf1 db 0x00, 0x10, 0x03, 0x43, 0xf1, 0x05, 0x43, 0x06 db 0x30, 0x40, 0x10, 0x0b, 0x43, 0x06, 0x30, 0x40 db 0x10, 0x0b, 0x43, 0x06, 0x30, 0x40, 0x10, 0x0b db 0x43, 0x01, 0x10, 0x21, 0x10, 0x00, 0x30, 0x40 db 0x30, 0x26, 0x10, 0x03, 0x43, 0x01, 0x20, 0x41 db 0x20, 0x00, 0x30, 0x48, 0x20, 0x03, 0x43, 0x01 db 0x20, 0x41, 0x20, 0x00, 0x30, 0x48, 0x20, 0x03 db 0x43, 0x01, 0x10, 0x21, 0x10, 0x00, 0x29, 0x10 db 0x03, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43 db 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43, 0x06, 0x20 db 0x38, 0x20, 0x03, 0x43, 0x06, 0x30, 0x48, 0x20 db 0x03, 0x43, 0x06, 0x30, 0x48, 0x20, 0x03, 0x43 db 0x07, 0x30, 0x41, 0x10, 0x09, 0x43, 0x06, 0x20 db 0x41, 0x10, 0x0a, 0x43, 0x06, 0x41, 0x30, 0x0b db 0x43, 0x06, 0x42, 0x20, 0x0a, 0x43, 0x06, 0x42 db 0x30, 0x0a, 0x43, 0x06, 0x23, 0x0a, 0x43, 0xf1 db 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43 db 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05 db 0x43, 0xf1, 0x05, 0x43, 0xf1, 0x05, 0x43, 0xf1 db 0x05, 0x43, 0xf1, 0x05, 0x43, 0x10, 0xf1, 0x03 db 0x10, 0x41, 0x30, 0x40, 0x10, 0xf1, 0x03, 0x10 db 0x40, 0x30, 0x20, 0x40, 0x30, 0xf1, 0x03, 0x30 db 0x40, 0x20, 0x10, 0x41, 0xf1, 0x03, 0x41, 0x10 db 0x00, 0x30, 0x40, 0x20, 0xf1, 0x01, 0x20, 0x40 db 0x30, 0x01, 0x10, 0x41, 0x10, 0x0f, 0x10, 0x41 db 0x10, 0x02, 0x30, 0x41, 0x10, 0x0d, 0x10, 0x41 db 0x30, 0x04, 0x30, 0x41, 0x10, 0x0b, 0x10, 0x41 db 0x30, 0x06, 0x30, 0x41, 0x20, 0x09, 0x20, 0x41 db 0x30, 0x08, 0x30, 0x42, 0x30, 0x11, 0x01, 0x11 db 0x30, 0x42, 0x30, 0x0a, 0x10, 0x30, 0x49, 0x30 db 0x10, 0x0d, 0x10, 0x20, 0x30, 0x43, 0x30, 0x20 db 0x10, 0x07