diff options
| author | 2012-10-30 07:07:38 +0000 | |
|---|---|---|
| committer | 2012-10-30 07:07:38 +0000 | |
| commit | 6bfc7e54f9e932a70056ff0b3d79396ff8ef00b3 (patch) | |
| tree | 85ed98268eb2848966ebfef9c284b7d359f82e8f /src/mess | |
| parent | 05e6b5ff93f294d0bc11f7680af87786ada1f124 (diff) | |
Clean-ups and version bumpmame0147u2
Diffstat (limited to 'src/mess')
41 files changed, 265 insertions, 265 deletions
diff --git a/src/mess/drivers/a2600.c b/src/mess/drivers/a2600.c index cf6a96df583..0826c1b2a20 100644 --- a/src/mess/drivers/a2600.c +++ b/src/mess/drivers/a2600.c @@ -1284,12 +1284,12 @@ WRITE8_MEMBER(a2600_state::switch_A_w) /* Right controller port */ m_joy2->joy_w( data & 0x0f ); -// switch( machine().root_device().ioport("CONTROLLERS")->read() % CATEGORY_SELECT ) -// { -// case 0x0a: /* KidVid voice module */ -// machine().device<cassette_image_device>(CASSETTE_TAG)->change_state(( data & 0x02 ) ? (cassette_state)CASSETTE_MOTOR_DISABLED : (cassette_state)(CASSETTE_MOTOR_ENABLED | CASSETTE_PLAY), (cassette_state)CASSETTE_MOTOR_DISABLED ); -// break; -// } +// switch( machine().root_device().ioport("CONTROLLERS")->read() % CATEGORY_SELECT ) +// { +// case 0x0a: /* KidVid voice module */ +// machine().device<cassette_image_device>(CASSETTE_TAG)->change_state(( data & 0x02 ) ? (cassette_state)CASSETTE_MOTOR_DISABLED : (cassette_state)(CASSETTE_MOTOR_ENABLED | CASSETTE_PLAY), (cassette_state)CASSETTE_MOTOR_DISABLED ); +// break; +// } } READ8_MEMBER(a2600_state::switch_A_r) diff --git a/src/mess/drivers/a7800.c b/src/mess/drivers/a7800.c index bdffbeded0f..837ed863fd8 100644 --- a/src/mess/drivers/a7800.c +++ b/src/mess/drivers/a7800.c @@ -9,11 +9,11 @@ 2002/05/13 kubecj added more banks for bankswitching added PAL machine description changed clock to be precise - - 2012/10/25 Robert Tuccitto NTSC Color Generator utilized for - color palette with hue shift/start - based on observation of several - systems across multiple displays + + 2012/10/25 Robert Tuccitto NTSC Color Generator utilized for + color palette with hue shift/start + based on observation of several + systems across multiple displays ***************************************************************************/ diff --git a/src/mess/drivers/amiga.c b/src/mess/drivers/amiga.c index 4fd6b4a41ed..d74e9bfe3d1 100644 --- a/src/mess/drivers/amiga.c +++ b/src/mess/drivers/amiga.c @@ -178,7 +178,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( amiga_mem32, AS_PROGRAM, 32, a1200_state ) ADDRESS_MAP_UNMAP_HIGH -// ADDRESS_MAP_GLOBAL_MASK(0xffffff) // not sure +// ADDRESS_MAP_GLOBAL_MASK(0xffffff) // not sure AM_RANGE(0x000000, 0x1fffff) AM_RAMBANK("bank1") AM_SHARE("chip_ram") AM_RANGE(0xbfd000, 0xbfefff) AM_READWRITE16_LEGACY(amiga_cia_r, amiga_cia_w, 0xffffffff) AM_RANGE(0xc00000, 0xdfffff) AM_READWRITE16_LEGACY(amiga_custom_r, amiga_custom_w, 0xffffffff) AM_SHARE("custom_regs") @@ -862,7 +862,7 @@ static MACHINE_CONFIG_START( a1200n, a1200_state ) MCFG_SOFTWARE_LIST_ADD("flop_common","amiga_flop") MCFG_SOFTWARE_LIST_ADD("flop_list","amiga1200_flop") MCFG_SOFTWARE_LIST_ADD("flop_aga","amigaaga_flop") - + MACHINE_CONFIG_END @@ -1226,7 +1226,7 @@ ROM_START( a600 ) // from A600HD (had HDD by default) ROM_SYSTEM_BIOS(1, "kick205a", "Kickstart 2.05 (37.300)") - ROMX_LOAD("kickstart v2.05 r37.300 (1991)(commodore)(a600hd).rom", 0x000000, 0x080000, CRC(64466c2a) SHA1(f72d89148dac39c696e30b10859ebc859226637b), ROM_GROUPWORD | ROM_BIOS(1)) + ROMX_LOAD("kickstart v2.05 r37.300 (1991)(commodore)(a600hd).rom", 0x000000, 0x080000, CRC(64466c2a) SHA1(f72d89148dac39c696e30b10859ebc859226637b), ROM_GROUPWORD | ROM_BIOS(1)) ROM_SYSTEM_BIOS(2, "kick205b", "Kickstart 2.05 (37.300)") ROMX_LOAD("kickstart v2.05 r37.350 (1992)(commodore)(a600hd)[!].rom", 0x000000, 0x080000, CRC(43b0df7b) SHA1(02843c4253bbd29aba535b0aa3bd9a85034ecde4), ROM_GROUPWORD | ROM_BIOS(2)) @@ -1248,7 +1248,7 @@ ROM_START( a1200 ) ROM_SYSTEM_BIOS(0, "kick30", "Kickstart 3.0 (39.106)") ROMX_LOAD("391523-01.u6a", 0x000000, 0x040000, CRC(c742a412) SHA1(999eb81c65dfd07a71ee19315d99c7eb858ab186), ROM_GROUPWORD | ROM_REVERSE | ROM_SKIP(2) | ROM_BIOS(1)) ROMX_LOAD("391524-01.u6b", 0x000002, 0x040000, CRC(d55c6ec6) SHA1(3341108d3a402882b5ef9d3b242cbf3c8ab1a3e9), ROM_GROUPWORD | ROM_REVERSE | ROM_SKIP(2) | ROM_BIOS(1)) -// ROMX_LOAD("kickstart v3.0 r39.106 (1992)(commodore)(a1200)[!].rom", 0x000000, 0x080000, CRC(6c9b07d2) SHA1(70033828182fffc7ed106e5373a8b89dda76faa5), ROM_BIOS(1)) +// ROMX_LOAD("kickstart v3.0 r39.106 (1992)(commodore)(a1200)[!].rom", 0x000000, 0x080000, CRC(6c9b07d2) SHA1(70033828182fffc7ed106e5373a8b89dda76faa5), ROM_BIOS(1)) ROM_SYSTEM_BIOS(1, "kick31", "Kickstart 3.1 (40.068)") ROMX_LOAD("391773-01.u6a", 0x000000, 0x040000, CRC(08dbf275) SHA1(b8800f5f909298109ea69690b1b8523fa22ddb37), ROM_GROUPWORD | ROM_REVERSE | ROM_SKIP(2) | ROM_BIOS(2)) @@ -1328,10 +1328,10 @@ COMP( 1991, a500pln, a500pl, 0, a500plsn, amiga, amiga_state, amiga, "Co COMP( 1992, a600, 0, 0, a600, amiga, amiga_state, amiga, "Commodore Business Machines", "Amiga 600 (PAL, ECS)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS ) COMP( 1992, a600n, a600, 0, a600n, amiga, amiga_state, amiga, "Commodore Business Machines", "Amiga 600 (NTSC, ECS)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS ) -COMP( 1992, a1200, 0, 0, a1200, amiga, a1200_state,a1200, "Commodore Business Machines", "Amiga 1200 (PAL, AGA)" , GAME_NOT_WORKING ) +COMP( 1992, a1200, 0, 0, a1200, amiga, a1200_state,a1200, "Commodore Business Machines", "Amiga 1200 (PAL, AGA)" , GAME_NOT_WORKING ) COMP( 1992, a1200n, a1200, 0, a1200n, amiga, a1200_state,a1200, "Commodore Business Machines", "Amiga 1200 (NTSC, AGA)" , GAME_NOT_WORKING ) -COMP( 1992, a3000, 0, 0, a3000, amiga, amiga_state, a3000, "Commodore Business Machines", "Amiga 3000 (PAL, ECS, 68030)" , GAME_NOT_WORKING ) +COMP( 1992, a3000, 0, 0, a3000, amiga, amiga_state, a3000, "Commodore Business Machines", "Amiga 3000 (PAL, ECS, 68030)" , GAME_NOT_WORKING ) COMP( 1992, a3000n, a3000, 0, a3000n, amiga, amiga_state, a3000, "Commodore Business Machines", "Amiga 3000 (NTSC, ECS, 68030)" , GAME_NOT_WORKING ) diff --git a/src/mess/drivers/b2m.c b/src/mess/drivers/b2m.c index dd08da6c0cb..d2bff593ad3 100644 --- a/src/mess/drivers/b2m.c +++ b/src/mess/drivers/b2m.c @@ -175,12 +175,12 @@ static INPUT_PORTS_START( b2m ) INPUT_PORTS_END /* static LEGACY_FLOPPY_OPTIONS_START(b2m) - LEGACY_FLOPPY_OPTION(b2m, "cpm", "Bashkiria-2M disk image", basicdsk_identify_default, basicdsk_construct_default, NULL, - HEADS([2]) - TRACKS([80]) - SECTORS([5]) - SECTOR_LENGTH([1024]) - FIRST_SECTOR_ID([1])) + LEGACY_FLOPPY_OPTION(b2m, "cpm", "Bashkiria-2M disk image", basicdsk_identify_default, basicdsk_construct_default, NULL, + HEADS([2]) + TRACKS([80]) + SECTORS([5]) + SECTOR_LENGTH([1024]) + FIRST_SECTOR_ID([1])) LEGACY_FLOPPY_OPTIONS_END */ diff --git a/src/mess/drivers/c128.c b/src/mess/drivers/c128.c index fcd3ffc39c3..223c81223b5 100644 --- a/src/mess/drivers/c128.c +++ b/src/mess/drivers/c128.c @@ -3,7 +3,7 @@ TODO: - connect CAPS LOCK to charom A12 on international variants - - DCR models won't boot with 1571CR drive + - DCR models won't boot with 1571CR drive - fix fast serial - remove frame interrupt handler - expansion DMA @@ -957,7 +957,7 @@ WRITE8_MEMBER( c128_state::cia1_pb_w ) */ - m_vic->lp_w(BIT(data, 4)); + m_vic->lp_w(BIT(data, 4)); } WRITE_LINE_MEMBER( c128_state::cia1_cnt_w ) @@ -1055,7 +1055,7 @@ WRITE8_MEMBER( c128_state::cia2_pa_w ) m_iec->atn_w(!BIT(data, 3)); m_iec->clk_w(!BIT(data, 4)); m_iec_data_out = BIT(data, 5); - + update_iec(); } @@ -1085,10 +1085,10 @@ READ8_MEMBER( c128_state::cpu_r) P0 1 P1 1 P2 1 - P3 - P4 CASS SENSE - P5 - P6 CAPS LOCK + P3 + P4 CASS SENSE + P5 + P6 CAPS LOCK */ @@ -1693,12 +1693,12 @@ ROM_END ROM_START( c128cr ) /* C128CR prototype, owned by Bo Zimmers - PCB markings: "COMMODORE 128CR REV.3 // PCB NO.252270" and "PCB ASSY NO.250783" - Sticker on rom cart shield: "C128CR No.2 // ENG. SAMPLE // Jun/9/'86 KNT" - 3 ROMs (combined basic, combined c64/kernal, plain character rom) - 6526A-1 CIAs - ?prototype? 2568R1X VDC w/ 1186 datecode - */ + PCB markings: "COMMODORE 128CR REV.3 // PCB NO.252270" and "PCB ASSY NO.250783" + Sticker on rom cart shield: "C128CR No.2 // ENG. SAMPLE // Jun/9/'86 KNT" + 3 ROMs (combined basic, combined c64/kernal, plain character rom) + 6526A-1 CIAs + ?prototype? 2568R1X VDC w/ 1186 datecode + */ ROM_REGION( 0x10000, M8502_TAG, 0 ) ROM_LOAD( "252343-03.u34", 0x4000, 0x8000, CRC(bc07ed87) SHA1(0eec437994a3f2212343a712847213a8a39f4a7b) ) // "252343-03 // U34" ROM_LOAD( "252343-04.u32", 0x0000, 0x4000, CRC(cc6bdb69) SHA1(36286b2e8bea79f7767639fd85e12c5447c7041b) ) // "252343-04 // US // U32" diff --git a/src/mess/drivers/c64.c b/src/mess/drivers/c64.c index acc52df8c82..39657f56837 100644 --- a/src/mess/drivers/c64.c +++ b/src/mess/drivers/c64.c @@ -80,7 +80,7 @@ void c64_state::read_pla(offs_t offset, offs_t va, int rw, int aec, int ba, int int exrom = m_exp->exrom_r(offset, sphi2, ba, rw, m_hiram); int cas = 0; - UINT32 input = VA12 << 15 | VA13 << 14 | game << 13 | exrom << 12 | rw << 11 | aec << 10 | ba << 9 | A12 << 8 | + UINT32 input = VA12 << 15 | VA13 << 14 | game << 13 | exrom << 12 | rw << 11 | aec << 10 | ba << 9 | A12 << 8 | A13 << 7 | A14 << 6 | A15 << 5 | m_va14 << 4 | m_charen << 3 | m_hiram << 2 | m_loram << 1 | cas; UINT32 data = m_pla->read(input); @@ -195,7 +195,7 @@ void c64_state::write_memory(address_space &space, offs_t offset, UINT8 data, in int sphi2 = m_vic->phi0_r(); read_pla(offset, va, rw, !aec, ba, &casram, &basic, &kernal, &charom, &grw, &io, &roml, &romh); - + if (offset < 0x0002) { // write to internal CPU register @@ -259,7 +259,7 @@ READ8_MEMBER( c64_state::read ) // VIC address bus is floating offs_t va = 0x3fff; - + return read_memory(space, offset, va, aec, ba); } @@ -271,7 +271,7 @@ READ8_MEMBER( c64_state::read ) WRITE8_MEMBER( c64_state::write ) { int aec = 1, ba = 1; - + write_memory(space, offset, data, aec, ba); } @@ -287,7 +287,7 @@ READ8_MEMBER( c64_state::vic_videoram_r ) // A15/A14 are not connected to VIC so they are floating offset |= 0xc000; - + return read_memory(space, offset, va, aec, ba); } diff --git a/src/mess/drivers/cbm2.c b/src/mess/drivers/cbm2.c index 5cf4f76ecc8..0a0a70f5e3f 100644 --- a/src/mess/drivers/cbm2.c +++ b/src/mess/drivers/cbm2.c @@ -2,7 +2,7 @@ TODO: - - 8088 board + - 8088 board - CIA timers fail in burn-in test - NTSC variants unable to load from disk - shift lock @@ -291,7 +291,7 @@ WRITE8_MEMBER( cbm2_state::write ) } if (!extbufcs && m_extbuf_ram) { - m_extbuf_ram[offset & 0x7ff] = data; + m_extbuf_ram[offset & 0x7ff] = data; } if (!vidramcs) { @@ -334,7 +334,7 @@ WRITE8_MEMBER( cbm2_state::write ) } m_exp->write(space, offset & 0x1fff, data, csbank1, csbank2, csbank3); - } + } } @@ -411,7 +411,7 @@ void p500_state::read_pla1(offs_t offset, int busy2, int clrnibcsb, int procvid, { int sphi2 = m_vic->phi0_r(); int bras = 1; - + UINT32 input = P0 << 15 | P2 << 14 | bras << 13 | P1 << 12 | P3 << 11 | busy2 << 10 | m_statvid << 9 | sphi2 << 8 | clrnibcsb << 7 | m_dramon << 6 | procvid << 5 | refen << 4 | m_vicdotsel << 3 | ba << 2 | aec << 1 | srw; @@ -757,7 +757,7 @@ READ8_MEMBER( p500_state::vic_videoram_r ) &cs1, &sidcs, &extprtcs, &ciacs, &aciacs, &tript1cs, &tript2cs, &aec, &vsysaden); UINT8 data = 0xff; -// UINT8 clrnib = 0xf; +// UINT8 clrnib = 0xf; if (vsysaden) { @@ -765,10 +765,10 @@ READ8_MEMBER( p500_state::vic_videoram_r ) { data = m_ram->pointer()[(m_vicbnksel << 14) | offset]; } -/* if (!clrnibcs) - { - clrnib = m_color_ram[offset & 0x3ff]; - }*/ +/* if (!clrnibcs) + { + clrnib = m_color_ram[offset & 0x3ff]; + }*/ if (!vidmatcs) { data = m_video_ram[offset & 0x3ff]; @@ -1740,19 +1740,19 @@ static pic8259_interface ext_pic_intf = READ8_MEMBER( cbm2_state::ext_tpi_pb_r ) { /* - - bit description - - 0 _BUSY1 - 1 CIA PB1 - 2 CIA PB2 - 3 CIA PB3 - 4 CIA PB4 - 5 CIA PB5 - 6 1 - 7 1 - - */ + + bit description + + 0 _BUSY1 + 1 CIA PB1 + 2 CIA PB2 + 3 CIA PB3 + 4 CIA PB4 + 5 CIA PB5 + 6 1 + 7 1 + + */ UINT8 data = 0xc0; @@ -1768,19 +1768,19 @@ READ8_MEMBER( cbm2_state::ext_tpi_pb_r ) WRITE8_MEMBER( cbm2_state::ext_tpi_pb_w ) { /* - - bit description - - 0 U22B CL - 1 - 2 - 3 - 4 - 5 - 6 CIA FLAG - 7 - - */ + + bit description + + 0 U22B CL + 1 + 2 + 3 + 4 + 5 + 6 CIA FLAG + 7 + + */ // _BUSY2 if (!BIT(data, 0)) @@ -1795,19 +1795,19 @@ WRITE8_MEMBER( cbm2_state::ext_tpi_pb_w ) WRITE8_MEMBER( cbm2_state::ext_tpi_pc_w ) { /* - - bit description - - 0 - 1 - 2 - 3 - 4 - 5 U22 CLK - 6 - 7 - - */ + + bit description + + 0 + 1 + 2 + 3 + 4 + 5 U22 CLK + 6 + 7 + + */ } static const tpi6525_interface ext_tpi_intf = @@ -1831,19 +1831,19 @@ static const tpi6525_interface ext_tpi_intf = READ8_MEMBER( cbm2_state::ext_cia_pb_r ) { /* - - bit description - - 0 _BUSY1 - 1 TPI PB1 - 2 TPI PB2 - 3 TPI PB3 - 4 TPI PB4 - 5 TPI PB5 - 6 1 - 7 1 - - */ + + bit description + + 0 _BUSY1 + 1 TPI PB1 + 2 TPI PB2 + 3 TPI PB3 + 4 TPI PB4 + 5 TPI PB5 + 6 1 + 7 1 + + */ UINT8 data = 0xc0; @@ -1859,19 +1859,19 @@ READ8_MEMBER( cbm2_state::ext_cia_pb_r ) WRITE8_MEMBER( cbm2_state::ext_cia_pb_w ) { /* - - bit description - - 0 U22B CL - 1 - 2 - 3 - 4 - 5 - 6 PIC IR0, U29B CL, U22B PR - 7 PIC IR7 - - */ + + bit description + + 0 U22B CL + 1 + 2 + 3 + 4 + 5 + 6 PIC IR0, U29B CL, U22B PR + 7 PIC IR7 + + */ // _BUSY2 if (!BIT(data, 0)) diff --git a/src/mess/drivers/craft.c b/src/mess/drivers/craft.c index 8d392bfccf1..7fcb1b741a7 100644 --- a/src/mess/drivers/craft.c +++ b/src/mess/drivers/craft.c @@ -29,10 +29,10 @@ INLINE void verboselog(running_machine &machine, int n_level, const char *s_fmt, #define verboselog(x,y,z,...) #endif -#define MASTER_CLOCK 20000000 +#define MASTER_CLOCK 20000000 -#define VISIBLE_CYCLES 480 -#define HSYNC_CYCLES 155 +#define VISIBLE_CYCLES 480 +#define HSYNC_CYCLES 155 #define LINE_CYCLES (VISIBLE_CYCLES + HSYNC_CYCLES) #define VISIBLE_LINES 480 #define VSYNC_LINES 45 @@ -209,14 +209,14 @@ static void avr8_change_port(running_machine &machine, int reg, UINT8 data) avr8_video_update(machine); /*if (frame_cycles >= state->spi_start_cycle && frame_cycles < (state->spi_start_cycle + 16)) - { - UINT8 bitidx = 7 - ((frame_cycles - state->spi_start_cycle) >> 1); - state->m_pixels[frame_cycles] = ((state->m_regs[AVR8_REGIDX_SPDR] & (1 << bitidx)) ? 0x3f : (data & 0x3f)); - } - else - { - state->m_pixels[frame_cycles] = data & 0x3f; - }*/ + { + UINT8 bitidx = 7 - ((frame_cycles - state->spi_start_cycle) >> 1); + state->m_pixels[frame_cycles] = ((state->m_regs[AVR8_REGIDX_SPDR] & (1 << bitidx)) ? 0x3f : (data & 0x3f)); + } + else + { + state->m_pixels[frame_cycles] = data & 0x3f; + }*/ AVR8_PORTC = data; } diff --git a/src/mess/drivers/hp9k.c b/src/mess/drivers/hp9k.c index 4aff5fcf75b..d8c8a84f6bc 100644 --- a/src/mess/drivers/hp9k.c +++ b/src/mess/drivers/hp9k.c @@ -31,7 +31,7 @@ xxxxxx-ffffff - system RAM === -TODO: boot tests fail +TODO: boot tests fail ****************************************************************************/ @@ -53,12 +53,12 @@ static UINT8 prom16a[256] = { 0x00, // 256 bytes idprom '2', '0', '1', '0', 'A', '0', '0', '0', '0', '0', '0', // serial in ascii DDDDCSSSSSS date code, country, serial number '9', '8', '1', '6', 'A', ' ', ' ', // product number - 0xff, // 8 bits processor board config + 0xff, // 8 bits processor board config 0x01, // keyboard 98203B 0x02, // CRT alpha see crtid for monitor 0x03, // HP-IB 0x04, // Graphics - 0xff, // end + 0xff, // end 0xff, 0xff, 0xff, @@ -113,10 +113,10 @@ private: int crtc_curreg; int crtc_addrStartHi; int crtc_addrStartLow; - + void calc_prom_crc(UINT8* prom); void putChar(UINT8 thec,int x,int y,bitmap_ind16 &bitmap); - + public: hp9k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), @@ -136,7 +136,7 @@ public: required_device<cpu_device> m_maincpu; //required_device<device_t> m_terminal; required_device<mc6845_device> m_6845; - + UINT8 m_videoram[0x4000]; UINT8 m_screen[0x800]; @@ -168,18 +168,18 @@ void hp9k_state::calc_prom_crc(UINT8* prom) { int chksum; int i; - + chksum = 0; - for (i=0; i < 256; i+=2) + for (i=0; i < 256; i+=2) { chksum += ((prom[i] << 8) | prom[i+1]); if (chksum&0x10000) chksum++; chksum&=0xffff; } - + chksum=(chksum+1)&0xffff; - - if (chksum!=0) + + if (chksum!=0) { chksum=(0x10000-chksum); prom[0]=(UINT8)(chksum>>8); @@ -268,7 +268,7 @@ WRITE16_MEMBER( hp9k_state::hp9k_videoram_w ) else { //printf("videoram write [%x] at [%x]\n",data,offset); - + if (mem_mask==0xff00) { m_screen[offset&0x7ff]=data>>8; @@ -346,7 +346,7 @@ GFXDECODE_END void hp9k_state::putChar(UINT8 thec,int x,int y,bitmap_ind16 &bitmap) { const UINT8* pchar=machine().gfx[0]->get_data(thec); - + for (int py=0;py<HP9816_CHDIMY;py++) { for (int px=0;px<HP9816_CHDIMX;px++) @@ -375,7 +375,7 @@ UINT32 hp9k_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, co chStart++; } } - + //putChar(0x44,0,0,pscr); return 0; } @@ -416,7 +416,7 @@ static MACHINE_CONFIG_START( hp9k, hp9k_state ) MCFG_GFXDECODE(hp9k) MCFG_PALETTE_LENGTH(2) MCFG_PALETTE_INIT(black_and_white) - + MCFG_MC6845_ADD( "mc6845", MC6845, XTAL_16MHz / 16, hp9k_mc6845_intf ) MACHINE_CONFIG_END @@ -429,7 +429,7 @@ ROM_START( hp9816 ) ROMX_LOAD( "rom40.bin", 0x0000, 0x10000, CRC(36005480) SHA1(645a077ffd95e4c31f05cd8bbd6e4554b12813f1), ROM_BIOS(1) ) ROM_SYSTEM_BIOS(1, "bios30", "Bios v3.0") ROMX_LOAD( "rom30.bin", 0x0000, 0x10000, CRC(05c07e75) SHA1(3066a65e6137482041f9a77d09ee2289fe0974aa), ROM_BIOS(2) ) - + ROM_END /* Driver */ diff --git a/src/mess/drivers/mac.c b/src/mess/drivers/mac.c index 74ea910e363..20d721259e1 100644 --- a/src/mess/drivers/mac.c +++ b/src/mess/drivers/mac.c @@ -33,13 +33,13 @@ SCC: PB_EXT from mouse Y circuitry PA_EXT from mouse X circuitry - + NOTES: - pmac6100: with recent PPC fixes now gets into the 68000 emulator and executes part of the 680x0 startup code. 'g 6802c73c' to get to the interesting part (wait past the boot chime). PPC register r24 is the 68000 PC. when the PC hits GetCPUID, the move.l (a2), d0 at PC = 0x10000 will cause an MMU fault (jump to 0xFFF00300). why? a2 = 0x5ffffffc (the CPU ID register). MMU is unable to resolve this; defect in the MMU emulation probable. - + ****************************************************************************/ diff --git a/src/mess/drivers/plus4.c b/src/mess/drivers/plus4.c index 771bc8d7a53..5e85aa4f4c3 100644 --- a/src/mess/drivers/plus4.c +++ b/src/mess/drivers/plus4.c @@ -849,7 +849,7 @@ void plus4_state::machine_start() { m_c2 = memregion("c2")->base(); } - + // initialize memory UINT8 data = 0xff; diff --git a/src/mess/drivers/prof180x.c b/src/mess/drivers/prof180x.c index 612b04b11ac..05af6d84202 100644 --- a/src/mess/drivers/prof180x.c +++ b/src/mess/drivers/prof180x.c @@ -173,7 +173,7 @@ static ADDRESS_MAP_START( prof180x_io , AS_IO, 8, prof180x_state ) AM_RANGE(0x09, 0x09) AM_MASK(0xff00) AM_READ(status_r) // Seriously? -// AM_RANGE(0x0a, 0x0a) AM_MIRROR(0xff00) AM_DEVREADWRITE_LEGACY(FDC9268_TAG, upd765_dack_r, upd765_dack_w) +// AM_RANGE(0x0a, 0x0a) AM_MIRROR(0xff00) AM_DEVREADWRITE_LEGACY(FDC9268_TAG, upd765_dack_r, upd765_dack_w) AM_RANGE(0x0b, 0x0b) AM_MIRROR(0xff00) AM_DEVWRITE(CENTRONICS_TAG, centronics_device, write) AM_RANGE(0x0c, 0x0d) AM_MIRROR(0xff00) AM_DEVICE(FDC9268_TAG, upd765a_device, map) ADDRESS_MAP_END diff --git a/src/mess/drivers/spectrum.c b/src/mess/drivers/spectrum.c index f0cc7df8b28..5b22d3dc0f6 100644 --- a/src/mess/drivers/spectrum.c +++ b/src/mess/drivers/spectrum.c @@ -116,8 +116,8 @@ xx/xx/2001 KS - TS-2068 sound fixed. completly messed timings. 25/10/2012 DH - simplified border emulation to be a (manual) partial update with bitmap - Removed legacy fff4 interrupt hack, modern version of - MAME can handle this just fine + Removed legacy fff4 interrupt hack, modern version of + MAME can handle this just fine Initialisation values used when determining which model is being emulated: 48K Spectrum doesn't use either port. diff --git a/src/mess/includes/c128.h b/src/mess/includes/c128.h index b2ac236d9f0..67845e357af 100644 --- a/src/mess/includes/c128.h +++ b/src/mess/includes/c128.h @@ -109,7 +109,7 @@ public: inline void check_interrupts(); void read_pla(offs_t offset, offs_t ca, offs_t vma, int ba, int rw, int aec, int z80io, int ms3, int ms2, int ms1, int ms0, - int *sden, int *dir, int *gwe, int *rom1, int *rom2, int *rom3, int *rom4, int *charom, int *colorram, int *vic, + int *sden, int *dir, int *gwe, int *rom1, int *rom2, int *rom3, int *rom4, int *charom, int *colorram, int *vic, int *from1, int *romh, int *roml, int *dwe, int *ioacc, int *clrbank, int *iocs, int *casenb); UINT8 read_memory(address_space &space, offs_t offset, offs_t vma, int ba, int aec, int z80io); void write_memory(address_space &space, offs_t offset, offs_t vma, UINT8 data, int ba, int aec, int z80io); @@ -133,7 +133,7 @@ public: INTERRUPT_GEN_MEMBER( frame_interrupt ); DECLARE_WRITE_LINE_MEMBER( vic_irq_w ); DECLARE_WRITE8_MEMBER( vic_k_w ); - + DECLARE_READ8_MEMBER( sid_potx_r ); DECLARE_READ8_MEMBER( sid_poty_r ); diff --git a/src/mess/includes/fidelz80.h b/src/mess/includes/fidelz80.h index 5b1db4139f9..c59bcb02fed 100644 --- a/src/mess/includes/fidelz80.h +++ b/src/mess/includes/fidelz80.h @@ -66,7 +66,7 @@ public: DECLARE_INPUT_CHANGED_MEMBER(fidelz80_trigger_reset); DECLARE_INPUT_CHANGED_MEMBER(abc_trigger_reset); TIMER_DEVICE_CALLBACK_MEMBER(nmi_timer); - + DECLARE_WRITE8_MEMBER(digit_w); }; diff --git a/src/mess/includes/samcoupe.h b/src/mess/includes/samcoupe.h index 8b2cb1a2a7c..b59cb878aa1 100644 --- a/src/mess/includes/samcoupe.h +++ b/src/mess/includes/samcoupe.h @@ -44,7 +44,7 @@ public: sam_bank_read_ptr[2] = NULL; sam_bank_write_ptr[2] = NULL; sam_bank_read_ptr[3] = NULL; - sam_bank_write_ptr[3] = NULL; + sam_bank_write_ptr[3] = NULL; } virtual void video_start(); diff --git a/src/mess/machine/64h156.c b/src/mess/machine/64h156.c index a14caf4bc30..289358a4a0f 100644 --- a/src/mess/machine/64h156.c +++ b/src/mess/machine/64h156.c @@ -658,7 +658,7 @@ void c64h156_device::stp_w(int data) { int track = floppy_drive_get_current_track(m_image); int tracks = (data - track) & 0x03; - + if (tracks == 3) { tracks = -1; diff --git a/src/mess/machine/b2m.c b/src/mess/machine/b2m.c index 3ce0f9ee7c8..fe8fcc05869 100644 --- a/src/mess/machine/b2m.c +++ b/src/mess/machine/b2m.c @@ -206,7 +206,7 @@ WRITE8_MEMBER(b2m_state::b2m_ext_8255_portc_w) { UINT8 drive = ((data >> 1) & 1) ^ 1; UINT8 side = (data & 1) ^ 1; - + static const char *names[] = { "fd0", "fd1"}; floppy_image_device *floppy = NULL; floppy_connector *con = machine().device<floppy_connector>(names[drive]); @@ -219,7 +219,7 @@ WRITE8_MEMBER(b2m_state::b2m_ext_8255_portc_w) m_b2m_drive = drive; } floppy->ss_w(side); - if (m_b2m_side!=side) { + if (m_b2m_side!=side) { m_b2m_side = side; } } diff --git a/src/mess/machine/c128_comal80.c b/src/mess/machine/c128_comal80.c index ff1ee6c793d..171882e13c7 100644 --- a/src/mess/machine/c128_comal80.c +++ b/src/mess/machine/c128_comal80.c @@ -94,7 +94,7 @@ void c128_comal80_cartridge_device::c64_cd_w(address_space &space, offs_t offset 4 A14 5 A15 6 A16 - 7 A17 + 7 A17 */ diff --git a/src/mess/machine/c8280.c b/src/mess/machine/c8280.c index b37b6c602dc..25cd345de3a 100644 --- a/src/mess/machine/c8280.c +++ b/src/mess/machine/c8280.c @@ -313,7 +313,7 @@ static const floppy_interface c8280_floppy_interface = NULL }; -static struct wd17xx_interface fdc_intf = +static struct wd17xx_interface fdc_intf = { DEVCB_NULL, DEVCB_CPU_INPUT_LINE(M6502_FDC_TAG, M6502_IRQ_LINE), @@ -407,7 +407,7 @@ void c8280_device::device_start() // state saving save_item(NAME(m_rfdo)); save_item(NAME(m_daco)); - save_item(NAME(m_atna)); + save_item(NAME(m_atna)); save_item(NAME(m_fk5)); } @@ -467,19 +467,19 @@ void c8280_device::ieee488_ifc(int state) READ8_MEMBER( c8280_device::fk5_r ) { /* - - bit description - - 0 DS1 - 1 DS2 - 2 _DDEN - 3 DCHG - 4 TSID - 5 MOTOR ENABLE - 6 0 - 7 0 - - */ + + bit description + + 0 DS1 + 1 DS2 + 2 _DDEN + 3 DCHG + 4 TSID + 5 MOTOR ENABLE + 6 0 + 7 0 + + */ UINT8 data = m_fk5; @@ -500,19 +500,19 @@ READ8_MEMBER( c8280_device::fk5_r ) WRITE8_MEMBER( c8280_device::fk5_w ) { /* - - bit description - - 0 DS1 - 1 DS2 - 2 _DDEN - 3 - 4 - 5 MOTOR ENABLE - 6 - 7 - - */ + + bit description + + 0 DS1 + 1 DS2 + 2 _DDEN + 3 + 4 + 5 MOTOR ENABLE + 6 + 7 + + */ m_fk5 = data & 0x3f; diff --git a/src/mess/machine/cbm2_graphic.c b/src/mess/machine/cbm2_graphic.c index cd627be3f4e..be129174c1c 100644 --- a/src/mess/machine/cbm2_graphic.c +++ b/src/mess/machine/cbm2_graphic.c @@ -43,7 +43,7 @@ const device_type CBM2_GRAPHIC = &device_creator<cbm2_graphic_cartridge_device>; /* static const ef9365_interface gdp_intf = { - SCREEN_TAG + SCREEN_TAG }; */ @@ -52,14 +52,14 @@ static const ef9365_interface gdp_intf = //------------------------------------------------- static MACHINE_CONFIG_FRAGMENT( cbm2_graphic_a ) -/* MCFG_SCREEN_ADD(SCREEN_TAG, RASTER) - MCFG_SCREEN_UPDATE_DEVICE(EF9365_TAG, ef9365_device, screen_update) - MCFG_SCREEN_SIZE(512, 512) - MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 512-1) - MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) - MCFG_SCREEN_REFRESH_RATE(50) - - MCFG_EF9365_ADD(EF9365_TAG, gdp_intf)*/ +/* MCFG_SCREEN_ADD(SCREEN_TAG, RASTER) + MCFG_SCREEN_UPDATE_DEVICE(EF9365_TAG, ef9365_device, screen_update) + MCFG_SCREEN_SIZE(512, 512) + MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 512-1) + MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) + MCFG_SCREEN_REFRESH_RATE(50) + + MCFG_EF9365_ADD(EF9365_TAG, gdp_intf)*/ MACHINE_CONFIG_END @@ -68,14 +68,14 @@ MACHINE_CONFIG_END //------------------------------------------------- static MACHINE_CONFIG_FRAGMENT( cbm2_graphic_b ) -/* MCFG_SCREEN_ADD(SCREEN_TAG, RASTER) - MCFG_SCREEN_UPDATE_DEVICE(EF9366_TAG, ef9366_device, screen_update) - MCFG_SCREEN_SIZE(512, 256) - MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1) - MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) - MCFG_SCREEN_REFRESH_RATE(50) - - MCFG_EF9366_ADD(EF9366_TAG, gdp_intf)*/ +/* MCFG_SCREEN_ADD(SCREEN_TAG, RASTER) + MCFG_SCREEN_UPDATE_DEVICE(EF9366_TAG, ef9366_device, screen_update) + MCFG_SCREEN_SIZE(512, 256) + MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 0, 256-1) + MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) + MCFG_SCREEN_REFRESH_RATE(50) + + MCFG_EF9366_ADD(EF9366_TAG, gdp_intf)*/ MACHINE_CONFIG_END diff --git a/src/mess/machine/isa_ide.c b/src/mess/machine/isa_ide.c index b3459bc35ed..1f24045fa67 100644 --- a/src/mess/machine/isa_ide.c +++ b/src/mess/machine/isa_ide.c @@ -36,7 +36,7 @@ WRITE_LINE_MEMBER(isa16_ide_device::ide_interrupt) { m_isa->irq14_w(state); } - else + else { m_isa->irq15_w(state); } diff --git a/src/mess/machine/macadb.c b/src/mess/machine/macadb.c index 98c4791f222..3c9ec20b8f4 100644 --- a/src/mess/machine/macadb.c +++ b/src/mess/machine/macadb.c @@ -1,7 +1,7 @@ /*************************************************************************** macadb.c - handles various aspects of ADB on the Mac. - + ***************************************************************************/ #include "emu.h" @@ -1254,14 +1254,14 @@ void mac_state::adb_linechange(int state, int dtime) } break; - case LST_BIT0: - case LST_BIT1: - case LST_BIT2: - case LST_BIT3: - case LST_BIT4: - case LST_BIT5: - case LST_BIT6: - case LST_BIT7: + case LST_BIT0: + case LST_BIT1: + case LST_BIT2: + case LST_BIT3: + case LST_BIT4: + case LST_BIT5: + case LST_BIT6: + case LST_BIT7: if (!state) { if (dtime >= 90) // "1" bit diff --git a/src/mess/machine/macrtc.c b/src/mess/machine/macrtc.c index bedb38ae137..691110a9264 100644 --- a/src/mess/machine/macrtc.c +++ b/src/mess/machine/macrtc.c @@ -2,11 +2,11 @@ macrtc.c - the real-time clock & NVRAM chip used in early 680x0 Macs, Apple part numbers 343-0040 (original) and 343-0042 (with extended PRAM) - + The IIgs has this chip also, but the VGC contains a relatively sophisticated logic block that offloads the low-level serial comms from the CPU, which makes it look quite different to software. - + ***************************************************************************/ #include "emu.h" diff --git a/src/mess/machine/macrtc.h b/src/mess/machine/macrtc.h index 6ae533916fa..6d53723c093 100644 --- a/src/mess/machine/macrtc.h +++ b/src/mess/machine/macrtc.h @@ -29,7 +29,7 @@ // ======================> rtc3430042_device class rtc3430042_device : public device_t, - public device_rtc_interface, + public device_rtc_interface, public device_nvram_interface { public: diff --git a/src/mess/machine/mos8722.c b/src/mess/machine/mos8722.c index ca3d17735fa..9b301f000b6 100644 --- a/src/mess/machine/mos8722.c +++ b/src/mess/machine/mos8722.c @@ -258,7 +258,7 @@ WRITE8_MEMBER( mos8722_device::write ) int fsdir = MCR_FSDIR; m_reg[MCR] = data; - + if (_8500 != MCR_8500) m_out_z80en_func(MCR_8500); if (fsdir != MCR_FSDIR) m_out_fsdir_func(MCR_FSDIR); break; diff --git a/src/mess/machine/rmnimbus.c b/src/mess/machine/rmnimbus.c index f7fa24c04b2..a38924e88cb 100644 --- a/src/mess/machine/rmnimbus.c +++ b/src/mess/machine/rmnimbus.c @@ -2987,18 +2987,18 @@ READ8_MEMBER(rmnimbus_state::nimbus_mouse_js_r) { /* - bit description - - 0 JOY 0-Up or mouse XB - 1 JOY 0-Down or mouse XA - 2 JOY 0-Left or mouse YA - 3 JOY 0-Right or mouse YB - 4 JOY 0-b0 or mouse rbutton - 5 JOY 0-b1 or mouse lbutton - 6 ?? always reads 1 - 7 ?? always reads 1 - - */ + bit description + + 0 JOY 0-Up or mouse XB + 1 JOY 0-Down or mouse XA + 2 JOY 0-Left or mouse YA + 3 JOY 0-Right or mouse YB + 4 JOY 0-b0 or mouse rbutton + 5 JOY 0-b1 or mouse lbutton + 6 ?? always reads 1 + 7 ?? always reads 1 + + */ UINT8 result; //int pc=machine().device(MAINCPU_TAG)->safe_pc(); mouse_joy_state *state = &m_nimbus_mouse; diff --git a/src/mess/machine/upd765.c b/src/mess/machine/upd765.c index ffdc0cb36fd..2b2733c72a4 100644 --- a/src/mess/machine/upd765.c +++ b/src/mess/machine/upd765.c @@ -444,7 +444,7 @@ void upd765_family_device::fifo_push(UINT8 data, bool internal) } fifo[fifo_pos++] = data; fifo_expected--; - + int thr = (fifocfg & FIF_THR)+1; if(!fifo_write && (!fifo_expected || fifo_pos >= thr || (fifocfg & FIF_DIS))) enable_transfer(); @@ -674,7 +674,7 @@ void upd765_family_device::live_run(attotime limit) if(cur_live.bit_counter & 15) break; int slot = (cur_live.bit_counter >> 4)-1; - + if(0) fprintf(stderr, "%s: slot=%d data=%02x crc=%04x\n", tts(cur_live.tm).cstr(), slot, cur_live.data_reg, cur_live.crc); cur_live.idbuf[slot] = cur_live.data_reg; @@ -910,7 +910,7 @@ void upd765_family_device::live_run(attotime limit) return; } break; - + default: logerror("%s: Unknown live state %d\n", tts(cur_live.tm).cstr(), cur_live.state); return; @@ -1623,7 +1623,7 @@ void upd765_family_device::read_track_continue(floppy_info &fi) case SCAN_ID_FAILED: fprintf(stderr, "RNF\n"); - // command_end(fi, true, 1); + // command_end(fi, true, 1); return; case SECTOR_READ: @@ -1645,7 +1645,7 @@ void upd765_family_device::read_track_continue(floppy_info &fi) result[5] = command[4]; result[6] = command[5]; result_pos = 7; - // command_end(fi, true, 0); + // command_end(fi, true, 0); return; default: @@ -1992,7 +1992,7 @@ bool upd765_family_device::write_one_bit(attotime limit) void upd765_family_device::live_write_raw(UINT16 raw) { - // logerror("write %04x %04x\n", raw, cur_live.crc); + // logerror("write %04x %04x\n", raw, cur_live.crc); cur_live.shift_reg = raw; cur_live.data_bit_context = raw & 1; } @@ -2012,7 +2012,7 @@ void upd765_family_device::live_write_mfm(UINT8 mfm) cur_live.data_reg = mfm; cur_live.shift_reg = raw; cur_live.data_bit_context = context; - // logerror("write %02x %04x %04x\n", mfm, cur_live.crc, raw); + // logerror("write %02x %04x %04x\n", mfm, cur_live.crc, raw); } bool upd765_family_device::sector_matches() const diff --git a/src/mess/machine/upd765.h b/src/mess/machine/upd765.h index e8dca14500d..2ccf44477b1 100644 --- a/src/mess/machine/upd765.h +++ b/src/mess/machine/upd765.h @@ -52,9 +52,9 @@ public: virtual void setup_drq_cb(line_cb cb) = 0; /* Note that the address map must cover and handle the whole 0-7 - * range. The upd765, while conforming to the rest of the - * interface, is not eligible as a result. - */ + * range. The upd765, while conforming to the rest of the + * interface, is not eligible as a result. + */ virtual DECLARE_ADDRESS_MAP(map, 8) = 0; @@ -168,7 +168,7 @@ protected: SPEC_ND = 0x0001, }; - + enum { // General "doing nothing" state IDLE, diff --git a/src/mess/machine/vcsctrl.h b/src/mess/machine/vcsctrl.h index ff9837d45aa..03351963d04 100644 --- a/src/mess/machine/vcsctrl.h +++ b/src/mess/machine/vcsctrl.h @@ -47,16 +47,16 @@ public: // computer interface - // Data returned by the joy_r methods: + // Data returned by the joy_r methods: // bit 0 - pin 1 - Up // bit 1 - pin 2 - Down // bit 2 - pin 3 - Left // bit 3 - pin 4 - Right - // bit 4 - pin 5 - + // bit 4 - pin 5 - // bit 5 - pin 6 - Button // pin 7 - +5V // pin 8 - GND - // bit 6 - pin 9 - + // bit 6 - pin 9 - // UINT8 joy_r(); DECLARE_READ8_MEMBER( joy_r ); diff --git a/src/mess/mess.lst b/src/mess/mess.lst index c4a3edab867..89513bf4d91 100644 --- a/src/mess/mess.lst +++ b/src/mess/mess.lst @@ -657,7 +657,7 @@ a600n // a3000 // Commodore Amiga 3000 a3000n // a1200 // Commodore Amiga 1200 -a1200n // +a1200n // cdtv // Commodore CDTV cd32 // Commodore Amiga CD32 diff --git a/src/mess/video/mos6566.c b/src/mess/video/mos6566.c index 1159fc149db..045166ae579 100644 --- a/src/mess/video/mos6566.c +++ b/src/mess/video/mos6566.c @@ -363,7 +363,7 @@ inline void mos6566_device::bad_line_ba() if (m_ba) { set_ba(CLEAR_LINE); - m_rdy_cycles += 55 - m_cycle; + m_rdy_cycles += 55 - m_cycle; } } else @@ -437,7 +437,7 @@ inline void mos6566_device::matrix_access() if (!m_ba && m_aec) { - m_matrix_line[m_ml_index] = 0xff; + m_matrix_line[m_ml_index] = 0xff; } else { @@ -1427,7 +1427,7 @@ void mos6566_device::execute_run() // Last cycle m_cycle = 1; } - + m_phi0 = 1; set_aec(BIT(m_aec_delay, 2)); @@ -1827,7 +1827,7 @@ void mos6569_device::execute_run() check_sprite_dma(); spr_ba(0); - + m_cycle++; break; @@ -1996,7 +1996,7 @@ void mos6569_device::execute_run() // Last cycle m_cycle = 1; } - + m_phi0 = 1; set_aec(BIT(m_aec_delay, 2)); @@ -2780,7 +2780,7 @@ WRITE8_MEMBER( mos6566_device::write ) { m_cpu->set_unscaled_clock(clock() << BIT(data, 0)); } - + m_reg[offset] = data | 0xfc; m_on = !BIT(data, 0); diff --git a/src/mess/video/mos6566.h b/src/mess/video/mos6566.h index 721c7fe47e7..612b8f18207 100644 --- a/src/mess/video/mos6566.h +++ b/src/mess/video/mos6566.h @@ -314,7 +314,7 @@ public: DECLARE_WRITE8_MEMBER( write ); DECLARE_WRITE_LINE_MEMBER( lp_w ); - + DECLARE_READ_LINE_MEMBER( phi0_r ); DECLARE_READ_LINE_MEMBER( ba_r ); DECLARE_READ_LINE_MEMBER( aec_r ); diff --git a/src/mess/video/nubus_m2video.c b/src/mess/video/nubus_m2video.c index b2a22ba76b8..c0175297191 100644 --- a/src/mess/video/nubus_m2video.c +++ b/src/mess/video/nubus_m2video.c @@ -1,7 +1,7 @@ /*************************************************************************** Apple Macintosh II Video Card (630-0153) emulation - + Video ASIC is "TFB" 344-0001 RAMDAC is Bt453: control at Fs09001C, data at Fs090018 Fs08000x is general framebuffer control (video mode at 0) diff --git a/src/mess/video/pds30_30hr.c b/src/mess/video/pds30_30hr.c index 9f35d8403ae..ae660f24483 100644 --- a/src/mess/video/pds30_30hr.c +++ b/src/mess/video/pds30_30hr.c @@ -1,14 +1,14 @@ /*************************************************************************** - Micron/XCEED Technologies Color 30HR - + Micron/XCEED Technologies Color 30HR + Fs800000 - Mode A FsA00000 - Mode B FsC00000 - RAMDAC write offset FsC00004 - RAMDAC write data FsC00008 - RAMDAC write mask FsC0000C - RAMDAC read offset - + ***************************************************************************/ #include "emu.h" diff --git a/src/mess/video/pds30_cb264.c b/src/mess/video/pds30_cb264.c index 2554e964e9a..ad5e4b07aa1 100644 --- a/src/mess/video/pds30_cb264.c +++ b/src/mess/video/pds30_cb264.c @@ -1,7 +1,7 @@ /*************************************************************************** RasterOps ColorBoard 264/SE30 video card emulation - + ***************************************************************************/ #include "emu.h" diff --git a/src/mess/video/pds30_mc30.c b/src/mess/video/pds30_mc30.c index 374dac51852..809681ce686 100644 --- a/src/mess/video/pds30_mc30.c +++ b/src/mess/video/pds30_mc30.c @@ -1,7 +1,7 @@ /*************************************************************************** Micron/XCEED Technologies MacroColor 30 - + Similar to the 30HR, but registers are rearranged and 24bpp support was added. @@ -25,7 +25,7 @@ MACHINE_CONFIG_END ROM_START( xceedmc30 ) ROM_REGION(0x8000, XCEEDMC30_ROM_REGION, 0) - ROM_LOAD( "0390.bin", 0x000000, 0x008000, CRC(adea7a18) SHA1(9141eb1a0e5061e0409d65a89b4eaeb119ee4ffb) ) + ROM_LOAD( "0390.bin", 0x000000, 0x008000, CRC(adea7a18) SHA1(9141eb1a0e5061e0409d65a89b4eaeb119ee4ffb) ) ROM_END //************************************************************************** diff --git a/src/mess/video/pds30_procolor816.c b/src/mess/video/pds30_procolor816.c index 4350c3ff9a6..59a1440f40c 100644 --- a/src/mess/video/pds30_procolor816.c +++ b/src/mess/video/pds30_procolor816.c @@ -1,13 +1,13 @@ /*************************************************************************** Lapis ProColor Server 8*16 video card - + FsFF6001: DAC color # (seems to have the data bits perfectly reversed) FsFF6003: DAC color write (not bitswapped) FsFF6017: Mode (13 = 1bpp, 17 = 2bpp, 1b = 4bpp, 1e = 8bpp, 0a = 15bpp) FsFF7000: Bit 2 is VBL IRQ enable/ack FsFF7001: Bit 0 is VBL status - + ***************************************************************************/ #include "emu.h" diff --git a/src/mess/video/pds30_sigmalview.c b/src/mess/video/pds30_sigmalview.c index b585e72eeec..406f4573c0a 100644 --- a/src/mess/video/pds30_sigmalview.c +++ b/src/mess/video/pds30_sigmalview.c @@ -1,7 +1,7 @@ /*************************************************************************** Sigma Designs L-View card - + ***************************************************************************/ #include "emu.h" @@ -22,7 +22,7 @@ MACHINE_CONFIG_END ROM_START( lview ) ROM_REGION(0x4000, LVIEW_ROM_REGION, 0) - ROM_LOAD( "lv_asi_4_00.bin", 0x000000, 0x004000, CRC(b806f875) SHA1(1e58593b1a8720193d1651b0d8a0d43e4e47563d) ) + ROM_LOAD( "lv_asi_4_00.bin", 0x000000, 0x004000, CRC(b806f875) SHA1(1e58593b1a8720193d1651b0d8a0d43e4e47563d) ) ROM_END //************************************************************************** diff --git a/src/mess/video/spectrum.c b/src/mess/video/spectrum.c index a7c8cf95ee5..3e522f5c10f 100644 --- a/src/mess/video/spectrum.c +++ b/src/mess/video/spectrum.c @@ -59,7 +59,7 @@ void spectrum_state::screen_eof_spectrum(screen_device &screen, bool state) if (state) { m_frame_number++; - + if (m_frame_number >= m_frame_invert_count) { m_frame_number = 0; @@ -110,7 +110,7 @@ UINT32 spectrum_state::screen_update_spectrum(screen_device &screen, bitmap_ind1 int x, y, b, scrx, scry; unsigned short ink, pap; unsigned char *attr, *scr; - // int full_refresh = 1; + // int full_refresh = 1; if (m_border_bitmap.valid()) copyscrollbitmap(bitmap, m_border_bitmap, 0, 0, 0, 0, cliprect); @@ -224,7 +224,7 @@ void spectrum_UpdateBorderBitmap(running_machine &machine) UINT16* bm = &state->m_border_bitmap.pix16(state->m_previous_border_y); if (state->m_previous_border_x < width) - bm[state->m_previous_border_x] = colour; + bm[state->m_previous_border_x] = colour; } spectrum_GetNextPos(machine, state->m_previous_border_x, state->m_previous_border_y); @@ -238,4 +238,4 @@ void spectrum_UpdateBorderBitmap(running_machine &machine) } -}
\ No newline at end of file +} diff --git a/src/mess/video/timex.c b/src/mess/video/timex.c index 11a297dc620..75c5ef95869 100644 --- a/src/mess/video/timex.c +++ b/src/mess/video/timex.c @@ -182,7 +182,7 @@ UINT32 spectrum_state::screen_update_ts2068(screen_device &screen, bitmap_ind16 { /* for now TS2068 will do a full-refresh */ int count; - + if (m_border_bitmap.valid()) copyscrollbitmap(bitmap, m_border_bitmap, 0, 0, 0, 0, cliprect); |
