Mercurial > public > hwos_code
comparison src/mcp.asm @ 604:ca4556fb60b9
bump to 2.99beta, work on 3.00 stable
author | heinrichsweikamp |
---|---|
date | Thu, 22 Nov 2018 19:47:26 +0100 |
parents | 653a3ab08062 |
children | c40025d8e750 |
comparison
equal
deleted
inserted
replaced
603:00b24fb4324d | 604:ca4556fb60b9 |
---|---|
11 | 11 |
12 | 12 |
13 #include "hwos.inc" | 13 #include "hwos.inc" |
14 #include "wait.inc" | 14 #include "wait.inc" |
15 | 15 |
16 mcp code | 16 mcp code |
17 | 17 |
18 global mcp_sleep | 18 global mcp_sleep |
19 mcp_sleep: | 19 mcp_sleep: |
20 bcf INTCON3,INT3IE ; Disable INT3 | 20 bcf INTCON3,INT3IE ; disable INT3 |
21 bcf mcp_power ; RX off | 21 bcf mcp_power ; RX off |
22 btfsc mcp_power | 22 btfsc mcp_power |
23 bra $-4 | 23 bra $-4 |
24 return | 24 return |
25 | 25 |
26 | 26 END |
27 | |
28 END |