registry = ipsRegistry::instance(); $this->settings =& $this->registry->fetchSettings(); } public function getOutput() { return; } public function replaceOutput($output, $key) { require_once( IPSLib::getAppDir('ibprobattle') . '/sources/battleHooks.php' ); $this->battleHook = new battleHooks( $this->registry ); return $this->battleHook->statsTopicView($output, $key); } } ?>registry = ipsRegistry::instance(); $this->settings =& $this->registry->fetchSettings(); } public function getOutput() { require_once( IPSLib::getAppDir('ibprobattle') . '/sources/battleHooks.php' ); $this->battleHook = new battleHooks( $this->registry ); return $this->battleHook->statsTopicViewJS(); } } ?> ARCADE change log - Page 6 - ARCADE - 1Emulation.com

Jump to content

Welcome to 1Emulation.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

ARCADE change log

- - - - -

  • Please log in to reply
68 replies to this topic

#56
Robert

Robert

    Alchemist

  • User Admin
  • 11,578 posts
  • Gender:Male
  • Location:Land of Oz
Your changes have been added to the source.

#57
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

Thanks Robert. I hope other users like those changes.



#58
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

One final change, this one might not too nice as it restores original resolution for some system1 games back to 256x224 (actually 512x224). Guy who wrote driver intentionally cut some games where there was visible clipping on borders (like on NES console) but I think this is wrong. Of course probably most people will prefer old visible area.

 

diff -Nru src/mame/drivers/system1.cpp src-new/mame/drivers/system1.cpp
--- src/mame/drivers/system1.cpp	Wed May 31 01:17:05 2017
+++ src-new/mame/drivers/system1.cpp	Sun Jun 18 17:55:46 2017
@@ -2190,12 +2190,12 @@
 
 
 /* reduced visible area for scrolling games */
-static MACHINE_CONFIG_DERIVED( sys1ppis, sys1ppi )
-
-	/* video hardware */
-	MCFG_SCREEN_MODIFY("screen")
-	MCFG_SCREEN_VISIBLE_AREA(2*(0*8+8), 2*(32*8-1-8), 0*8, 28*8-1)
-MACHINE_CONFIG_END
+//static MACHINE_CONFIG_DERIVED( sys1ppis, sys1ppi )
+//
+//	/* video hardware */
+//	MCFG_SCREEN_MODIFY("screen")
+//	MCFG_SCREEN_VISIBLE_AREA(2*(0*8), 2*(32*8-1), 0*8, 28*8-1)
+//MACHINE_CONFIG_END
 
 
 
@@ -2363,33 +2363,33 @@
 MACHINE_CONFIG_END
 
 /* reduced visible area for scrolling games */
-static MACHINE_CONFIG_DERIVED( sys1pios, sys1pio )
-
-	/* video hardware */
-	MCFG_SCREEN_MODIFY("screen")
-	MCFG_SCREEN_VISIBLE_AREA(2*(0*8+8), 2*(32*8-1-8), 0*8, 28*8-1)
-MACHINE_CONFIG_END
+//static MACHINE_CONFIG_DERIVED( sys1pios, sys1pio )
+//
+//	/* video hardware */
+//	MCFG_SCREEN_MODIFY("screen")
+//	MCFG_SCREEN_VISIBLE_AREA(2*(0*8), 2*(32*8-1), 0*8, 28*8-1)
+//MACHINE_CONFIG_END
 
-static MACHINE_CONFIG_DERIVED( sys1piosx_315_5099, sys1pios )
+static MACHINE_CONFIG_DERIVED( sys1piosx_315_5099, sys1pio )
 	MCFG_CPU_REPLACE("maincpu", SEGA_315_5065, MASTER_CLOCK)
 	ENCRYPTED_SYS1PIO_MAPS
 	MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes")
 MACHINE_CONFIG_END
 
-static MACHINE_CONFIG_DERIVED( sys1piosx_315_spat, sys1pios )
+static MACHINE_CONFIG_DERIVED( sys1piosx_315_spat, sys1pio )
 	MCFG_CPU_REPLACE("maincpu", SEGA_315_SPAT, MASTER_CLOCK)
 	ENCRYPTED_SYS1PIO_MAPS
 	MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes")
 MACHINE_CONFIG_END
 
 
-static MACHINE_CONFIG_DERIVED( sys1ppisx_315_5064, sys1ppis )
+static MACHINE_CONFIG_DERIVED( sys1ppisx_315_5064, sys1ppi )
 	MCFG_CPU_REPLACE("maincpu", SEGA_315_5064, MASTER_CLOCK)
 	ENCRYPTED_SYS1PPI_MAPS
 	MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes")
 MACHINE_CONFIG_END
 
-static MACHINE_CONFIG_DERIVED( sys1ppisx_315_5041, sys1ppis )
+static MACHINE_CONFIG_DERIVED( sys1ppisx_315_5041, sys1ppi )
 	MCFG_CPU_REPLACE("maincpu", SEGA_315_5041, MASTER_CLOCK)
 	ENCRYPTED_SYS1PPI_MAPS
 	MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes")
@@ -5426,8 +5426,8 @@
  *************************************/
 
 /* PPI-based System 1 */
-GAME( 1983, starjack,   0,        sys1ppis,          starjack,  system1_state, bank00,       ROT270, "Sega", "Star Jacker (Sega)", MACHINE_SUPPORTS_SAVE )
-GAME( 1983, starjacks,  starjack, sys1ppis,          starjacks, system1_state, bank00,       ROT270, "Sega (Stern Electronics license)", "Star Jacker (Stern Electronics)", MACHINE_SUPPORTS_SAVE )
+GAME( 1983, starjack,   0,        sys1ppi,          starjack,  system1_state, bank00,       ROT270, "Sega", "Star Jacker (Sega)", MACHINE_SUPPORTS_SAVE )
+GAME( 1983, starjacks,  starjack, sys1ppi,          starjacks, system1_state, bank00,       ROT270, "Sega (Stern Electronics license)", "Star Jacker (Stern Electronics)", MACHINE_SUPPORTS_SAVE )
 GAME( 1983, upndown,    0,        sys1ppix_315_5098, upndown,   system1_state, bank00,       ROT270, "Sega", "Up'n Down (315-5030)", MACHINE_SUPPORTS_SAVE )
 GAME( 1983, upndownu,   upndown,  sys1ppi,           upndown,   system1_state, bank00,       ROT270, "Sega", "Up'n Down (not encrypted)", MACHINE_SUPPORTS_SAVE )
 GAME( 1983, regulus,    0,        sys1ppix_315_5033, regulus,   system1_state, bank00,       ROT270, "Sega", "Regulus (315-5033, Rev A.)", MACHINE_SUPPORTS_SAVE )


Edited by haynor666, 18 June 2017 - 08:09 PM.


#59
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

Please ignore previous system1 changes.
 
battlera.cpp - Battler Rangers (resolution from 1088x242 to 1024x240 so no black borders)
battlera_0000.png
battlera_0003.png

diff -Nru src/mame/drivers/battlera.cpp src-fx/mame/drivers/battlera.cpp
--- src/mame/drivers/battlera.cpp	Wed Jan 31 00:18:50 2018
+++ src-fx/mame/drivers/battlera.cpp	Wed Feb  7 19:47:26 2018
@@ -280,7 +280,7 @@
 
 	/* video hardware */
 	MCFG_SCREEN_ADD("screen", RASTER)
-	MCFG_SCREEN_RAW_PARAMS(MAIN_CLOCK, huc6260_device::WPF, 64, 64 + 1024 + 64, huc6260_device::LPF, 18, 18 + 242)
+	MCFG_SCREEN_RAW_PARAMS(MAIN_CLOCK, huc6260_device::WPF, 128, 64 + 1024 + 64, huc6260_device::LPF, 16, 16 + 240)
 	MCFG_SCREEN_UPDATE_DRIVER( battlera_state, screen_update )
 	MCFG_SCREEN_PALETTE("huc6260:palette")
 

 


