Author Topic: porting fba to xbox  (Read 8972 times)

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
porting fba to xbox
« on: May 21, 2012, 10:48:52 PM »
first let me say thanks for all the hard work yall put into fba. well, i've been working on final burn legends for xbox and with nearly no coding experience i have the following issues. these come up in the sek.ccp, d_silvmil.ccp & d_actfancer.ccp:

Code: [Select]
d_silvmil.cpp
src\burn\sek.h(38) : error C2011: 'A68KContext' : 'struct' type redefinition
        src\burn\sek.h(38) : see declaration of 'A68KContext'
src\burn\sek.h(81) : error C2011: 'SekExt' : 'struct' type redefinition
        src\burn\sek.h(81) : see declaration of 'SekExt'
src\burn\sek.h(145) : error C2084: function 'int SekIdle(int)' already has a body
        src\burn\sek.h(144) : see previous definition of 'SekIdle'
src\burn\sek.h(152) : error C2084: function 'int SekSegmentCycles(void)' already has a body
        src\burn\sek.h(151) : see previous definition of 'SekSegmentCycles'
src\burn\sek.h(157) : error C2084: function 'int SekTotalCycles(void)' already has a body
        src\burn\sek.h(156) : see previous definition of 'SekTotalCycles'
src\burn\sek.h(162) : error C2084: function 'int SekCurrentScanline(void)' already has a body
        src\burn\sek.h(161) : see previous definition of 'SekCurrentScanline'
src\burn\sek.h(163) : error C2296: '/' : illegal, left operand has type 'int (__cdecl *)(void)'
src\burn\sek.h(163) : error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(111) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(112) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(113) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(198) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(309) : error C3861: 'STEP8': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(309) : error C3861: 'STEP8': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(310) : error C3861: 'STEP16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(440) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(458) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(461) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(464) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(512) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(513) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(514) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
d_actfancr.cpp
src\burn\misc\post90s\d_actfancr.cpp(476) : error C3861: 'STEP8': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_actfancr.cpp(476) : error C3861: 'STEP8': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_actfancr.cpp(477) : error C3861: 'STEP16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_actfancr.cpp(950) : error C3861: 'h6280CpuScan': identifier not found, even with argument-dependent lookup

an explination would be great... dumbed down of course. :)

sorry if this is the wrong spot for this question.
« Last Edit: May 22, 2012, 10:32:17 AM by destronger »
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline iq_132

  • Administrator
  • *****
  • Posts: 3725
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Re: porting fba to xbox
« Reply #1 on: May 21, 2012, 11:20:59 PM »
Code: [Select]
d_silvmil.cpp
src\burn\sek.h(38) : error C2011: 'A68KContext' : 'struct' type redefinition
        src\burn\sek.h(38) : see declaration of 'A68KContext'
src\burn\sek.h(81) : error C2011: 'SekExt' : 'struct' type redefinition
        src\burn\sek.h(81) : see declaration of 'SekExt'
src\burn\sek.h(145) : error C2084: function 'int SekIdle(int)' already has a body
        src\burn\sek.h(144) : see previous definition of 'SekIdle'
src\burn\sek.h(152) : error C2084: function 'int SekSegmentCycles(void)' already has a body
        src\burn\sek.h(151) : see previous definition of 'SekSegmentCycles'
src\burn\sek.h(157) : error C2084: function 'int SekTotalCycles(void)' already has a body
        src\burn\sek.h(156) : see previous definition of 'SekTotalCycles'
src\burn\sek.h(162) : error C2084: function 'int SekCurrentScanline(void)' already has a body
        src\burn\sek.h(161) : see previous definition of 'SekCurrentScanline'
src\burn\sek.h(163) : error C2296: '/' : illegal, left operand has type 'int (__cdecl *)(void)'
src\burn\sek.h(163) : error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
Iirc. #include "sek.h" is at the top of this driver. In the version of fba fbal is based on, sek.h is included in burnint.h (which iirc is included in tiles_generic.h)

