]> Shamusworld >> Repos - rmac/commitdiff
Fix for bug #88 (allow DS in all sections).
authorShamus Hammons <jlhamm@acm.org>
Sun, 16 Apr 2017 17:53:35 +0000 (12:53 -0500)
committerShamus Hammons <jlhamm@acm.org>
Sun, 16 Apr 2017 17:53:35 +0000 (12:53 -0500)
direct.c
version.h

index b2e67998e863a7a216e16b8b8b4f2bd8dd39599d..e9eb8ac3aa6b8dde78fffae0ddc943893a59f64c 100644 (file)
--- a/direct.c
+++ b/direct.c
@@ -840,13 +840,6 @@ int d_ds(WORD siz)
 
        VALUE eval;
 
-       // This gets kind of stupid.  This directive is disallowed in normal 68000
-       // mode ("for your own good!"), but is permitted for 6502 and Alcyon-
-       // compatibility modes. For obvious reasons, no auto-even is done in 8-bit
-       // processor modes.
-       if (as68_flag == 0 && (scattr & SBSS) == 0)
-               return error(".ds permitted only in BSS");
-
        if ((siz != SIZB) && (sloc & 1))        // Automatic .even
                auto_even();
 
index 456a60daf22bce3559f6412105086d4752536d97..70fe45572f427270e68a3d013b37d6b1b0e1facf 100644 (file)
--- a/version.h
+++ b/version.h
@@ -15,7 +15,7 @@
 
 #define MAJOR   1              // Major version number
 #define MINOR   5              // Minor version number
-#define PATCH   1              // Patch release number
+#define PATCH   2              // Patch release number
 
 #endif // __VERSION_H__