git://stoneship.org.uk
/
bootloader
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the debug LED controls
[bootloader]
/
mybootload.X
/
main.asm
diff --git
a/mybootload.X/main.asm
b/mybootload.X/main.asm
index
6bfe74e
..
9df5743
100644
(file)
--- a/
mybootload.X/main.asm
+++ b/
mybootload.X/main.asm
@@
-57,15
+57,15
@@
Start CODE 0x0000
; simple test program
Main
; simple test program
Main
- banksel ANSELA
- CLRF ANSELA
- banksel TRISA
- CLRF TRISA
- CLRF TRISC
- banksel PORTA
- BSF PORTA,5 ; green on
- BCF PORTA,4 ; red off
- SLEEP
+
;
banksel ANSELA
+
;
CLRF ANSELA
+
;
banksel TRISA
+
;
CLRF TRISA
+
;
CLRF TRISC
+
;
banksel PORTA
+
;
BSF PORTA,5 ; green on
+
;
BCF PORTA,4 ; red off
+
;
SLEEP
; At the far end of memory...
; At the far end of memory...
@@
-117,13
+117,13
@@
SetBaud
; debug lights
; debug RA5 green, RA4 red
; debug lights
; debug RA5 green, RA4 red
- banksel ANSELA
- CLRF ANSELA
- banksel TRISA
- CLRF TRISA
- banksel PORTA
- BCF PORTA,5 ; green off
- BSF PORTA,4 ; red on
+
;
banksel ANSELA
+
;
CLRF ANSELA
+
;
banksel TRISA
+
;
CLRF TRISA
+
;
banksel PORTA
+
;
BCF PORTA,5 ; green off
+
;
BSF PORTA,4 ; red on
; Send the 'we heard you' ACK symbol
CLRF crc
; Send the 'we heard you' ACK symbol
CLRF crc