Mercurial > public > hwos_code
view src/mcp.asm @ 545:7e6df19264b6
BUGFIX: Simulator in CC mode
BUGFIX: Changing the dive mode and starting the simulator (without leaving the menu first) caused false calculations in the simulator
BUGFIX: PSCR Mode "OC Gases" showed Diluents, not OC gases
BUGFIX: CCR Mode ("First Diluent") was chosen based on OC "First Gas" number
author | heinrichsweikamp |
---|---|
date | Wed, 06 Sep 2017 21:26:18 +0200 |
parents | 653a3ab08062 |
children | ca4556fb60b9 |
line wrap: on
line source
;============================================================================= ; ; File mcp.asm ; ; Basic routines for RX circuity ; ; Copyright (c) 2012, JD Gascuel, HeinrichsWeikamp, all right reserved. ;============================================================================= ; HISTORY ; 2012-08-12 : [mH] Creation #include "hwos.inc" #include "wait.inc" mcp code global mcp_sleep mcp_sleep: bcf INTCON3,INT3IE ; Disable INT3 bcf mcp_power ; RX off btfsc mcp_power bra $-4 return END