srcclean and fixup (nw)

This commit is contained in:
Vas Crabb 2018-11-25 11:49:51 +11:00
parent 5babaee623
commit f99c502820
74 changed files with 1034 additions and 1033 deletions

View File

@ -371,11 +371,11 @@
<!-- e-kara US Volume 3 (US-E003)
1. "Doesn't Really Matter (radio edit)" Janet Jackson
2. "Saving All My Love For You" Whitney Houston
3. "Water Runs Dry" Boys II Men
3. "Water Runs Dry" Boys II Men
4. "I Want It That Way" Backstreet Boys
5. "Back To Your Heart" Backstreet Boys
6. "I Just Called To Say I Love You" Stevie Wonder
7. "We're All Alone" Boz Scaggs
7. "We're All Alone" Boz Scaggs
8. "Crazy For You" Madonna
9. "True Colors" Cyndi Lauper
10. "Lovin' You" Minnie Riperton
@ -441,11 +441,11 @@
1. "Survivor (Album Version)" Destiny's Child
2. "Jumpin', Jumpin'" Destiny's Child
3. "I Turn To You" Christina Aguilera
4. "As Long As You're Loving Me" Vitamin C
4. "As Long As You're Loving Me" Vitamin C
5. "Body II Body" Samantha Mumba
6. "Love Don't Cost a Thing" Jennifer Lopez
7. "Again" Janet Jackson
8. "If I Fall You're Going Down With Me" Dixie Chicks
8. "If I Fall You're Going Down With Me" Dixie Chicks
9. "Can't Fight The Moonlight" LeAnn Rimes
10. "American Pie (Album Version)" Madonna
-->
@ -469,8 +469,8 @@
6. "Breathe" Faith Hill
7. "It's Gonna Be Me" *N Sync
8. "Don't Think I'm Not" Kandi
9. "Lady Marmalade" Christina Aguilera, Lik'Kim, Mya & Pink
10. "God Bless The U.S.A." Lee Greenwood
9. "Lady Marmalade" Christina Aguilera, Lik'Kim, Mya & Pink
10. "God Bless The U.S.A." Lee Greenwood
-->
<software name="us_vol7">
<description>e-kara US Volume 7 (US-E007)</description>
@ -508,11 +508,11 @@
<!-- e-kara US Volume 9 'No Boys Allowed' (US-E009)
1. "So In Love With Two" Mikaila
2. "Lady Marmalade" Christina Aguilera, Lik'Kim, Mya & Pink
2. "Lady Marmalade" Christina Aguilera, Lik'Kim, Mya & Pink
3. "Genie In A Bottle" Christina Aguilera
4. "Bootylicious" Destiny's Child
5. "Can't Fight The Moonlight" LeAnn Rimes
6. "You Can't Hurry Love" Dixie Chicks
6. "You Can't Hurry Love" Dixie Chicks
7. "Hot Stuff" Donna Summer
8. "Crazy For You" Madonna
9. "Someone To Call My Lover" Janet Jackson

View File

