changeset 3089:3244c2e1b6ed

Add comments to jump table. Delete trailing whitespace.
author Neal Crook <foofoobedoo@gmail.com>
date Tue, 13 Oct 2015 22:27:06 +0100
parents fa4b4ae537c1
children 3ccef1f7f44b
files level1/modules/clock2_soft.asm
diffstat 1 files changed, 16 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/clock2_soft.asm	Tue Oct 13 22:23:27 2015 +0100
+++ b/level1/modules/clock2_soft.asm	Tue Oct 13 22:27:06 2015 +0100
@@ -9,12 +9,12 @@
 *   1      2003/08/18  Boisy G. Pitre
 * Separated clock2 modules for source clarity.
 
-         nam   Clock2    
+         nam   Clock2
          ttl   Software Clock Driver
 
-         ifp1            
-         use   defsfile  
-         endc            
+         ifp1
+         use   defsfile
+         endc
 
 tylg     set   Sbrtn+Objct
 atrv     set   ReEnt+rev
@@ -26,16 +26,16 @@
 
          mod   len,name,Sbrtn+Objct,ReEnt+0,JmpTable,RTC.Base
 
-name     fcs   "Clock2"  
+name     fcs   "Clock2"
          fcb   edition
 
-JmpTable                 
-         rts
-         nop             
-         nop             
-         bra   GetTime   
-         nop             
-         rts
+JmpTable
+         rts              Init
+         nop
+         nop
+         bra   GetTime    Read
+         nop
+         rts              Write
 
 GetTime  lda   <D.Min     grab current minute
          inca             minute+1
@@ -69,11 +69,11 @@
          clra             minute=00
 UpdMin   clrb             seconds=00
          std   <D.Min     save min,secs
-UpdTExit rts             
+UpdTExit rts
 
 months   fcb   31,28,31,30,31,30,31,31,30,31,30,31 Days in each month
 
-         emod            
-len      equ   *         
-         end             
+         emod
+len      equ   *
+         end