16Fermer18
BEYLe 29/05/2017 à 16:57
Mega Shocked (./16) :
Hi BEY!

My steps to get HPMAN's banked demo running

Step 1: Building your Rom

1. Download HPMAN's Banked Demo

Reworked the demo, split data across two bank regions for demonstration purpose:
https://www.dropbox.com/s/6nhfjj3azvp711l/banked_demo.zip?dl=0

2. Copy and paste the Banked Demo into your NeoDev samples folder.

3. Make a new folder titled "akiradmo"

fill folder with the following copies

Copy banked_demo\DATimage\Build\dev_p1.bin
Copy banked_demo\DATimage\BANK0\Bank0.bin
Copy banked_demo\DATimage\BANK1\Bank1.bin

Copy banked_demo\DATimage\BANK0\out\bk0Char.bin
Copy banked_demo\DATimage\BANK1\out\bk1Char.bin

You will also need s1 m1 and v1 (if you are in a pinch download https://www.dropbox.com/s/uqwisasu6a2f1j0/banked_demo.zip?dl=0
In this archive there is rmdmo.zip which contains these files.

Copy s1 m1 and v1 to your "akiradmo" folder and rename m1.rom to m1.m1 and v1.rom to v1.v1.

Copy "akiradmo" folder to your mame directory EX: C:\mame64\roms

Step 2: Add your driver to mame

Open C:\mame64\hash\neogeo.xml

insert this driver provided by freem

<software name="akiradmo"> <description>Akira Demo</description> <year>2016</year> <publisher>HPMAN</publisher> <sharedfeat name="release" value="MVS,AES" /> <sharedfeat name="compatibility" value="MVS,AES" /> <part name="cart" interface="neo_cart"> <dataarea name="maincpu" width="16" endianness="big" size="0x300000"> <rom loadflag="load16_word" name="dev_p1.bin" offset="0x000000" size="0x100000" crc="bdda2c6e" sha1="6a94dee2d22feb07ea68a90ce67d5cac1b17b9c9" /> <rom loadflag="load16_word" name="bank0.bin" offset="0x100000" size="0x100000" crc="d707ec72" sha1="6ca9b79e5679e49684cb8993f532966df3186ec9" /> <rom loadflag="load16_word" name="bank1.bin" offset="0x200000" size="0x100000" crc="53bed158" sha1="625f9f78980b8272303bd49309ff502e1da68315" /> </dataarea> <dataarea name="fixed" size="0x040000"> <rom offset="0x000000" size="0x020000" name="s1.s1" crc="0e6a7c73" sha1="31b1194524dcc80ec4d63bac088b6fb4909f496c" /> </dataarea> <dataarea name="audiocpu" size="0x040000"> <rom name="m1.m1" crc="da4878cf" sha1="ce13d18a4c5d01974df8542c67c4df00dbc6e7c1" /> </dataarea> <dataarea name="ymsnd" size="0x100000"> <rom name="v1.v1" offset="0x000000" size="0x1ea00" crc="149a5c2f" sha1="d52eac230f7aaa1d70cbb8d50a2513f180c65e4d" /> </dataarea> <dataarea name="sprites" size="0x500000"> <rom loadflag="load16_word" name="bk0char.bin" offset="0x000000" size="0x200000" crc="a9bdc000" sha1="93b0dfcd2121ddf6ea1fe99514a176d76e4b0c98" /> <rom loadflag="load16_word" name="bk1char.bin" offset="0x200000" size="0x300000" crc="f8e21968" sha1="e103d4f59cd841267b882580aee338e99f192c3f" /> </dataarea> </part> </software>
Step 3: Run your rom!

using cmd navigate to your mame directory and execute mame64 neogeo -cart1 akiradmo
Your rom should run!

Next Steps

Assuming NeoDev and DATlib 2.0 is installed and running. EX: You can build and run HPMAN's sample files.
Now you can focus on rebuilding these files on your own and replacing them in your akiradmo directory....

banked_demo\DATimage\Build\dev_p1.bin
banked_demo\DATimage\BANK0\Bank0.bin
banked_demo\DATimage\BANK1\Bank1.bin

banked_demo\DATimage\BANK0\out\bk0Char.bin
banked_demo\DATimage\BANK1\out\bk1Char.bin

just leave s1, m1 and v1 alone they are necessary place holders for now.


Hi Mega Shocked and HPMan!
First really thanks for your patience, I'm really noob calin

I have successfully compiled your code after change my png lists, buildchar chardata.xml, rebuilt BANK0/1 .bin, made new imagePacks.s and copy/paste all .bin + s1/m1/v1 files into rom.zip. No compile errors but no result.... after neogeo's emulator start then reset.

I have made various experiments with DatLibs with no problems (Ex. 971 png frames video with one palette 2 colors in one dev_p1.bin) but this banked demo template don't work for me.
I'm sorry but I still don't completely understand how to solve this problem. confus


Thanks
Ciao
BEY