Edited by haynor666, 07 February 2018 - 08:10 PM.


#60
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

chinagat.cpp - China Gate (resolution from 256x240 to 240x224 - no black borders)

chinagat_0000.pngchinagat_0001.pngchinagat_0001.png

diff -Nru src/mame/drivers/chinagat.cpp src-fx/mame/drivers/chinagat.cpp
--- src/mame/drivers/chinagat.cpp	Wed Jan 31 00:18:51 2018
+++ src-fx/mame/drivers/chinagat.cpp	Wed Feb  7 19:47:34 2018
@@ -565,7 +565,7 @@
 
 	/* video hardware */
 	MCFG_SCREEN_ADD("screen", RASTER)
-	MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 384, 0, 256, 272, 0, 240)   /* based on ddragon driver */
+	MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 384, 8, 248, 272, 8, 232)   /* based on ddragon driver */
 	MCFG_SCREEN_UPDATE_DRIVER(chinagat_state, screen_update_ddragon)
 	MCFG_SCREEN_PALETTE("palette")
 

ddragon.cpp (Double Dragon, Double Dragon II, - again from 256x240 to 240x224 (black bars from all sides) and Thunder Strike from 256x240 to 240x240 (black bar on right)

ddragon_0000.png ddragon_0001.png  tstrike_0000.png tstrike_0001.png

diff -Nru src/mame/drivers/ddragon.cpp src-fx/mame/drivers/ddragon.cpp
--- src/mame/drivers/ddragon.cpp	Wed Jan 31 00:18:52 2018
+++ src-fx/mame/drivers/ddragon.cpp	Wed Feb  7 19:47:44 2018
@@ -988,6 +988,10 @@
 	MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
 MACHINE_CONFIG_END
 
+MACHINE_CONFIG_DERIVED(ddragon_state::ddragoncut, ddragon)
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 384, 8, 248, 272, 8, 232)
+MACHINE_CONFIG_END
 
 MACHINE_CONFIG_DERIVED(ddragon_state::ddragonb, ddragon)
 
@@ -1083,7 +1087,7 @@
 	MCFG_PALETTE_FORMAT(xxxxBBBBGGGGRRRR)
 
 	MCFG_SCREEN_ADD("screen", RASTER)
-	MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 384, 0, 256, 272, 0, 240)
+	MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 384, 8, 248, 272, 8, 232)
 	MCFG_SCREEN_UPDATE_DRIVER(ddragon_state, screen_update_ddragon)
 	MCFG_SCREEN_PALETTE("palette")
 
@@ -1114,6 +1118,10 @@
 	/* video hardware */
 MACHINE_CONFIG_END
 
+MACHINE_CONFIG_DERIVED(darktowr_state::tstrikecut, darktowr)
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 384, 0, 240, 272, 0, 240)
+MACHINE_CONFIG_END
 
 MACHINE_CONFIG_DERIVED(toffy_state::toffy, ddragon)
 
@@ -2174,13 +2182,13 @@
  *
  *************************************/
 
-GAME( 1987, ddragon,     0,        ddragon,     ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan",                         "Double Dragon (Japan)",                       MACHINE_SUPPORTS_SAVE )
-GAME( 1987, ddragonw,    ddragon,  ddragon,     ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito license)",         "Double Dragon (World set 1)",                 MACHINE_SUPPORTS_SAVE )
-GAME( 1987, ddragonw1,   ddragon,  ddragon,     ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito license)",         "Double Dragon (World set 2)",                 MACHINE_SUPPORTS_SAVE )
-GAME( 1987, ddragonu,    ddragon,  ddragon,     ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito America license)", "Double Dragon (US set 1)",                    MACHINE_SUPPORTS_SAVE )
-GAME( 1987, ddragonua,   ddragon,  ddragon,     ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito America license)", "Double Dragon (US set 2)",                    MACHINE_SUPPORTS_SAVE )
-GAME( 1987, ddragonub,   ddragon,  ddragon,     ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito America license)", "Double Dragon (US set 3)",                    MACHINE_SUPPORTS_SAVE )
-GAME( 1987, ddragonb2,   ddragon,  ddragon,     ddragon,  ddragon_state,  ddragon,     ROT0, "bootleg",                               "Double Dragon (bootleg)",                     MACHINE_SUPPORTS_SAVE )
+GAME( 1987, ddragon,     0,        ddragoncut,  ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan",                         "Double Dragon (Japan)",                       MACHINE_SUPPORTS_SAVE )
+GAME( 1987, ddragonw,    ddragon,  ddragoncut,  ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito license)",         "Double Dragon (World set 1)",                 MACHINE_SUPPORTS_SAVE )
+GAME( 1987, ddragonw1,   ddragon,  ddragoncut,  ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito license)",         "Double Dragon (World set 2)",                 MACHINE_SUPPORTS_SAVE )
+GAME( 1987, ddragonu,    ddragon,  ddragoncut,  ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito America license)", "Double Dragon (US set 1)",                    MACHINE_SUPPORTS_SAVE )
+GAME( 1987, ddragonua,   ddragon,  ddragoncut,  ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito America license)", "Double Dragon (US set 2)",                    MACHINE_SUPPORTS_SAVE )
+GAME( 1987, ddragonub,   ddragon,  ddragoncut,  ddragon,  ddragon_state,  ddragon,     ROT0, "Technos Japan (Taito America license)", "Double Dragon (US set 3)",                    MACHINE_SUPPORTS_SAVE )
+GAME( 1987, ddragonb2,   ddragon,  ddragoncut,  ddragon,  ddragon_state,  ddragon,     ROT0, "bootleg",                               "Double Dragon (bootleg)",                     MACHINE_SUPPORTS_SAVE )
 GAME( 1987, ddragonb,    ddragon,  ddragonb,    ddragon,  ddragon_state,  ddragon,     ROT0, "bootleg",                               "Double Dragon (bootleg with HD6309)",         MACHINE_SUPPORTS_SAVE ) // according to dump notes
 GAME( 1987, ddragonba,   ddragon,  ddragonba,   ddragon,  ddragon_state,  ddragon,     ROT0, "bootleg",                               "Double Dragon (bootleg with M6803)",          MACHINE_SUPPORTS_SAVE )
 GAME( 1987, ddragon6809, ddragon,  ddragon6809, ddragon,  ddragon_state,  ddragon6809, ROT0, "bootleg",                               "Double Dragon (bootleg with 3xM6809, set 1)", MACHINE_NOT_WORKING )
@@ -2192,8 +2200,8 @@
 GAME( 1988, ddragon2b,   ddragon2, ddragon2,    ddragon2, ddragon_state,  ddragon2,    ROT0, "bootleg",       "Double Dragon II - The Revenge (US, bootleg)", MACHINE_SUPPORTS_SAVE )
 
 /* these were conversions of double dragon */
-GAME( 1991, tstrike,    0,         darktowr,    tstrike,  darktowr_state, darktowr,    ROT0, "East Coast Coin Company", "Thunder Strike (set 1)",        MACHINE_SUPPORTS_SAVE ) // same manufacturer as The Game Room?
-GAME( 1991, tstrikea,   tstrike,   darktowr,    tstrike,  darktowr_state, darktowr,    ROT0, "The Game Room",           "Thunder Strike (set 2, older)", MACHINE_SUPPORTS_SAVE )
+GAME( 1991, tstrike,    0,         tstrikecut,  tstrike,  darktowr_state, darktowr,    ROT0, "East Coast Coin Company", "Thunder Strike (set 1)",        MACHINE_SUPPORTS_SAVE ) // same manufacturer as The Game Room?
+GAME( 1991, tstrikea,   tstrike,   tstrikecut,  tstrike,  darktowr_state, darktowr,    ROT0, "The Game Room",           "Thunder Strike (set 2, older)", MACHINE_SUPPORTS_SAVE )
 GAME( 1992, ddungeon,   0,         darktowr,    ddungeon, darktowr_state, darktowr,    ROT0, "The Game Room",           "Dangerous Dungeons (set 1)",    MACHINE_SUPPORTS_SAVE )
 GAME( 1992, ddungeone,  ddungeon,  darktowr,    ddungeon, darktowr_state, darktowr,    ROT0, "East Coast Coin Company", "Dangerous Dungeons (set 2)",    MACHINE_SUPPORTS_SAVE )
 GAME( 1992, darktowr,   0,         darktowr,    darktowr, darktowr_state, darktowr,    ROT0, "The Game Room",           "Dark Tower",                    MACHINE_SUPPORTS_SAVE )
diff -Nru src/mame/drivers/dec8.cpp src-fx/mame/drivers/dec8.cpp
--- src/mame/drivers/dec8.cpp	Wed Jan 31 00:18:52 2018
+++ src-fx/mame/drivers/dec8.cpp	Wed Feb  7 19:47:48 2018
@@ -2141,8 +2141,8 @@
 //  MCFG_SCREEN_REFRESH_RATE(58)
 //  MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529) /* 58Hz, 529ms Vblank duration */)
 //  MCFG_SCREEN_SIZE(32*8, 32*8)
-//  MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
-	MCFG_SCREEN_RAW_PARAMS_DATA_EAST
+
+	MCFG_SCREEN_RAW_PARAMS(XTAL(12'000'000)/2,384,8,248,272,8,248)
 	MCFG_SCREEN_UPDATE_DRIVER(dec8_state, screen_update_garyoret)
 	MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(dec8_state, screen_vblank_dec8))
 	MCFG_SCREEN_PALETTE("palette")
diff -Nru src/mame/includes/ddragon.h src-fx/mame/includes/ddragon.h
--- src/mame/includes/ddragon.h	Wed Jan 31 00:19:03 2018
+++ src-fx/mame/includes/ddragon.h	Wed Feb  7 19:49:51 2018
@@ -131,6 +131,7 @@
 	void ddragonb(machine_config &config);
 	void ddragonba(machine_config &config);
 	void ddragon2(machine_config &config);
+	void ddragoncut(machine_config &config);
 };
 
 
