- cointek.cpp: very minor updates

- wpc_dcs.cpp: removed the jd_l1d set as it's actually a homebrew mod
This commit is contained in:
Ivan Vangelista 2021-12-15 17:22:53 +01:00
parent 5cdff3df7b
commit ead54b041b
3 changed files with 22 additions and 25 deletions

View File

@ -23,18 +23,19 @@ The daughter card has a big box on it labelled as follows:
The daughter board is connected to the main board via 40 pin socket.
TODO:
- decryption is only preliminary. The game puts some strings at 0xc000 and at 0xf800 then stops in a loop reading 0xf810;
- decryption is only preliminary (?). The game puts some strings at 0xc000 and at 0xf810. At 0xf810 it puts 'MICRO' and then it expects to read 'DRAGON', if it doesn't it loops endlessly;
- after decryption is completed, everything else.
*/
#include "emu.h"
#include "emupal.h"
#include "screen.h"
#include "speaker.h"
#include "cpu/z80/z80.h"
#include "machine/i8255.h"
#include "sound/ymopl.h"
#include "emupal.h"
#include "screen.h"
#include "speaker.h"
namespace {
@ -73,8 +74,6 @@ void cointek_state::prg_map(address_map &map)
void cointek_state::io_map(address_map &map)
{
map.global_mask(0xff);
map.unmap_value_high();
}
void cointek_state::audio_prg_map(address_map &map)
@ -84,8 +83,6 @@ void cointek_state::audio_prg_map(address_map &map)
void cointek_state::audio_io_map(address_map &map)
{
map.global_mask(0xff);
map.unmap_value_high();
}
@ -124,6 +121,21 @@ static INPUT_PORTS_START( unkct )
PORT_DIPUNKNOWN_DIPLOC(0x80, 0x80, "DSWC:8")
INPUT_PORTS_END
const gfx_layout gfx_8x8x4 = // TODO: not correct but it allows to see something in the GFX viewer for now
{
8,8,
RGN_FRAC(1,4),
4,
{ RGN_FRAC(0,4), RGN_FRAC(1,4), RGN_FRAC(2,4), RGN_FRAC(3,4) },
{ 7, 6, 5, 4, 3, 2, 1, 0 },
{ 0, 8, 16, 24, 32, 40, 48, 56 },
8*8
};
static GFXDECODE_START( gfx_unkct )
GFXDECODE_ENTRY("unsorted_gfx", 0, gfx_8x8x4, 0, 32)
GFXDECODE_END
void cointek_state::cointek(machine_config &config)
{
@ -150,6 +162,7 @@ void cointek_state::cointek(machine_config &config)
screen.set_screen_update(FUNC(cointek_state::screen_update));
screen.set_palette("palette");
GFXDECODE(config, "gfxdecode", "palette", gfx_unkct);
PALETTE(config, "palette").set_entries(0x100);
// sound hardware
@ -219,4 +232,4 @@ void cointek_state::init_unkct()
} // Anonymous namespace
GAME( 199?, unkct, 0, cointek, unkct, cointek_state, init_unkct, ROT0, "Cointek Enterprise Corp", "unknown Cointek game", MACHINE_IS_SKELETON )
GAME( 1989, unkct, 0, cointek, unkct, cointek_state, init_unkct, ROT0, "Cointek Enterprise Corp", "unknown Cointek game", MACHINE_IS_SKELETON ) // string in ROM at 0x7839: Ver 4.00 1989-08-01

View File

@ -645,20 +645,6 @@ ROM_START(jd_l1)
ROM_LOAD16_BYTE("jdsnd_u9.bin", 0xe00000, 0x080000, CRC(885b7c70) SHA1(be3bb42aeda3020a72c527f52c5330d0bafa9966))
ROM_END
ROM_START(jd_l1d)
ROM_REGION(0x80000, "maincpu", 0)
ROM_LOAD("jd_l1d.u6", 0x00000, 0x80000, CRC(c37d8fed) SHA1(05d85c9c6a59866de4a7a5bb2258b69a1964efa3))
ROM_REGION16_LE(0x1000000, "dcs",0)
ROM_LOAD16_BYTE("jdsnd_u2.bin", 0x000000, 0x080000, CRC(d8f453c6) SHA1(5dd677fde46436dbf2d2e9058f06dd3048600234))
ROM_LOAD16_BYTE("jdsnd_u3.bin", 0x200000, 0x080000, CRC(0a11f673) SHA1(ab556477a25e3493555b8a281ca86677caec8947))
ROM_LOAD16_BYTE("jdsnd_u4.bin", 0x400000, 0x080000, CRC(93f6ebc1) SHA1(5cb306afa693e60887069745588dfd5b930c5951))
ROM_LOAD16_BYTE("jdsnd_u5.bin", 0x600000, 0x080000, CRC(c9f28ba6) SHA1(8447372428e3b9fc86a98286c05f95a13abe26b0))
ROM_LOAD16_BYTE("jdsnd_u6.bin", 0x800000, 0x080000, CRC(ef0bf094) SHA1(c0860cecd436d352fe2c2208533ff6dc71bfced1))
ROM_LOAD16_BYTE("jdsnd_u7.bin", 0xa00000, 0x080000, CRC(aebab88b) SHA1(d3f1be60a6840d9d085e22b43aafea1354771980))
ROM_LOAD16_BYTE("jdsnd_u8.bin", 0xc00000, 0x080000, CRC(77604893) SHA1(a9a4a66412096edd88ee7adfd960eef6f5d16476))
ROM_LOAD16_BYTE("jdsnd_u9.bin", 0xe00000, 0x080000, CRC(885b7c70) SHA1(be3bb42aeda3020a72c527f52c5330d0bafa9966))
ROM_END
ROM_START(jd_l6)
ROM_REGION(0x80000, "maincpu", 0)
ROM_LOAD("jd_l6.u6", 0x00000, 0x80000, CRC(0a74cba4) SHA1(1872fd86bbfa772eac9cc2ef2634a90b72b3d5e2))
@ -913,7 +899,6 @@ GAME(1993, ij_l4, ij_l7, wpc_dcs, wpc_dcs, wpc_dcs_state, init_ij,
GAME(1993, ij_l3, ij_l7, wpc_dcs, wpc_dcs, wpc_dcs_state, init_ij, ROT0, "Williams", "Indiana Jones (L-3)", MACHINE_MECHANICAL)
GAME(1993, jd_l7, 0, wpc_dcs, wpc_dcs, wpc_dcs_state, init_jd, ROT0, "Bally", "Judge Dredd (L-7)", MACHINE_MECHANICAL)
GAME(1993, jd_l1, jd_l7, wpc_dcs, wpc_dcs, wpc_dcs_state, init_jd, ROT0, "Bally", "Judge Dredd (L-1)", MACHINE_MECHANICAL)
GAME(1993, jd_l1d, jd_l7, wpc_dcs, wpc_dcs, wpc_dcs_state, init_jd, ROT0, "Bally", "Judge Dredd (L-1D)", MACHINE_MECHANICAL)
GAME(1993, jd_l6, jd_l7, wpc_dcs, wpc_dcs, wpc_dcs_state, init_jd, ROT0, "Bally", "Judge Dredd (L-6)", MACHINE_MECHANICAL)
GAME(1993, jd_l5, jd_l7, wpc_dcs, wpc_dcs, wpc_dcs_state, init_jd, ROT0, "Bally", "Judge Dredd (L-5)", MACHINE_MECHANICAL)
GAME(1993, jd_l4, jd_l7, wpc_dcs, wpc_dcs, wpc_dcs_state, init_jd, ROT0, "Bally", "Judge Dredd (L-4)", MACHINE_MECHANICAL)

View File

@ -43238,7 +43238,6 @@ ij_l6 //
ij_l7 //
ij_lg7 //
jd_l1 //
jd_l1d //
jd_l4 //
jd_l5 //
jd_l6 //