Author Topic: FBAlpha Big Endian Patches  (Read 31642 times)

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: FBAlpha Big Endian Patches
« Reply #15 on: January 28, 2012, 03:57:23 PM »
it would be, go ahead and change that if you like. thats what late night coding does :)

Ok, changed that one and a similar one in the same file.
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #16 on: January 31, 2012, 07:05:43 PM »
additional nec/vez cpu endian fixes.

i added the following code to bitswap.h also

Code: [Select]
/* ----- macros for accessing bytes and words within larger chunks ----- */
#ifdef LSB_FIRST
#define BYTE_XOR_BE(a)  ((a) ^ 1) /* read/write a byte to a 16-bit space */
#define BYTE_XOR_LE(a)  (a)
#define BYTE4_XOR_BE(a) ((a) ^ 3) /* read/write a byte to a 32-bit space */
#define BYTE4_XOR_LE(a) (a)
#define WORD_XOR_BE(a)  ((a) ^ 2) /* read/write a word to a 32-bit space */
#define WORD_XOR_LE(a)  (a)
#else
#define BYTE_XOR_BE(a)  (a)
#define BYTE_XOR_LE(a)  ((a) ^ 1) /* read/write a byte to a 16-bit space */
#define BYTE4_XOR_BE(a) (a)
#define BYTE4_XOR_LE(a) ((a) ^ 3) /* read/write a byte to a 32-bit space */
#define WORD_XOR_BE(a)  (a)
#define WORD_XOR_LE(a)  ((a) ^ 2) /* read/write a word to a 32-bit space */
#endif

and uncommented out the BYTE_XOR_LE() calls in nec/vez which now gives us toaplan sound on big endian :)
« Last Edit: January 31, 2012, 07:11:43 PM by lantus »

Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #17 on: February 02, 2012, 11:52:19 PM »
about 1/2 way through pst90s patches.

here they are


Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #18 on: February 21, 2012, 12:21:04 PM »
more incoming. first up - CPS palette fix for your r350 changes

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: FBAlpha Big Endian Patches
« Reply #19 on: February 21, 2012, 03:53:25 PM »
more incoming. first up - CPS palette fix for your r350 changes

Thanks - I knew something would need making endian-safe in it.
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #20 on: February 26, 2012, 04:38:19 AM »
d_seta.cpp & d_seta2.cpp


Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #21 on: February 26, 2012, 11:14:18 PM »
d_lordgun.cpp & d_mcatadv.cpp

Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #22 on: February 27, 2012, 12:25:15 AM »
d_gauntlet.cpp
d_raiden.cpp
d_vmetal.cpp
nec.cpp reverted (fixed d_raiden.cpp)

Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #23 on: February 27, 2012, 04:49:11 PM »
thanks Treble

we have a few more to go but just about there now :)

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: FBAlpha Big Endian Patches
« Reply #24 on: February 27, 2012, 04:51:19 PM »
thanks Treble

we have a few more to go but just about there now :)

nice - thanks for your work lantus.
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #25 on: March 04, 2012, 09:30:24 PM »
- konami needed quite a bit of work
- be patches for phoenixed cps2
- sega fd1089 protection big endian
- some more misc driver updates

Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #26 on: March 19, 2012, 04:58:59 PM »
more misc 90s

- d_gaelco.cpp
- d_gaiden.cpp
- d_galspnbl.cpp
- d_suna16.cpp
- d_tecmosys.cpp

Offline Barry Harris

  • dontbeabarry
  • *
  • Posts: 1785
  • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
Re: FBAlpha Big Endian Patches
« Reply #27 on: March 20, 2012, 05:22:22 PM »
more misc 90s

- d_gaelco.cpp
- d_gaiden.cpp
- d_galspnbl.cpp
- d_suna16.cpp
- d_tecmosys.cpp

Thanks lantus, sorry for the delay in applying these.
Account of Barry Harris; the traitor.
Send me an e-mail at barry@fbalpha.com letting me know how big of a piece of sh** I am.

Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #28 on: March 20, 2012, 07:58:09 PM »
no problem Treble :)

more....

pre90s ones this time

- d_sf.cpp
- d_snk68.cpp
- d_toki.cpp


Offline lantus

  • Expert
  • *****
  • Posts: 162
  • Karma: +32/-0
Re: FBAlpha Big Endian Patches
« Reply #29 on: March 22, 2012, 02:28:16 AM »
- data east big endian
- some more PGM Big endian updates