diff level1/modules/boot_dw.asm @ 2773:ce3dba57003b lwtools-port

boot_dw now uses dwinit.asm. dwinit.asm updated for Arduino
author Boisy Pitre <boisy.pitre@nuance.com>
date Wed, 23 Jan 2013 14:54:29 -0600
parents 05b648103e78
children e0614e08fa5e
line wrap: on
line diff
--- a/level1/modules/boot_dw.asm	Tue Jan 22 19:14:52 2013 -0600
+++ b/level1/modules/boot_dw.asm	Wed Jan 23 14:54:29 2013 -0600
@@ -58,24 +58,8 @@
 *   Exit:  Carry Clear = OK, Set = Error
 *          B = error (Carry Set)
 HWInit                   
-* Set up DDR for side B
-*               ldx       #PIA1Base           get base address of PIA
-*               ldb       3,x
-*               andb      #%11111011
-*               stb       3,x
-*               lda       #%11111010
-*               sta       2,x
-*               orb       #%00000100
-*               stb       3,x
+               use       dwinit.asm
 
-* Set up DDR for side A
-*               ldb       1,x
-*               andb      #%11111011
-*               stb       1,x                 $FF20 is now Data Direction Register
-*               lda       #%11111110          data direction bits (1=out, 0=in)
-*               sta       ,x                  tell HW
-*               orb       #%00000100          reset $FF20 to I/O register
-*               stb       1,x                 $FF20 is now Data Direction Register
 HWTerm         clrb      
                rts