Code: [Select]
src\burn\misc\post90s\d_silvmil.cpp(111) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(112) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(113) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(198) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(458) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(461) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(464) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(512) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(513) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(514) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(440) : error C3861: 'BURN_ENDIAN_SWAP_INT16': identifier not found, even with argument-dependent lookup
at the top of the driver add (it doesn't do anything useful on x86 hardware -- this is used for xbox360 hardware)
#define BURN_ENDIAN_SWAP_INT16(x) x

Code: [Select]
src\burn\misc\post90s\d_silvmil.cpp(309) : error C3861: 'STEP8': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(309) : error C3861: 'STEP8': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_silvmil.cpp(310) : error C3861: 'STEP16': identifier not found, even with argument-dependent lookup
d_actfancr.cpp
src\burn\misc\post90s\d_actfancr.cpp(476) : error C3861: 'STEP8': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_actfancr.cpp(476) : error C3861: 'STEP8': identifier not found, even with argument-dependent lookup
src\burn\misc\post90s\d_actfancr.cpp(477) : error C3861: 'STEP16': identifier not found, even with argument-dependent lookup

These were added to tiles_generic.h. I strongly suggest using the latest one from the fba source.
Code: [Select]
src\burn\misc\post90s\d_actfancr.cpp(950) : error C3861: 'h6280CpuScan': identifier not found, even with argument-dependent lookupNot sure about this one. You added the h6280 core from the latest fba?


Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: porting fba to xbox
« Reply #2 on: May 22, 2012, 11:00:14 AM »
Code: [Select]
d_silvmil.cpp
src\burn\sek.h(38) : error C2011: 'A68KContext' : 'struct' type redefinition
        src\burn\sek.h(38) : see declaration of 'A68KContext'
src\burn\sek.h(81) : error C2011: 'SekExt' : 'struct' type redefinition
        src\burn\sek.h(81) : see declaration of 'SekExt'
src\burn\sek.h(145) : error C2084: function 'int SekIdle(int)' already has a body
        src\burn\sek.h(144) : see previous definition of 'SekIdle'
src\burn\sek.h(152) : error C2084: function 'int SekSegmentCycles(void)' already has a body
        src\burn\sek.h(151) : see previous definition of 'SekSegmentCycles'
src\burn\sek.h(157) : error C2084: function 'int SekTotalCycles(void)' already has a body
        src\burn\sek.h(156) : see previous definition of 'SekTotalCycles'
src\burn\sek.h(162) : error C2084: function 'int SekCurrentScanline(void)' already has a body
        src\burn\sek.h(161) : see previous definition of 'SekCurrentScanline'
src\burn\sek.h(163) : error C2296: '/' : illegal, left operand has type 'int (__cdecl *)(void)'
src\burn\sek.h(163) : error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
Iirc. #include "sek.h" is at the top of this driver. In the version of fba fbal is based on, sek.h is included in burnint.h (which iirc is included in tiles_generic.h)

if i understand you correctly, then i can just take #include "sek.h" out of the driver then?

Quote
Code: [Select]
src\burn\misc\post90s\d_actfancr.cpp(950) : error C3861: 'h6280CpuScan': identifier not found, even with argument-dependent lookupNot sure about this one. You added the h6280 core from the latest fba?

yes, i have updated this to the latest core. i continue to get this error.
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline Turisu

  • Newbies
  • *
  • Posts: 18
  • Karma: +2/-0
Re: porting fba to xbox
« Reply #3 on: May 22, 2012, 07:32:07 PM »
if i understand you correctly, then i can just take #include "sek.h" out of the driver then?
I'd recommend doing it the other way round and rather than altering the driver, update the other files. Trying to create a hybrid of old codebase with new drivers is most likely a false economy and you're better off updating as much of the core as possible using the latest FBA source files.
 
yes, i have updated this to the latest core. i continue to get this error.
Make sure you've included any new files in your project. If you still get this error then run a "search in files" over the FBA source to see where else this identifier crops up and update FBL accordingly. Ultraedit can do this kind of search and it really is invaluable in tracking down things you may have missed when updating.

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: porting fba to xbox
« Reply #4 on: May 24, 2012, 07:03:53 PM »
d_actfancr.cpp(950): error C3861: 'h6280CpuScan': identifier not found, even with argument-dependent lookup

this is the line of code where it happens:

Code: [Select]
if (nAction & ACB_DRIVER_DATA) {
h6280CpuScan(nAction); <-----------
M6502Scan(nAction);

BurnYM2203Scan(nAction, pnMin);
BurnYM3812Scan(nAction, pnMin);
MSM6295Scan(0, nAction);

SCAN_VAR(control_select);
}
« Last Edit: May 24, 2012, 08:32:14 PM by destronger »
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline Turisu

  • Newbies
  • *
  • Posts: 18
  • Karma: +2/-0
Re: porting fba to xbox
« Reply #5 on: May 25, 2012, 04:13:28 AM »
Yes, but try searching the FBA source to see where else it occurs. Chances are you'll find it declared elsewhere in the FBA source where it does not occur in the FBL source. You then need to update those files accordingly.

If I'm not explaining it very well then I may be able to have a look myself later but it's literally just a case of running a file contents search over the source.

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: porting fba to xbox
« Reply #6 on: May 25, 2012, 08:45:21 PM »
i understood what you meant. i did check but i accidently screwed  :rolleyes: up this source i compiled so i need to start over. when i get to that crossroad i'll id the files it came up with.
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: porting fba to xbox
« Reply #7 on: May 27, 2012, 07:01:37 PM »
on the plus side d_actfancer.cpp compiles w/o errors. :)

