From: Oliver Schmidt
Date: Sat, 11 Jan 2014 22:35:21 +0000 (+0100)
Subject: Minor comment harmonization.
X-Git-Tag: V2.15~202
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8ae7ac73b34fd2b63eb9dcf021bbf2e0f44539cb;p=cc65
Minor comment harmonization.
---
diff --git a/libsrc/c128/mou/c128-1351.s b/libsrc/c128/mou/c128-1351.s
index f2a71647c..1f8e6d5cd 100644
--- a/libsrc/c128/mou/c128-1351.s
+++ b/libsrc/c128/mou/c128-1351.s
@@ -81,10 +81,11 @@ YMax: .res 2 ; Y2 value of bounding box
OldValue: .res 1 ; Temp for MoveCheck routine
NewValue: .res 1 ; Temp for MoveCheck routine
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.byte 0, 0 ; OldPotX/OldPotY
.word SCREEN_HEIGHT/2 ; YPos
diff --git a/libsrc/c128/mou/c128-joy.s b/libsrc/c128/mou/c128-joy.s
index 8c3bd779d..53dd5ec4a 100644
--- a/libsrc/c128/mou/c128-joy.s
+++ b/libsrc/c128/mou/c128-joy.s
@@ -87,10 +87,11 @@ Buttons: .res 1 ; Button mask
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT/2 ; YPos
.word SCREEN_WIDTH/2 ; XPos
diff --git a/libsrc/c128/mou/c128-pot.s b/libsrc/c128/mou/c128-pot.s
index ab6922896..ccefeb01b 100644
--- a/libsrc/c128/mou/c128-pot.s
+++ b/libsrc/c128/mou/c128-pot.s
@@ -84,10 +84,11 @@ Buttons: .res 1 ; Button mask
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT/2 ; YPos
.word SCREEN_WIDTH/2 ; XPos
diff --git a/libsrc/c64/mou/c64-1351.s b/libsrc/c64/mou/c64-1351.s
index ec053b0b2..f561f1a8a 100644
--- a/libsrc/c64/mou/c64-1351.s
+++ b/libsrc/c64/mou/c64-1351.s
@@ -101,10 +101,9 @@ Buttons: .res 1 ; button status bits
OldValue: .res 1 ; Temp for MoveCheck routine
NewValue: .res 1 ; Temp for MoveCheck routine
-; Default values for above variables
-
.rodata
+; Default values for below variables
; (We use ".proc" because we want to define both a label and a scope.)
.proc DefVars
diff --git a/libsrc/c64/mou/c64-joy.s b/libsrc/c64/mou/c64-joy.s
index 05f0ce50e..5f3bec8ed 100644
--- a/libsrc/c64/mou/c64-joy.s
+++ b/libsrc/c64/mou/c64-joy.s
@@ -106,10 +106,11 @@ Buttons: .res 1 ; Button mask
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT/2 ; YPos
.word SCREEN_WIDTH/2 ; XPos
diff --git a/libsrc/c64/mou/c64-pot.s b/libsrc/c64/mou/c64-pot.s
index 3eb977477..0ca446078 100644
--- a/libsrc/c64/mou/c64-pot.s
+++ b/libsrc/c64/mou/c64-pot.s
@@ -84,10 +84,11 @@ Buttons: .res 1 ; Button mask
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT/2 ; YPos
.word SCREEN_WIDTH/2 ; XPos
diff --git a/libsrc/cbm510/mou/cbm510-joy.s b/libsrc/cbm510/mou/cbm510-joy.s
index 9381cf761..effdb7cc0 100644
--- a/libsrc/cbm510/mou/cbm510-joy.s
+++ b/libsrc/cbm510/mou/cbm510-joy.s
@@ -89,10 +89,11 @@ YMax: .res 2 ; Y2 value of bounding box
Temp: .res 1
-; Default values for above variables
-
.rodata
+; Default values for below variables
+; (We use ".proc" because we want to define both a label and a scope.)
+
.proc DefVars
.word SCREEN_HEIGHT / 2 ; YPos
.word SCREEN_WIDTH / 2 ; XPos