Welcome!
Final Burn Neo => FBN Development => Topic started by: iq_132 on January 28, 2005, 01:51:43 AM
-
The main idea of this thread is to give a reference library to anyone who wants to port MAME code to FBA.
MAME <--> FBA conversion code
memory_region(REGION_CPU1) -> Neo68KROM
memory_region(REGION_CPU2) -> NeoZ80ROM
memory_region(REGION_GFX1) -> NeoTextROM + 0x20000
memory_region(REGION_GFX3) -> NeoSpriteROM
Here's a site that shows the different data types between C and C++
http://www.chrisdanielson.com/tutorials/win32datatypes.htm
Here's a site that can help explain some common and useful functions:
http://www.cplusplus.com/ref/cstdio/index.html
-
nice info iq.. thx.. :)
-
The main idea of this thread is to give a reference library to anyone who wants to port MAME code to FBA.
MAME <--> FBA conversion code
memory_region(REGION_CPU1) -> Neo68KROM
memory_region(REGION_CPU2) -> NeoZ80ROM
memory_region(REGION_GFX1) -> NeoTextROM + 0x20000
memory_region(REGION_GFX3) -> NeoSpriteROM
Here's a site that shows the different data types between C and C++
http://www.chrisdanielson.com/tutorials/win32datatypes.htm
Here's a site that can help explain some common and useful functions:
http://www.cplusplus.com/ref/cstdio/index.html
Did you finally break down and decide to import some of MAME's functions into FBA? ;)
-
Anyone can tell me how to change this MAME code MRA16_RAM & MWA16_RAM to FBA,thx.
In that means, how to define MRA16_RAM & MWA16_RAM in FBA?
-
Anyone can tell me how to change this MAME code MRA16_RAM & MWA16_RAM to FBA,thx.
In that means, how to define MRA16_RAM & MWA16_RAM in FBA?
I hope some can tell me how to covert this code to FBA,thx.
static UINT16 mv0_bank_ram[ 0x10/2 ];
static READ16_HANDLER( kof2003b_prot_r )
{
return mv0_bank_ram[ 1 ];
}
memory_install_read16_handler(0, ADDRESS_SPACE_PROGRAM, 0x??????, 0x??????, 0, 0, MRA16_RAM);
memory_install_write16_handler(0, ADDRESS_SPACE_PROGRAM, 0x??????, 0x??????, 0, 0, MWA16_RAM);
memory_install_read16_handler(0, ADDRESS_SPACE_PROGRAM, 0x??????, 0x??????, 0, 0, kof2003b_prot_r);
then kof10th can work on FBA,^_^.
-
Jeje bms, why don't you try you own bankswitch code? (the one you use for svcchaos, kof2003, mslug5 and other games, they include the extra ram needes by that games and even kof10th...
The protection check fro 2fe000, 2fffff mem dirs are in fact the bankswitch needed, this game seems to need only the mvo prot (or bank) bankswitch + 2 extra RAM modules (maybe we have emulated that already in fba)
See ya!!!!!! :D
-
FerchogtX was a really clever guy. :D
-
Jeje bms, why don't you try you own bankswitch code? (the one you use for svcchaos, kof2003, mslug5 and other games, they include the extra ram needes by that games and even kof10th...
The protection check fro 2fe000, 2fffff mem dirs are in fact the bankswitch needed, this game seems to need only the mvo prot (or bank) bankswitch + 2 extra RAM modules (maybe we have emulated that already in fba)
See ya!!!!!! :D
It does not need the kof2003 bankswitch
-
XD check the other posts James... but anyway isn't exactly kof2003 bankswitch
See ya!!!! :D
-
XD check the other posts James... but anyway isn't exactly kof2003 bankswitch
See ya!!!! :D
No need as I have the needed bankswitch code :) And its not MVO or kof2003 bankswitch.