files in question:

sek.h
h6280_intf.cpp
d_dec0.cpp
d_nmk16.cpp
d_silvmil.cpp

Code: [Select]
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(42): error C2011: 'A68KContext' : 'struct' type redefinition
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(42): error C2011: 'A68KContext' : 'struct' type redefinition
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(42): error C2011: 'A68KContext' : 'struct' type redefinition
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(42): error C2011: 'A68KContext' : 'struct' type redefinition
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(42): error C2011: 'A68KContext' : 'struct' type redefinition
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(85): error C2011: 'SekExt' : 'struct' type redefinition
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(85) : see declaration of 'SekExt'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(85): error C2011: 'SekExt' : 'struct' type redefinition
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(85) : see declaration of 'SekExt'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(85): error C2011: 'SekExt' : 'struct' type redefinition
        src\burn\sek.h(85) : see declaration of 'SekExt'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(85): error C2011: 'SekExt' : 'struct' type redefinition
        src\burn\sek.h(85) : see declaration of 'SekExt'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(85): error C2011: 'SekExt' : 'struct' type redefinition
        src\burn\sek.h(85) : see declaration of 'SekExt'
d:\Xbox Dev\FBL1.10g\src\burn\h6280_intf.cpp(253): error C2065: 'DebugCPU_H6280Initted' : undeclared identifier
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(873): error C2065: 'DebugCPU_SekInitted' : undeclared identifier
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(858): error C2078: too many initializers
d:\Xbox Dev\FBL1.10g\src\burn\h6280_intf.cpp(238): error C2078: too many initializers
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(196): error C2084: function 'INT32 SekCurrentScanline(void)' already has a body
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(195) : see previous definition of 'SekCurrentScanline'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(196): error C2084: function 'INT32 SekCurrentScanline(void)' already has a body
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(195) : see previous definition of 'SekCurrentScanline'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(196): error C2084: function 'INT32 SekCurrentScanline(void)' already has a body
        src\burn\sek.h(195) : see previous definition of 'SekCurrentScanline'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(196): error C2084: function 'INT32 SekCurrentScanline(void)' already has a body
        src\burn\sek.h(195) : see previous definition of 'SekCurrentScanline'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(196): error C2084: function 'INT32 SekCurrentScanline(void)' already has a body
        src\burn\sek.h(195) : see previous definition of 'SekCurrentScanline'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(149): error C2084: function 'INT32 SekIdle(INT32)' already has a body
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(148) : see previous definition of 'SekIdle'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(149): error C2084: function 'INT32 SekIdle(INT32)' already has a body
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(148) : see previous definition of 'SekIdle'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(149): error C2084: function 'INT32 SekIdle(INT32)' already has a body
        src\burn\sek.h(148) : see previous definition of 'SekIdle'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(149): error C2084: function 'INT32 SekIdle(INT32)' already has a body
        src\burn\sek.h(148) : see previous definition of 'SekIdle'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(149): error C2084: function 'INT32 SekIdle(INT32)' already has a body
        src\burn\sek.h(148) : see previous definition of 'SekIdle'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(162): error C2084: function 'INT32 SekSegmentCycles(void)' already has a body
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(161) : see previous definition of 'SekSegmentCycles'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(162): error C2084: function 'INT32 SekSegmentCycles(void)' already has a body
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(161) : see previous definition of 'SekSegmentCycles'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(162): error C2084: function 'INT32 SekSegmentCycles(void)' already has a body
        src\burn\sek.h(161) : see previous definition of 'SekSegmentCycles'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(162): error C2084: function 'INT32 SekSegmentCycles(void)' already has a body
        src\burn\sek.h(161) : see previous definition of 'SekSegmentCycles'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(162): error C2084: function 'INT32 SekSegmentCycles(void)' already has a body
        src\burn\sek.h(161) : see previous definition of 'SekSegmentCycles'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(181): error C2084: function 'INT32 SekTotalCycles(void)' already has a body
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(179) : see previous definition of 'SekTotalCycles'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(181): error C2084: function 'INT32 SekTotalCycles(void)' already has a body
        d:\Xbox Dev\FBL1.10g\src\burn\sek.h(179) : see previous definition of 'SekTotalCycles'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(181): error C2084: function 'INT32 SekTotalCycles(void)' already has a body
        src\burn\sek.h(179) : see previous definition of 'SekTotalCycles'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(181): error C2084: function 'INT32 SekTotalCycles(void)' already has a body
        src\burn\sek.h(179) : see previous definition of 'SekTotalCycles'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(181): error C2084: function 'INT32 SekTotalCycles(void)' already has a body
        src\burn\sek.h(179) : see previous definition of 'SekTotalCycles'
