Frontend Tech + >> HBMAME / ARCADE64 / MESSUI
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

VasiliyFamiliya
MAME Fan
Reged: 08/18/17
Posts: 92
Send PM


First ever homebrew demo for Psikyo 1st Generation.
#398503 - 05/21/24 07:31 AM Attachment: psihelwo.zip 0 KB (3 downloads)


To mame.lst:

Code:

@source:psikyo/psikyo.cpp
btlkroad // (c) 1994
btlkroadk // (c) 1994 (Korea)
gunbird // (c) 1994
gunbirdj // (c) 1994 (Japan)
gunbirdk // (c) 1994 (Korea)
s1945 // (c) 1995 (Japan)
s1945a // (c) 1995
s1945bl // (c) 1995 (Hong Kong bootleg)
s1945j // (c) 1995 (Japan)
s1945k // (c) 1995 (Korea)
s1945n // (c) 1995 (World, unprotected)
s1945nj // (c) 1995 (Japan, unprotected)
samuraia // (c) 1993 (World)
sngkace // (c) 1993 (Japan)
sngkacea // (c) 1993 (Japan)
tengai // (c) 1996 (World)
tengaij // (c) 1996 (Japan)
psihelwo



To psikyo/psikyo.cpp:

Code:

ROM_START( psihelwo )
ROM_REGION( 0x100000, "maincpu", 0 ) /* Main CPU Code */
ROM_LOAD32_WORD_SWAP( "10.u40", 0x000000, 0x022a, CRC(E3B1C16A) SHA1(285DEB257EE249E91E88A33A0596BFF96121D5DE) ) // 1&0
ROM_LOAD32_WORD_SWAP( "9.u41", 0x000002, 0x022a, CRC(F6F6E062) SHA1(99DC09D62F9C957905394385D912D7F25118ECAE) ) // 3&2

ROM_REGION( 0x020000, "audiocpu", 0 ) /* Sound CPU Code */
ROM_LOAD( "3-u63.bin", 0x00000, 0x20000, CRC(42d40ae1) SHA1(530a5a3f78ac489b84a631ea6ce21010a4f4d31b) )

ROM_REGION( 0x001000, "mcu", 0 ) /* MCU */
ROM_LOAD( "4-u59.bin", 0x00000, 0x01000, NO_DUMP )

ROM_REGION( 0x800000, "gfx1", 0 ) /* Sprites */
ROM_LOAD16_WORD_SWAP( "u20.bin", 0x000000, 0x200000, CRC(28a27fee) SHA1(913f3bc4d0c6fb6b776a020c8099bf96f16fd06f) )
ROM_LOAD16_WORD_SWAP( "u22.bin", 0x200000, 0x200000, CRC(ca152a32) SHA1(63efee83cb5982c77ca473288b3d1a96b89e6388) )
ROM_LOAD16_WORD_SWAP( "u21.bin", 0x400000, 0x200000, CRC(c5d60ea9) SHA1(e5ce90788211c856172e5323b01b2c7ab3d3fe50) )
ROM_LOAD16_WORD_SWAP( "u23.bin", 0x600000, 0x200000, CRC(48710332) SHA1(db38b732a09b31ce55a96ec62987baae9b7a00c1) )

ROM_REGION( 0x200000, "gfx2", 0 ) /* Layer 0 + 1 */
ROM_LOAD16_WORD_SWAP( "u34.bin", 0x000000, 0x8000, CRC(CA8207BA) SHA1(09082487BDA28717B60971925DD6C1A6528156A9) )

ROM_REGION( 0x400000, "ymf", 0 ) /* Samples */
ROM_LOAD( "u61.bin", 0x000000, 0x200000, CRC(a839cf47) SHA1(e179eb505c80d5bb3ccd9e228f2cf428c62b72ee) ) // 8 bit signed pcm (16KHz)

ROM_REGION16_LE( 0x040000, "spritelut", 0 ) /* */
ROM_LOAD( "u1.bin", 0x000000, 0x040000, CRC(dee22654) SHA1(5df05b0029ff7b1f7f04b41da7823d2aa8034bd2) )
ROM_END