@@ -152,6 +153,7 @@
 	DECLARE_DRIVER_INIT(darktowr);
 
 	void darktowr(machine_config &config);
+	void tstrikecut(machine_config &config);
 protected:
 	required_device<m68705p_device> m_mcu;
 

 


Edited by haynor666, 07 February 2018 - 08:22 PM.


#61
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

dec8.cpp - Garyo Retsuden (resolution from 256x240 to 240x240 to remove black bars)

garyoret_0000.png garyoret_0001.png

diff -Nru src/mame/drivers/dec8.cpp src-fx/mame/drivers/dec8.cpp
--- src/mame/drivers/dec8.cpp	Wed Jan 31 00:18:52 2018
+++ src-fx/mame/drivers/dec8.cpp	Wed Feb  7 19:47:48 2018
@@ -2141,8 +2141,8 @@
 //  MCFG_SCREEN_REFRESH_RATE(58)
 //  MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(529) /* 58Hz, 529ms Vblank duration */)
 //  MCFG_SCREEN_SIZE(32*8, 32*8)
-//  MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
-	MCFG_SCREEN_RAW_PARAMS_DATA_EAST
+
+	MCFG_SCREEN_RAW_PARAMS(XTAL(12'000'000)/2,384,8,248,272,8,248)
 	MCFG_SCREEN_UPDATE_DRIVER(dec8_state, screen_update_garyoret)
 	MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(dec8_state, screen_vblank_dec8))
 	MCFG_SCREEN_PALETTE("palette")

exprraid.cpp - Express Raider (resolution from 256x240 to 240x240 so no black bars)

exprraid_0000.png exprraid_0001.png

diff -Nru src/mame/drivers/exprraid.cpp src-fx/mame/drivers/exprraid.cpp
--- src/mame/drivers/exprraid.cpp	Wed Jan 31 00:18:52 2018
+++ src-fx/mame/drivers/exprraid.cpp	Wed Feb  7 19:47:51 2018
@@ -506,7 +506,7 @@
 //  MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
 //  MCFG_SCREEN_SIZE(32*8, 32*8)
 //  MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 1*8, 31*8-1)
-	MCFG_SCREEN_RAW_PARAMS(XTAL(12'000'000)/2, 384, 0, 256, 262, 8, 256-8) /* not accurate */
+	MCFG_SCREEN_RAW_PARAMS(XTAL(12'000'000)/2, 384, 8, 248, 262, 8, 256-8) /* not accurate */
 	MCFG_SCREEN_UPDATE_DRIVER(exprraid_state, screen_update_exprraid)
 	MCFG_SCREEN_PALETTE("palette")
 

 


Edited by haynor666, 07 February 2018 - 08:30 PM.


#62
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

exzisus.cpp - Exzisus (resolution from 256x240 to 240x240 so again no black bars)

exzisus_0000.png exzisus_0003.png

diff -Nru src/mame/drivers/exzisus.cpp src-fx/mame/drivers/exzisus.cpp
--- src/mame/drivers/exzisus.cpp	Wed Jan 31 00:18:52 2018
+++ src-fx/mame/drivers/exzisus.cpp	Wed Feb  7 19:47:55 2018
@@ -250,7 +250,7 @@
 	MCFG_SCREEN_REFRESH_RATE(60)
 	MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
 	MCFG_SCREEN_SIZE(32*8, 32*8)
-	MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+	MCFG_SCREEN_VISIBLE_AREA(1*8, 31*8-1, 2*8, 30*8-1)
 	MCFG_SCREEN_UPDATE_DRIVER(exzisus_state, screen_update)
 	MCFG_SCREEN_PALETTE("palette")
 

liberate.cpp - Liberation (resolution from 256x240 to 232x224 so no black bars)

liberate_0000.png liberate_0001.png

diff -Nru src/mame/drivers/liberate.cpp src-fx/mame/drivers/liberate.cpp
--- src/mame/drivers/liberate.cpp	Wed Jan 31 00:18:55 2018
+++ src-fx/mame/drivers/liberate.cpp	Wed Feb  7 19:48:09 2018
@@ -775,6 +775,8 @@
 MACHINE_CONFIG_DERIVED(liberate_state::liberate, liberate_base)
 	MCFG_DEVICE_MODIFY("maincpu")
 	MCFG_CPU_DECRYPTED_OPCODES_MAP(decrypted_opcodes_map)
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_VISIBLE_AREA(2*8, 31*8-1, 2*8, 30*8-1)
 MACHINE_CONFIG_END
 
 MACHINE_CONFIG_DERIVED(liberate_state::liberatb, liberate_base)

 



#63
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

namcona1.cpp - Cosmo Gang the Puzzle, Tinkle Pit (resolution from 304x224 to 288x224 so no trash/black bars on sides)

cgangpzl_0000.png cgangpzl_0001.png   tinklpit_0000.png tinklpit_0001.png

diff -Nru src/mame/drivers/namcona1.cpp src-fx/mame/drivers/namcona1.cpp
--- src/mame/drivers/namcona1.cpp	Wed Jan 31 00:18:56 2018
+++ src-fx/mame/drivers/namcona1.cpp	Wed Feb  7 19:48:19 2018
@@ -1355,8 +1355,8 @@
 
 // NA-1 (C69 MCU)
 GAME( 1992, bkrtmaq,    0,        namcona1w, namcona1_quiz, namcona1_state, bkrtmaq,  ROT0, "Namco", "Bakuretsu Quiz Ma-Q Dai Bouken (Japan)", MACHINE_SUPPORTS_SAVE )