d:\Xbox Dev\FBL1.10g\src\burn\h6280_intf.cpp(235): error C2146: syntax error : missing ';' before identifier 'H6280CheatCpuConfig'
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(855): error C2146: syntax error : missing ';' before identifier 'SekCheatCpuConfig'
d:\Xbox Dev\FBL1.10g\src\burn\misc\post90s\d_nmk16.cpp(3817): error C2296: '*' : illegal, left operand has type 'INT32 (__cdecl *)(void)'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C2296: '/' : illegal, left operand has type 'INT32 (__cdecl *)(void)'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C2296: '/' : illegal, left operand has type 'INT32 (__cdecl *)(void)'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C2296: '/' : illegal, left operand has type 'INT32 (__cdecl *)(void)'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C2296: '/' : illegal, left operand has type 'INT32 (__cdecl *)(void)'
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C2296: '/' : illegal, left operand has type 'INT32 (__cdecl *)(void)'
d:\Xbox Dev\FBL1.10g\src\burn\timer.cpp(296): error C2440: '=' : cannot convert from 'INT32 (__cdecl *)(void)' to 'INT32 (__cdecl *)(void)'
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(857): error C2440: 'initializing' : cannot convert from 'void (__cdecl *)(const INT32)' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
d:\Xbox Dev\FBL1.10g\src\burn\h6280_intf.cpp(237): error C2440: 'initializing' : cannot convert from 'void (__cdecl *)(INT32)' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
d:\Xbox Dev\FBL1.10g\src\burn\misc\pre90s\d_dec0.cpp(3099): error C2440: 'type cast' : cannot convert from 'INT32 (__cdecl *)(void)' to 'double'
        Context does not allow for disambiguation of overloaded function
d:\Xbox Dev\FBL1.10g\src\burn\misc\post90s\d_nmk16.cpp(3812): error C2440: 'type cast' : cannot convert from 'INT32 (__cdecl *)(void)' to 'double'
        Context does not allow for disambiguation of overloaded function
