all bootloaders are ports of eachother default tip
author"Darron Broad" <darron@kewl.org>
Sat, 11 Mar 2017 02:09:13 +0000
changeset 262 3d01fb2f4ed1
parent 261 6f2ab0b054bb
all bootloaders are ports of eachother
loader/boot.inc
--- a/loader/boot.inc	Sat Mar 11 01:34:59 2017 +0000
+++ b/loader/boot.inc	Sat Mar 11 02:09:13 2017 +0000
@@ -115,7 +115,7 @@
             GOTO        __reset
 
 ;-------------------------------------------------------------------------------
-; Boot Loader
+; Begin Boot Loader
 ;-------------------------------------------------------------------------------
 
 .section .boot, code, address(STARTADDR)
@@ -135,14 +135,10 @@
             BTST        INPUT, #SWITCH          ; BOOT SWITCH TEST
             BRA         NZ, GOTOAPP             ; GOTO APP IF HIGH
 .endif
-            RCALL       InitComms
-
-;-------------------------------------------------------------------------------
-; Begin
-;-------------------------------------------------------------------------------
-
             LEDON                               ; BOOT LED ON
             BCLR        DDR, #LED               ; BOOT LED O/P
+INITAGAIN:
+            RCALL       InitComms
 
 ;-------------------------------------------------------------------------------
 ; Receive and Perform Command