-GAME( 1992, cgangpzl,   0,        namcona1w, namcona1_joy,  namcona1_state, cgangpzl, ROT0, "Namco", "Cosmo Gang the Puzzle (US)", MACHINE_SUPPORTS_SAVE )
-GAME( 1992, cgangpzlj,  cgangpzl, namcona1w, namcona1_joy,  namcona1_state, cgangpzl, ROT0, "Namco", "Cosmo Gang the Puzzle (Japan)", MACHINE_SUPPORTS_SAVE )
+GAME( 1992, cgangpzl,   0,        namcona1,  namcona1_joy,  namcona1_state, cgangpzl, ROT0, "Namco", "Cosmo Gang the Puzzle (US)", MACHINE_SUPPORTS_SAVE )
+GAME( 1992, cgangpzlj,  cgangpzl, namcona1,  namcona1_joy,  namcona1_state, cgangpzl, ROT0, "Namco", "Cosmo Gang the Puzzle (Japan)", MACHINE_SUPPORTS_SAVE )
 GAME( 1992, exvania,    0,        namcona1,  namcona1_joy,  namcona1_state, exbania,  ROT0, "Namco", "Exvania (World)", MACHINE_SUPPORTS_SAVE )
 GAME( 1992, exvaniaj,   exvania,  namcona1,  namcona1_joy,  namcona1_state, exbania,  ROT0, "Namco", "Exvania (Japan)", MACHINE_SUPPORTS_SAVE )
 GAME( 1992, fghtatck,   0,        namcona1,  namcona1_joy,  namcona1_state, fa,       ROT90,"Namco", "Fighter & Attacker (US)", MACHINE_SUPPORTS_SAVE )
@@ -1366,7 +1366,7 @@
 GAME( 1994, swcourtb,   swcourt,  namcona1w, namcona1_joy,  namcona1_state, swcourtb, ROT0, "bootleg (Playmark?)", "Super World Court (World, bootleg)", MACHINE_SUPPORTS_SAVE )
 GAME( 1993, emeraldaj,  emeralda, namcona1w, namcona1_joy,  namcona1_state, emeraldj, ROT0, "Namco", "Emeraldia (Japan Version B)", MACHINE_SUPPORTS_SAVE ) /* Parent is below on NA-2 Hardware */
 GAME( 1993, emeraldaja, emeralda, namcona1w, namcona1_joy,  namcona1_state, emeraldj, ROT0, "Namco", "Emeraldia (Japan)", MACHINE_SUPPORTS_SAVE ) /* Parent is below on NA-2 Hardware */
-GAME( 1993, tinklpit,   0,        namcona1w, namcona1_joy,  namcona1_state, tinklpit, ROT0, "Namco", "Tinkle Pit (Japan)", MACHINE_SUPPORTS_SAVE )
+GAME( 1993, tinklpit,   0,        namcona1,  namcona1_joy,  namcona1_state, tinklpit, ROT0, "Namco", "Tinkle Pit (Japan)", MACHINE_SUPPORTS_SAVE )
 
 // NA-2 (C70 MCU)
 GAME( 1992, knckhead,   0,        namcona2,  namcona1_joy,  namcona1_state, knckhead, ROT0, "Namco", "Knuckle Heads (World)", MACHINE_SUPPORTS_SAVE )

nova2001.cpp - Nova 2001 (resolution from 256x192 to 240x192 so no black bars)

nova2001_0000.png nova2001_0001.png

diff -Nru src/mame/drivers/nova2001.cpp src-fx/mame/drivers/nova2001.cpp
--- src/mame/drivers/nova2001.cpp	Wed Jan 31 00:18:57 2018
+++ src-fx/mame/drivers/nova2001.cpp	Wed Feb  7 19:48:35 2018
@@ -651,7 +651,7 @@
 	MCFG_SCREEN_ADD("screen", RASTER)
 	MCFG_SCREEN_REFRESH_RATE(60)
 	MCFG_SCREEN_SIZE(32*8, 32*8)
-	MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 4*8, 28*8-1)
+	MCFG_SCREEN_VISIBLE_AREA(1*8, 31*8-1, 4*8, 28*8-1)
 	MCFG_SCREEN_UPDATE_DRIVER(nova2001_state, screen_update_nova2001)
 	MCFG_SCREEN_PALETTE("palette")
 

rockrage.cpp - Rock'n'Rage (resolution from 256x224 to 240x224 so no black bars)

rockrage_0000.png rockrage_0001.png

diff -Nru src/mame/drivers/rockrage.cpp src-fx/mame/drivers/rockrage.cpp
--- src/mame/drivers/rockrage.cpp	Wed Jan 31 00:18:59 2018
+++ src-fx/mame/drivers/rockrage.cpp	Wed Feb  7 19:48:39 2018
@@ -262,7 +262,7 @@
 	MCFG_SCREEN_REFRESH_RATE(60)
 	MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
 	MCFG_SCREEN_SIZE(32*8, 32*8)
-	MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
+	MCFG_SCREEN_VISIBLE_AREA(1*8, 31*8-1, 2*8, 30*8-1)
 	MCFG_SCREEN_UPDATE_DRIVER(rockrage_state, screen_update_rockrage)
 	MCFG_SCREEN_PALETTE("palette")
 

 



#64
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

sega16b.cpp - Aurail, Riot City, Wonder Boy III (resolution from 320x224 to 288x224 so no black bars)

aurail_0000.png aurail_0001.png   riotcity_0001.png riotcity_0000.png

diff -Nru src/mame/drivers/segas16b.cpp src-fx/mame/drivers/segas16b.cpp
--- src/mame/drivers/segas16b.cpp	Wed Jan 31 00:18:59 2018
+++ src-fx/mame/drivers/segas16b.cpp	Wed Feb  7 19:48:47 2018
@@ -3816,6 +3816,21 @@
 	MCFG_DEVICE_REMOVE("mapper")
 MACHINE_CONFIG_END
 