d:\Xbox Dev\FBL1.10g\src\burn\h6280_intf.cpp(235): error C2501: 'H6280CheatCpuConfig' : missing storage-class or type specifiers
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(855): error C2501: 'SekCheatCpuConfig' : missing storage-class or type specifiers
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(1013): error C2664: 'CpuCheatRegister' : cannot convert parameter 2 from 'int *' to 'INT32'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
d:\Xbox Dev\FBL1.10g\src\burn\h6280_intf.cpp(271): error C2664: 'CpuCheatRegister' : cannot convert parameter 2 from 'int *' to 'INT32'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
d:\Xbox Dev\FBL1.10g\src\burn\misc\post90s\deco16ic.cpp(1677): error C3861: 'BURN_ENDIAN_SWAP_INT32': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\misc\post90s\deco16ic.cpp(1733): error C3861: 'BURN_ENDIAN_SWAP_INT32': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(345): error C3861: 'BURN_ENDIAN_SWAP_INT32': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(362): error C3861: 'BURN_ENDIAN_SWAP_INT32': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(378): error C3861: 'BURN_ENDIAN_SWAP_INT32': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\misc\pre90s\d_dec0.cpp(3611): error C3861: 'BurnTimerAttachH6280YM3812': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\misc\pre90s\d_dec0.cpp(3814): error C3861: 'BurnTimerAttachH6280YM3812': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\h6280_intf.cpp(293): error C3861: 'DebugCPU_H6280Initted': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(1067): error C3861: 'DebugCPU_SekInitted': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\misc\pre90s\d_dec0.cpp(3094): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\misc\pre90s\d_dec0.cpp(3099): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\misc\post90s\d_nmk16.cpp(3812): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\misc\post90s\d_nmk16.cpp(3817): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\timer.cpp(296): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.h(203): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
d:\Xbox Dev\FBL1.10g\src\burn\sek.cpp(862): error C3861: 'SekTotalCycles': identifier not found, even with argument-dependent lookup
« Last Edit: May 28, 2012, 12:05:57 PM by destronger »
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline Turisu

  • Newbies
  • *
  • Posts: 18
  • Karma: +2/-0
Re: porting fba to xbox
« Reply #8 on: May 28, 2012, 05:16:58 AM »
For both NG games replace this:
Code: [Select]
BDF_GAME_WORKING, 2, HARDWARE_PREFIX_CARTRIDGE | HARDWARE_SNK_NEOGEO | GBF_PUZZLE, 0,
with this:
Code: [Select]
BDF_GAME_WORKING, 2, HARDWARE_PREFIX_CARTRIDGE | HARDWARE_SNK_NEOGEO, GBF_PUZZLE, 0,

Offline Turisu

  • Newbies
  • *
  • Posts: 18
  • Karma: +2/-0
Re: porting fba to xbox
« Reply #9 on: May 28, 2012, 05:28:49 AM »
As for the first list of errors, it looks like you haven't updated all the necessary source files.  Make sure you've updated the relevant cpu cores in your src/cpu/ folder. Update sek.cpp and sek.h. Anything to do with Endian you can probably comment out to get rid of those errors. You may be able to comment out the Debug**** identifiers too if they continue to cause you problems. There are also a few in that list relating to cheats; might be worth commenting those out for now just until you can get it compiling.

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: porting fba to xbox
« Reply #10 on: May 28, 2012, 12:06:16 PM »
For both NG games replace this:
Code: [Select]
BDF_GAME_WORKING, 2, HARDWARE_PREFIX_CARTRIDGE | HARDWARE_SNK_NEOGEO | GBF_PUZZLE, 0,
with this:
Code: [Select]
BDF_GAME_WORKING, 2, HARDWARE_PREFIX_CARTRIDGE | HARDWARE_SNK_NEOGEO, GBF_PUZZLE, 0,

thanks
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!

Offline destronger

  • Newbies
  • *
  • Posts: 43
  • Karma: +7/-3
Re: porting fba to xbox
« Reply #11 on: May 28, 2012, 12:06:54 PM »
As for the first list of errors, it looks like you haven't updated all the necessary source files.  Make sure you've updated the relevant cpu cores in your src/cpu/ folder. Update sek.cpp and sek.h. Anything to do with Endian you can probably comment out to get rid of those errors. You may be able to comment out the Debug**** identifiers too if they continue to cause you problems. There are also a few in that list relating to cheats; might be worth commenting those out for now just until you can get it compiling.

will do, thank you...
+ T +: Every time you mention Midway games in Final Burn, iq_132 kills a kitten!