@ -1762,26 +1762,26 @@
Battle Space requires Barcode Boy, a barcode reader accessory for Game Boy.
The Barcode Boy is based on Intel N80C51BH (internal ROM undumped).
It came bundled with the following barcode cards (all EAN-13):
1 (up):
4905672306367
1 (down):
4902776809367
2 (up):
4908052808369
2 (down):
4907981000301
3 (up):
4911826551347
3 (down):
4909062206350
4 (up):
4913508504399
4 (down):
4912713004366
5 (up):
4918156001351
5 (down):
4916911302309
1 (up):
4905672306367
1 (down):
4902776809367
2 (up):
4908052808369
2 (down):
4907981000301
3 (up):
4911826551347
3 (down):
4909062206350
4 (up):
4913508504399
4 (down):
4912713004366
5 (up):
4918156001351
5 (down):
4916911302309
There is also a "free card" without barcodes.
-->
<software name="bspace" supported="no">
@ -5872,19 +5872,19 @@
Family Jockey 2 is compatible with Barcode Boy, a barcode reader accessory for Game Boy.
The Barcode Boy is based on Intel N80C51BH (internal ROM undumped).
It came bundled with the following barcode cards:
バーコードカード No. 1 (barcode card #1)
競争馬 A (Racehorse A): 5893713522816 (EAN-13)
競争馬 B (Racehorse B): 1509843019075 (EAN-13)
バーコードカード No. 2 (barcode card #2)
繁殖馬 A (Breeding horse A): 2378649896765 (EAN-13)
繁殖馬 B (Breeding horse B): 4232978865152 (EAN-13)
バーコードカード No. 3 (barcode card #3)
繁殖馬 C (Breeding horse C): 7164625542390 (EAN-13)
バーコードカード No. 4 (barcode card #4)
種馬 A (Stallion A): 9845554422318 (EAN-13)
種馬 B (Stallion B): 3572821107673 (EAN-13)
バーコードカード No. 5 (barcode card #5)
種馬 C (Stallion C) : 6319537443513 (EAN-13)
バーコードカード No. 1 (barcode card #1)
競争馬 A (Racehorse A): 5893713522816 (EAN-13)
競争馬 B (Racehorse B): 1509843019075 (EAN-13)
バーコードカード No. 2 (barcode card #2)
繁殖馬 A (Breeding horse A): 2378649896765 (EAN-13)
繁殖馬 B (Breeding horse B): 4232978865152 (EAN-13)
バーコードカード No. 3 (barcode card #3)
繁殖馬 C (Breeding horse C): 7164625542390 (EAN-13)
バーコードカード No. 4 (barcode card #4)
種馬 A (Stallion A): 9845554422318 (EAN-13)
種馬 B (Stallion B): 3572821107673 (EAN-13)
バーコードカード No. 5 (barcode card #5)
種馬 C (Stallion C) : 6319537443513 (EAN-13)
-->
<software name="famjock2">
<description>Family Jockey 2 - Meiba no Kettou (Jpn)</description>
@ -5949,14 +5949,14 @@
Family Stadium 3 (Famista 3) is compatible with Barcode Boy, a barcode reader accessory for Game Boy.
The Barcode Boy is based on Intel N80C51BH (internal ROM undumped).
It came bundled with the following barcode cards (all EAN-13):
No. 1: ホームランバッター
8357933639923
No. 2: 高打率バッター
7814374127798
No. 3: 駿足バッター
9880692151263
No. 4: ピッチャー
1414213562177
No. 1: ホームランバッター
8357933639923
No. 2: 高打率バッター
7814374127798
No. 3: 駿足バッター
9880692151263
No. 4: ピッチャー
1414213562177
-->
<software name="famista3">
<description>Famista 3 (Jpn)</description>
@ -6820,7 +6820,7 @@
<software name="tamaosu">
<!-- Notes: SGB enhanced.
The game cart has an integrated speaker and a replaceable battery (CR2016). -->
The game cart has an integrated speaker and a replaceable battery (CR2016). -->
<description>Game de Hakken!! Tamagotchi - Osutchi to Mesutchi (Jpn)</description>
<year>1998</year>
<publisher>Bandai</publisher>
@ -10160,18 +10160,18 @@
Kattobi Road is compatible with Barcode Boy, a barcode reader accessory for Game Boy.
The Barcode Boy is based on Intel N80C51BH (internal ROM undumped).
It came bundled with the following barcode cards (all EAN-13):
No. 1:
4903301160625
No. 2:
4987084410924
No. 3:
4902888119101
No. 4:
4901121110004
No. 5 (up):
4902105002063
No. 5 (down):
4901780161157
No. 1:
4903301160625
No. 2:
4987084410924
No. 3:
4902888119101
No. 4:
4901121110004
No. 5 (up):
4902105002063
No. 5 (down):
4901780161157
-->
<software name="kattobi">
<description>Kattobi Road (Jpn)</description>
@ -13390,22 +13390,22 @@
Monster Maker requires Barcode Boy, a barcode reader accessory for Game Boy.
The Barcode Boy is based on Intel N80C51BH (internal ROM undumped).
It came bundled with the following barcode cards (all EAN-13):
1 (fg up):
9120153954577
1 (fg down):
9022038781998
1 (bg up):
9362462085911
1 (bg down):
9752412234900
2 (fg up):
9052091324955
2 (fg down):
9322158686716
2 (bg up):
9447410810323
2 (bg down):
9998017308336
1 (fg up):
9120153954577
1 (fg down):
9022038781998
1 (bg up):
9362462085911
1 (bg down):
9752412234900
2 (fg up):
9052091324955
2 (fg down):
9322158686716
2 (bg up):
9447410810323
2 (bg down):
9998017308336
Cards 3, 4 and 5 contains no barcodes.
-->
<software name="monstmkr">
@ -13429,22 +13429,22 @@
Monster Maker - Barcode Saga requires Barcode Boy, a barcode reader accessory for Game Boy.
The Barcode Boy is based on Intel N80C51BH (internal ROM undumped).
It came bundled with the following barcode cards (all EAN-13):
1 (fg up):
9120153954577
1 (fg down):
9022038781998
1 (bg up):
9362462085911
1 (bg down):
9752412234900
2 (fg up):
9052091324955
2 (fg down):
9322158686716
2 (bg up):
9447410810323
2 (bg down):
9998017308336
1 (fg up):
9120153954577
1 (fg down):
9022038781998
1 (bg up):
9362462085911
1 (bg down):
9752412234900
2 (fg up):
9052091324955
2 (fg down):
9322158686716
2 (bg up):
9447410810323
2 (bg down):
9998017308336
Cards 3, 4 and 5 contains no barcodes.
-->
<software name="monstmkb" supported="no">
@ -25793,11 +25793,11 @@ patch the rom to 0x00 and 0x00....and at 0x0B3D also patch it to
</software>
<!-- There is official Game Foy flash cart where players could load official games on stores.
pcb="DMG-A20-01"
u1="G-MMC1 (MX15002) [MX15002UCA]"
u2="8M-FLASH [29F008ATC-14]"
u3="1M SRAM [UT621024SC-70LL]"
batt="Batt CR2025"
pcb="DMG-A20-01"
u1="G-MMC1 (MX15002) [MX15002UCA]"
u2="8M-FLASH [29F008ATC-14]"
u3="1M SRAM [UT621024SC-70LL]"
batt="Batt CR2025"
-->
</softwarelist>

View File

@ -2186,12 +2186,12 @@ patched out (+ a fix for internal checksum)
</software>
<!-- Notes:
This game is compatible with the Nintendo VRSユニット [NUS-020(JPN)], a voice recognition unit that connects
to controller 2 port and has the following hardware inside:
pcb: NUS-VRU-01
u1: Nintendo VRD-NUS 215 9915J3001
u2: NEC D9930G 9912LP009 (linear CODEC LSI)
u3: Nintendo VCI-NUS 9910XX003 011
This game is compatible with the Nintendo VRSユニット [NUS-020(JPN)], a voice recognition unit that connects
to controller 2 port and has the following hardware inside:
pcb: NUS-VRU-01
u1: Nintendo VRD-NUS 215 9915J3001
u2: NEC D9930G 9912LP009 (linear CODEC LSI)
u3: Nintendo VCI-NUS 9910XX003 011
-->
<software name="dendeg64">
<description>Densha de Go! 64 (Jpn)</description>
@ -3886,12 +3886,12 @@ This cart features a RTC, currently unemulated
</software>
<!-- Notes:
This game requires the Nintendo VRU [NUS-020(USA)], a voice recognition unit that connects
to controller 2 port and has the following hardware inside (parts from the Japanese version [NUS-020(JPN)]):
pcb: NUS-VRU-01
u1: Nintendo VRD-NUS 215 9915J3001
u2: NEC D9930G 9912LP009 (linear CODEC LSI)
u3: Nintendo VCI-NUS 9910XX003 011
This game requires the Nintendo VRU [NUS-020(USA)], a voice recognition unit that connects
to controller 2 port and has the following hardware inside (parts from the Japanese version [NUS-020(JPN)]):
pcb: NUS-VRU-01
u1: Nintendo VRD-NUS 215 9915J3001
u2: NEC D9930G 9912LP009 (linear CODEC LSI)
u3: Nintendo VCI-NUS 9910XX003 011
-->
<software name="heypika">
<description>Hey You, Pikachu! (USA)</description>
@ -7614,12 +7614,12 @@ patched out (+ a fix for internal checksum)
</software>
<!-- Notes:
This game requires the Nintendo VRSユニット [NUS-020(JPN)], a voice recognition unit that connects
to controller 2 port and has the following hardware inside:
pcb: NUS-VRU-01
u1: Nintendo VRD-NUS 215 9915J3001
u2: NEC D9930G 9912LP009 (linear CODEC LSI)
u3: Nintendo VCI-NUS 9910XX003 011
This game requires the Nintendo VRSユニット [NUS-020(JPN)], a voice recognition unit that connects
to controller 2 port and has the following hardware inside:
pcb: NUS-VRU-01
u1: Nintendo VRD-NUS 215 9915J3001
u2: NEC D9930G 9912LP009 (linear CODEC LSI)
u3: Nintendo VCI-NUS 9910XX003 011
-->
<software name="pikachu" cloneof="heypika">
<description>Pikachuu Genki de Chuu (Jpn)</description>

View File

@ -42,12 +42,12 @@ ROM_START(ieee488)
ROM_END
//ROM_START(procyon)
// ROM_REGION(0x2000, "exp_rom", 0)
// ROM_DEFAULT_BIOS("ieee198")
// ROM_SYSTEM_BIOS(0, "ieee198", "IEEE 1.98")
// ROMX_LOAD("ieee-1.98.rom", 0x0000, 0x2000, CRC(c2bbe17b) SHA1(96930b54d987dd1e4a87f546f7cd65fc1f0b9578), ROM_BIOS(0))
// ROM_SYSTEM_BIOS(1, "ieee192", "IEEE 1.92")
// ROMX_LOAD("ieee-1.92.rom", 0x0000, 0x2000, CRC(87e5f701) SHA1(673eab99031ca88aa90e6deade39b653f8c6b9da), ROM_BIOS(1))
// ROM_REGION(0x2000, "exp_rom", 0)
// ROM_DEFAULT_BIOS("ieee198")
// ROM_SYSTEM_BIOS(0, "ieee198", "IEEE 1.98")
// ROMX_LOAD("ieee-1.98.rom", 0x0000, 0x2000, CRC(c2bbe17b) SHA1(96930b54d987dd1e4a87f546f7cd65fc1f0b9578), ROM_BIOS(0))
// ROM_SYSTEM_BIOS(1, "ieee192", "IEEE 1.92")
// ROMX_LOAD("ieee-1.92.rom", 0x0000, 0x2000, CRC(87e5f701) SHA1(673eab99031ca88aa90e6deade39b653f8c6b9da), ROM_BIOS(1))
//ROM_END
//-------------------------------------------------
@ -137,7 +137,7 @@ const tiny_rom_entry *bbc_ieee488_device::device_rom_region() const
//const tiny_rom_entry *bbc_procyon_device::device_rom_region() const
//{
// return ROM_NAME(procyon);
// return ROM_NAME(procyon);
//}
//**************************************************************************
@ -166,9 +166,9 @@ bbc_b488_device::bbc_b488_device(const machine_config &mconfig, const char *tag,
}
//bbc_procyon_device::bbc_procyon_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
// : device_t(mconfig, BBC_PROCYON, tag, owner, clock)
// , device_bbc_1mhzbus_interface(mconfig, *this)
// , m_ieee(*this, IEEE488_TAG)
// : device_t(mconfig, BBC_PROCYON, tag, owner, clock)
// , device_bbc_1mhzbus_interface(mconfig, *this)
// , m_ieee(*this, IEEE488_TAG)
//{
//}
@ -258,7 +258,7 @@ WRITE8_MEMBER(bbc_b488_device::fred_w)
//if (offset >= 0x20 && offset < 0x28)
//{
// data = mc68488_device->reg8_r(space, offset & 0x07);
// data = mc68488_device->reg8_r(space, offset & 0x07);
//}
//return data;
@ -268,6 +268,6 @@ WRITE8_MEMBER(bbc_b488_device::fred_w)
//{
//if (offset >= 0x20 && offset < 0x28)
//{
// mc68488_device->reg8_w(space, offset & 0x07, data);
// mc68488_device->reg8_w(space, offset & 0x07, data);
//}
//}

View File

@ -79,26 +79,26 @@ private:
//class bbc_procyon_device :
// public device_t,
// public device_bbc_1mhzbus_interface
// public device_t,
// public device_bbc_1mhzbus_interface
//{
//public:
// // construction/destruction
// bbc_procyon_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// // construction/destruction
// bbc_procyon_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
//
//protected:
// // device-level overrides
// virtual void device_start() override;
// // device-level overrides
// virtual void device_start() override;
//
// // optional information overrides
// virtual void device_add_mconfig(machine_config &config) override;
// virtual const tiny_rom_entry *device_rom_region() const override;
// // optional information overrides
// virtual void device_add_mconfig(machine_config &config) override;
// virtual const tiny_rom_entry *device_rom_region() const override;
//
// virtual DECLARE_READ8_MEMBER(fred_r) override;
// virtual DECLARE_WRITE8_MEMBER(fred_w) override;
// virtual DECLARE_READ8_MEMBER(fred_r) override;
// virtual DECLARE_WRITE8_MEMBER(fred_w) override;
//
//private:
// required_device<ieee488_device> m_ieee;
// required_device<ieee488_device> m_ieee;
//};

View File

@ -25,7 +25,7 @@ ROM_END
DEFINE_DEVICE_TYPE_NS(HPDIO_98550, bus::hp_dio, dio32_98550_device, "dio98550", "HP98550 high-res color DIO video card")
namespace bus { namespace hp_dio {
namespace bus { namespace hp_dio {
void dio32_98550_device::device_add_mconfig(machine_config &config)
{

View File

@ -48,8 +48,8 @@ protected:
private:
enum
{
TIMER_CLICK = 30000,
TIMER_BEEP = 30001
TIMER_CLICK = 30000,
TIMER_BEEP = 30001
};
enum
@ -65,8 +65,8 @@ private:
enum
{
BEEPER_BELL = 0x01,
BEEPER_CLICK = 0x02
BEEPER_BELL = 0x01,
BEEPER_CLICK = 0x02
};
enum
@ -76,21 +76,21 @@ private:
enum
{
CTRL_A_SBEEP = 1,
CTRL_A_LBEEP = 2,
CTRL_A_NOCLICK = 3,
CTRL_A_RCB = 4,
CTRL_A_NUMLK = 5,
CTRL_A_CAPSLK = 6,
CTRL_A_AUTOREP = 7,
CTRL_A_SBEEP = 1,
CTRL_A_LBEEP = 2,
CTRL_A_NOCLICK = 3,
CTRL_A_RCB = 4,
CTRL_A_NUMLK = 5,
CTRL_A_CAPSLK = 6,
CTRL_A_AUTOREP = 7,
CTRL_B = 0,
CTRL_B_CMPL_DS1_2 = 1,
CTRL_B_SCRLK = 2,
CTRL_B_L1 = 3,
CTRL_B_L2 = 4,
CTRL_B_L3 = 5,
CTRL_B_L4 = 6
CTRL_B = 0,
CTRL_B_CMPL_DS1_2 = 1,
CTRL_B_SCRLK = 2,
CTRL_B_L1 = 3,
CTRL_B_L2 = 4,
CTRL_B_L3 = 5,
CTRL_B_L4 = 6
};
// device_buffered_serial_interface overrides
@ -101,12 +101,12 @@ private:
required_device<beep_device> m_beeper;
output_finder<7> m_leds;
uint8_t m_make_count;
uint8_t m_make_count;
bool m_keyclick;
bool m_auto_repeat;
uint8_t m_beeper_state;
uint8_t m_led_state;
bool m_keyclick;
bool m_auto_repeat;
uint8_t m_beeper_state;
uint8_t m_led_state;
};
} } // namespace bus::sgikbd

View File

@ -292,7 +292,7 @@ protected:
uint16_t m_mmu_tmp_buserror_rw; /* temporary hack: (first) bus error rw */
uint16_t m_mmu_tmp_buserror_sz; /* temporary hack: (first) bus error size` */
bool m_mmu_tablewalk; /* set when MMU walks page tables */
bool m_mmu_tablewalk; /* set when MMU walks page tables */
uint32_t m_mmu_last_logical_addr;
uint32_t m_ic_address[M68K_IC_SIZE]; /* instruction cache address data */
uint32_t m_ic_data[M68K_IC_SIZE]; /* instruction cache content data */

View File

@ -80,7 +80,7 @@
#define IS_FR1 (SR & SR_FR)
/* size of the execution code cache */
#define DRC_CACHE_SIZE (32 * 1024 * 1024)
#define DRC_CACHE_SIZE (32 * 1024 * 1024)

View File

@ -5,112 +5,112 @@ static char digit[] = "0123456789abcdef";
static void dprintdec(int64_t val, bool zeropad, int size)
{
if (val == 0 && !zeropad)
{
if (val == 0 && !zeropad)
{
printf("0");
return;
}
}
char dc[22];
for (int rem = 0; rem < 22; rem++) dc[rem] = '0';
char dc[22];
for (int rem = 0; rem < 22; rem++) dc[rem] = '0';
int ptr = 0;
int64_t v = val;
char c = ' ';
if (val < 0)
{
c = '-';
val = -val;
}
int ptr = 0;
int64_t v = val;
char c = ' ';
if (val < 0)
{
c = '-';
val = -val;
}
int indx1 = 0;
while (v > 10)
{
int64_t rem = v / 10;
int indx = v - (rem * 10);
dc[ptr] = digit[indx];
v = rem;
if (indx != 0)
indx1 = ptr;
ptr += 1;
}
while (v > 10)
{
int64_t rem = v / 10;
int indx = v - (rem * 10);
dc[ptr] = digit[indx];
v = rem;
if (indx != 0)
indx1 = ptr;
ptr += 1;
}
dc[ptr] = digit[v];
dc[ptr] = digit[v];
if (v != 0)
indx1 = ptr; // the leading non zero digit.
if (v != 0)
indx1 = ptr; // the leading non zero digit.
if (zeropad && size != 0)
ptr = size;
else
ptr = indx1; // don't print leading 0s
if (zeropad && size != 0)
ptr = size;
else
ptr = indx1; // don't print leading 0s
if (c == '-')
printf("-");
if (c == '-')
printf("-");
while (ptr >= 0)
{
while (ptr >= 0)
{
printf("%c", dc[ptr]);
ptr -= 1;
}
ptr -= 1;
}
}
static void dprintudec(uint64_t val, bool zeropad, int size)
{
if (val == 0 && !zeropad)
{
if (val == 0 && !zeropad)
{
printf("0");
return;
}
}
char dc[22];
for (int rem = 0; rem < 22; dc[rem++] = '0');
char dc[22];
for (int rem = 0; rem < 22; dc[rem++] = '0');
int ptr = 0;
uint64_t v = val;
int indx1 = 0;
while (v > 10)
{
uint64_t rem = v / 10;
int indx = v - (rem * 10);
dc[ptr] = digit[indx];
v = rem;
if (indx != 0)
indx1 = ptr;
ptr += 1;
}
int ptr = 0;
uint64_t v = val;
int indx1 = 0;
while (v > 10)
{
uint64_t rem = v / 10;
int indx = v - (rem * 10);
dc[ptr] = digit[indx];
v = rem;
if (indx != 0)
indx1 = ptr;
ptr += 1;
}
dc[ptr] = digit[v];
dc[ptr] = digit[v];
if (v != 0)
indx1 = ptr; // the leading non zero digit.
if (v != 0)
indx1 = ptr; // the leading non zero digit.
if (zeropad && size != 0)
ptr = size;
else
ptr = indx1; // don't print leading 0s
if (zeropad && size != 0)
ptr = size;
else
ptr = indx1; // don't print leading 0s
while (ptr >= 0)
{
printf("%c", dc[ptr]);
ptr -= 1;
}
while (ptr >= 0)
{
printf("%c", dc[ptr]);
ptr -= 1;
}
}
static void dprinthex(uint64_t val, bool zeropad, int pos)
{
if (val == 0 && !zeropad)
{
if (val == 0 && !zeropad)
{
printf("0");
return;
}
}
int pcount = pos;
int indx = 0;
int pcount = pos;
int indx = 0;
char c;
while (pcount >= 0)
{
while (pcount >= 0)
{
if (pcount == 0)
c = digit[val & 0xf];
else
@ -130,23 +130,23 @@ static void dprinthex(uint64_t val, bool zeropad, int pos)
printf("%c", c);
}
pcount -= 4;
}
}
}
void dprintoct(uint64_t val, bool zeropad, int pos)
{
if (val == 0 && !zeropad)
{
if (val == 0 && !zeropad)
{
printf("0");
return;
}
}
int pcount = pos;
int indx = 0;
int pcount = pos;
int indx = 0;
char c;
while (pcount >= 0)
{
while (pcount >= 0)
{
if (pcount == 0)
c = digit[val & 0x7];
else
@ -179,7 +179,7 @@ static uint64_t dprintf_get_arg64(uint8_t *buf, uint32_t &curr)
{
curr = (curr + 3) & ~3;
const uint64_t ret = ((uint64_t)buf[curr+0] << 56) | ((uint64_t)buf[curr+1] << 48) | ((uint64_t)buf[curr+2] << 40) | ((uint64_t)buf[curr+3] << 32) |
((uint64_t)buf[curr+4] << 24) | ((uint64_t)buf[curr+5] << 16) | ((uint64_t)buf[curr+6] << 8) | buf[curr+7];
((uint64_t)buf[curr+4] << 24) | ((uint64_t)buf[curr+5] << 16) | ((uint64_t)buf[curr+6] << 8) | buf[curr+7];
curr += 8;
return ret;
}
@ -237,147 +237,147 @@ void mips3_device::do_o2_dprintf(uint32_t fmt_addr, uint32_t a1, uint32_t a2, ui
buf[idx++] = (char)byte_val;
} while(byte_val != 0);
char *p = buf;
char errQ[3];
int state = 0;
int size = 0;
int errP = 0;
bool zeropad = false;
while (*p)
{
switch (state)
{
case 0:
if (*p != '%')
{
printf("%c", *p);
char *p = buf;
char errQ[3];
int state = 0;
int size = 0;
int errP = 0;
bool zeropad = false;
while (*p)
{
switch (state)
{
case 0:
if (*p != '%')
{
printf("%c", *p);
}
else
{
errQ[errP++] = '%';
state = 1;
}
p++;
break;
case 1: // check for zero padding
state = 2;
if (*p == '0')
{
errQ[errP++] = '0';
zeropad = true;
p++;
}
else
{
zeropad = false;
else
{
errQ[errP++] = '%';
state = 1;
}
break;
case 2: // check the size of the object to be printed
state = 3;
switch (*p)
{
case 'l':
errQ[errP++] = 'l';
size = 64;
p++;
break;
case 'h':
errQ[errP++] = 'h';
size = 16;
p++;
break;
case 'b':
errQ[errP++] = 'b';
size = 8;
p++;
break;
default:
size = 32;
break;
}
break;
case 3: // do the print
switch (*p)
{
case '%':
printf("%c", '%');
break;
case 'd':
case 'i':
switch (size)
{
case 64:
dprintdec((int64_t)dprintf_get_arg64(argbuf, argcurr), zeropad, 0);
break;
case 16: // short
dprintdec((int64_t)dprintf_get_arg16(argbuf, argcurr), zeropad, 4);
break;
case 8: // byte
dprintdec((int64_t)dprintf_get_arg8(argbuf, argcurr), zeropad, 3);
break;
default: // int
dprintdec((int64_t)dprintf_get_arg32(argbuf, argcurr), zeropad, 9);
break;
}
break;
case 'u':
switch (size)
{
case 64:
dprintudec((uint64_t)dprintf_get_arg64(argbuf, argcurr), zeropad, 0);
break;
case 16:
dprintudec((uint64_t)dprintf_get_arg16(argbuf, argcurr), zeropad, 4);
break;
case 8:
dprintudec((uint64_t)dprintf_get_arg8(argbuf, argcurr), zeropad, 3);
break;
default:
dprintudec((uint64_t)dprintf_get_arg32(argbuf, argcurr), zeropad, 9);
break;
}
break;
case 'o':
switch (size)
{
case 64:
dprintoct((uint64_t)dprintf_get_arg64(argbuf, argcurr), zeropad, Loct);
break;
case 16: // short
dprintoct((uint64_t)dprintf_get_arg16(argbuf, argcurr), zeropad, Soct);
break;
case 8: // byte
dprintoct((uint64_t)dprintf_get_arg8(argbuf, argcurr), zeropad, Boct);
break;
default: // int
dprintoct((uint64_t)dprintf_get_arg32(argbuf, argcurr), zeropad, Ioct);
break;
}
break;
case 'x':
case 'X':
switch (size)
{
case 64:
dprinthex((uint64_t)dprintf_get_arg64(argbuf, argcurr), zeropad, Lhex);
break;
case 16:
dprinthex((uint64_t)dprintf_get_arg16(argbuf, argcurr), zeropad, Shex);
break;
case 8:
dprinthex((uint64_t)dprintf_get_arg8(argbuf, argcurr), zeropad, Bhex);
break;
default:
dprinthex((uint64_t)dprintf_get_arg32(argbuf, argcurr), zeropad, Ihex);
break;
}
break;
case 'c':
printf("%c", (char)dprintf_get_arg8(argbuf, argcurr));
break;
case 's':
{
uint64_t str_addr = dprintf_get_arg64(argbuf, argcurr);
p++;
break;
case 1: // check for zero padding
state = 2;
if (*p == '0')
{
errQ[errP++] = '0';
zeropad = true;
p++;
}
else
{
zeropad = false;
}
break;
case 2: // check the size of the object to be printed
state = 3;
switch (*p)
{
case 'l':
errQ[errP++] = 'l';
size = 64;
p++;
break;
case 'h':
errQ[errP++] = 'h';
size = 16;
p++;
break;
case 'b':
errQ[errP++] = 'b';
size = 8;
p++;
break;
default:
size = 32;
break;
}
break;
case 3: // do the print
switch (*p)
{
case '%':
printf("%c", '%');
break;
case 'd':
case 'i':
switch (size)
{
case 64:
dprintdec((int64_t)dprintf_get_arg64(argbuf, argcurr), zeropad, 0);
break;
case 16: // short
dprintdec((int64_t)dprintf_get_arg16(argbuf, argcurr), zeropad, 4);
break;
case 8: // byte
dprintdec((int64_t)dprintf_get_arg8(argbuf, argcurr), zeropad, 3);
break;
default: // int
dprintdec((int64_t)dprintf_get_arg32(argbuf, argcurr), zeropad, 9);
break;
}
break;
case 'u':
switch (size)
{
case 64:
dprintudec((uint64_t)dprintf_get_arg64(argbuf, argcurr), zeropad, 0);
break;
case 16:
dprintudec((uint64_t)dprintf_get_arg16(argbuf, argcurr), zeropad, 4);
break;
case 8:
dprintudec((uint64_t)dprintf_get_arg8(argbuf, argcurr), zeropad, 3);
break;
default:
dprintudec((uint64_t)dprintf_get_arg32(argbuf, argcurr), zeropad, 9);
break;
}
break;
case 'o':
switch (size)
{
case 64:
dprintoct((uint64_t)dprintf_get_arg64(argbuf, argcurr), zeropad, Loct);
break;
case 16: // short
dprintoct((uint64_t)dprintf_get_arg16(argbuf, argcurr), zeropad, Soct);
break;
case 8: // byte
dprintoct((uint64_t)dprintf_get_arg8(argbuf, argcurr), zeropad, Boct);
break;
default: // int
dprintoct((uint64_t)dprintf_get_arg32(argbuf, argcurr), zeropad, Ioct);
break;
}
break;
case 'x':
case 'X':
switch (size)
{
case 64:
dprinthex((uint64_t)dprintf_get_arg64(argbuf, argcurr), zeropad, Lhex);
break;
case 16:
dprinthex((uint64_t)dprintf_get_arg16(argbuf, argcurr), zeropad, Shex);
break;
case 8:
dprinthex((uint64_t)dprintf_get_arg8(argbuf, argcurr), zeropad, Bhex);
break;
default:
dprinthex((uint64_t)dprintf_get_arg32(argbuf, argcurr), zeropad, Ihex);
break;
}
break;
case 'c':
printf("%c", (char)dprintf_get_arg8(argbuf, argcurr));
break;
case 's':
{
uint64_t str_addr = dprintf_get_arg64(argbuf, argcurr);
uint8_t strbyte = 0;
do
{
@ -385,22 +385,22 @@ void mips3_device::do_o2_dprintf(uint32_t fmt_addr, uint32_t a1, uint32_t a2, ui
str_addr++;
printf("%c", (char)strbyte);
} while(strbyte);
break;
break;
}
case '0': // error
case 'l': // error
case 'h': // error
default: // error
for (int i = 0; i < 3; i++)
printf("%c", (char)errQ[i]);
printf("%c", *p++);
break;
}
state = 0; // reset the state machine
size = 0; // reset the size
zeropad = false; // reset the zero padding
errP = 0; // reset errQ
p++;
}
}
case '0': // error
case 'l': // error
case 'h': // error
default: // error
for (int i = 0; i < 3; i++)
printf("%c", (char)errQ[i]);
printf("%c", *p++);
break;
}
state = 0; // reset the state machine
size = 0; // reset the size
zeropad = false; // reset the zero padding
errP = 0; // reset errQ
p++;
}
}
}

View File

@ -12,7 +12,7 @@
#define LOG_GENERAL (1 << 0)
#define LOG_TICKS (1 << 1)
#define LOG_ALL (LOG_GENERAL | LOG_TICKS)
#define LOG_ALL (LOG_GENERAL | LOG_TICKS)
#define VERBOSE (0)
#include "logmacro.h"

View File

@ -46,90 +46,90 @@ protected:
enum
{
REG_MSR = 0x00, // Main Status Register
REG_RTMR = 0x01, // Not Applicable / Real-Time Mode Register
REG_OMR = 0x02, // Not Applicable / Output Mode Register
REG_PFR_ICR0 = 0x03, // Periodic Flag Register / Interrupt Control Register 0
REG_TSCR_ICR1 = 0x04, // Time Save Control Register / Interrupt Control Register 1
REG_HUNDREDTH = 0x05, // Hundredths and Teneths of a Second (0-99)
REG_SECOND = 0x06, // Seconds (0-59)
REG_MINUTE = 0x07, // Minutes (0-59)
REG_HOUR = 0x08, // Hours (1-12, 0-23)
REG_DAY = 0x09, // Day of Month (1-28/29/30/31)
REG_MONTH = 0x0a, // Month (1-12)
REG_YEAR = 0x0b, // Year (0-99)
REG_MSR = 0x00, // Main Status Register
REG_RTMR = 0x01, // Not Applicable / Real-Time Mode Register
REG_OMR = 0x02, // Not Applicable / Output Mode Register
REG_PFR_ICR0 = 0x03, // Periodic Flag Register / Interrupt Control Register 0
REG_TSCR_ICR1 = 0x04, // Time Save Control Register / Interrupt Control Register 1
REG_HUNDREDTH = 0x05, // Hundredths and Teneths of a Second (0-99)
REG_SECOND = 0x06, // Seconds (0-59)
REG_MINUTE = 0x07, // Minutes (0-59)
REG_HOUR = 0x08, // Hours (1-12, 0-23)
REG_DAY = 0x09, // Day of Month (1-28/29/30/31)
REG_MONTH = 0x0a, // Month (1-12)
REG_YEAR = 0x0b, // Year (0-99)
// 0x0c - RAM
REG_RAM_D1D0 = 0x0d, // RAM, D1/D0 bits only
REG_DAYOFWEEK = 0x0e, // Day of Week (1-7)
REG_NA_0FH = 0x0f,
REG_NA_10H = 0x10,
REG_NA_11H = 0x11,
REG_NA_12H = 0x12,
REG_COMP_SECOND = 0x13, // Seconds Compare RAM (0-59)
REG_COMP_MINUTE = 0x14, // Minutes Compare RAM (0-59)
REG_COMP_HOUR = 0x15, // Hours Compare RAM (1-12, 0-23)
REG_COMP_DAY = 0x16, // Day of Month Compare RAM (1-28/29/30/31)
REG_COMP_MONTH = 0x17, // Month Compare RAM (1-12)
REG_COMP_DAYOFWEEK = 0x18, // Day of Week Compare RAM (1-7)
REG_SAVE_SECOND = 0x19, // Seconds Time Save RAM
REG_SAVE_MINUTE = 0x1a, // Minutes Time Save RAM
REG_SAVE_HOUR = 0x1b, // Hours Time Save RAM
REG_SAVE_DAY = 0x1c, // Day of Month Time Save RAM
REG_SAVE_MONTH = 0x1d, // Month Time Save RAM
REG_RAM_D1D0 = 0x0d, // RAM, D1/D0 bits only
REG_DAYOFWEEK = 0x0e, // Day of Week (1-7)
REG_NA_0FH = 0x0f,
REG_NA_10H = 0x10,
REG_NA_11H = 0x11,
REG_NA_12H = 0x12,
REG_COMP_SECOND = 0x13, // Seconds Compare RAM (0-59)
REG_COMP_MINUTE = 0x14, // Minutes Compare RAM (0-59)
REG_COMP_HOUR = 0x15, // Hours Compare RAM (1-12, 0-23)
REG_COMP_DAY = 0x16, // Day of Month Compare RAM (1-28/29/30/31)
REG_COMP_MONTH = 0x17, // Month Compare RAM (1-12)
REG_COMP_DAYOFWEEK = 0x18, // Day of Week Compare RAM (1-7)
REG_SAVE_SECOND = 0x19, // Seconds Time Save RAM
REG_SAVE_MINUTE = 0x1a, // Minutes Time Save RAM
REG_SAVE_HOUR = 0x1b, // Hours Time Save RAM
REG_SAVE_DAY = 0x1c, // Day of Month Time Save RAM
REG_SAVE_MONTH = 0x1d, // Month Time Save RAM
// 0x1e - RAM
REG_TEST = 0x1f, // RAM / Test Mode Register
REG_TEST = 0x1f, // RAM / Test Mode Register
MSR_INT = 0x01, // Interrupt Status
MSR_PF = 0x02, // Power Fail Interrupt
MSR_PER = 0x04, // Period Interrupt
MSR_AL = 0x08, // Alarm Interrupt
MSR_RS = 0x40, // Register Select Bit
MSR_RAM_MASK = 0xf0,
MSR_INT_MASK = 0x0e,
MSR_CLEARABLE_MASK = 0x0c,
MSR_INT = 0x01, // Interrupt Status
MSR_PF = 0x02, // Power Fail Interrupt
MSR_PER = 0x04, // Period Interrupt
MSR_AL = 0x08, // Alarm Interrupt
MSR_RS = 0x40, // Register Select Bit
MSR_RAM_MASK = 0xf0,
MSR_INT_MASK = 0x0e,
MSR_CLEARABLE_MASK = 0x0c,
PFR_1MIN = 0x01, // Minutes flag
PFR_10S = 0x02, // 10-second flag
PFR_1S = 0x04, // Seconds flag
PFR_100MS = 0x08, // 100-millisecond flag
PFR_10MS = 0x10, // 10-millisecond flag
PFR_1MS = 0x20, // Millisecond flag
PFR_OSF = 0x40, // Oscillator Failed / Single Supply Bit
PFR_TM = 0x80, // Test Mode Enable
PFR_READ_CLEAR_MASK = 0x3f,
PFR_1MIN = 0x01, // Minutes flag
PFR_10S = 0x02, // 10-second flag
PFR_1S = 0x04, // Seconds flag
PFR_100MS = 0x08, // 100-millisecond flag
PFR_10MS = 0x10, // 10-millisecond flag
PFR_1MS = 0x20, // Millisecond flag
PFR_OSF = 0x40, // Oscillator Failed / Single Supply Bit
PFR_TM = 0x80, // Test Mode Enable
PFR_READ_CLEAR_MASK = 0x3f,
TSCR_RAM_MASK = 0x3f,
TSCR_NA = 0x40, // N/A
TSCR_TS = 0x80, // Time Save Enable
TSCR_RAM_MASK = 0x3f,
TSCR_NA = 0x40, // N/A
TSCR_TS = 0x80, // Time Save Enable
RTMR_LY0 = 0x01, // Leap Year LSB
RTMR_LY1 = 0x02, // Leap Year MSB
RTMR_LY = 0x03,
RTMR_12H = 0x04, // 12/!24 hour mode
RTMR_CSS = 0x08, // Clock Start/!Stop
RTMR_IPF = 0x10, // Interrupt PF Operation
RTMR_RAM_MASK = 0xe0,
RTMR_LY0 = 0x01, // Leap Year LSB
RTMR_LY1 = 0x02, // Leap Year MSB
RTMR_LY = 0x03,
RTMR_12H = 0x04, // 12/!24 hour mode
RTMR_CSS = 0x08, // Clock Start/!Stop
RTMR_IPF = 0x10, // Interrupt PF Operation
RTMR_RAM_MASK = 0xe0,
OMR_RAM_MASK = 0x7f,
OMR_MO = 0x80, // MFO Pin as Oscillator
OMR_RAM_MASK = 0x7f,
OMR_MO = 0x80, // MFO Pin as Oscillator
ICR0_MN = 0x01, // Minutes enable
ICR0_TS = 0x02, // 10-second enable
ICR0_S = 0x04, // Seconds enable
ICR0_HM = 0x08, // 100 millisecond enable
ICR0_TM = 0x10, // 10 millisecond enable
ICR0_1M = 0x20, // Milliseconds enable
ICR0_RAM_MASK = 0xc0,
ICR0_MN = 0x01, // Minutes enable
ICR0_TS = 0x02, // 10-second enable
ICR0_S = 0x04, // Seconds enable
ICR0_HM = 0x08, // 100 millisecond enable
ICR0_TM = 0x10, // 10 millisecond enable
ICR0_1M = 0x20, // Milliseconds enable
ICR0_RAM_MASK = 0xc0,
ICR1_SC = 0x01, // Second compare enable
ICR1_MN = 0x02, // Minute compare enable
ICR1_HR = 0x04, // Hour compare enable
ICR1_DOM = 0x08, // Day of month compare enable
ICR1_MO = 0x10, // Month compare enable
ICR1_DOW = 0x20, // Day of week compare enable
ICR1_ALE = 0x40, // Alarm interrupt enable
ICR1_PFE = 0x80, // Power fail interrupt enable
ICR1_COMPARE_MASK = 0x3f
ICR1_SC = 0x01, // Second compare enable
ICR1_MN = 0x02, // Minute compare enable
ICR1_HR = 0x04, // Hour compare enable
ICR1_DOM = 0x08, // Day of month compare enable
ICR1_MO = 0x10, // Month compare enable
ICR1_DOW = 0x20, // Day of week compare enable
ICR1_ALE = 0x40, // Alarm interrupt enable
ICR1_PFE = 0x80, // Power fail interrupt enable
ICR1_COMPARE_MASK = 0x3f
};
uint8_t m_ram[32];

View File

@ -16,15 +16,15 @@
#include "emu.h"
#include "wd33c93.h"
#define LOG_READS (1 << 0)
#define LOG_WRITES (1 << 1)
#define LOG_COMMANDS (1 << 2)
#define LOG_ERRORS (1 << 3)
#define LOG_MISC (1 << 4)
#define LOG_REGS (LOG_READS | LOG_WRITES)
#define LOG_ALL (LOG_REGS | LOG_COMMANDS | LOG_ERRORS | LOG_MISC)
#define LOG_READS (1 << 0)
#define LOG_WRITES (1 << 1)
#define LOG_COMMANDS (1 << 2)
#define LOG_ERRORS (1 << 3)
#define LOG_MISC (1 << 4)
#define LOG_REGS (LOG_READS | LOG_WRITES)
#define LOG_ALL (LOG_REGS | LOG_COMMANDS | LOG_ERRORS | LOG_MISC)
#define VERBOSE (0)
#define VERBOSE (0)
#include "logmacro.h"

View File

@ -91,18 +91,18 @@ private:
void xferinfo_cmd();
void dispatch_command();
uint8_t m_sasr;
uint8_t m_regs[WD_AUXILIARY_STATUS+1];
uint8_t m_fifo[FIFO_SIZE];
int m_fifo_pos;
uint8_t m_temp_input[TEMP_INPUT_LEN];
int m_temp_input_pos;
uint8_t m_busphase;
uint8_t m_identify;
bool m_read_pending;
emu_timer *m_cmd_timer;
emu_timer *m_service_req_timer;
emu_timer *m_deassert_cip_timer;
uint8_t m_sasr;
uint8_t m_regs[WD_AUXILIARY_STATUS+1];
uint8_t m_fifo[FIFO_SIZE];
int m_fifo_pos;
uint8_t m_temp_input[TEMP_INPUT_LEN];
int m_temp_input_pos;
uint8_t m_busphase;
uint8_t m_identify;
bool m_read_pending;
emu_timer *m_cmd_timer;
emu_timer *m_service_req_timer;
emu_timer *m_deassert_cip_timer;
devcb_write_line m_irq_cb; /* irq callback */
};

View File

@ -379,7 +379,7 @@ u16 swp30_device::freq_r(offs_t offset)
void swp30_device::freq_w(offs_t offset, u16 data)
{
u8 chan = offset >> 6;
// delta is 4*256 per octave, positive means higher freq, e.g 4.10 format.
// delta is 4*256 per octave, positive means higher freq, e.g 4.10 format.
s16 v = data & 0x2000 ? data | 0xc000 : data;
if(m_freq[chan] != data)
logerror("snd chan %02x freq %c%c %d.%03x\n", chan, data & 0x8000 ? '#' : '.', data & 0x4000 ? '#' : '.', v / 1024, (v < 0 ? -v : v) & 0x3ff);
@ -567,9 +567,10 @@ u16 swp30_device::snd_r(offs_t offset)
preg = util::string_format("%03x", (slot-0x21)/2 + 6*chan);
logerror("snd_r [%04x %04x - %-4s] %02x.%02x %04x\n", offset, offset*2, preg, chan, slot, rr[offset]);
}
if(offset == 0x080f)
if(offset == 0x080f) {
return rr[offset] & ~8;
// return chan == 0x20 && slot == 0xf ? 0 : 0xffff;
// return chan == 0x20 && slot == 0xf ? 0 : 0xffff;
}
return rr[offset];
}
@ -656,7 +657,7 @@ void swp30_device::sound_stream_update(sound_stream &stream, stream_sample_t **i
break;
}
// logerror("sample %02x %06x [%d] %+5d %04x %04x %04x\n", channel, base_address >> 2, m_address[channel] >> 30, spos, samp & 0xffff, m_volume[channel], m_pan[channel]);
//logerror("sample %02x %06x [%d] %+5d %04x %04x %04x\n", channel, base_address >> 2, m_address[channel] >> 30, spos, samp & 0xffff, m_volume[channel], m_pan[channel]);
// Second, step the sample pos, loop/deactivate as needed
m_sample_pos[channel] += m_sample_increment[m_freq[channel] & 0x3fff];

View File

@ -205,8 +205,8 @@ void catseye_device::window_move()
return;
LOGMASKED(LOG_WMOVE, "%s%d: %3ux%3u -> %3ux%3u / %3ux%3u planemode %04x wrr %04x, trr %04x m_trrctl %04x acntr %04x\n",
__func__, idx, m_wmsourcex, m_wmsourcey, m_wmdestx, m_wmdesty, m_wmwidth, m_wmheight, m_planemode[idx],
m_wrr[idx], m_trr[idx], m_trrctl[idx], m_acntrl);
__func__, idx, m_wmsourcex, m_wmsourcey, m_wmdestx, m_wmdesty, m_wmwidth, m_wmheight, m_planemode[idx],
m_wrr[idx], m_trr[idx], m_trrctl[idx], m_acntrl);
int line, endline, lineincr;

View File

@ -1074,7 +1074,7 @@ void saturn_state::drawpixel_generic(int x, int y, int patterndata, int offsetcn
break;
// TODO: Pro Yakyuu Team mo Tsukurou (during team creation, on PR girl select)
//case 6:
// break;
// break;
case 7: /* Gouraud-shading + half-transparent */
// Lupin the 3rd Pyramid no Kenja enemy shadows
// Death Crimson lives indicators

View File

@ -356,7 +356,7 @@ private:
screen_update_ind16_delegate m_screen_update_ind16; // screen update callback (16-bit palette)
screen_update_rgb32_delegate m_screen_update_rgb32; // screen update callback (32-bit RGB)
devcb_write_line m_screen_vblank; // screen vblank line callback
devcb_write32 m_scanline_cb; // screen scanline callback
devcb_write32 m_scanline_cb; // screen scanline callback
optional_device<device_palette_interface> m_palette; // our palette
u32 m_video_attributes; // flags describing the video system
const char * m_svg_region; // the region in which the svg data is in

View File

@ -75,10 +75,10 @@ void xavix_sound_device::sound_stream_update(sound_stream &stream, stream_sample
/* need envelopes or some of these loop forever!
else if (m_voice[v].type == 2)
{
m_voice[v].position[channel] = m_voice[v].startposition[channel];
// presumably don't want to play 0x80 byte, so read in a new one
pos = (m_voice[v].bank << 16) | (m_voice[v].position[channel] >> 14);
sample = m_readsamples_cb(pos);
m_voice[v].position[channel] = m_voice[v].startposition[channel];
// presumably don't want to play 0x80 byte, so read in a new one
pos = (m_voice[v].bank << 16) | (m_voice[v].position[channel] >> 14);
sample = m_readsamples_cb(pos);
}
*/
}
@ -103,10 +103,10 @@ bool xavix_sound_device::is_voice_enabled(int voice)
m_stream->update();
/*
if ((m_voice[voice].enabled[0] == true) || (m_voice[voice].enabled[1] == true))
return true;
else
return false;
if ((m_voice[voice].enabled[0] == true) || (m_voice[voice].enabled[1] == true))
return true;
else
return false;
*/
if ((m_voice[voice].enabled[0] == true) && (m_voice[voice].enabled[1] == true))
return true;

View File

@ -13,11 +13,11 @@
R2000:
NYI
Year Model Board CPU Clock I/D Cache
1988 4D/20 IP6 R2000 12.5MHz 16KiB/8KiB
4D/25 IP10 R3000 20MHz 64KiB/32KiB
4D/30 IP14 R3000 30MHz
1991 4D/35 IP12 R3000 36MHz
Year Model Board CPU Clock I/D Cache
1988 4D/20 IP6 R2000 12.5MHz 16KiB/8KiB
4D/25 IP10 R3000 20MHz 64KiB/32KiB
4D/30 IP14 R3000 30MHz
1991 4D/35 IP12 R3000 36MHz
****************************************************************************/

View File

@ -1414,24 +1414,24 @@ PCB is marked: "029 ls" and "PKR 92" on solder side ("LS" is the Italian for "La
PCB is labeled: "8/98rb013" on component side
Devices
1x TMPZ84C00AP-6 u1 8-bit Microprocessor - main
1x KC89C72 u11 Programmable Sound Generator - sound
1x PIC16F84-04/P on small piggyback at u6 8bit CMOS Microcontroller (internal ROM not dumped)
1x TDA2003 u16 Audio Amplifier - sound
1x oscillator 6.000MHz oz1
1x TMPZ84C00AP-6 u1 8-bit Microprocessor - main
1x KC89C72 u11 Programmable Sound Generator - sound
1x PIC16F84-04/P on small piggyback at u6 8bit CMOS Microcontroller (internal ROM not dumped)
1x TDA2003 u16 Audio Amplifier - sound
1x oscillator 6.000MHz oz1
ROMs
1x NM27C256 2 dumped
1x M27C512 1 dumped
1x AM27S29APC u48 dumped
1x NM27C256 2 dumped
1x M27C512 1 dumped
1x AM27S29APC u48 dumped
RAMs
1x MB8416A-15L u39,u40
1x LC3517B-15 u7
1x MB8416A-15L u39,u40
1x LC3517B-15 u7
PLDs
2x PALCE16V8H-25-PC/4 u8,u41 read protected
1x GAL22V10D-25LP on small piggyback at u6 read protected
2x PALCE16V8H-25-PC/4 u8,u41 read protected
1x GAL22V10D-25LP on small piggyback at u6 read protected
Others
1x 28x2 JAMMA edge connector

View File

@ -188,7 +188,7 @@ static INPUT_PORTS_START( blmbycar )
PORT_DIPSETTING( 0x0018, DEF_STR( Joystick ) )
PORT_DIPSETTING( 0x0010, "Pot Wheel" ) // Preliminary
PORT_DIPSETTING( 0x0008, "Opt Wheel" ) // Preliminary
PORT_DIPSETTING( 0x0000, "invalid, breaks game" ) // Time goes to 0 rally fast!
PORT_DIPSETTING( 0x0000, "invalid, breaks game" ) // Time goes to 0 rally fast!
PORT_DIPNAME( 0x0020, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:3")
PORT_DIPSETTING( 0x0020, DEF_STR( Off ) )
PORT_DIPSETTING( 0x0000, DEF_STR( On ) )

View File

@ -7110,7 +7110,7 @@ ROM_END
ROM_START( sf2uh ) /* same as sf2jh - Street Fighter II: The World Warrior (Japan 910522) except for region byte */
ROM_REGION( CODE_SIZE, "maincpu", 0 ) /* 68000 code */
ROM_LOAD16_BYTE( "sf2u_30h.11e", 0x00000, 0x20000, CRC(fe39ee33) SHA1(22558eb15e035b09b80935a32b8425d91cd79669) ) // == sf2j_30h.11e / sf2e_30g.11e
ROM_LOAD16_BYTE( "sf2u_37h.11f", 0x00001, 0x20000, CRC(e4dffbfe) SHA1(79c523d11be8a2b4991221c03020e671f48f5c14) ) // 1 byte difference to sf2j_37h.11f - 0x4C0 == 0x02 vs 0x00 for Japanese set
ROM_LOAD16_BYTE( "sf2u_37h.11f", 0x00001, 0x20000, CRC(e4dffbfe) SHA1(79c523d11be8a2b4991221c03020e671f48f5c14) ) // 1 byte difference to sf2j_37h.11f - 0x4C0 == 0x02 vs 0x00 for Japanese set
ROM_LOAD16_BYTE( "sf2u_31h.12e", 0x40000, 0x20000, CRC(69a0a301) SHA1(86a3954335310865b14ce8b4e0e4499feb14fc12) ) // == sf2j_31h.12e / sf2e_31g.12e
ROM_LOAD16_BYTE( "sf2u_38h.12f", 0x40001, 0x20000, CRC(a659f678) SHA1(f3b99ebaa59edb889498cf5c9d7ceb939da1dedc) ) // == sf2j_38h.12f
ROM_LOAD16_BYTE( "sf2u_28h.9e", 0x80000, 0x20000, CRC(8a5c8ee0) SHA1(a6df46e96bf7596665177b18213a3aee4cc7c378) ) // == sf2j_28h.9e

View File

@ -2,22 +2,22 @@
// copyright-holders:Ryan Holtz
/**********************************************************************
SGI Crimson deskside skeleton driver
SGI Crimson deskside skeleton driver
To Do: Everything
To Do: Everything
Memory map:
1fc00000 - 1fc7ffff Boot ROM
Memory map:
1fc00000 - 1fc7ffff Boot ROM
**********************************************************************/
#include "emu.h"
#include "cpu/mips/mips3.h"
#define LOG_UNKNOWN (1 << 0)
#define LOG_ALL (LOG_UNKNOWN)
#define LOG_UNKNOWN (1 << 0)
#define LOG_ALL (LOG_UNKNOWN)
#define VERBOSE (0)
#define VERBOSE (0)
#include "logmacro.h"
class crimson_state : public driver_device

View File

@ -434,9 +434,9 @@ void gts80b_state::gts80b_s(machine_config &config)
//void gts80b_state::gts80b_ss(machine_config &config)
//{
// gts80b(config);
// GOTTLIEB_SOUND_REV1(config, m_r1_sound, 0).add_route(ALL_OUTPUTS, "speaker", 1.0);
// //GOTTLIEB_SOUND_REV1_VOTRAX(config, m_r1_sound, 0).add_route(ALL_OUTPUTS, "speaker", 1.0); // votrax crashes
// gts80b(config);
// GOTTLIEB_SOUND_REV1(config, m_r1_sound, 0).add_route(ALL_OUTPUTS, "speaker", 1.0);
// //GOTTLIEB_SOUND_REV1_VOTRAX(config, m_r1_sound, 0).add_route(ALL_OUTPUTS, "speaker", 1.0); // votrax crashes
//}
void gts80b_state::gts80b_s1(machine_config &config)

View File

@ -6983,14 +6983,14 @@ ROM_END
ROM_START( gnw_climber )
ROM_REGION( 0x1000, "maincpu", 0 )
ROM_LOAD( "dr-106.program", 0x0000, 0x1000, CRC(2adcbd6d) SHA1(110dc08c65120ab2c76ee647e89aa2726e24ac1a) )
ROM_REGION( 0x1000, "maincpu", 0 )
ROM_LOAD( "dr-106.program", 0x0000, 0x1000, CRC(2adcbd6d) SHA1(110dc08c65120ab2c76ee647e89aa2726e24ac1a) )
ROM_REGION( 0x100, "maincpu:melody", 0 )
ROM_LOAD( "dr-106.melody", 0x000, 0x100, CRC(c99d7998) SHA1(4f8cf35b13f8b7654e7186bfd67d197d9053e949) )
ROM_REGION( 0x100, "maincpu:melody", 0 )
ROM_LOAD( "dr-106.melody", 0x000, 0x100, CRC(c99d7998) SHA1(4f8cf35b13f8b7654e7186bfd67d197d9053e949) )
ROM_REGION( 542332, "svg", 0)
ROM_LOAD( "gnw_climber.svg", 0, 542332, CRC(d7e84c21) SHA1(a5b5b68c8cdb3a09966bfb91b281791bef311248) )
ROM_REGION( 542332, "svg", 0)
ROM_LOAD( "gnw_climber.svg", 0, 542332, CRC(d7e84c21) SHA1(a5b5b68c8cdb3a09966bfb91b281791bef311248) )
ROM_END

View File

@ -2,16 +2,16 @@
// copyright-holders:Ryan Holtz
/*********************************************************************
SGI Indigo workstation
SGI Indigo workstation
To-Do:
- IP12 (R3000):
* Everything
- IP20 (R4000):
* Figure out why the keyboard/mouse diagnostic fails
* Work out a proper RAM mapping, or why the installer bails due
to trying to access virtual address ffffa02c:
88002584: lw $sp,-$5fd4($0)
To-Do:
- IP12 (R3000):
* Everything
- IP20 (R4000):
* Figure out why the keyboard/mouse diagnostic fails
* Work out a proper RAM mapping, or why the installer bails due
to trying to access virtual address ffffa02c:
88002584: lw $sp,-$5fd4($0)
**********************************************************************/
@ -25,16 +25,16 @@
#include "emupal.h"
#include "screen.h"
#define ENABLE_ENTRY_GFX (1)
#define ENABLE_ENTRY_GFX (1)
#define LOG_UNKNOWN (1 << 0)
#define LOG_INT (1 << 1)
#define LOG_DSP (1 << 2)
#define LOG_GFX (1 << 3)
#define LOG_GFX_CMD (1 << 4)
#define LOG_ALL (LOG_UNKNOWN | LOG_INT | LOG_DSP | LOG_GFX | LOG_GFX_CMD)
#define LOG_UNKNOWN (1 << 0)
#define LOG_INT (1 << 1)
#define LOG_DSP (1 << 2)
#define LOG_GFX (1 << 3)
#define LOG_GFX_CMD (1 << 4)
#define LOG_ALL (LOG_UNKNOWN | LOG_INT | LOG_DSP | LOG_GFX | LOG_GFX_CMD)
#define VERBOSE (LOG_UNKNOWN)
#define VERBOSE (LOG_UNKNOWN)
#include "logmacro.h"
class indigo_state : public driver_device
@ -69,48 +69,48 @@ protected:
enum
{
REX15_PAGE0_SET = 0x00000000,
REX15_PAGE0_GO = 0x00000800,
REX15_PAGE1_SET = 0x00004790,
REX15_PAGE1_GO = 0x00004f90,
REX15_PAGE0_SET = 0x00000000,
REX15_PAGE0_GO = 0x00000800,
REX15_PAGE1_SET = 0x00004790,
REX15_PAGE1_GO = 0x00004f90,
REX15_P0REG_COMMAND = 0x00000000,
REX15_P0REG_XSTARTI = 0x0000000c,
REX15_P0REG_YSTARTI = 0x0000001c,
REX15_P0REG_XYMOVE = 0x00000034,
REX15_P0REG_COLORREDI = 0x00000038,
REX15_P0REG_COLORGREENI = 0x00000040,
REX15_P0REG_COLORBLUEI = 0x00000048,
REX15_P0REG_COLORBACK = 0x0000005c,
REX15_P0REG_ZPATTERN = 0x00000060,
REX15_P0REG_XENDI = 0x00000084,
REX15_P0REG_YENDI = 0x00000088,
REX15_P0REG_COMMAND = 0x00000000,
REX15_P0REG_XSTARTI = 0x0000000c,
REX15_P0REG_YSTARTI = 0x0000001c,
REX15_P0REG_XYMOVE = 0x00000034,
REX15_P0REG_COLORREDI = 0x00000038,
REX15_P0REG_COLORGREENI = 0x00000040,
REX15_P0REG_COLORBLUEI = 0x00000048,
REX15_P0REG_COLORBACK = 0x0000005c,
REX15_P0REG_ZPATTERN = 0x00000060,
REX15_P0REG_XENDI = 0x00000084,
REX15_P0REG_YENDI = 0x00000088,
REX15_P1REG_WCLOCKREV = 0x00000054,
REX15_P1REG_CFGDATA = 0x00000058,
REX15_P1REG_CFGSEL = 0x0000005c,
REX15_P1REG_VC1_ADDRDATA = 0x00000060,
REX15_P1REG_CFGMODE = 0x00000068,
REX15_P1REG_XYOFFSET = 0x0000006c,
REX15_P1REG_WCLOCKREV = 0x00000054,
REX15_P1REG_CFGDATA = 0x00000058,
REX15_P1REG_CFGSEL = 0x0000005c,
REX15_P1REG_VC1_ADDRDATA = 0x00000060,
REX15_P1REG_CFGMODE = 0x00000068,
REX15_P1REG_XYOFFSET = 0x0000006c,
REX15_OP_NOP = 0x00000000,
REX15_OP_DRAW = 0x00000001,
REX15_OP_NOP = 0x00000000,
REX15_OP_DRAW = 0x00000001,
REX15_OP_FLAG_BLOCK = 0x00000008,
REX15_OP_FLAG_LENGTH32 = 0x00000010,
REX15_OP_FLAG_QUADMODE = 0x00000020,
REX15_OP_FLAG_XYCONTINUE = 0x00000080,
REX15_OP_FLAG_STOPONX = 0x00000100,
REX15_OP_FLAG_STOPONY = 0x00000200,
REX15_OP_FLAG_ENZPATTERN = 0x00000400,
REX15_OP_FLAG_LOGICSRC = 0x00080000,
REX15_OP_FLAG_ZOPAQUE = 0x00800000,
REX15_OP_FLAG_ZCONTINUE = 0x01000000,
REX15_OP_FLAG_BLOCK = 0x00000008,
REX15_OP_FLAG_LENGTH32 = 0x00000010,
REX15_OP_FLAG_QUADMODE = 0x00000020,
REX15_OP_FLAG_XYCONTINUE = 0x00000080,
REX15_OP_FLAG_STOPONX = 0x00000100,
REX15_OP_FLAG_STOPONY = 0x00000200,
REX15_OP_FLAG_ENZPATTERN = 0x00000400,
REX15_OP_FLAG_LOGICSRC = 0x00080000,
REX15_OP_FLAG_ZOPAQUE = 0x00800000,
REX15_OP_FLAG_ZCONTINUE = 0x01000000,
REX15_WRITE_ADDR = 0x00,
REX15_PALETTE_RAM = 0x01,
REX15_PIXEL_READ_MASK = 0x02,
REX15_CONTROL = 0x06
REX15_WRITE_ADDR = 0x00,
REX15_PALETTE_RAM = 0x01,
REX15_PIXEL_READ_MASK = 0x02,
REX15_CONTROL = 0x06
};
struct lg1_t
@ -328,8 +328,8 @@ void indigo_state::do_rex_command()
}
}
else if (m_lg1.m_command == 0x300005a1 ||
m_lg1.m_command == 0x300005a9 ||
m_lg1.m_command == 0x300005b9)
m_lg1.m_command == 0x300005a9 ||
m_lg1.m_command == 0x300005b9)
{
bool xycontinue = (m_lg1.m_command & REX15_OP_FLAG_XYCONTINUE);
uint32_t start_x = xycontinue ? m_lg1.m_x_curr_i : m_lg1.m_x_start_i;

View File

@ -1106,19 +1106,19 @@ ROM_END
Top T. Cash
CPUs
1x H8/3337 32-bit Single-Chip Microcomputer - main (internal ROM not dumped)
1x D7759 ADPCM Speech Synthesizer LSIs - sound
1x TDA2003 Audio Amplifier - sound
1x oscillator 14.318181MHz
1x oscillator 16.000MHz
1x H8/3337 32-bit Single-Chip Microcomputer - main (internal ROM not dumped)
1x D7759 ADPCM Speech Synthesizer LSIs - sound
1x TDA2003 Audio Amplifier - sound
1x oscillator 14.318181MHz
1x oscillator 16.000MHz
ROMs
5x M27C4001 0,1,2,3,4 dumped
5x M27C4001 0,1,2,3,4 dumped
RAMs
3x YY628100BllG-70
3x YY628100BllG-70
PLDs
1x ispLSI1032E-70LJ read protected
1x ispLSI1032E-70LJ read protected
Others
1x 28x2 JAMMA edge connector

View File

@ -405,7 +405,7 @@ void karnov_state::karnov_map(address_map &map)
map(0x0a0800, 0x0a0fff).w(FUNC(karnov_state::videoram_w)); /* Wndrplnt Mirror */
map(0x0a1000, 0x0a17ff).w(FUNC(karnov_state::playfield_w)).share("pf_data");
map(0x0a1800, 0x0a1fff).lw16("pf_col_w", [this](offs_t offset, u16 data, u16 mem_mask)
{ playfield_w(((offset & 0x1f) << 5) | ((offset & 0x3e0) >> 5), data, mem_mask); });
{ playfield_w(((offset & 0x1f) << 5) | ((offset & 0x3e0) >> 5), data, mem_mask); });
map(0x0c0000, 0x0c0001).portr("P1_P2").w(FUNC(karnov_state::mcu_ack_w));
map(0x0c0002, 0x0c0003).portr("SYSTEM");
map(0x0c0003, 0x0c0003).w(m_soundlatch, FUNC(generic_latch_8_device::write));

View File

@ -2,16 +2,16 @@
// copyright-holders:Ryan Holtz
/**********************************************************************
SGI O2 workstation skeleton driver
SGI O2 workstation skeleton driver
To Do: Everything
To Do: Everything
Memory map:
00000000 - 0fffffff RAM (256mbyte mirror)
14000000 - 15ffffff CRIME
1f000000 - 1f3fffff MACE
1fc00000 - 1fc7ffff Boot ROM
40000000 - 7fffffff RAM
Memory map:
00000000 - 0fffffff RAM (256mbyte mirror)
14000000 - 15ffffff CRIME
1f000000 - 1f3fffff MACE
1fc00000 - 1fc7ffff Boot ROM
40000000 - 7fffffff RAM
**********************************************************************/

View File

@ -2,22 +2,22 @@
// copyright-holders:Ryan Holtz
/**********************************************************************
SGI Octane workstation skeleton driver
SGI Octane workstation skeleton driver
To Do: Everything
To Do: Everything
Memory map:
1fc00000 - 1fc7ffff Boot ROM
Memory map:
1fc00000 - 1fc7ffff Boot ROM
**********************************************************************/
#include "emu.h"
#include "cpu/mips/mips3.h"
#define LOG_UNKNOWN (1 << 0)
#define LOG_ALL (LOG_UNKNOWN)
#define LOG_UNKNOWN (1 << 0)
#define LOG_ALL (LOG_UNKNOWN)
#define VERBOSE (0)
#define VERBOSE (0)
#include "logmacro.h"
class octane_state : public driver_device
@ -48,7 +48,7 @@ INPUT_PORTS_END
void octane_state::octane(machine_config &config)
{
R5000BE(config, m_maincpu, 50000000*4); // NOTE: Wrong - should be R10000BE!
m_maincpu->set_icache_size(32768); // Unknown CPU cache size
m_maincpu->set_icache_size(32768); // Unknown CPU cache size
m_maincpu->set_dcache_size(32768);
m_maincpu->set_addrmap(AS_PROGRAM, &octane_state::mem_map);
}

View File

@ -246,7 +246,7 @@ READ8_MEMBER(pbaction_tecfri_state::maintosub_r)
READ8_MEMBER(pbaction_tecfri_state::subcpu_r)
{
return 0x00; // other values stop the flippers from working? are there different inputs from the custom cabinet in here somehow?
// return m_subtomainlatch->read(space, offset);
// return m_subtomainlatch->read(space, offset);
}
WRITE8_MEMBER(pbaction_tecfri_state::subcpu_w)

View File

@ -216,7 +216,7 @@ WRITE8_MEMBER(pengadvb_state::pengadvb_ppi_port_c_w)
***************************************************************************/
void pengadvb_state::pengadvb(machine_config &config)
{ /* basic machine hardware */
{ /* basic machine hardware */
Z80(config, m_maincpu, XTAL(10'738'635)/3);
m_maincpu->set_addrmap(AS_PROGRAM, &pengadvb_state::program_mem);
m_maincpu->set_addrmap(AS_IO, &pengadvb_state::io_mem);

View File

@ -5029,6 +5029,6 @@ GAME( 2008, kovshxas, kovshp, pgm_arm_type1, kovsh, pgm_arm_ty
//乱世拳皇/Luànshì quánhuáng
GAME( 200?, kovlsqh, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Quanhuang (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
GAME( 200?, kovlsqh2, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Quanhuang 2 (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
//ה¹±ה¸ט¡—י<EFBFBD>¸/Luֳ nshֳ¬ jiִ“ bֳ
//乱世街霸/Luànshì jiē bà
GAME( 200?, kovlsjb, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Jie Ba (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN, set 1)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
GAME( 200?, kovlsjba, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Jie Ba (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN, set 2)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */

View File

@ -171,7 +171,7 @@ void qvt102_state::qvt102(machine_config &config)
m_ctc->set_clk<1>(MASTER_CLOCK / 18);
m_ctc->zc_callback<0>().set(m_acia, FUNC(acia6850_device::write_txc));
m_ctc->zc_callback<0>().append(m_acia, FUNC(acia6850_device::write_rxc));
// m_ctc->zc_callback<1>().set(m_acia, FUNC(acia6850_device::write_rxc));
// m_ctc->zc_callback<1>().set(m_acia, FUNC(acia6850_device::write_rxc));
I8748(config, "kbdmcu", XTAL(6'000'000));
}

View File

@ -1518,7 +1518,7 @@ ROM_END
ROM Board: 171-5873B
main pcb: 834-7381-02
Game numbers: 833-7379-02
ROM pcb: 834-7380-02
ROM pcb: 834-7380-02
*/
ROM_START( astorm3 )
ROM_REGION( 0x080000, "maincpu", 0 ) // 68000 code

View File

@ -19,7 +19,7 @@
VSync = 57.4434Hz
TODO : RNG issue? Some behavior isn't correct (ex: BGM randomizer).
reference: https://youtu.be/6azneK6uUnA
reference: https://youtu.be/6azneK6uUnA
***************************************************************************/

View File

@ -28,10 +28,10 @@
- ASCII keyboard
- low-profile keyboard
http://www.vintagesbc.it/?page_id=233
http://mccworkshop.com/computers/comphistory7.htm
http://bitsavers.org/bits/Xerox/820/
http://bitsavers.org/bits/Xerox/820-II/
http://www.vintagesbc.it/?page_id=233
http://mccworkshop.com/computers/comphistory7.htm
http://bitsavers.org/bits/Xerox/820/
http://bitsavers.org/bits/Xerox/820-II/
http://www.classiccmp.org/dunfield/img54306/system.htm
Note:
@ -46,9 +46,9 @@
40 tracks, 1 head, 18 sectors, 128 bytes sector length, first sector id 1
40 tracks, 2 heads, 18 sectors, 128 bytes sector length, first sector id 1
SmartROM and Plus2 ROM both come for 2.5MHz or 4MHz systems, and there is another distinction between variants for generic or Xerox keyboards
http://www.microcodeconsulting.com/z80/plus2.htm
http://www.microcodeconsulting.com/z80/smartrom.htm
SmartROM and Plus2 ROM both come for 2.5MHz or 4MHz systems, and there is another distinction between variants for generic or Xerox keyboards
http://www.microcodeconsulting.com/z80/plus2.htm
http://www.microcodeconsulting.com/z80/smartrom.htm
*/
@ -902,7 +902,7 @@ ROM_START( x168 )
ROM_SYSTEM_BIOS( 1, "v50", "Balcones Operating System v5.0" ) // Operating system modifications for DEM and new 5.25" disk controller (4 new boot ROMs)
ROMX_LOAD( "l5.u33.rom", 0x0000, 0x0800, CRC(a17af0f1) SHA1(b1d9a151ed4558f49b3cdc1adbf348b54da48877), ROM_BIOS(1) )
ROMX_LOAD( "l5.u34.rom", 0x0800, 0x0800, CRC(c9f5182e) SHA1(ac830848614cea984c849a42687ea2944d6765d9), ROM_BIOS(1) )
ROMX_LOAD( "l5.u35.rom", 0x1000, 0x0800, BAD_DUMP CRC(44c8dbf8) SHA1(cba925b425a7a5ca68dc9fed10ea33e100704bf4), ROM_BIOS(1) ) // shows ROM ERROR and is different from Xerox 820-II v50
ROMX_LOAD( "l5.u35.rom", 0x1000, 0x0800, BAD_DUMP CRC(44c8dbf8) SHA1(cba925b425a7a5ca68dc9fed10ea33e100704bf4), ROM_BIOS(1) ) // shows ROM ERROR and is different from Xerox 820-II v50
ROMX_LOAD( "u36.rx024.rom", 0x1800, 0x0800, CRC(a7f1d677) SHA1(8c2a442f3a691f2e181a640d65f767ce3b51d711), ROM_BIOS(1) ) // fitted for low-profile keyboard only
ROM_REGION( 0x1000, I8086_TAG, 0 )

View File

@ -199,9 +199,9 @@ reads
[:] snd_r 00.09 (00d658)
[:] snd_r 00.09 (00d65c)
e3 = (note - ->m1b) * 100 + s8(->m2b)
e3 = (note - ->m1b) * 100 + s8(->m2b)
compute freq adjustment in 1/100th of semitone (ex. 737)
compute freq adjustment in 1/100th of semitone (ex. 737)
clamp to +/- 9599
(2d74)
div/rem by 300 -> e6 = 137, r6 = 2
@ -252,12 +252,12 @@ class mu100_state : public driver_device
{
public:
mu100_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_swp30(*this, "swp30"),
m_lcd(*this, "lcd"),
m_ioport_p7(*this, "P7"),
m_ioport_p8(*this, "P8")
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_swp30(*this, "swp30")
, m_lcd(*this, "lcd")
, m_ioport_p7(*this, "P7")
, m_ioport_p8(*this, "P8")
{ }
void mu100(machine_config &config);
@ -355,7 +355,7 @@ struct v1 {
u16 ma;
u8 mc;
u8 md;
u16 me;
u16 me;
};
// g base = ffec00
@ -484,13 +484,13 @@ void f2e1c(er4 **instrument) // 20f03e -> f5b1e
er6 = *er4;
r0 = xv1->mc << 8;
r5 = (er6->m43 << 7) + er6->m44;
if(!(g64 & 0x80)) {
if(!(g64 & 0x80)) {
er1 = max(0, er1 - er5);
} else {
// 2ae2
}
// 2ef8
// 2ef8
g5c = er1;
g66 = er2;
g60 = er3;
@ -706,9 +706,9 @@ void mu100_state::mu100_iomap(address_map &map)
void mu100_state::swp30_map(address_map &map)
{
map(0x000000*4, 0x200000*4-1).rom().region("swp30", 0).mirror(4*0x200000);
map(0x400000*4, 0x500000*4-1).rom().region("swp30", 0x800000).mirror(4*0x300000);
map(0x800000*4, 0xa00000*4-1).rom().region("swp30", 0x1000000).mirror(4*0x200000); // Missing roms...
map(0x000000*4, 0x200000*4-1).rom().region("swp30", 0).mirror(4*0x200000);
map(0x400000*4, 0x500000*4-1).rom().region("swp30", 0x800000).mirror(4*0x300000);
map(0x800000*4, 0xa00000*4-1).rom().region("swp30", 0x1000000).mirror(4*0x200000); // Missing roms...
}
void mu100_state::mu100(machine_config &config)

View File

@ -189,6 +189,6 @@
<bounds left="280" top="-20" right="290" bottom="-8" />
</bezel>
</view>
</view>
</mamelayout>

View File

@ -9,12 +9,12 @@
#include "emu.h"
#include "machine/hal2.h"
#define LOG_UNKNOWN (1 << 0U)
#define LOG_READS (1 << 1U)
#define LOG_WRITES (1 << 2U)
#define LOG_ALL (LOG_UNKNOWN | LOG_READS | LOG_WRITES)
#define LOG_UNKNOWN (1 << 0U)
#define LOG_READS (1 << 1U)
#define LOG_WRITES (1 << 2U)
#define LOG_ALL (LOG_UNKNOWN | LOG_READS | LOG_WRITES)
#define VERBOSE (0)
#define VERBOSE (0)
#include "logmacro.h"
DEFINE_DEVICE_TYPE(SGI_HAL2, hal2_device, "hal2", "SGI HAL2")

View File

@ -17,22 +17,22 @@
#include "machine/hpc1.h"
#include "speaker.h"
#define LOG_UNKNOWN (1 << 0)
#define LOG_READS (1 << 1)
#define LOG_WRITES (1 << 2)
#define LOG_INT (1 << 3)
#define LOG_EEPROM (1 << 4)
#define LOG_SCSI (1 << 5)
#define LOG_SCSI_DMA (1 << 6)
#define LOG_DUART0 (1 << 7)
#define LOG_DUART1 (1 << 8)
#define LOG_DUART2 (1 << 9)
#define LOG_PIT (1 << 10)
#define LOG_REGS (LOG_UNKNOWN | LOG_READS | LOG_WRITES)
#define LOG_DUART (LOG_DUART0 | LOG_DUART1 | LOG_DUART2)
#define LOG_ALL (LOG_REGS | LOG_INT | LOG_EEPROM | LOG_SCSI | LOG_SCSI_DMA | LOG_DUART | LOG_PIT)
#define LOG_UNKNOWN (1 << 0)
#define LOG_READS (1 << 1)
#define LOG_WRITES (1 << 2)
#define LOG_INT (1 << 3)
#define LOG_EEPROM (1 << 4)
#define LOG_SCSI (1 << 5)
#define LOG_SCSI_DMA (1 << 6)
#define LOG_DUART0 (1 << 7)
#define LOG_DUART1 (1 << 8)
#define LOG_DUART2 (1 << 9)
#define LOG_PIT (1 << 10)
#define LOG_REGS (LOG_UNKNOWN | LOG_READS | LOG_WRITES)
#define LOG_DUART (LOG_DUART0 | LOG_DUART1 | LOG_DUART2)
#define LOG_ALL (LOG_REGS | LOG_INT | LOG_EEPROM | LOG_SCSI | LOG_SCSI_DMA | LOG_DUART | LOG_PIT)
#define VERBOSE (LOG_UNKNOWN)
#define VERBOSE (LOG_UNKNOWN)
#include "logmacro.h"
DEFINE_DEVICE_TYPE(SGI_HPC1, hpc1_device, "hpc1", "SGI HPC1")

View File

@ -66,29 +66,29 @@ protected:
enum
{
LOCAL0_FIFO_GIO0 = 0x01,
LOCAL0_PARALLEL = 0x02,
LOCAL0_SCSI = 0x04,
LOCAL0_ETHERNET = 0x08,
LOCAL0_GFX_DMA = 0x10,
LOCAL0_DUART = 0x20,
LOCAL0_GIO1 = 0x40,
LOCAL0_VME0 = 0x80,
LOCAL0_FIFO_GIO0 = 0x01,
LOCAL0_PARALLEL = 0x02,
LOCAL0_SCSI = 0x04,
LOCAL0_ETHERNET = 0x08,
LOCAL0_GFX_DMA = 0x10,
LOCAL0_DUART = 0x20,
LOCAL0_GIO1 = 0x40,
LOCAL0_VME0 = 0x80,
LOCAL1_GR1_CASE = 0x02,
LOCAL1_VME1 = 0x08,
LOCAL1_DSP = 0x10,
LOCAL1_ACFAIL = 0x20,
LOCAL1_VIDEO = 0x40,
LOCAL1_RETRACE_GIO2 = 0x80
LOCAL1_GR1_CASE = 0x02,
LOCAL1_VME1 = 0x08,
LOCAL1_DSP = 0x10,
LOCAL1_ACFAIL = 0x20,
LOCAL1_VIDEO = 0x40,
LOCAL1_RETRACE_GIO2 = 0x80
};
enum
{
HPC_DMACTRL_RESET = 0x01,
HPC_DMACTRL_FLUSH = 0x02,
HPC_DMACTRL_TO_MEM = 0x10,
HPC_DMACTRL_ENABLE = 0x80
HPC_DMACTRL_RESET = 0x01,
HPC_DMACTRL_FLUSH = 0x02,
HPC_DMACTRL_TO_MEM = 0x10,
HPC_DMACTRL_ENABLE = 0x80
};
struct scsi_dma_t

View File

@ -9,16 +9,16 @@
#include "emu.h"
#include "machine/hpc3.h"
#define LOG_UNKNOWN (1 << 0)
#define LOG_PBUS_DMA (1 << 1)
#define LOG_SCSI (1 << 2)
#define LOG_SCSI_DMA (1 << 3)
#define LOG_ETHERNET (1 << 4)
#define LOG_PBUS4 (1 << 5)
#define LOG_CHAIN (1 << 6)
#define LOG_ALL (LOG_UNKNOWN | LOG_PBUS_DMA | LOG_SCSI | LOG_SCSI_DMA | LOG_ETHERNET | LOG_PBUS4 | LOG_CHAIN)
#define LOG_UNKNOWN (1 << 0)
#define LOG_PBUS_DMA (1 << 1)
#define LOG_SCSI (1 << 2)
#define LOG_SCSI_DMA (1 << 3)
#define LOG_ETHERNET (1 << 4)
#define LOG_PBUS4 (1 << 5)
#define LOG_CHAIN (1 << 6)
#define LOG_ALL (LOG_UNKNOWN | LOG_PBUS_DMA | LOG_SCSI | LOG_SCSI_DMA | LOG_ETHERNET | LOG_PBUS4 | LOG_CHAIN)
#define VERBOSE (0)
#define VERBOSE (0)
#include "logmacro.h"
DEFINE_DEVICE_TYPE(SGI_HPC3, hpc3_device, "hpc3", "SGI HPC3")

View File

@ -10,21 +10,21 @@
#include "bus/rs232/rs232.h"
#include "machine/ioc2.h"
#define LOG_PI1 (1 << 0)
#define LOG_SERIAL (1 << 1)
#define LOG_MOUSEKBD (1 << 2)
#define LOG_PANEL (1 << 3)
#define LOG_SYSID (1 << 4)
#define LOG_READ (1 << 5)
#define LOG_DMA_SEL (1 << 6)
#define LOG_RESET (1 << 7)
#define LOG_WRITE (1 << 8)
#define LOG_INT3 (1 << 9)
#define LOG_PIT (1 << 10)
#define LOG_ALL (LOG_PI1 | LOG_SERIAL | LOG_MOUSEKBD | LOG_PANEL | LOG_SYSID | LOG_READ | LOG_DMA_SEL | LOG_RESET | LOG_WRITE | LOG_INT3 | LOG_PIT)
#define LOG_DEFAULT (LOG_ALL & ~(LOG_SYSID | LOG_MOUSEKBD))
#define LOG_PI1 (1 << 0)
#define LOG_SERIAL (1 << 1)
#define LOG_MOUSEKBD (1 << 2)
#define LOG_PANEL (1 << 3)
#define LOG_SYSID (1 << 4)
#define LOG_READ (1 << 5)
#define LOG_DMA_SEL (1 << 6)
#define LOG_RESET (1 << 7)
#define LOG_WRITE (1 << 8)
#define LOG_INT3 (1 << 9)
#define LOG_PIT (1 << 10)
#define LOG_ALL (LOG_PI1 | LOG_SERIAL | LOG_MOUSEKBD | LOG_PANEL | LOG_SYSID | LOG_READ | LOG_DMA_SEL | LOG_RESET | LOG_WRITE | LOG_INT3 | LOG_PIT)
#define LOG_DEFAULT (LOG_ALL & ~(LOG_SYSID | LOG_MOUSEKBD))
#define VERBOSE (0)
#define VERBOSE (0)
#include "logmacro.h"
/*static*/ char const *const ioc2_device::SCC_TAG = "scc";

View File

@ -142,8 +142,8 @@ protected:
FRONT_PANEL_VOL_UP_HOLD = 0x80,
FRONT_PANEL_INT_MASK = FRONT_PANEL_POWER_BUTTON_INT |
FRONT_PANEL_VOL_DOWN_INT |
FRONT_PANEL_VOL_UP_INT
FRONT_PANEL_VOL_DOWN_INT |
FRONT_PANEL_VOL_UP_INT
};
enum

View File

@ -9,45 +9,45 @@
#include "emu.h"
#include "machine/mace.h"
#define LOG_READ_PCI (1 << 0U)
#define LOG_READ_VIN1 (1 << 1U)
#define LOG_READ_VIN2 (1 << 2U)
#define LOG_READ_VOUT (1 << 3U)
#define LOG_READ_ENET (1 << 4U)
#define LOG_READ_AUDIO (1 << 5U)
#define LOG_READ_ISA (1 << 6U)
#define LOG_READ_KBDMS (1 << 7U)
#define LOG_READ_I2C (1 << 8U)
#define LOG_READ_UST_MSC (1 << 9U)
#define LOG_READ_ISA_EXT (1 << 10U)
#define LOG_READ_RTC (1 << 11U)
#define LOG_WRITE_PCI (1 << 12U)
#define LOG_WRITE_VIN1 (1 << 13U)
#define LOG_WRITE_VIN2 (1 << 14U)
#define LOG_WRITE_VOUT (1 << 15U)
#define LOG_WRITE_ENET (1 << 16U)
#define LOG_WRITE_AUDIO (1 << 17U)
#define LOG_WRITE_ISA (1 << 18U)
#define LOG_WRITE_KBDMS (1 << 19U)
#define LOG_WRITE_I2C (1 << 20U)
#define LOG_WRITE_UST_MSC (1 << 21U)
#define LOG_WRITE_ISA_EXT (1 << 22U)
#define LOG_WRITE_RTC (1 << 23U)
#define LOG_HIFREQ (1 << 24U)
#define LOG_PCI (LOG_READ_PCI | LOG_WRITE_PCI)
#define LOG_VIN1 (LOG_READ_VIN1 | LOG_WRITE_VIN1)
#define LOG_VIN2 (LOG_READ_VIN2 | LOG_WRITE_VIN2)
#define LOG_VOUT (LOG_READ_VOUT | LOG_WRITE_VOUT)
#define LOG_ENET (LOG_READ_ENET | LOG_WRITE_ENET)
#define LOG_AUDIO (LOG_READ_AUDIO | LOG_WRITE_AUDIO)
#define LOG_ISA (LOG_READ_ISA | LOG_WRITE_ISA)
#define LOG_KBDMS (LOG_READ_KBDMS | LOG_WRITE_KBDMS)
#define LOG_UST_MSC (LOG_READ_UST_MSC | LOG_WRITE_UST_MSC)
#define LOG_ISA_EXT (LOG_READ_ISA_EXT | LOG_WRITE_ISA_EXT)
#define LOG_RTC (LOG_READ_RTC | LOG_WRITE_RTC)
#define LOG_ALL (LOG_PCI | LOG_VIN1 | LOG_VIN2 | LOG_VOUT | LOG_ENET | LOG_AUDIO | LOG_ISA | LOG_KBDMS | LOG_UST_MSC | LOG_ISA_EXT | LOG_RTC)
#define LOG_READ_PCI (1 << 0U)
#define LOG_READ_VIN1 (1 << 1U)
#define LOG_READ_VIN2 (1 << 2U)
#define LOG_READ_VOUT (1 << 3U)
#define LOG_READ_ENET (1 << 4U)
#define LOG_READ_AUDIO (1 << 5U)
#define LOG_READ_ISA (1 << 6U)
#define LOG_READ_KBDMS (1 << 7U)
#define LOG_READ_I2C (1 << 8U)
#define LOG_READ_UST_MSC (1 << 9U)
#define LOG_READ_ISA_EXT (1 << 10U)
#define LOG_READ_RTC (1 << 11U)
#define LOG_WRITE_PCI (1 << 12U)
#define LOG_WRITE_VIN1 (1 << 13U)
#define LOG_WRITE_VIN2 (1 << 14U)
#define LOG_WRITE_VOUT (1 << 15U)
#define LOG_WRITE_ENET (1 << 16U)
#define LOG_WRITE_AUDIO (1 << 17U)
#define LOG_WRITE_ISA (1 << 18U)
#define LOG_WRITE_KBDMS (1 << 19U)
#define LOG_WRITE_I2C (1 << 20U)
#define LOG_WRITE_UST_MSC (1 << 21U)
#define LOG_WRITE_ISA_EXT (1 << 22U)
#define LOG_WRITE_RTC (1 << 23U)
#define LOG_HIFREQ (1 << 24U)
#define LOG_PCI (LOG_READ_PCI | LOG_WRITE_PCI)
#define LOG_VIN1 (LOG_READ_VIN1 | LOG_WRITE_VIN1)
#define LOG_VIN2 (LOG_READ_VIN2 | LOG_WRITE_VIN2)
#define LOG_VOUT (LOG_READ_VOUT | LOG_WRITE_VOUT)
#define LOG_ENET (LOG_READ_ENET | LOG_WRITE_ENET)
#define LOG_AUDIO (LOG_READ_AUDIO | LOG_WRITE_AUDIO)
#define LOG_ISA (LOG_READ_ISA | LOG_WRITE_ISA)
#define LOG_KBDMS (LOG_READ_KBDMS | LOG_WRITE_KBDMS)
#define LOG_UST_MSC (LOG_READ_UST_MSC | LOG_WRITE_UST_MSC)
#define LOG_ISA_EXT (LOG_READ_ISA_EXT | LOG_WRITE_ISA_EXT)
#define LOG_RTC (LOG_READ_RTC | LOG_WRITE_RTC)
#define LOG_ALL (LOG_PCI | LOG_VIN1 | LOG_VIN2 | LOG_VOUT | LOG_ENET | LOG_AUDIO | LOG_ISA | LOG_KBDMS | LOG_UST_MSC | LOG_ISA_EXT | LOG_RTC)
#define VERBOSE (LOG_ALL)
#define VERBOSE (LOG_ALL)
#include "logmacro.h"
DEFINE_DEVICE_TYPE(SGI_MACE, mace_device, "sgimace", "SGI MACE")

View File

@ -69,9 +69,9 @@ protected:
enum
{
ISA_INT_COMPARE1 = 0x2000,
ISA_INT_COMPARE2 = 0x4000,
ISA_INT_COMPARE3 = 0x8000,
ISA_INT_COMPARE1 = 0x2000,
ISA_INT_COMPARE2 = 0x4000,
ISA_INT_COMPARE3 = 0x8000,
};
struct isa_t

View File

@ -12,17 +12,17 @@
#include "sgi.h"
#include "cpu/mips/mips3.h"
#define LOG_UNKNOWN (1 << 0)
#define LOG_READS (1 << 1)
#define LOG_WRITES (1 << 2)
#define LOG_RPSS (1 << 3)
#define LOG_WATCHDOG (1 << 4)
#define LOG_MEMCFG (1 << 5)
#define LOG_MEMCFG_EXT (1 << 6)
#define LOG_EEPROM (1 << 7)
#define LOG_DEFAULT (LOG_READS | LOG_WRITES | LOG_RPSS | LOG_WATCHDOG | LOG_UNKNOWN)
#define LOG_UNKNOWN (1 << 0)
#define LOG_READS (1 << 1)
#define LOG_WRITES (1 << 2)
#define LOG_RPSS (1 << 3)
#define LOG_WATCHDOG (1 << 4)
#define LOG_MEMCFG (1 << 5)
#define LOG_MEMCFG_EXT (1 << 6)
#define LOG_EEPROM (1 << 7)
#define LOG_DEFAULT (LOG_READS | LOG_WRITES | LOG_RPSS | LOG_WATCHDOG | LOG_UNKNOWN)
#define VERBOSE (0)
#define VERBOSE (0)
#include "logmacro.h"
DEFINE_DEVICE_TYPE(SGI_MC, sgi_mc_device, "sgi_mc", "SGI Memory Controller")

View File

@ -241,13 +241,13 @@ WRITE8_MEMBER(xavix_state::adc_7b80_w)
WRITE8_MEMBER(xavix_state::adc_7b81_w)
{
// m_irqsource &= ~0x04;
// update_irqs();
// m_irqsource &= ~0x04;
// update_irqs();
LOG("%s: adc_7b81_w %02x\n", machine().describe_context(), data);
m_adc_control = data;
// m_adc_timer->adjust(attotime::from_usec(200));
// m_adc_timer->adjust(attotime::from_usec(200));
}

View File

@ -2,15 +2,15 @@
// copyright-holders:David Haywood
/*
Motion Football simulation for XaviX based games
EA Sports Madden Football
Play TV Football
Motion Football simulation for XaviX based games
EA Sports Madden Football
Play TV Football
seems to register a pulse when you move it, and another when it stops moving
game uses current timer register (without interrupt) to measure time between pulses
to get 'throw' value
seems to register a pulse when you move it, and another when it stops moving
game uses current timer register (without interrupt) to measure time between pulses
to get 'throw' value
need to verify with code and work out how best to handle this
need to verify with code and work out how best to handle this
*/
#include "emu.h"

View File

@ -9,12 +9,12 @@
#include "emu.h"
#include "video/crime.h"
#define LOG_UNKNOWN (1 << 0U)
#define LOG_READS (1 << 1U)
#define LOG_WRITES (1 << 2U)
#define LOG_ALL (LOG_UNKNOWN | LOG_READS | LOG_WRITES)
#define LOG_UNKNOWN (1 << 0U)
#define LOG_READS (1 << 1U)
#define LOG_WRITES (1 << 2U)
#define LOG_ALL (LOG_UNKNOWN | LOG_READS | LOG_WRITES)
#define VERBOSE (LOG_ALL)
#define VERBOSE (LOG_ALL)
#include "logmacro.h"
DEFINE_DEVICE_TYPE(SGI_CRIME, crime_device, "sgicrime", "SGI CRIME")

View File

@ -42,12 +42,12 @@ void gaelco_wrally_sprites_device::device_reset()
1 | xxxxxxxx xxxxxxxx | unknown
2 | ------xx xxxxxxxx | x position
2 | ------xx xxxxxxxx | x position
2 | --xxxx-- -------- | sprite color (low 4 bits)
2 | -x------ -------- | shadows/highlights (see below)
2 | -x------ -------- | shadows/highlights (see below)
2 | x------- -------- | not used?
3 | --xxxxxx xxxxxxxx | sprite code
3 | --xxxxxx xxxxxxxx | sprite code
3 | xx------ -------- | not used?
For shadows/highlights, the tile color below the sprite will be set using a

View File

@ -29,15 +29,15 @@
#include "emu.h"
#include "video/newport.h"
#define LOG_UNKNOWN (1 << 0)
#define LOG_VC2 (1 << 1)
#define LOG_CMAP0 (1 << 2)
#define LOG_CMAP1 (1 << 3)
#define LOG_XMAP0 (1 << 4)
#define LOG_XMAP1 (1 << 5)
#define LOG_REX3 (1 << 6)
#define LOG_COMMANDS (1 << 7)
#define LOG_ALL (LOG_UNKNOWN | LOG_VC2 | LOG_CMAP0 | LOG_CMAP1 | LOG_XMAP0 | LOG_XMAP1 | LOG_REX3)
#define LOG_UNKNOWN (1 << 0)
#define LOG_VC2 (1 << 1)
#define LOG_CMAP0 (1 << 2)
#define LOG_CMAP1 (1 << 3)
#define LOG_XMAP0 (1 << 4)
#define LOG_XMAP1 (1 << 5)
#define LOG_REX3 (1 << 6)
#define LOG_COMMANDS (1 << 7)
#define LOG_ALL (LOG_UNKNOWN | LOG_VC2 | LOG_CMAP0 | LOG_CMAP1 | LOG_XMAP0 | LOG_XMAP1 | LOG_REX3)
#define VERBOSE (0)
#include "logmacro.h"

View File

@ -6,8 +6,8 @@
Video mixing
- are there priority registers / bits in the sprites that would allow
this to be collapsed further?
- are there priority registers / bits in the sprites that would allow
this to be collapsed further?
***************************************************************************/