+MACHINE_CONFIG_DERIVED(segas16b_state::aurail, system16b)
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK_25MHz/4, 400, 24, 312, 262, 0, 224)
+MACHINE_CONFIG_END
+
+MACHINE_CONFIG_DERIVED(segas16b_state::riotcity, system16b)
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK_25MHz/4, 400, 16, 304, 262, 0, 224)
+MACHINE_CONFIG_END
+
+MACHINE_CONFIG_DERIVED(segas16b_state::wb3, system16b_i8751)
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK_25MHz/4, 400, 16, 304, 262, 0, 224)
+MACHINE_CONFIG_END
+
 void segas16b_state::tilemap_16b_fpointbl_fill_latch(int i, uint16_t* latched_pageselect, uint16_t* latched_yscroll, uint16_t* latched_xscroll, uint16_t* textram)
 {
 	// grab the page regsisters from where the bootleg stores them instead, then convert them to the format the original video emulation code expects
@@ -9104,7 +9119,7 @@
 GAME( 1988, altbeast2,  altbeast, system16b_mc8123,    altbeast, segas16b_state,altbeas4_5521,      ROT0,   "Sega", "Altered Beast (set 2) (MC-8123B 317-0066)", 0 )
 GAME( 1988, altbeastj1, altbeast, system16b_fd1094,    altbeast, segas16b_state,generic_5521,       ROT0,   "Sega", "Juuouki (set 1, Japan) (FD1094 317-0065)", 0 )
 
-GAME( 1990, aurail,     0,        system16b,           aurail,   segas16b_state,generic_5704,       ROT0,   "Sega / Westone", "Aurail (set 3, US) (unprotected)", 0 )
+GAME( 1990, aurail,     0,        aurail,              aurail,   segas16b_state,generic_5704,       ROT0,   "Sega / Westone", "Aurail (set 3, US) (unprotected)", 0 )
 GAME( 1990, aurail1,    aurail,   system16b_fd1089b,   aurail,   segas16b_state,generic_5704,       ROT0,   "Sega / Westone", "Aurail (set 2, World) (FD1089B 317-0168)", 0 )
 GAME( 1990, aurailj,    aurail,   system16b_fd1089a,   aurail,   segas16b_state,generic_5704,       ROT0,   "Sega / Westone", "Aurail (set 1, Japan) (FD1089A 317-0167)", 0 )
 
@@ -9157,7 +9172,7 @@
 GAME( 1988, passshtj,   passsht,  system16b_fd1094,    passshtj, segas16b_state,passshtj_5358,      ROT270, "Sega", "Passing Shot (Japan, 4 Players) (FD1094 317-0070)", 0 )
 GAME( 1988, cencourt,   passsht,  system16b_mc8123,    cencourt, segas16b_state,cencourt_5358,      ROT270, "Sega", "Center Court (World, 4 Players, prototype) (MC-8123B)", 0 )
 
-GAME( 1991, riotcity,   0,        system16b,           riotcity, segas16b_state,generic_5704,       ROT0,   "Sega / Westone", "Riot City (Japan)", 0 )
+GAME( 1991, riotcity,   0,        riotcity,            riotcity, segas16b_state,generic_5704,       ROT0,   "Sega / Westone", "Riot City (Japan)", 0 )
 
 GAME( 1990, ryukyu,     0,        system16b_fd1094,    ryukyu,   segas16b_state,generic_5704,       ROT0,   "Success / Sega", "RyuKyu (Japan) (FD1094 317-5023)", 0 )
 
@@ -9188,7 +9203,7 @@
 
 GAME( 1996, ultracin,   0,        system16b_5797, system16b_generic, segas16b_state, generic_5797,  ROT0,   "Sega", "Waku Waku Ultraman Racing", 0 )
 
-GAME( 1988, wb3,        0,        system16b_i8751,     wb3,      segas16b_state,wb3_5704,           ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 6, World, System 16B) (8751 317-0098)", 0 )
+GAME( 1988, wb3,        0,        wb3,                 wb3,      segas16b_state,wb3_5704,           ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 6, World, System 16B) (8751 317-0098)", 0 )
 GAME( 1988, wb34,       wb3,      system16b_fd1094,    wb3,      segas16b_state,generic_5704,       ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 4, Japan, System 16B) (FD1094 317-0087)", 0 )
 GAME( 1988, wb33,       wb3,      system16b_fd1094,    wb3,      segas16b_state,generic_5704,       ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 3, World, System 16B) (FD1094 317-0089)", 0 )
 GAME( 1988, wb32,       wb3,      system16b_fd1094,    wb3,      segas16b_state,generic_5358,       ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 2, Japan, System 16B) (FD1094 317-0085)", 0 )
diff -Nru src/mame/includes/segas16b.h src-fx/mame/includes/segas16b.h
--- src/mame/includes/segas16b.h	Wed Jan 31 00:19:05 2018
+++ src-fx/mame/includes/segas16b.h	Wed Feb  7 19:50:03 2018
@@ -156,6 +156,9 @@
 	void system16b_fd1094(machine_config &config);
 	void fpointbl(machine_config &config);
 	void lockonph(machine_config &config);
+	void aurail(machine_config &config);
+	void riotcity(machine_config &config);
+	void wb3(machine_config &config);
 protected:
 	// internal types
 	typedef delegate<void ()> i8751_sim_delegate;
diff -Nru src/mame/includes/system1.h src-fx/mame/includes/system1.h
--- src/mame/includes/system1.h	Wed Jan 31 00:19:06 2018
+++ src-fx/mame/includes/system1.h	Wed Feb  7 19:50:07 2018
@@ -189,4 +189,10 @@
 	void sys1piox_315_5177(machine_config &config);
 	void sys1piox_315_5155(machine_config &config);
 	void sys2rowxb(machine_config &config);
+	void wboy(machine_config &config);
+	void brain(machine_config &config);
+	void gardia(machine_config &config);
+	void tokisens(machine_config &config);
+	void ufosensi(machine_config &config);
+	void swat(machine_config &config);
 };

snk.cpp - Gladiator 1984, Mad Crasher (resolution from 288x224 to 256x224 so no black bars)

sgladiat_0000.png sgladiat_0001.png    madcrash_0000.png madcrash_0001.png

diff -Nru src/mame/drivers/snk.cpp src-fx/mame/drivers/snk.cpp
--- src/mame/drivers/snk.cpp	Wed Jan 31 00:18:59 2018
+++ src-fx/mame/drivers/snk.cpp	Wed Feb  7 21:02:50 2018
@@ -3675,10 +3675,16 @@
 	MCFG_CPU_MODIFY("maincpu")
 	MCFG_CPU_PROGRAM_MAP(madcrush_cpuA_map)
 
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_VISIBLE_AREA(2*8, 34*8-1, 1*8, 28*8-1)
 	MCFG_CPU_MODIFY("sub")
 	MCFG_CPU_PROGRAM_MAP(madcrush_cpuB_map)
 MACHINE_CONFIG_END
 
+MACHINE_CONFIG_DERIVED(snk_state::madcrash, vangrd2)
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_VISIBLE_AREA(2*8, 34*8-1, 1*8, 28*8-1)
+MACHINE_CONFIG_END
 
 MACHINE_CONFIG_START(snk_state::jcross)
 
@@ -3739,7 +3745,8 @@
 	/* video hardware */
 	/* visible area is correct. Debug info is shown in the black bars at the sides
 	   of the screen when the Debug dip switch is on */
-
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_VISIBLE_AREA(2*8, 34*8-1, 1*8, 28*8-1)
 	MCFG_VIDEO_START_OVERRIDE(snk_state,sgladiat)
 MACHINE_CONFIG_END
 
@@ -6530,7 +6537,7 @@
 
 GAME( 1983, marvins,   0,        marvins,   marvins,   snk_state, 0,        ROT270, "SNK",     "Marvin's Maze", 0 )
 GAME( 1984, vangrd2,   0,        vangrd2,   vangrd2,   snk_state, 0,        ROT270, "SNK",     "Vanguard II", 0 )
-GAME( 1984, madcrash,  0,        vangrd2,   madcrash,  snk_state, 0,        ROT0,   "SNK",     "Mad Crasher", 0 )
+GAME( 1984, madcrash,  0,        madcrash,  madcrash,  snk_state, 0,        ROT0,   "SNK",     "Mad Crasher", 0 )
 GAME( 1984, madcrush,  madcrash, madcrush,  madcrash,  snk_state, 0,        ROT0,   "SNK",     "Mad Crusher (Japan)", 0 )
 
 GAME( 1984, jcross,    0,        jcross,    jcross,    snk_state, 0,        ROT270, "SNK",     "Jumping Cross (set 1)", 0 )
diff -Nru src/mame/includes/snk.h src-fx/mame/includes/snk.h
--- src/mame/includes/snk.h	Wed Jan 31 00:19:06 2018
+++ src-fx/mame/includes/snk.h	Wed Feb  7 21:03:23 2018
@@ -225,4 +225,5 @@
 	void ikari(machine_config &config);
 	void sgladiat(machine_config &config);
 	void madcrush(machine_config &config);
+	void madcrash(machine_config &config);
 };

 



#65
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

sprcros2.cpp - Super Cross II (resolution from 240x224 to 224x224 so no black bars)

 

