drivewire.s: Start comments properly with semicolons
authorTormod Volden <debian.tormod@gmail.com>
Sun, 15 May 2016 14:17:16 +0000 (16:17 +0200)
committerAlan Cox <alan@etchedpixels.co.uk>
Mon, 16 May 2016 10:05:42 +0000 (11:05 +0100)
The as wrapper in lwtools 4.13 uses the "newsource" pragma by default,
which require all comments to start with a semicolon.

For the files we copy as-is from "upstream" DriveWire code, we'll
simply turn off the "newsource" pragma for now.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/platform-coco2/drivewire.s
Kernel/platform-coco3/drivewire.s
Kernel/platform-dragon-nx32/drivewire.s
Kernel/platform-dragon/drivewire.s

index 35b9aac..35e9af9 100644 (file)
@@ -106,9 +106,9 @@ ReRead   pshs  a
         ldy   #$0005
         lbsr  DWWrite
         puls  a
-        ldx   4,s                      get read buffer pointer
-        ldy   #256                     read 256 bytes
-        ldd   #133*1                   1 second timeout
+        ldx   4,s                      get read buffer pointer
+        ldy   #256                     read 256 bytes
+        ldd   #133*1                   1 second timeout
         bsr   DWRead
          bcs   ReadEx
          bne   ReadEx
@@ -208,6 +208,7 @@ JMCPBCK  equ 0
 BAUD38400 equ 0
 
 ; These files are copied almost as-is from HDB-DOS
+       *PRAGMA nonewsource
          include "dw.def"
          include "dwread.s"
          include "dwwrite.s"
index c7ac5a3..3d15184 100644 (file)
@@ -123,9 +123,9 @@ ReRead   pshs  a
         ldy   #$0005
         lbsr  DWWrite
         puls  a
-        ldx   4,s                      get read buffer pointer
-        ldy   #256                     read 256 bytes
-        ldd   #133*1                   1 second timeout
+        ldx   4,s                      get read buffer pointer
+        ldy   #256                     read 256 bytes
+        ldd   #133*1                   1 second timeout
         bsr   DWRead
          bcs   ReadEx
          bne   ReadEx
@@ -163,6 +163,7 @@ JMCPBCK  equ 0
 BAUD38400 equ 0
 
 ; These files are copied almost as-is from HDB-DOS
+       *PRAGMA nonewsource
          include "dw.def"
          include "dwread.s"
          include "dwwrite.s"
index 35b9aac..35e9af9 100644 (file)
@@ -106,9 +106,9 @@ ReRead   pshs  a
         ldy   #$0005
         lbsr  DWWrite
         puls  a
-        ldx   4,s                      get read buffer pointer
-        ldy   #256                     read 256 bytes
-        ldd   #133*1                   1 second timeout
+        ldx   4,s                      get read buffer pointer
+        ldy   #256                     read 256 bytes
+        ldd   #133*1                   1 second timeout
         bsr   DWRead
          bcs   ReadEx
          bne   ReadEx
@@ -208,6 +208,7 @@ JMCPBCK  equ 0
 BAUD38400 equ 0
 
 ; These files are copied almost as-is from HDB-DOS
+       *PRAGMA nonewsource
          include "dw.def"
          include "dwread.s"
          include "dwwrite.s"
index babebeb..f27e1f5 100644 (file)
@@ -93,9 +93,9 @@ ReRead   pshs  a
         ldy   #$0005
         lbsr  DWWrite
         puls  a
-        ldx   4,s                      get read buffer pointer
-        ldy   #256                     read 256 bytes
-        ldd   #133*1                   1 second timeout
+        ldx   4,s                      get read buffer pointer
+        ldy   #256                     read 256 bytes
+        ldd   #133*1                   1 second timeout
         bsr   DWRead
          bcs   ReadEx
          bne   ReadEx
@@ -133,6 +133,7 @@ JMCPBCK  equ 0
 BAUD38400 equ 0
 
 ; These files are copied almost as-is from HDB-DOS
+       *PRAGMA nonewsource
          include "dw.def"
          include "dwread.s"
          include "dwwrite.s"