-----BEGIN PGP SIGNED MESSAGE-----

Here's one more diff patch for OpenVMS.  I have probably one or two more as 
I have one last change in xmame-0.77.1/src/unix/fileio.c that I need to 
finish for OpenVMS directory formats.

===========================================================================
- --- ./xmame-0.77.1/src/cpu/tms32025/tms32025.c        Thu Nov 13 00:05:58 2003
+++ tms32025.c  Sat Dec 20 16:08:33 2003
@@ -116,8 +116,12 @@
 |=========================================================|
 */
 
+/*
+ * Modifications For OpenVMS By:  Robert Alan Byer
+ *                                [EMAIL PROTECTED]
+ *                                Dec 8, 2003
+ */
 
- -
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
@@ -1166,7 +1170,16 @@
                CALCULATE_SUB_OVERFLOW(R.ALU.d);
                CALCULATE_SUB_CARRY();
 }
- -static void sbrk(void)
+
+/*
+ * OpenVMS has a "sbrk" routine in <stdlib.h> which conflicts with
+ * the "sbrk" here.  So For OpenVMS we just rename it to "tms_cpu_sbrk"
+ */
+#if defined(__DECC) && defined(VMS)
+  static void tms_cpu_sbrk(void)
+#else
+  static void sbrk(void)
+#endif
 {
                R.AR[ARP] -= R.opcode.b.l;
 }
@@ -1504,7 +1517,17 @@
 /*60*/ sacl,           sacl,           sacl,           sacl,           sacl,          
 sacl,           sacl,           sacl,
 /*68*/ sach,           sach,           sach,           sach,           sach,          
 sach,           sach,           sach,
 /*70*/ sar_ar0,                sar_ar1,        sar_ar2,        sar_ar3,        
sar_ar4,        sar_ar5,        sar_ar6,        sar_ar7,
+
+/*
+ * OpenVMS has a "sbrk" routine in <stdlib.h> which conflicts with
+ * the "sbrk" here.  So For OpenVMS we just rename it to "tms_cpu_sbrk"
+ */
+#if defined(__DECC) && defined(VMS)
+/*78*/ sst,                    sst1,           popd,           zalr,           spl,   
         sph,            adrk,           tms_cpu_sbrk,
+#else
 /*78*/ sst,                    sst1,           popd,           zalr,           spl,   
         sph,            adrk,           sbrk,
+#endif
+
 /*80*/ in,                     in,                     in,                     in,    
                 in,                     in,                     in,                   
  in,
 /*88*/ in,                     in,                     in,                     in,    
                 in,                     in,                     in,                   
  in,
 /*90*/ bit,                    bit,            bit,            bit,            bit,   
         bit,            bit,            bit,

===========================================================================


 +------------------+--------------------------+---------------+
 | Robert Alan Byer | [EMAIL PROTECTED] | ICQ #65926579 |
 +------------------+--------------------------+---------------+
 | Send an E-mail request to obtain a copy of my PGP key.      |
 +-------------------------------------------------------------+
 | "It is by caffeine alone I set my mind in motion.  It is by |
 |  cans of cola the thoughts aquire speed, the hands acquire  |
 |  shakes, the shakes become a warning.  It is by caffeine    |
 |  alone I set my mind in motion."                            |
 +-------------------------------------------------------------+


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQEVAwUBP+S+uKVSqzlBVJbBAQFY4wf/R9pMiwEzI8GuWVyl5C540JJ9ggY0zH97
AJAmeOcnLCTfmFWcSbqqPLdiTj+7e8/6wKwSpTTdFuMrpIfKE4GhsXD0hXApt5xD
EDCALtEseXByjITKrv0lmo0t4XEGlndK7+SEWK2ZpphpY+hhH0Pm7VvdmZ4e7Ihv
k06KqxVEiA1LoOrS+lMPfgO2RuZ3dXBlPOpX5yIsC3esyZGhbnPlTAirZXP6ndmp
LRfuFU6e+SbsW2P0yUs8AXQkg2jvJWTlhxcaRAdbGJF0F3jBxrnqj5DhJRK9AP3i
PokoMILPGKFDl+xoSBnwvGEsidN+jW5xNUet62IRE1fR1UfV/zunlA==
=w4NF
-----END PGP SIGNATURE-----

_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to