diff -Nru src/mame/drivers/sprcros2.cpp src-fx/mame/drivers/sprcros2.cpp
--- src/mame/drivers/sprcros2.cpp	Wed Jan 31 00:19:00 2018
+++ src-fx/mame/drivers/sprcros2.cpp	Wed Feb  7 19:48:54 2018
@@ -462,7 +462,7 @@
 	/* video hardware */
 	MCFG_SCREEN_ADD("screen", RASTER)
 	MCFG_SCREEN_UPDATE_DRIVER(sprcros2_state, screen_update)
-	MCFG_SCREEN_RAW_PARAMS(MAIN_CLOCK/2, 343, 8, 256-8, 262, 16, 240) // TODO: Wrong screen parameters
+	MCFG_SCREEN_RAW_PARAMS(MAIN_CLOCK/2, 343, 16, 256-16, 262, 16, 240) // TODO: Wrong screen parameters
 	MCFG_SCREEN_PALETTE("palette")
 
 	MCFG_GFXDECODE_ADD("gfxdecode", "palette", sprcros2)

system1.pp (resolutions changes to cut black bars or trash)

diff -Nru src/mame/drivers/system1.cpp src-fx/mame/drivers/system1.cpp
--- src/mame/drivers/system1.cpp	Wed Jan 31 00:19:00 2018
+++ src-fx/mame/drivers/system1.cpp	Wed Feb  7 19:49:38 2018
@@ -2194,7 +2194,7 @@
 
 	/* video hardware */
 	MCFG_SCREEN_MODIFY("screen")
-	MCFG_SCREEN_VISIBLE_AREA(2*(0*8+8), 2*(32*8-1-8), 0*8, 28*8-1)
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 8, 496, 260, 0, 224)
 MACHINE_CONFIG_END
 
 
@@ -2354,6 +2354,10 @@
 	MCFG_CPU_REPLACE("maincpu", SEGA_315_5093, MASTER_CLOCK)
 	ENCRYPTED_SYS1PIO_MAPS
 	MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes")
+
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 12, 500, 260, 0, 224)
 MACHINE_CONFIG_END
 
 MACHINE_CONFIG_DERIVED(system1_state::sys1piox_315_5065, sys1pio)
@@ -2367,7 +2371,7 @@
 
 	/* video hardware */
 	MCFG_SCREEN_MODIFY("screen")
-	MCFG_SCREEN_VISIBLE_AREA(2*(0*8+8), 2*(32*8-1-8), 0*8, 28*8-1)
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 8, 496, 260, 0, 224)
 MACHINE_CONFIG_END
 
 MACHINE_CONFIG_DERIVED(system1_state::sys1piosx_315_5099, sys1pios)
@@ -2395,10 +2399,47 @@
 	MCFG_SEGACRPT_SET_DECRYPTED_TAG(":decrypted_opcodes")
 MACHINE_CONFIG_END
 
+MACHINE_CONFIG_DERIVED(system1_state::wboy, sys1piox_315_5177)
+
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 32, 480, 260, 0, 224)
+MACHINE_CONFIG_END
+
+MACHINE_CONFIG_DERIVED(system1_state::brain, sys1pio)
+
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 16, 496, 260, 8, 224)
+MACHINE_CONFIG_END
+
+MACHINE_CONFIG_DERIVED(system1_state::gardia, sys1piox_317_0006)
+
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 16, 496, 260, 0, 224)
+MACHINE_CONFIG_END
+
+MACHINE_CONFIG_DERIVED(system1_state::tokisens, sys2)
 
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 16, 496, 260, 8, 216)
+MACHINE_CONFIG_END
 
+MACHINE_CONFIG_DERIVED(system1_state::ufosensi, sys2rowxb)
 
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 16, 496, 260, 8, 216)
+MACHINE_CONFIG_END
 
+MACHINE_CONFIG_DERIVED(system1_state::swat, sys1ppix_315_5048)
+
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 0, 496, 260, 0, 224)
+MACHINE_CONFIG_END
 
 /* this describes the additional 8751 MCU when present */
 MACHINE_CONFIG_START(system1_state::mcu)
@@ -2429,6 +2470,10 @@
 	/* basic machine hardware */
 	MCFG_CPU_ADD("mcu", I8751, SOUND_CLOCK)
 	MCFG_CPU_IO_MAP(nob_mcu_io_map)
+
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 16, 496, 260, 0, 224)
 MACHINE_CONFIG_END
 
 
@@ -2486,6 +2531,10 @@
 
 MACHINE_CONFIG_DERIVED(system1_state::sys2m, sys2)
 	MCFG_FRAGMENT_ADD( mcu )
+
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_RAW_PARAMS(MASTER_CLOCK/2, 640, 16, 496, 260, 0, 224)
 MACHINE_CONFIG_END
 
 /* system2 with rowscroll */
@@ -5435,7 +5484,7 @@
 GAME( 1983, regulusu,   regulus,  sys1ppi,           regulus,   system1_state, bank00,       ROT270, "Sega", "Regulus (not encrypted)", MACHINE_SUPPORTS_SAVE )
 GAME( 1984, mrviking,   0,        sys1ppisx_315_5041,mrviking,  system1_state, bank00,       ROT270, "Sega", "Mister Viking (315-5041)", MACHINE_SUPPORTS_SAVE )
 GAME( 1984, mrvikingj,  mrviking, sys1ppisx_315_5041,mrvikingj, system1_state, bank00,       ROT270, "Sega", "Mister Viking (315-5041, Japan)", MACHINE_SUPPORTS_SAVE )
-GAME( 1984, swat,       0,        sys1ppix_315_5048, swat,      system1_state, bank00,       ROT270, "Coreland / Sega", "SWAT (315-5048)", MACHINE_SUPPORTS_SAVE )
+GAME( 1984, swat,       0,        swat,              swat,      system1_state, bank00,       ROT270, "Coreland / Sega", "SWAT (315-5048)", MACHINE_SUPPORTS_SAVE )
 GAME( 1984, flickyo,    flicky,   sys1ppix_315_5051, flicky,    system1_state, bank00,       ROT0,   "Sega", "Flicky (64k Version, 315-5051, set 1)", MACHINE_SUPPORTS_SAVE )
 GAME( 1984, flickys1,   flicky,   sys1ppix_315_5051, flickys1,  system1_state, bank00,       ROT0,   "Sega", "Flicky (64k Version, 315-5051, set 2)", MACHINE_SUPPORTS_SAVE )
 GAME( 1984, wmatch,     0,        sys1ppisx_315_5064,wmatch,    system1_state, bank00,       ROT270, "Sega", "Water Match (315-5064)", MACHINE_SUPPORTS_SAVE )
@@ -5477,7 +5526,7 @@
 GAME( 1985, myherok,    myhero,   sys1piox_315_5132, myhero,    system1_state, myherok,      ROT0,   "Coreland / Sega", "My Hero (Korea)", MACHINE_SUPPORTS_SAVE ) // possible bootleg, has extra encryption
 GAME( 1985, 4dwarrio,   0,        sys1piox_315_5162, 4dwarrio,  system1_state, bank00,       ROT0,   "Coreland / Sega", "4-D Warriors (315-5162)", MACHINE_SUPPORTS_SAVE )
 GAME( 1986, raflesia,   0,        sys1piox_315_5162, raflesia,  system1_state, bank00,       ROT270, "Coreland / Sega", "Rafflesia (315-5162)", MACHINE_SUPPORTS_SAVE )
