]> git.sur5r.net Git - cc65/commitdiff
Fix o65 segment id definitions
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 8 Feb 2003 16:50:55 +0000 (16:50 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 8 Feb 2003 16:50:55 +0000 (16:50 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1945 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/o65.h

index e5957e5b67188f6530435df050f8fab44a9ccca7..25b96ebdf1d2f39ad61fd74888b4b1a9b8853f6f 100644 (file)
@@ -116,12 +116,13 @@ struct o65_header {
                                  O65_ALIGN_1)
 
 /* The four o65 segment types. */
-#define O65_SEG_UNDEF                  0x00
-#define O65_SEG_ABS            0x01
-#define O65_SEG_TEXT                   0x02
-#define O65_SEG_DATA           0x03
-#define O65_SEG_BSS            0x04
-#define O65_SEG_ZP             0x05
+#define O65_SEGID_UNDEF        0x00
+#define O65_SEGID_ABS          0x01
+#define O65_SEGID_TEXT         0x02
+#define O65_SEGID_DATA         0x03
+#define O65_SEGID_BSS          0x04
+#define O65_SEGID_ZP           0x05
+#define O65_SEGID_MASK          0x07
 
 /* Relocation type codes */
 #define O65_RTYPE_WORD          0x80