Previous 15994 Revisions Next

r13129 Saturday 29th October, 2011 at 09:02:59 UTC by Tim Schuerewegen
juicebox: added "uClinux 2.4.24-uc0" bios
[src/mess/drivers]juicebox.c

src/mess/drivers/juicebox.c
r13128r13129
1313#include "sound/dac.h"
1414#include "rendlay.h"
1515 
16//#define JUICEBOX_TEST_MENU
16//#define JUICEBOX_ENTER_DEBUG_MENU
17//#define JUICEBOX_DISPLAY_ROM_ID
1718 
1819#define VERBOSE_LEVEL ( 0 )
1920 
r13128r13129
5051   device_t *s3c44b0;
5152   smc_t smc;
5253   device_t *dac;
53   #if defined(JUICEBOX_TEST_MENU)
54   #if defined(JUICEBOX_ENTER_DEBUG_MENU) || defined(JUICEBOX_DISPLAY_ROM_ID)
5455   int port_g_read_count;
5556   #endif
5657};
r13128r13129
166167      {
167168         data = 0x0000009F;
168169         data = (data & ~0x1F) | (input_port_read( device->machine(), "PORTG") & 0x1F);
169         #if defined(JUICEBOX_TEST_MENU)
170         #if defined(JUICEBOX_ENTER_DEBUG_MENU)
170171         if (juicebox->port_g_read_count++ < 1)
171172         {
172173            data = 0x00000095; // PLAY + REVERSE
173174         }
175         #elif defined(JUICEBOX_DISPLAY_ROM_ID)
176         if (juicebox->port_g_read_count++ < 3)
177         {
178            data = 0x0000008A; // RETURN + FORWARD + STAR
179         }
174180         #endif
175181      }
176182      break;
r13128r13129
332338 
333339ROM_START( juicebox )
334340   ROM_REGION( 0x800000, "maincpu", 0 )
335   ROM_SYSTEM_BIOS( 0, "juicebox", "juicebox" )
341   ROM_SYSTEM_BIOS( 0, "juicebox", "Juice Box v.28 08242004" )
336342   ROMX_LOAD( "juicebox.rom", 0, 0x800000, CRC(ac731197) SHA1(8278891c3531b3b6b5fec2a97a3ef6f0de1ac81d), ROM_BIOS(1) )
337   ROM_SYSTEM_BIOS( 1, "newboot", "newboot" )
343   ROM_SYSTEM_BIOS( 1, "uclinuxp", "uClinux 2.4.24-uc0 (patched)" )
338344   ROMX_LOAD( "newboot.rom", 0, 0x1A0800, CRC(443f48b7) SHA1(38f0dc07b5cf02b972a851aa9e87f5d93d03f629), ROM_BIOS(2) )
345   ROM_SYSTEM_BIOS( 2, "uclinux", "uClinux 2.4.24-uc0" )
346   ROMX_LOAD( "image.rom", 0, 0x19E400, CRC(6c0308bf) SHA1(5fe21a38a4cd0d86bb60920eb100138b0e924d90), ROM_BIOS(3) )
339347ROM_END
340348 
341349COMP(2004, juicebox, 0, 0, juicebox, juicebox, juicebox, "Mattel", "Juice Box", 0)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team