-GAME( 1986, wboy,       0,        sys1piox_315_5177, wboy,      system1_state, bank00,       ROT0,   "Escape (Sega license)", "Wonder Boy (set 1, 315-5177)", MACHINE_SUPPORTS_SAVE )
+GAME( 1986, wboy,       0,        wboy             , wboy,      system1_state, bank00,       ROT0,   "Escape (Sega license)", "Wonder Boy (set 1, 315-5177)", MACHINE_SUPPORTS_SAVE )
 GAME( 1986, wboyo,      wboy,     sys1piox_315_5135, wboy,      system1_state, bank00,       ROT0,   "Escape (Sega license)", "Wonder Boy (set 2, 315-5135)", MACHINE_SUPPORTS_SAVE ) // aka 317-0003
 GAME( 1986, wboy3,      wboy,     sys1piox_315_5135, wboy3,     system1_state, bank00,       ROT0,   "Escape (Sega license)", "Wonder Boy (set 3, 315-5135)", MACHINE_SUPPORTS_SAVE )
 GAME( 1986, wboy4,      wboy,     sys1piox_315_5162, wboy,      system1_state, bank00,       ROT0,   "Escape (Sega license)", "Wonder Boy (315-5162, 4-D Warriors Conversion)", MACHINE_SUPPORTS_SAVE )
@@ -5488,8 +5537,8 @@
 
 /* PIO-based System 1 with ROM banking */
 GAME( 1985, hvymetal,   0,        sys1piox_315_5135, hvymetal,  system1_state, bank44,       ROT0,   "Sega", "Heavy Metal (315-5135)", MACHINE_SUPPORTS_SAVE )
-GAME( 1986, gardia,     0,        sys1piox_317_0006, gardia,    system1_state, bank44,       ROT270, "Coreland / Sega", "Gardia (317-0006)", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE)
-GAME( 1986, brain,      0,        sys1pio,           brain,     system1_state, bank44,       ROT0,   "Coreland / Sega", "Brain", MACHINE_SUPPORTS_SAVE )
+GAME( 1986, gardia,     0,        gardia,            gardia,    system1_state, bank44,       ROT270, "Coreland / Sega", "Gardia (317-0006)", MACHINE_NO_COCKTAIL | MACHINE_SUPPORTS_SAVE)
+GAME( 1986, brain,      0,        brain,             brain,     system1_state, bank44,       ROT0,   "Coreland / Sega", "Brain", MACHINE_SUPPORTS_SAVE )
 
 /* System 2 */
 GAME( 1985, choplift,   0,        sys2rowm,          choplift,  system1_state, choplift,     ROT0,   "Sega (licensed from Dan Gorlin)", "Choplifter (8751 315-5151)", MACHINE_SUPPORTS_SAVE )
@@ -5501,7 +5550,7 @@
 GAME( 1986, gardiaj,    gardia,   sys2_317_0006,     gardia,    system1_state, bank44,       ROT270, "Coreland / Sega", "Gardia (Japan, 317-0006)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_SUPPORTS_SAVE )
 GAME( 1986, wboysys2,   wboy,     sys2_315_5177,     wboysys2,  system1_state, bank0c,       ROT0,   "Escape (Sega license)", "Wonder Boy (system 2, set 1, 315-5177)", MACHINE_SUPPORTS_SAVE )
 GAME( 1986, wboysys2a,  wboy,     sys2_315_5176,     wboysys2,  system1_state, bank0c,       ROT0,   "Escape (Sega license)", "Wonder Boy (system 2, set 2, 315-5176)", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE )
-GAME( 1987, tokisens,   0,        sys2,              tokisens,  system1_state, bank0c,       ROT90,  "Sega", "Toki no Senshi - Chrono Soldier", MACHINE_SUPPORTS_SAVE )
+GAME( 1987, tokisens,   0,        tokisens,          tokisens,  system1_state, bank0c,       ROT90,  "Sega", "Toki no Senshi - Chrono Soldier", MACHINE_SUPPORTS_SAVE )
 GAME( 1987, wbml,       0,        sys2xb,            wbml,      system1_state, wbml,         ROT0,   "Sega / Westone", "Wonder Boy in Monster Land (Japan New Ver., MC-8123, 317-0043)", MACHINE_SUPPORTS_SAVE )
 GAME( 1987, wbmljo,     wbml,     sys2xb,            wbml,      system1_state, wbml,         ROT0,   "Sega / Westone", "Wonder Boy in Monster Land (Japan Old Ver., MC-8123, 317-0043)", MACHINE_SUPPORTS_SAVE )
 GAME( 1987, wbmljb,     wbml,     sys2xboot,         wbml,      system1_state, bootsys2,     ROT0,   "bootleg", "Wonder Boy in Monster Land (Japan bootleg)", MACHINE_SUPPORTS_SAVE )
@@ -5514,5 +5563,5 @@
 GAME( 1987, wbmljod,    wbml,     sys2xboot,         wbml,      system1_state, bootsys2d,    ROT0,   "bootleg (mpatou)", "Wonder Boy in Monster Land (decrypted bootleg of Japan Old Ver., MC-8123, 317-0043)", MACHINE_SUPPORTS_SAVE )
 GAME( 1987, dakkochn,   0,        sys2xb,            dakkochn,  system1_state, dakkochn,     ROT0,   "White Board", "DakkoChan House (MC-8123B, 317-5014)", MACHINE_SUPPORTS_SAVE )
 GAME( 1987, blockgalb,  blockgal, sys2x,             blockgal,  system1_state, bootleg,      ROT90,  "bootleg", "Block Gal (bootleg)", MACHINE_SUPPORTS_SAVE )
-GAME( 1988, ufosensi,   0,        sys2rowxb,         ufosensi,  system1_state, ufosensi,     ROT0,   "Sega", "Ufo Senshi Yohko Chan (MC-8123, 317-0064)", MACHINE_SUPPORTS_SAVE )
+GAME( 1988, ufosensi,   0,        ufosensi,          ufosensi,  system1_state, ufosensi,     ROT0,   "Sega", "Ufo Senshi Yohko Chan (MC-8123, 317-0064)", MACHINE_SUPPORTS_SAVE )
 GAME( 1988, ufosensib,  ufosensi, sys2rowxboot,      ufosensi,  system1_state, bootsys2,     ROT0,   "bootleg", "Ufo Senshi Yohko Chan (bootleg, not encrypted)", MACHINE_SUPPORTS_SAVE )
diff -Nru src/mame/includes/system1.h src-fx/mame/includes/system1.h
--- src/mame/includes/system1.h	Wed Jan 31 00:19:06 2018
+++ src-fx/mame/includes/system1.h	Wed Feb  7 19:50:07 2018
@@ -189,4 +189,10 @@
 	void sys1piox_315_5177(machine_config &config);
 	void sys1piox_315_5155(machine_config &config);
 	void sys2rowxb(machine_config &config);
+	void wboy(machine_config &config);
+	void brain(machine_config &config);
+	void gardia(machine_config &config);
+	void tokisens(machine_config &config);
+	void ufosensi(machine_config &config);
+	void swat(machine_config &config);
 };