GAME( 2024, psihelwo, 0, s1945, s1945j, psikyo_state, init_s1945, ROT0, "Vasiliy Familiya", "Hello World (Strikers 1945 hardware)", MACHINE_SUPPORTS_SAVE )



Edited by VasiliyFamiliya (05/21/24 03:34 PM)



VasiliyFamiliya
MAME Fan
Reged: 08/18/17
Posts: 92
Send PM


Re: First ever homebrew demo for Psikyo 1st Generation. new [Re: VasiliyFamiliya]
#398504 - 05/21/24 07:37 AM Attachment: source.zip 42 KB (1 downloads)


Just in case, here is a sources on 68k, and, furtherly, Z80 ASM. It's far from over - program will keep to acquire new features step by step.



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3203
Loc: A long way from you
Send PM


Re: First ever homebrew demo for Psikyo 1st Generation. new [Re: VasiliyFamiliya]
#398506 - 05/21/24 01:19 PM


> To mame.lst:
> @sourcesikyo/psikyo.cpp

Your attachment is empty. Please try again.



VasiliyFamiliya
MAME Fan
Reged: 08/18/17
Posts: 92
Send PM


Re: First ever homebrew demo for Psikyo 1st Generation. new [Re: Robbbert]
#398508 - 05/21/24 03:50 PM


For same reason MAMEworld file attachement service perceives an archives I try to send as an empty every time.

So for this time I use another way.
psihelwo.zip
source.zip

The program has undergone minor changes since the first post cause I'm going to start its expansion from a simple joy test adding. So here the new rom loading code.


Code:

ROM_START( psihelwo )
ROM_REGION( 0x100000, "maincpu", 0 ) /* Main CPU Code */
ROM_LOAD32_WORD_SWAP( "10.u40", 0x000000, 0x0240, CRC(D63D1FB3) SHA1(D62E2C59F6B508D7F238CE75CCC02C8A4593FF4D) ) // 1&0
ROM_LOAD32_WORD_SWAP( "9.u41", 0x000002, 0x0240, CRC(F363D414) SHA1(DC38BF7303BA06AC7B919709768ECFAD46ABFB94) ) // 3&2

ROM_REGION( 0x020000, "audiocpu", 0 ) /* Sound CPU Code */
ROM_LOAD( "3-u63.bin", 0x00000, 0x20000, CRC(42d40ae1) SHA1(530a5a3f78ac489b84a631ea6ce21010a4f4d31b) )

ROM_REGION( 0x001000, "mcu", 0 ) /* MCU */
ROM_LOAD( "4-u59.bin", 0x00000, 0x01000, NO_DUMP )

ROM_REGION( 0x800000, "gfx1", 0 ) /* Sprites */
ROM_LOAD16_WORD_SWAP( "u20.bin", 0x000000, 0x200000, CRC(28a27fee) SHA1(913f3bc4d0c6fb6b776a020c8099bf96f16fd06f) )
ROM_LOAD16_WORD_SWAP( "u22.bin", 0x200000, 0x200000, CRC(ca152a32) SHA1(63efee83cb5982c77ca473288b3d1a96b89e6388) )
ROM_LOAD16_WORD_SWAP( "u21.bin", 0x400000, 0x200000, CRC(c5d60ea9) SHA1(e5ce90788211c856172e5323b01b2c7ab3d3fe50) )
ROM_LOAD16_WORD_SWAP( "u23.bin", 0x600000, 0x200000, CRC(48710332) SHA1(db38b732a09b31ce55a96ec62987baae9b7a00c1) )

ROM_REGION( 0x200000, "gfx2", 0 ) /* Layer 0 + 1 */
ROM_LOAD16_WORD_SWAP( "u34.bin", 0x000000, 0x8000, CRC(CA8207BA) SHA1(09082487BDA28717B60971925DD6C1A6528156A9) )

