changeset 1917:8f11fa36d5d8

Fixed address offsets for SuperBoard
author boisy
date Thu, 24 Nov 2005 14:02:52 +0000
parents fc5761a685b6
children d729f735c336
files level1/modules/clock2_ds1315.asm
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/clock2_ds1315.asm	Wed Nov 23 00:38:05 2005 +0000
+++ b/level1/modules/clock2_ds1315.asm	Thu Nov 24 14:02:52 2005 +0000
@@ -29,13 +29,16 @@
          ELSE            
          IFNE  SUPERBOARD
 RTC.Base equ   SBRTCBase
+RTC.Zero equ   0          Send zero bit by writing this offset
+RTC.One  equ   1          Send one bit by writing this offset
+RTC.Read equ   2          Read data from this offset
          ELSE
 RTC.Base equ   $FF7C      Fully decoded RTC
-         ENDC            
-         ENDC            
 RTC.Zero equ   -4         Send zero bit by writing this offset
 RTC.One  equ   -3         Send one bit by writing this offset
 RTC.Read equ   0          Read data from this offset
+         ENDC            
+         ENDC            
 
 
          mod   eom,name,tylg,atrv,JmpTable,RTC.Base