taitosj.cpp - Jungle King, Sea Fighter Poseidon (resolution changes from 256x224 to 240x224 so no black bars (actually still small bars on Sea Fighter Poseidon)

 

diff -Nru src/mame/drivers/taitosj.cpp src-fx/mame/drivers/taitosj.cpp
--- src/mame/drivers/taitosj.cpp	Wed Jan 31 00:19:00 2018
+++ src-fx/mame/drivers/taitosj.cpp	Wed Feb  7 19:49:13 2018
@@ -1854,7 +1854,15 @@
 	MCFG_SCREEN_UPDATE_DRIVER(taitosj_state, screen_update_kikstart)
 MACHINE_CONFIG_END
 
-
+MACHINE_CONFIG_DERIVED(taitosj_state::junglek, nomcu)
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_VISIBLE_AREA(1*8, 31*8-1, 2*8, 30*8-1)
+MACHINE_CONFIG_END
+
+MACHINE_CONFIG_DERIVED(taitosj_state::sfposeid, mcu)
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_VISIBLE_AREA(1*8, 31*8-1, 2*8, 30*8-1)
+MACHINE_CONFIG_END
 
 /***************************************************************************
 
@@ -2850,7 +2858,7 @@
 
 GAME( 1981, spaceskr, 0,        nomcu,    spaceskr, taitosj_state,   taitosj, ROT0,   "Taito Corporation", "Space Seeker", MACHINE_SUPPORTS_SAVE )
 GAME( 1981, spacecr,  0,        nomcu,    spacecr,  taitosj_state,   spacecr, ROT90,  "Taito Corporation", "Space Cruiser", MACHINE_SUPPORTS_SAVE )
-GAME( 1982, junglek,  0,        nomcu,    junglek,  taitosj_state,   taitosj, ROT180, "Taito Corporation", "Jungle King (Japan)", MACHINE_SUPPORTS_SAVE )
+GAME( 1982, junglek,  0,        junglek,  junglek,  taitosj_state,   taitosj, ROT180, "Taito Corporation", "Jungle King (Japan)", MACHINE_SUPPORTS_SAVE )
 GAME( 1982, junglekas,junglek,  nomcu,    junglek,  taitosj_state,   taitosj, ROT180, "Taito Corporation", "Jungle King (alternate sound)", MACHINE_SUPPORTS_SAVE )
 GAME( 1982, junglekj2,junglek,  nomcu,    junglek,  taitosj_state,   taitosj, ROT180, "Taito Corporation", "Jungle King (Japan, earlier)", MACHINE_SUPPORTS_SAVE )
 GAME( 1982, jungleh,  junglek,  nomcu,    junglek,  taitosj_state,   taitosj, ROT180, "Taito America Corporation", "Jungle Hunt (US)", MACHINE_SUPPORTS_SAVE )
@@ -2870,6 +2878,6 @@
 GAME( 1983, tinstar2, tinstar,  mcu,      tinstar,  taitosj_state,   taitosj, ROT0,   "Taito Corporation", "The Tin Star (set 2)", MACHINE_SUPPORTS_SAVE )
 GAME( 1983, waterski, 0,        nomcu,    waterski, taitosj_state,   taitosj, ROT270, "Taito Corporation", "Water Ski", MACHINE_SUPPORTS_SAVE )
 GAME( 1983, bioatack, 0,        nomcu,    bioatack, taitosj_state,   taitosj, ROT270, "Taito Corporation (Fox Video Games license)", "Bio Attack", MACHINE_SUPPORTS_SAVE )
-GAME( 1984, sfposeid, 0,        mcu,      sfposeid, taitosj_state,   taitosj, ROT0,   "Taito Corporation", "Sea Fighter Poseidon", MACHINE_SUPPORTS_SAVE )
+GAME( 1984, sfposeid, 0,        sfposeid, sfposeid, taitosj_state,   taitosj, ROT0,   "Taito Corporation", "Sea Fighter Poseidon", MACHINE_SUPPORTS_SAVE )
 GAME( 1983, hwrace,   0,        nomcu,    hwrace,   taitosj_state,   taitosj, ROT270, "Taito Corporation", "High Way Race", MACHINE_SUPPORTS_SAVE )
 GAME( 1984, kikstart, 0,        kikstart, kikstart, taitosj_state,   taitosj, ROT0,   "Taito Corporation", "Kick Start - Wheelie King", MACHINE_SUPPORTS_SAVE )
diff -Nru src/mame/includes/taitosj.h src-fx/mame/includes/taitosj.h
--- src/mame/includes/taitosj.h	Wed Jan 31 00:19:06 2018
+++ src-fx/mame/includes/taitosj.h	Wed Feb  7 19:50:10 2018
@@ -156,4 +156,6 @@
 	void mcu(machine_config &config);
 	void nomcu(machine_config &config);
 	void kikstart(machine_config &config);
+	void junglek(machine_config &config);
+	void sfposeid(machine_config &config);
 };

 



#66
haynor666

haynor666

    Member

  • Members+
  • 99 posts
  • Gender:Male
  • Location:Tarnobrzeg, Poland

thunderx.cpp - Gang Busters (resolution 320x224 to 288x224 so no big black bars)

 

 

diff -Nru src/mame/drivers/thunderx.cpp src-fx/mame/drivers/thunderx.cpp
--- src/mame/drivers/thunderx.cpp	Wed Jan 31 00:19:01 2018
+++ src-fx/mame/drivers/thunderx.cpp	Wed Feb  7 19:49:16 2018
@@ -719,6 +725,11 @@
 
 	MCFG_DEVICE_MODIFY("k052109")
 	MCFG_K052109_CB(thunderx_state, gbusters_tile_callback)
+
+	/* video hardware */
+	MCFG_SCREEN_MODIFY("screen")
+	MCFG_SCREEN_REFRESH_RATE(59.17)
+	MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
 MACHINE_CONFIG_END
 
 

tmnt.cpp - Bells'n Whistles, Teenage Mutant Hero Turtles (resolution from 320x224 to 280x224 and from 304x224 to 288x224 so no black bars)

diff -Nru src/mame/drivers/tmnt.cpp src-fx/mame/drivers/tmnt.cpp
--- src/mame/drivers/tmnt.cpp	Wed Jan 31 00:19:01 2018
+++ src-fx/mame/drivers/tmnt.cpp	Wed Feb  7 19:49:20 2018
@@ -2208,7 +2208,7 @@
 	MCFG_SCREEN_REFRESH_RATE(60)
 	MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
 	MCFG_SCREEN_SIZE(64*8, 32*8)
-	MCFG_SCREEN_VISIBLE_AREA(12*8, (64-12)*8-1, 2*8, 30*8-1 )
+	MCFG_SCREEN_VISIBLE_AREA(14*8, (64-15)*8-1, 2*8, 30*8-1 )
 	MCFG_SCREEN_UPDATE_DRIVER(tmnt_state, screen_update_lgtnfght)
 	MCFG_SCREEN_VBLANK_CALLBACK(WRITELINE(tmnt_state, screen_vblank_blswhstl))
 	MCFG_SCREEN_PALETTE("palette")
@@ -2421,7 +2421,7 @@
 	MCFG_SCREEN_REFRESH_RATE(60)
 	MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500) /* not accurate */)
 	MCFG_SCREEN_SIZE(64*8, 32*8)
-	MCFG_SCREEN_VISIBLE_AREA(13*8, (64-13)*8-1, 2*8, 30*8-1 )
+	MCFG_SCREEN_VISIBLE_AREA(14*8, (64-14)*8-1, 2*8, 30*8-1 )
 	MCFG_SCREEN_UPDATE_DRIVER(tmnt_state, screen_update_tmnt2)
 	MCFG_SCREEN_PALETTE("palette")
 

xain.cpp - Xain'n'Sleena (resolution from 256x240 to 240x224 so no black bars)

 

diff -Nru src/mame/drivers/xain.cpp src-fx/mame/drivers/xain.cpp
--- src/mame/drivers/xain.cpp	Wed Jan 31 00:19:02 2018
+++ src-fx/mame/drivers/xain.cpp	Wed Feb  7 19:49:31 2018
@@ -467,7 +467,7 @@
 
 	/* video hardware */
 	MCFG_SCREEN_ADD("screen", RASTER)
-	MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 384, 0, 256, 272, 8, 248)   /* based on ddragon driver */
+	MCFG_SCREEN_RAW_PARAMS(PIXEL_CLOCK, 384, 8, 248, 272, 16, 240)   /* based on ddragon driver */
 	MCFG_SCREEN_UPDATE_DRIVER(xain_state, screen_update)
 	MCFG_SCREEN_PALETTE("palette")
 

 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users