Welcome!

FBAlpha Big Endian Patches

lantus · 60 · 46828

Offline Barry Harris

  • dontbeabarry
  • *
    • Posts: 1785
    • Karma: +0/-65535
  • I'm Barry Harris and I like to f*** people over
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
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
about 1/2 way through pst90s patches.

here they are



Offline lantus

  • Expert
  • *****
    • Posts: 162
    • Karma: +32/-0
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
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

Offline lantus

  • Expert
  • *****
    • Posts: 162
    • Karma: +32/-0

Offline lantus

  • Expert
  • *****
    • Posts: 162
    • Karma: +32/-0
d_gauntlet.cpp
d_raiden.cpp
d_vmetal.cpp
nec.cpp reverted (fixed d_raiden.cpp)


Offline lantus

  • Expert
  • *****
    • Posts: 162
    • Karma: +32/-0
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
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
- 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
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
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
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
- data east big endian
- some more PGM Big endian updates