view code_part1/OSTC_code_asm_part1/dive_air.inc @ 217:ce6f16711567

BUGFIX gas switch + Make sure not to pass gas switch + Don't clobber ratio N2/He when canceling ascent passing gas switch. + Build-up GF_low history during the whole dive.
author JeanDo
date Thu, 24 Feb 2011 23:22:32 +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