mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
Ported Super Famicom Box from MESS to MAME [Angelo Salese]
Modified the naomi clipping a bit to avoid so many black lines at the bottom [David Haywood] new clones ---------- Road Riot's Revenge (prototype, set 3) [Siftware] Indoor Soccer (set 2) [Siftware] new not working --------------- Super Famicom Box BIOS [Angelo Salese] New Super 3D Golf Simulation - Waialae No Kiseki / Super Mahjong 2 (Super Famicom Box) [Angelo Salese]
This commit is contained in:
parent
d857b40645
commit
dfafd7bd5d
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -2093,6 +2093,7 @@ src/mame/drivers/seta.c svneol=native#text/plain
|
||||
src/mame/drivers/seta2.c svneol=native#text/plain
|
||||
src/mame/drivers/sf.c svneol=native#text/plain
|
||||
src/mame/drivers/sfbonus.c svneol=native#text/plain
|
||||
src/mame/drivers/sfcbox.c svneol=native#text/plain
|
||||
src/mame/drivers/sfkick.c svneol=native#text/plain
|
||||
src/mame/drivers/sg1000a.c svneol=native#text/plain
|
||||
src/mame/drivers/shadfrce.c svneol=native#text/plain
|
||||
|
@ -5,7 +5,7 @@
|
||||
driver by Aaron Giles
|
||||
|
||||
Games supported:
|
||||
* Space Lords (1992) [2 sets]
|
||||
* Space Lords (1992)
|
||||
* Moto Frenzy (1992)
|
||||
* Road Riot's Revenge Rally (1993)
|
||||
|
||||
@ -1986,7 +1986,7 @@ ROM_START( rrreveng )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( rrrevengp )
|
||||
ROM_START( rrrevenga )
|
||||
ROM_REGION( 0x80000, "maincpu", 0 ) /* 8*64k for 68000 code */
|
||||
ROM_LOAD32_BYTE( "rrprghh.bin", 0x00000, 0x20000, CRC(d2903e9d) SHA1(8782cd6ee39e2159b9ebc68ecdc3ecefcdeb8623) )
|
||||
ROM_LOAD32_BYTE( "rrprghl.bin", 0x00001, 0x20000, CRC(1afd500c) SHA1(6d24087a839e5e7d9c764026a9f3089e52785cdb) )
|
||||
@ -2030,6 +2030,69 @@ ROM_START( rrrevengp )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( rrrevengb )
|
||||
ROM_REGION( 0x80000, "maincpu", 0 ) /* 8*64k for 68000 code */
|
||||
ROM_LOAD32_BYTE( "revenge.23e", 0x00000, 0x20000, CRC(3ade13a6) SHA1(672dd0800d6a1cf6cbb2adcebe452a0df71b3236) )
|
||||
ROM_LOAD32_BYTE( "revenge.23j", 0x00001, 0x20000, CRC(aff623d5) SHA1(3ad419deb2f40d62f5a6803035c5d08fe82833f4) )
|
||||
ROM_LOAD32_BYTE( "revenge.37e", 0x00002, 0x20000, CRC(b5e2a3e2) SHA1(b6ad6d03120ad6699af31d09474b82979ead65bb) )
|
||||
ROM_LOAD32_BYTE( "revenge.37j", 0x00003, 0x20000, CRC(6c7f114b) SHA1(2b9a627ec0a211da8080ea33a5486367b043952a) )
|
||||
|
||||
ROM_REGION( 0x180000, "gfx1", 0 )
|
||||
ROM_LOAD( "revenge.2d", 0x000000, 0x80000, CRC(00488dad) SHA1(604f08a219db0438dcbf21337ebd497f353bd812) ) /* playfield, planes 0-1 */
|
||||
ROM_LOAD( "revenge.5d", 0x080000, 0x80000, CRC(ade27447) SHA1(641fdca97a4b08251e111425d8467e4640433df7) ) /* playfield, planes 2-3 */
|
||||
ROM_LOAD( "revenge.8d", 0x100000, 0x80000, CRC(ef04f04e) SHA1(e518133096978c4a0152253231625c385a84530f) ) /* playfield, planes 4-5 */
|
||||
|
||||
ROM_REGION( 0x020000, "gfx2", 0 )
|
||||
ROM_LOAD( "revenge.13n", 0x000000, 0x20000, CRC(f2efbd66) SHA1(d5339f0b3de7a102d659f7459b5f4800cab31829) ) /* alphanumerics */
|
||||
|
||||
ROM_REGION16_BE( 0x500000, "gfx3", 0 )
|
||||
ROM_LOAD16_BYTE( "revenge.31n", 0x000000, 0x80000, CRC(fc2755d5) SHA1(e24319161307efbb3828b21a6250869051f1ccc1) )
|
||||
ROM_LOAD16_BYTE( "revenge.31l", 0x000001, 0x80000, CRC(f9f6bfe3) SHA1(c7e1479bb86646691d5ca7ee9127553cfd86571e) )
|
||||
ROM_LOAD16_BYTE( "revenge.33n", 0x100000, 0x80000, CRC(c7a48389) SHA1(a263aa4829cb243440ebe0496dd4f0158d97e2cc) )
|
||||
ROM_LOAD16_BYTE( "revenge.33l", 0x100001, 0x80000, CRC(085a67c1) SHA1(0449abb5fec9014bd0ad14ce4802f726a90bc48c) )
|
||||
ROM_LOAD16_BYTE( "revenge.35n", 0x200000, 0x80000, CRC(aea35aff) SHA1(2e02d2e877d356f9fb07e8b55ce252a148192d59) )
|
||||
ROM_LOAD16_BYTE( "revenge.35l", 0x200001, 0x80000, CRC(b256d6d6) SHA1(0f0a05e3e58a00662f99988a050f2f5a11592d29) )
|
||||
ROM_LOAD16_BYTE( "revenge.37n", 0x300000, 0x80000, CRC(563baaeb) SHA1(e356aa2048c6addefa62d10a17fe5736afa54b16) )
|
||||
ROM_LOAD16_BYTE( "revenge.37l", 0x300001, 0x80000, CRC(e0cf3396) SHA1(544863e5c18cce002ced8f96d5dfaedffdcfff1e) )
|
||||
ROM_LOAD16_BYTE( "revenge.31t", 0x400000, 0x80000, CRC(086fb896) SHA1(5ca3aea3a52e73a1054c88759d957709c2ad22a2) )
|
||||
ROM_LOAD16_BYTE( "revenge.31r", 0x400001, 0x80000, CRC(518fdd7c) SHA1(ccee646efb178aa3720e75524646e20d18b27694) )
|
||||
|
||||
ROM_REGION( 0x0600, "proms", 0 ) /* microcode for growth renderer */
|
||||
ROM_LOAD( "revenge.22s", 0x0000, 0x0200, CRC(a70ade3f) SHA1(f4a558b17767eed2683c768d1b441e75edcff967) )
|
||||
ROM_LOAD( "revenge.21s", 0x0200, 0x0200, CRC(f4768b4d) SHA1(a506fa5386ab0ea2851ff1f8474d4bfc66deaa70) )
|
||||
ROM_LOAD( "revenge.20s", 0x0400, 0x0200, CRC(22a76ad4) SHA1(ce840c283bbd3a5f19dc8d91b19d1571eff51ff4) )
|
||||
|
||||
ROM_REGION( 0x0600, "pals", 0 ) /* none of these have been verified as good */
|
||||
ROM_LOAD( "revenge.3n.bin", 0x0000, 0x0157, CRC(598d5009) SHA1(9804f05fbf1b9324f8c3937e0953da02870d988b) )
|
||||
ROM_LOAD( "revenge.5n.bin", 0x0000, 0x0117, CRC(87ff6393) SHA1(df1f0a5450485598c0ef7fa4981cc0e40a6a5073) )
|
||||
ROM_LOAD( "revenge.5r.bin", 0x0000, 0x0117, CRC(832671eb) SHA1(85232128a4b03c4e3dffb4f2e6381a89f4f9aac5) )
|
||||
ROM_LOAD( "revenge.7n.bin", 0x0000, 0x0117, CRC(87d3a1d6) SHA1(33437f6b39b263a3064b34da41a7eed922036a56) )
|
||||
ROM_LOAD( "revenge.7r.bin", 0x0000, 0x0117, CRC(87d3a1d6) SHA1(33437f6b39b263a3064b34da41a7eed922036a56) )
|
||||
ROM_LOAD( "revenge.12l.bin", 0x0000, 0x0117, CRC(145b1474) SHA1(f1983732c36a444d38aeba94adaffa305d4c0398) )
|
||||
ROM_LOAD( "revenge.13r.bin", 0x0000, 0x0117, CRC(d5c84926) SHA1(22d2821ed77ad070163e3d188b1412f8d8d52977) )
|
||||
ROM_LOAD( "revenge.17l.bin", 0x0000, 0x0117, CRC(b85ab18d) SHA1(eabcc2e54c2b6bc393603a31d22418edf60593ad) )
|
||||
ROM_LOAD( "revenge.22r.bin", 0x0000, 0x0117, CRC(9dc3831d) SHA1(553c289801eb1e15118bc045ddca226343e6a623) )
|
||||
ROM_LOAD( "revenge.23r.bin", 0x0000, 0x0117, CRC(87d3a1d6) SHA1(33437f6b39b263a3064b34da41a7eed922036a56) )
|
||||
ROM_LOAD( "revenge.23s.bin", 0x0000, 0x0117, CRC(9404e122) SHA1(fb1db0fdb10ddeb7247dd254b3e725b9ef85097b) )
|
||||
ROM_LOAD( "revenge.24c.bin", 0x0000, 0x0117, CRC(11934654) SHA1(a230c4e9abc190a62872961d60f9f96dedb273cd) )
|
||||
ROM_LOAD( "revenge.24j.bin", 0x0000, 0x0117, CRC(9def4158) SHA1(11c168e2c16046e1213786c065906455fdb5a63c) )
|
||||
ROM_LOAD( "revenge.25c.bin", 0x0000, 0x0117, CRC(76d8fa5b) SHA1(5fcb7b75f37f918331d99422ea3f0ea202665d5e) )
|
||||
|
||||
/* all roms above are from this PCB however the
|
||||
sound board was missing - assuming to be the same */
|
||||
|
||||
ROM_REGION( 0x14000, "jsa", 0 ) /* 64k for 6502 code */
|
||||
ROM_LOAD( "rr65snd.bin", 0x10000, 0x4000, CRC(d78429da) SHA1(a4d36d74986f08c793f15f2e67cb97a8c91c5e90) )
|
||||
ROM_CONTINUE( 0x04000, 0xc000 )
|
||||
|
||||
ROM_REGION( 0x80000, "adpcml", 0 )
|
||||
ROM_LOAD( "rralpc0.bin", 0x00000, 0x80000, CRC(1f7b6ecf) SHA1(1787a2e89618e1338d70a54684dbc7d44c5f5559) )
|
||||
|
||||
ROM_REGION( 0x80000, "adpcmr", 0 )
|
||||
ROM_LOAD( "rralpc1.bin", 0x00000, 0x80000, CRC(7ccd26d7) SHA1(1a74bdc66482896f5b9795d27383aa993e5fbaa4) )
|
||||
|
||||
ROM_END
|
||||
|
||||
|
||||
|
||||
/*************************************
|
||||
@ -2119,5 +2182,6 @@ GAME( 1992, motofrenmd, motofren, atarigx2, motofren, motofren, ROT0, "Atari Gam
|
||||
GAME( 1992, motofrenft, motofren, atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy (Field Test Version)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
|
||||
GAME( 1992, motofrenmf, motofren, atarigx2, motofren, motofren, ROT0, "Atari Games", "Moto Frenzy (Mini Deluxe Field Test Version)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
|
||||
|
||||
GAME( 1994, rrreveng, 0, atarigx2, rrreveng, rrreveng, ROT0, "Atari Games", "Road Riot's Revenge (prototype)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
|
||||
GAME( 1994, rrrevengp, rrreveng, atarigx2, rrreveng, rrreveng, ROT0, "Atari Games", "Road Riot's Revenge (prototype alt)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
|
||||
GAME( 1993, rrreveng, 0, atarigx2, rrreveng, rrreveng, ROT0, "Atari Games", "Road Riot's Revenge (prototype, set 1)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
|
||||
GAME( 1993, rrrevenga, rrreveng, atarigx2, rrreveng, rrreveng, ROT0, "Atari Games", "Road Riot's Revenge (prototype, set 2)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
|
||||
GAME( 1993, rrrevengb, rrreveng, atarigx2, rrreveng, rrreveng, ROT0, "Atari Games", "Road Riot's Revenge (prototype, set 3)", GAME_UNEMULATED_PROTECTION | GAME_NOT_WORKING )
|
||||
|
@ -1036,6 +1036,38 @@ ROM_START( idsoccer )
|
||||
ROM_LOAD( "id_3d.clr", 0x0000, 0x0200, CRC(a433ff62) SHA1(db9afe5fc917d25aafa21576cb1cecec7481d4cb) )
|
||||
ROM_END
|
||||
|
||||
ROM_START( idsoccera )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD( "indoor.e10", 0x0000, 0x2000, CRC(ed086bd1) SHA1(e1351fe53779c73a8631d4c33fa9508ddac8b4c1) )
|
||||
ROM_LOAD( "indoor.f10", 0x2000, 0x2000, CRC(54e5c6fc) SHA1(2c5a1e7bb9c8d5877eb99e8d20498986b85a8af4) )
|
||||
ROM_LOAD( "indoor.h10", 0x6000, 0x2000, CRC(f0ca1ac8) SHA1(fa5724ba8ab0ff82a1ef22ddd56e57b4c2b6ab74) )
|
||||
|
||||
ROM_REGION( 0x10000, "slave", 0 )
|
||||
ROM_LOAD( "indoor.e2", 0x0000, 0x4000, CRC(c4bacc14) SHA1(d457a24b084726fe6b2f97a1be44e67c0a61a97b) ) // different
|
||||
|
||||
ROM_REGION( 0x10000, "cpu3", 0 )
|
||||
ROM_LOAD( "indoor.p8", 0x0000, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
|
||||
|
||||
ROM_REGION( 0x8000, "gfx1", 0 )
|
||||
ROM_LOAD( "indoor.e6", 0x0000, 0x4000, CRC(a57c7a11) SHA1(9faebad0050da05101811427f350e163a7811396) )
|
||||
|
||||
// some graphic / sound roms also differ on this set - verify them
|
||||
// the sound rom causes bad sound, but the implementation is hacked anyway so I'm not 100% convinced it's bad yet
|
||||
ROM_REGION( 0x20000, "gfx2", 0 )
|
||||
ROM_LOAD( "indoor.p3", 0x00000, 0x8000, CRC(b42a6f4a) SHA1(ddce4438b3649610bd3703cbd7592aaa9a3eda0e) )
|
||||
ROM_LOAD( "indoor.n3", 0x08000, 0x8000, CRC(fa2b1c77) SHA1(0d8e9db065c76621deb58575f01c6ec5ee6cf6b0) )
|
||||
ROM_LOAD( "indoor.l3", 0x10000, 0x8000, CRC(2663405c) SHA1(16c054c5c16ace80941523a64654afa3a77d7611) ) // different
|
||||
ROM_LOAD( "indoor.k3", 0x18000, 0x8000, CRC(a2a69223) SHA1(6bd9b76e0119643450c9f64c80b52e9056da82d6) )
|
||||
|
||||
ROM_REGION( 0x10000, "adpcm", 0 )
|
||||
ROM_LOAD( "indoor.ic1", 0x0000, 0x4000, CRC(3bb65dc7) SHA1(499151903b3da9fa2455b3d2c04863b3e33e853d) ) // different (causes bad sound in attract, but doesn't simply look like a bad dump?)
|
||||
ROM_LOAD( "indoor.ic3", 0x8000, 0x4000, CRC(27bebba3) SHA1(cf752b22603c1e2a0b33958481c652d6d56ebf68) )
|
||||
ROM_LOAD( "indoor.ic4", 0xc000, 0x4000, CRC(dd5ffaa2) SHA1(4bc4330a54ca93448a8fe05207d3fb1a3a9872e1) )
|
||||
|
||||
ROM_REGION( 0x0200, "proms", 0 )
|
||||
ROM_LOAD( "indoor.d3", 0x0000, 0x0200, CRC(d9b2550c) SHA1(074253b1ede42a743f1a8858756640693126209f) ) // different
|
||||
ROM_END
|
||||
|
||||
/* Game Drivers */
|
||||
|
||||
GAME( 1983, docastle, 0, docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (set 1)", GAME_SUPPORTS_SAVE )
|
||||
@ -1050,4 +1082,5 @@ GAME( 1987, spiero, dorunrun, dorunrun, dorunrun, 0, ROT0, "Universal", "Su
|
||||
GAME( 1984, dowild, 0, dorunrun, dowild, 0, ROT0, "Universal", "Mr. Do's Wild Ride", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1984, jjack, 0, dorunrun, jjack, 0, ROT270, "Universal", "Jumping Jack", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1984, kickridr, 0, dorunrun, kickridr, 0, ROT0, "Universal", "Kick Rider", GAME_SUPPORTS_SAVE )
|
||||
GAME( 1985, idsoccer, 0, idsoccer, idsoccer, 0, ROT0, "Universal", "Indoor Soccer", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
|
||||
GAME( 1985, idsoccer, 0, idsoccer, idsoccer, 0, ROT0, "Universal", "Indoor Soccer (set 1)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL )
|
||||
GAME( 1985, idsoccera, idsoccer, idsoccer, idsoccer, 0, ROT0, "Universal", "Indoor Soccer (set 2)", GAME_SUPPORTS_SAVE | GAME_NO_COCKTAIL | GAME_IMPERFECT_SOUND )
|
||||
|
@ -1595,6 +1595,9 @@ ADDRESS_MAP_END
|
||||
PORT_DIPNAME( 0x01, 0x00, "Bilinear Filtering" ) \
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) \
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( On ) ) \
|
||||
PORT_DIPNAME( 0x02, 0x00, "Disable Render Calls" ) \
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) \
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( On ) ) \
|
||||
|
||||
#define NAOMI_DIP_SW \
|
||||
PORT_START("DSW") \
|
||||
|
293
src/mame/drivers/sfcbox.c
Normal file
293
src/mame/drivers/sfcbox.c
Normal file
@ -0,0 +1,293 @@
|
||||
/***************************************************************************
|
||||
|
||||
sfcbox.c
|
||||
Preliminary driver file to handle emulation of the
|
||||
Nintendo Super Famicom Box.
|
||||
|
||||
The Super Famicom Box was used in hotels in Japan, with it's installed Coin
|
||||
Box, makes it a pay-for-play system. It accepted 100 yen coins and gave 5
|
||||
minutes of playtime. The interesting part of this system is that it used
|
||||
special multicarts that contained two or three games as part of a larger Cart,
|
||||
for which the system holds two at once.
|
||||
|
||||
|
||||
Specific Model Number information
|
||||
---------------------------------
|
||||
|
||||
Hardware:
|
||||
|
||||
PSS-001 - SUPER FAMICOM BOX - Main Unit
|
||||
|
||||
CPU: S-CPU B (5A22-02 3MB 83)
|
||||
Video Controller: S-PPU1 (5C77-01 4AU 9J)
|
||||
Video Controller: S-PPU2 C (5C78-03 3MB 9V)
|
||||
Working CPU RAM: S-WRAM A (9441 T90F)
|
||||
Sound CPU: S-SMP (SONY Nintendo'89)
|
||||
Sound DSP: S-DSP A (SONY'89 348AC8VZ)
|
||||
D/A converter: NEC D6376 - PDIF output model can be modified
|
||||
RTC: S3520CF2 (Seiko)
|
||||
SRAM: SRM20257LM12 (S-MOS Systems) - SRAM accounting and control circuits are
|
||||
self-diagnostic features that set time and operational status of the
|
||||
game(s) that are installed.
|
||||
|
||||
PSS-002 - SUPER FAMICOM BOX CASSETTE ?
|
||||
|
||||
PSS-003 - SUPER FAMICOM BOX - Coin Box
|
||||
|
||||
Software/Cartridge:
|
||||
|
||||
PSS-61 - SUPER FAMICOM BOX Commercial Regular Cart
|
||||
This cartridge is required for the machine to operate
|
||||
- Super Mario Kart (Nintendo)
|
||||
- Super Mario Collection (Nintendo)
|
||||
- Star Fox (Nintendo)
|
||||
|
||||
PSS-62 - SUPER FAMICOM BOX Commercial Optional Cart
|
||||
- New Super 3D Golf Simulation - Waialae No Kiseki (Waialae Golf) (T & E SOFT)
|
||||
- Super Mahjong 2 (I'MAX)
|
||||
|
||||
PSS-63 - SUPER FAMICOM BOX Commercial Optional Cart
|
||||
- Super Donkey Kong (Nintendo)
|
||||
- Super Tetris 2 + Bombliss (BPS)
|
||||
|
||||
PSS-64 - SUPER FAMICOM BOX Commercial Optional Cart (Only rumored to exist)
|
||||
- Super Donkey Kong
|
||||
- Super Bomberman 2
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/spc700/spc700.h"
|
||||
#include "cpu/g65816/g65816.h"
|
||||
#include "includes/snes.h"
|
||||
#include "audio/snes_snd.h"
|
||||
|
||||
static ADDRESS_MAP_START( snes_map, ADDRESS_SPACE_PROGRAM, 8)
|
||||
AM_RANGE(0x000000, 0x2fffff) AM_READWRITE(snes_r_bank1, snes_w_bank1) /* I/O and ROM (repeats for each bank) */
|
||||
AM_RANGE(0x300000, 0x3fffff) AM_READWRITE(snes_r_bank2, snes_w_bank2) /* I/O and ROM (repeats for each bank) */
|
||||
AM_RANGE(0x400000, 0x5fffff) AM_READ(snes_r_bank3) /* ROM (and reserved in Mode 20) */
|
||||
AM_RANGE(0x600000, 0x6fffff) AM_READWRITE(snes_r_bank4, snes_w_bank4) /* used by Mode 20 DSP-1 */
|
||||
AM_RANGE(0x700000, 0x7dffff) AM_READWRITE(snes_r_bank5, snes_w_bank5)
|
||||
AM_RANGE(0x7e0000, 0x7fffff) AM_RAM /* 8KB Low RAM, 24KB High RAM, 96KB Expanded RAM */
|
||||
AM_RANGE(0x800000, 0xbfffff) AM_READWRITE(snes_r_bank6, snes_w_bank6) /* Mirror and ROM */
|
||||
AM_RANGE(0xc00000, 0xffffff) AM_READWRITE(snes_r_bank7, snes_w_bank7) /* Mirror and ROM */
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static READ8_DEVICE_HANDLER( spc_ram_100_r )
|
||||
{
|
||||
return spc_ram_r(device, offset + 0x100);
|
||||
}
|
||||
|
||||
static WRITE8_DEVICE_HANDLER( spc_ram_100_w )
|
||||
{
|
||||
spc_ram_w(device, offset + 0x100, data);
|
||||
}
|
||||
|
||||
static ADDRESS_MAP_START( spc_mem, ADDRESS_SPACE_PROGRAM, 8 )
|
||||
AM_RANGE(0x0000, 0x00ef) AM_DEVREADWRITE("spc700", spc_ram_r, spc_ram_w) /* lower 32k ram */
|
||||
AM_RANGE(0x00f0, 0x00ff) AM_DEVREADWRITE("spc700", spc_io_r, spc_io_w) /* spc io */
|
||||
AM_RANGE(0x0100, 0xffff) AM_DEVWRITE("spc700", spc_ram_100_w)
|
||||
AM_RANGE(0x0100, 0xffbf) AM_DEVREAD("spc700", spc_ram_100_r)
|
||||
AM_RANGE(0xffc0, 0xffff) AM_DEVREAD("spc700", spc_ipl_r)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( snes )
|
||||
PORT_START("SERIAL1_DATA1_L")
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("P1 Button A") PORT_PLAYER(1)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("P1 Button X") PORT_PLAYER(1)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("P1 Button L") PORT_PLAYER(1)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("P1 Button R") PORT_PLAYER(1)
|
||||
PORT_START("SERIAL1_DATA1_H")
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("P1 Button B") PORT_PLAYER(1)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("P1 Button Y") PORT_PLAYER(1)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_SERVICE1 ) PORT_NAME("P1 Select")
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START1 ) PORT_NAME("P1 Start")
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_PLAYER(1)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1)
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1)
|
||||
|
||||
PORT_START("SERIAL2_DATA1_L")
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON3 ) PORT_NAME("P2 Button A") PORT_PLAYER(2)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON4 ) PORT_NAME("P2 Button X") PORT_PLAYER(2)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON5 ) PORT_NAME("P2 Button L") PORT_PLAYER(2)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON6 ) PORT_NAME("P2 Button R") PORT_PLAYER(2)
|
||||
PORT_START("SERIAL2_DATA1_H")
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("P2 Button B") PORT_PLAYER(2)
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("P2 Button Y") PORT_PLAYER(2)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_SERVICE2 ) PORT_NAME("P2 Select")
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 ) PORT_NAME("P2 Start")
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2)
|
||||
|
||||
PORT_START("SERIAL1_DATA2_L")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
PORT_START("SERIAL1_DATA2_H")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
|
||||
PORT_START("SERIAL2_DATA2_L")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
PORT_START("SERIAL2_DATA2_H")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
|
||||
PORT_START("DSW")
|
||||
PORT_DIPNAME( 0x03, 0x00, DEF_STR( Difficulty ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Normal ) )
|
||||
PORT_DIPSETTING( 0x03, DEF_STR( Hard ) )
|
||||
PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) )
|
||||
PORT_DIPSETTING( 0x0c, "2" )
|
||||
PORT_DIPSETTING( 0x08, "3" )
|
||||
PORT_DIPSETTING( 0x04, "4" )
|
||||
PORT_DIPSETTING( 0x00, "5" )
|
||||
PORT_DIPNAME( 0x30, 0x00, "Time limit per level?" ) // taken from the scan of nss_adam
|
||||
PORT_DIPSETTING( 0x10, "104 sec." )
|
||||
PORT_DIPSETTING( 0x20, "112 sec." )
|
||||
PORT_DIPSETTING( 0x00, "120 sec." )
|
||||
PORT_DIPSETTING( 0x30, "? sec." )
|
||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
|
||||
|
||||
#ifdef SNES_LAYER_DEBUG
|
||||
PORT_START("DEBUG1")
|
||||
PORT_CONFNAME( 0x03, 0x00, "Select BG1 priority" )
|
||||
PORT_CONFSETTING( 0x00, "All" )
|
||||
PORT_CONFSETTING( 0x01, "BG1B (lower) only" )
|
||||
PORT_CONFSETTING( 0x02, "BG1A (higher) only" )
|
||||
PORT_CONFNAME( 0x0c, 0x00, "Select BG2 priority" )
|
||||
PORT_CONFSETTING( 0x00, "All" )
|
||||
PORT_CONFSETTING( 0x04, "BG2B (lower) only" )
|
||||
PORT_CONFSETTING( 0x08, "BG2A (higher) only" )
|
||||
PORT_CONFNAME( 0x30, 0x00, "Select BG3 priority" )
|
||||
PORT_CONFSETTING( 0x00, "All" )
|
||||
PORT_CONFSETTING( 0x10, "BG3B (lower) only" )
|
||||
PORT_CONFSETTING( 0x20, "BG3A (higher) only" )
|
||||
PORT_CONFNAME( 0xc0, 0x00, "Select BG4 priority" )
|
||||
PORT_CONFSETTING( 0x00, "All" )
|
||||
PORT_CONFSETTING( 0x40, "BG4B (lower) only" )
|
||||
PORT_CONFSETTING( 0x80, "BG4A (higher) only" )
|
||||
|
||||
PORT_START("DEBUG2")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle BG 1") PORT_CODE(KEYCODE_1_PAD) PORT_TOGGLE
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle BG 2") PORT_CODE(KEYCODE_2_PAD) PORT_TOGGLE
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle BG 3") PORT_CODE(KEYCODE_3_PAD) PORT_TOGGLE
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle BG 4") PORT_CODE(KEYCODE_4_PAD) PORT_TOGGLE
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Objects") PORT_CODE(KEYCODE_5_PAD) PORT_TOGGLE
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Main/Sub") PORT_CODE(KEYCODE_6_PAD) PORT_TOGGLE
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Color Math") PORT_CODE(KEYCODE_7_PAD) PORT_TOGGLE
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Windows") PORT_CODE(KEYCODE_8_PAD) PORT_TOGGLE
|
||||
|
||||
PORT_START("DEBUG3")
|
||||
PORT_BIT( 0x4, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Mosaic") PORT_CODE(KEYCODE_9_PAD) PORT_TOGGLE
|
||||
PORT_CONFNAME( 0x70, 0x00, "Select OAM priority" )
|
||||
PORT_CONFSETTING( 0x00, "All" )
|
||||
PORT_CONFSETTING( 0x10, "OAM0 only" )
|
||||
PORT_CONFSETTING( 0x20, "OAM1 only" )
|
||||
PORT_CONFSETTING( 0x30, "OAM2 only" )
|
||||
PORT_CONFSETTING( 0x40, "OAM3 only" )
|
||||
PORT_CONFNAME( 0x80, 0x00, "Draw sprite in reverse order" )
|
||||
PORT_CONFSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_CONFSETTING( 0x80, DEF_STR( On ) )
|
||||
|
||||
PORT_START("DEBUG4")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Mode 0 draw") PORT_TOGGLE
|
||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Mode 1 draw") PORT_TOGGLE
|
||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Mode 2 draw") PORT_TOGGLE
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Mode 3 draw") PORT_TOGGLE
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Mode 4 draw") PORT_TOGGLE
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Mode 5 draw") PORT_TOGGLE
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Mode 6 draw") PORT_TOGGLE
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Toggle Mode 7 draw") PORT_TOGGLE
|
||||
#endif
|
||||
INPUT_PORTS_END
|
||||
|
||||
static MACHINE_DRIVER_START( snes )
|
||||
|
||||
/* driver data */
|
||||
MDRV_DRIVER_DATA(snes_state)
|
||||
|
||||
/* basic machine hardware */
|
||||
MDRV_CPU_ADD("maincpu", 5A22, 3580000*6) /* 2.68Mhz, also 3.58Mhz */
|
||||
MDRV_CPU_PROGRAM_MAP(snes_map)
|
||||
|
||||
MDRV_CPU_ADD("soundcpu", SPC700, 2048000/2) /* 2.048 Mhz, but internal divider */
|
||||
MDRV_CPU_PROGRAM_MAP(spc_mem)
|
||||
|
||||
MDRV_QUANTUM_TIME(HZ(24000))
|
||||
|
||||
MDRV_MACHINE_START( snes )
|
||||
MDRV_MACHINE_RESET( snes )
|
||||
|
||||
/* video hardware */
|
||||
MDRV_VIDEO_START( snes )
|
||||
MDRV_VIDEO_UPDATE( snes )
|
||||
|
||||
MDRV_SCREEN_ADD("screen", RASTER)
|
||||
MDRV_SCREEN_FORMAT(BITMAP_FORMAT_RGB32)
|
||||
MDRV_SCREEN_RAW_PARAMS(DOTCLK_NTSC, SNES_HTOTAL, 0, SNES_SCR_WIDTH, SNES_VTOTAL_NTSC, 0, SNES_SCR_HEIGHT_NTSC)
|
||||
|
||||
/* sound hardware */
|
||||
MDRV_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
MDRV_SOUND_ADD("spc700", SNES, 0)
|
||||
MDRV_SOUND_ROUTE(0, "lspeaker", 1.00)
|
||||
MDRV_SOUND_ROUTE(1, "rspeaker", 1.00)
|
||||
MACHINE_DRIVER_END
|
||||
|
||||
static MACHINE_DRIVER_START( sfcbox )
|
||||
MDRV_IMPORT_FROM( snes )
|
||||
|
||||
// ...
|
||||
|
||||
MACHINE_DRIVER_END
|
||||
|
||||
/***************************************************************************
|
||||
|
||||
Game driver(s)
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
ROM_START( sfcbox )
|
||||
ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASE00 )
|
||||
|
||||
ROM_REGION( 0x10000, "grom", 0 )
|
||||
ROM_LOAD( "grom1-1.bin", 0x0000, 0x8000, CRC(333bf9a7) SHA1(5d0cd9ca29e5580c3eebe9f136839987c879f979) )
|
||||
ROM_LOAD( "grom1-3.bin", 0x8000, 0x8000, CRC(ebec4c1c) SHA1(d638ef1486b4c0b3d4d5b666929ca7947e16efad) )
|
||||
|
||||
// ROM_REGION( 0x80000, "atrom", 0 )
|
||||
ROM_REGION( 0x100000, "user3", 0 )
|
||||
ROM_LOAD( "atrom-4s-0.smc", 0x00000, 0x80000, CRC(ad3ec05c) SHA1(a3d336db585fe02a37c323422d9db6a33fd489a6) )
|
||||
|
||||
ROM_REGION( 0x100, "user5", 0 ) /* IPL ROM */
|
||||
ROM_LOAD( "spc700.rom", 0x00, 0x40, CRC(44bb3a40) SHA1(97e352553e94242ae823547cd853eecda55c20f0) ) /* boot rom */
|
||||
|
||||
// ROM_REGION( 0x1000, "addons", ROMREGION_ERASE00 ) /* add-on chip ROMs (DSP, SFX, etc) */
|
||||
// ROM_REGION( MAX_SNES_CART_SIZE, "cart", ROMREGION_ERASE00 )
|
||||
ROM_END
|
||||
|
||||
ROM_START( pss62 )
|
||||
ROM_REGION( 0x1000000, "maincpu", ROMREGION_ERASE00 )
|
||||
|
||||
ROM_REGION( 0x10000, "grom", 0 )
|
||||
ROM_LOAD( "grom2-1.ic1", 0x0000, 0x8000, CRC(bcfc5642) SHA1(a96e52685bd3dcdf09d1b7acd6e1c1ab7726a640) )
|
||||
|
||||
ROM_REGION( 0x180000, "user3", 0 )
|
||||
ROM_LOAD( "shvc-gc-0.rom1", 0x000000, 0x100000, CRC(988fd5f9) SHA1(8b283e1361cae8ffe1a44cacce54f1edb4d879be) )
|
||||
ROM_LOAD( "shvc-2a-1.rom3", 0x100000, 0x080000, CRC(6b23e2e4) SHA1(684123a12ca1e31115bd6221d96f82461066877f) )
|
||||
|
||||
ROM_REGION( 0x100, "user5", 0 ) /* IPL ROM */
|
||||
ROM_LOAD( "spc700.rom", 0x00, 0x40, CRC(44bb3a40) SHA1(97e352553e94242ae823547cd853eecda55c20f0) ) /* boot rom */
|
||||
|
||||
// ROM_REGION( 0x1000, "addons", ROMREGION_ERASE00 ) /* add-on chip ROMs (DSP, SFX, etc) */
|
||||
// ROM_REGION( MAX_SNES_CART_SIZE, "cart", ROMREGION_ERASE00 )
|
||||
ROM_END
|
||||
|
||||
GAME( 199?, sfcbox, 0, sfcbox, snes, snes, ROT0, "Nintendo", "Super Famicom Box BIOS", GAME_IS_BIOS_ROOT )
|
||||
//pss61 - Super Mario Kart / Super Mario Collection / Star Fox
|
||||
GAME( 199?, pss62, sfcbox, sfcbox, snes, snes, ROT0, "T & E Soft / I'Max", "New Super 3D Golf Simulation - Waialae No Kiseki / Super Mahjong 2 (Super Famicom Box)", GAME_NOT_WORKING )
|
||||
//pss63 - Super Donkey Kong / Super Tetris 2 + Bombliss
|
||||
//pss64 - Super Donkey Kong / Super Bomberman 2
|
@ -1007,6 +1007,7 @@ $(MAMEOBJ)/nintendo.a: \
|
||||
$(DRIVERS)/playch10.o $(MACHINE)/playch10.o $(VIDEO)/playch10.o \
|
||||
$(DRIVERS)/popeye.o $(VIDEO)/popeye.o \
|
||||
$(DRIVERS)/punchout.o $(VIDEO)/punchout.o \
|
||||
$(DRIVERS)/sfcbox.o \
|
||||
$(DRIVERS)/spacefb.o $(AUDIO)/spacefb.o $(VIDEO)/spacefb.o \
|
||||
$(DRIVERS)/vsnes.o $(MACHINE)/vsnes.o $(VIDEO)/vsnes.o \
|
||||
$(VIDEO)/ppu2c0x.o \
|
||||
|
@ -1028,6 +1028,7 @@ const game_driver * const drivers[] =
|
||||
DRIVER( jjack ) /* ???? (c) 1984 */
|
||||
DRIVER( kickridr ) /* ???? (c) 1984 */
|
||||
DRIVER( idsoccer ) /* ???? (c) 1985 */
|
||||
DRIVER( idsoccera ) /* ???? (c) 1985 */
|
||||
DRIVER( superdq ) /* ???? (c) 1984 */
|
||||
DRIVER( superdqs ) /* ???? (c) 1984 */
|
||||
DRIVER( superdqa ) /* ???? (c) 1984 */
|
||||
@ -1224,6 +1225,15 @@ const game_driver * const drivers[] =
|
||||
DRIVER( nss_fzer ) /* 1991 Nintendo */
|
||||
DRIVER( nss_sten ) /* 199? Nintendo */
|
||||
|
||||
/* Super Famicom Box Games */
|
||||
DRIVER( sfcbox )
|
||||
//pss61 - Super Mario Kart / Super Mario Collection / Star Fox
|
||||
DRIVER( pss62 ) /* 199? T & E Soft / I'Max */
|
||||
//pss63 - Super Donkey Kong / Super Tetris 2 + Bombliss
|
||||
//pss64 - Super Donkey Kong / Super Bomberman 2
|
||||
|
||||
|
||||
|
||||
/* SNES-based hacks */
|
||||
DRIVER( kinstb ) /* bootleg */
|
||||
DRIVER( ffight2b ) /* bootleg */
|
||||
@ -6269,7 +6279,8 @@ BOMULEUL CHAJARA SEGA ST-V 1997/04/11
|
||||
DRIVER( spclordsa ) /* 136095 (c) 1992 */
|
||||
DRIVER( spclordsg ) /* 136095 (c) 1992 */
|
||||
DRIVER( rrreveng ) /* ?? (c) 1993 */
|
||||
DRIVER( rrrevengp ) /* ?? (c) 1993 */
|
||||
DRIVER( rrrevenga ) /* ?? (c) 1993 */
|
||||
DRIVER( rrrevengb ) /* ?? (c) 1993 */
|
||||
DRIVER( beathead ) /* (proto) (c) 1993 */
|
||||
DRIVER( tmek ) /* 136100 (c) 1994 */
|
||||
DRIVER( tmek51p ) /* 136100 (c) 1994 */
|
||||
|
@ -2005,7 +2005,11 @@ static void render_to_accumulation_buffer(running_machine *machine,bitmap_t *bit
|
||||
}
|
||||
|
||||
for(i=sv; i <= ev-2; i++)
|
||||
render_tri(bitmap, &ts->ti, state_ta.grab[rs].verts + i);
|
||||
{
|
||||
if (!(debug_dip_status&0x2))
|
||||
render_tri(bitmap, &ts->ti, state_ta.grab[rs].verts + i);
|
||||
|
||||
}
|
||||
}
|
||||
state_ta.grab[rs].busy=0;
|
||||
}
|
||||
@ -2182,14 +2186,14 @@ static void pvr_drawframebuffer(bitmap_t *bitmap,const rectangle *cliprect)
|
||||
xi=((pvrta_regs[FB_R_SIZE] & 0x3ff)+1) << 1;
|
||||
dy=((pvrta_regs[FB_R_SIZE] >> 10) & 0x3ff)+1;
|
||||
|
||||
// dy++;
|
||||
dy++;
|
||||
dy*=2; // probably depends on interlace mode, fields etc...
|
||||
|
||||
switch (unpackmode)
|
||||
{
|
||||
case 0x00: // 0555 RGB 16-bit, Cleo Fortune Plus
|
||||
// should upsample back to 8-bit output using fb_concat
|
||||
for (y=0;y < dy;y++)
|
||||
for (y=0;y <= dy;y++)
|
||||
{
|
||||
addrp=pvrta_regs[FB_R_SOF1]+y*xi*2;
|
||||
if(spg_pixel_double)
|
||||
@ -2233,7 +2237,7 @@ static void pvr_drawframebuffer(bitmap_t *bitmap,const rectangle *cliprect)
|
||||
break;
|
||||
case 0x01: // 0565 RGB 16-bit
|
||||
// should upsample back to 8-bit output using fb_concat
|
||||
for (y=0;y < dy;y++)
|
||||
for (y=0;y <= dy;y++)
|
||||
{
|
||||
addrp=pvrta_regs[FB_R_SOF1]+y*xi*2;
|
||||
if(spg_pixel_double)
|
||||
@ -2278,7 +2282,7 @@ static void pvr_drawframebuffer(bitmap_t *bitmap,const rectangle *cliprect)
|
||||
break;
|
||||
|
||||
case 0x02: ; // 888 RGB 24-bit - suchie3 - HACKED, see pvr_accumulationbuffer_to_framebuffer!
|
||||
for (y=0;y < dy;y++)
|
||||
for (y=0;y <= dy;y++)
|
||||
{
|
||||
addrp=pvrta_regs[FB_R_SOF1]+y*xi*2;
|
||||
if(spg_pixel_double)
|
||||
@ -2322,7 +2326,7 @@ static void pvr_drawframebuffer(bitmap_t *bitmap,const rectangle *cliprect)
|
||||
break;
|
||||
|
||||
case 0x03: // 0888 ARGB 32-bit - HACKED, see pvr_accumulationbuffer_to_framebuffer!
|
||||
for (y=0;y < dy;y++)
|
||||
for (y=0;y <= dy;y++)
|
||||
{
|
||||
addrp=pvrta_regs[FB_R_SOF1]+y*xi*2;
|
||||
if(spg_pixel_double)
|
||||
|
Loading…
Reference in New Issue
Block a user