ROM_REGION( 0x400000, "ymf", 0 ) /* Samples */
ROM_LOAD( "u61.bin", 0x000000, 0x200000, CRC(a839cf47) SHA1(e179eb505c80d5bb3ccd9e228f2cf428c62b72ee) ) // 8 bit signed pcm (16KHz)

ROM_REGION16_LE( 0x040000, "spritelut", 0 ) /* */
ROM_LOAD( "u1.bin", 0x000000, 0x040000, CRC(dee22654) SHA1(5df05b0029ff7b1f7f04b41da7823d2aa8034bd2) )
ROM_END



Edited by VasiliyFamiliya (05/21/24 03:53 PM)



VasiliyFamiliya
MAME Fan
Reged: 08/18/17
Posts: 92
Send PM


Re: First ever homebrew demo for Psikyo 1st Generation. new [Re: VasiliyFamiliya]
#398516 - 05/23/24 07:34 AM


> I'm going to start its expansion from a simple joy test adding. So here the new rom loading code.

Here's the same one update.


Code:

ROM_START( psihelwo )
ROM_REGION( 0x100000, "maincpu", 0 ) /* Main CPU Code */
ROM_LOAD32_WORD_SWAP( "10.u40", 0x000000, 0x025a, CRC(7E0D6ECF) SHA1(573E4912532536B8548D988B16274340B09219CD) ) // 1&0
ROM_LOAD32_WORD_SWAP( "9.u41", 0x000002, 0x025a, CRC(175BCF5C) SHA1(DDB6856F13060B21F4FC50FEB96F34F241FC5198) ) // 3&2

ROM_REGION( 0x020000, "audiocpu", 0 ) /* Sound CPU Code */
ROM_LOAD( "3-u63.bin", 0x00000, 0x20000, CRC(42d40ae1) SHA1(530a5a3f78ac489b84a631ea6ce21010a4f4d31b) )

ROM_REGION( 0x001000, "mcu", 0 ) /* MCU */
ROM_LOAD( "4-u59.bin", 0x00000, 0x01000, NO_DUMP )

ROM_REGION( 0x800000, "gfx1", 0 ) /* Sprites */
ROM_LOAD16_WORD_SWAP( "u20.bin", 0x000000, 0x200000, CRC(28a27fee) SHA1(913f3bc4d0c6fb6b776a020c8099bf96f16fd06f) )
ROM_LOAD16_WORD_SWAP( "u22.bin", 0x200000, 0x200000, CRC(ca152a32) SHA1(63efee83cb5982c77ca473288b3d1a96b89e6388) )
ROM_LOAD16_WORD_SWAP( "u21.bin", 0x400000, 0x200000, CRC(c5d60ea9) SHA1(e5ce90788211c856172e5323b01b2c7ab3d3fe50) )
ROM_LOAD16_WORD_SWAP( "u23.bin", 0x600000, 0x200000, CRC(48710332) SHA1(db38b732a09b31ce55a96ec62987baae9b7a00c1) )

ROM_REGION( 0x200000, "gfx2", 0 ) /* Layer 0 + 1 */
ROM_LOAD16_WORD_SWAP( "u34.bin", 0x000000, 0x18000, CRC(33B6E3F0) SHA1(BE664D1D3FDCF261D4502D73DBD297CE75823641) )

ROM_REGION( 0x400000, "ymf", 0 ) /* Samples */
ROM_LOAD( "u61.bin", 0x000000, 0x200000, CRC(a839cf47) SHA1(e179eb505c80d5bb3ccd9e228f2cf428c62b72ee) ) // 8 bit signed pcm (16KHz)

ROM_REGION16_LE( 0x040000, "spritelut", 0 ) /* */
ROM_LOAD( "u1.bin", 0x000000, 0x040000, CRC(dee22654) SHA1(5df05b0029ff7b1f7f04b41da7823d2aa8034bd2) )
ROM_END



But why the arrow tiles can be visible through the GFX viewer only and not on the screen?


Pages: 1

Frontend Tech + >> HBMAME / ARCADE64 / MESSUI
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert 
0 registered and 8 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 181