diff options
Diffstat (limited to 'src/mess/video')
-rw-r--r-- | src/mess/video/bbc.c | 32 | ||||
-rw-r--r-- | src/mess/video/gb.c | 1 | ||||
-rw-r--r-- | src/mess/video/gime.c | 2 | ||||
-rw-r--r-- | src/mess/video/isa_cga.c | 2 | ||||
-rw-r--r-- | src/mess/video/isa_mda.c | 4 | ||||
-rw-r--r-- | src/mess/video/mbc55x.c | 2 | ||||
-rw-r--r-- | src/mess/video/mc6847.c | 18 | ||||
-rw-r--r-- | src/mess/video/mos6566.c | 8 | ||||
-rw-r--r-- | src/mess/video/pc_aga.c | 2 | ||||
-rw-r--r-- | src/mess/video/pc_t1t.c | 4 |
10 files changed, 37 insertions, 38 deletions
diff --git a/src/mess/video/bbc.c b/src/mess/video/bbc.c index 7637d666baf..10779db8bbb 100644 --- a/src/mess/video/bbc.c +++ b/src/mess/video/bbc.c @@ -283,7 +283,7 @@ WRITE_LINE_MEMBER(bbc_state::bbc_vsync) MC6845_INTERFACE( bbc_mc6845_intf ) { "screen", /* screen number */ - false, /* show border area */ + false, /* show border area */ 8, /* numbers of pixels per video memory address */ NULL, /* begin_update */ vid_update_row, /* update_row */ @@ -576,26 +576,26 @@ static void BBC_Set_CRE(running_machine &machine, int offset, int data) WRITE8_MEMBER(bbc_state::bbc_6845_w) { - switch(offset & 1) - { - case 0 : - m_mc6845->address_w(space,0,data); - break; - case 1 : - m_mc6845->register_w(space,0,data); - break; - } + switch(offset & 1) + { + case 0 : + m_mc6845->address_w(space,0,data); + break; + case 1 : + m_mc6845->register_w(space,0,data); + break; + } } READ8_HANDLER (bbc_6845_r) { - switch (offset&1) - { - case 0: return m_mc6845->status_r(space,0); break; - case 1: return m_mc6845->register_r(space,0); break; - } - return 0; + switch (offset&1) + { + case 0: return m_mc6845->status_r(space,0); break; + case 1: return m_mc6845->register_r(space,0); break; + } + return 0; } diff --git a/src/mess/video/gb.c b/src/mess/video/gb.c index 08feb0391fd..6ca83c7e09c 100644 --- a/src/mess/video/gb.c +++ b/src/mess/video/gb.c @@ -2362,4 +2362,3 @@ WRITE8_MEMBER(gb_state::gbc_video_w) m_lcd.gb_vid_regs[offset] = data; } - diff --git a/src/mess/video/gime.c b/src/mess/video/gime.c index 84b1a20177f..5affe1dff55 100644 --- a/src/mess/video/gime.c +++ b/src/mess/video/gime.c @@ -692,7 +692,7 @@ ATTR_FORCE_INLINE UINT8 gime_base_device::read_gime_register(offs_t offset) } break; - case 3: // read pending FIRQs + case 3: // read pending FIRQs result = m_firq; if (result != 0x00) { diff --git a/src/mess/video/isa_cga.c b/src/mess/video/isa_cga.c index 1efab27f111..718e118a8cb 100644 --- a/src/mess/video/isa_cga.c +++ b/src/mess/video/isa_cga.c @@ -607,7 +607,7 @@ static MC6845_UPDATE_ROW( cga_update_row ) static MC6845_INTERFACE( mc6845_cga_intf ) { CGA_SCREEN_NAME, /* screen number */ - false, /* show border area */ + false, /* show border area */ 8, /* numbers of pixels per video memory address */ NULL, /* begin_update */ cga_update_row, /* update_row */ diff --git a/src/mess/video/isa_mda.c b/src/mess/video/isa_mda.c index c50cb208313..a8d8d5f7f6f 100644 --- a/src/mess/video/isa_mda.c +++ b/src/mess/video/isa_mda.c @@ -78,7 +78,7 @@ GFXDECODE_END static MC6845_INTERFACE( mc6845_mda_intf ) { MDA_SCREEN_NAME, /* screen number */ - false, /* show border area */ + false, /* show border area */ 9, /* number of pixels per video memory address */ NULL, /* begin_update */ mda_update_row, /* update_row */ @@ -501,7 +501,7 @@ The divder/pixels per 6845 clock is 9 for text mode and 16 for graphics mode. static MC6845_INTERFACE( mc6845_hercules_intf ) { HERCULES_SCREEN_NAME, /* screen number */ - false, /* show border area */ + false, /* show border area */ 9, /* number of pixels per video memory address */ NULL, /* begin_update */ mda_update_row, /* update_row */ diff --git a/src/mess/video/mbc55x.c b/src/mess/video/mbc55x.c index 9c6efbac332..64bb0200c40 100644 --- a/src/mess/video/mbc55x.c +++ b/src/mess/video/mbc55x.c @@ -161,7 +161,7 @@ WRITE_LINE_MEMBER( mbc55x_state::vid_vsync_changed ) MC6845_INTERFACE( mb55x_mc6845_intf ) { SCREEN_TAG, /* screen number */ - false, /* show border area */ + false, /* show border area */ 8, /* numbers of pixels per video memory address */ NULL, /* begin_update */ vid_update_row, /* update_row */ diff --git a/src/mess/video/mc6847.c b/src/mess/video/mc6847.c index a2c9349965b..54f1dd4e745 100644 --- a/src/mess/video/mc6847.c +++ b/src/mess/video/mc6847.c @@ -58,12 +58,12 @@ assuming that the extra text modes on the CoCo 2B are activated by the GM2-0 pins. This needs to be confirmed. - The MC6847 datasheet states that a scanline is 227.5 clock cycles, - but experimentation suggests that it is 228. The game "Dragon Fire" - has a fine tuned loop that runs in 57 clock cycles by the CPU's - reckoning (228 actual clock cycles) and would not function correctly - if skew existed. SockMaster has confirmed that scanlines are in - fact 228 clock cycles. + The MC6847 datasheet states that a scanline is 227.5 clock cycles, + but experimentation suggests that it is 228. The game "Dragon Fire" + has a fine tuned loop that runs in 57 clock cycles by the CPU's + reckoning (228 actual clock cycles) and would not function correctly + if skew existed. SockMaster has confirmed that scanlines are in + fact 228 clock cycles. **********************************************************************/ @@ -88,8 +88,8 @@ #define LOG_SCANLINE 0 #define LOG_HSYNC 0 #define LOG_FSYNC 1 -#define LOG_FLUSH 1 -#define LOG_INPUT 0 +#define LOG_FLUSH 1 +#define LOG_INPUT 0 const UINT32 mc6847_base_device::s_palette[mc6847_base_device::PALETTE_LENGTH] = @@ -127,7 +127,7 @@ const UINT32 mc6847_base_device::s_palette[mc6847_base_device::PALETTE_LENGTH] = mc6847_friend_device::mc6847_friend_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, bool is_mc6847t1, double tpfs, int field_sync_falling_edge_scanline, bool supports_partial_body_scanlines) : device_t(mconfig, type, name, tag, owner, clock), - m_character_map(fontdata, is_mc6847t1) + m_character_map(fontdata, is_mc6847t1) { m_tpfs = tpfs; m_supports_partial_body_scanlines = supports_partial_body_scanlines; diff --git a/src/mess/video/mos6566.c b/src/mess/video/mos6566.c index 4c2014dedac..4b5762f9124 100644 --- a/src/mess/video/mos6566.c +++ b/src/mess/video/mos6566.c @@ -91,10 +91,10 @@ enum static int UNUSED_BITS[0x40] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x01, 0x70, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x01, 0x70, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, + 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; // VICE palette diff --git a/src/mess/video/pc_aga.c b/src/mess/video/pc_aga.c index 723b16e56c2..7205a7ffa7e 100644 --- a/src/mess/video/pc_aga.c +++ b/src/mess/video/pc_aga.c @@ -31,7 +31,7 @@ static VIDEO_START( pc200 ); static MC6845_INTERFACE( mc6845_aga_intf ) { AGA_SCREEN_NAME, /* screen number */ - false, /* show border area */ + false, /* show border area */ 8, /* numbers of pixels per video memory address */ NULL, /* begin_update */ aga_update_row, /* update_row */ diff --git a/src/mess/video/pc_t1t.c b/src/mess/video/pc_t1t.c index afd14a20d2a..1243ccca858 100644 --- a/src/mess/video/pc_t1t.c +++ b/src/mess/video/pc_t1t.c @@ -32,7 +32,7 @@ static WRITE_LINE_DEVICE_HANDLER( pcjr_vsync_changed ); static MC6845_INTERFACE( mc6845_t1000_intf ) { T1000_SCREEN_NAME, /* screen number */ - false, /* show border area */ + false, /* show border area */ 8, /* numbers of pixels per video memory address */ NULL, /* begin_update */ t1000_update_row, /* update_row */ @@ -62,7 +62,7 @@ MACHINE_CONFIG_END static MC6845_INTERFACE( mc6845_pcjr_intf ) { T1000_SCREEN_NAME, /* screen number */ - false, /* show border area */ + false, /* show border area */ 8, /* numbers of pixels per video memory address */ NULL, /* begin_update */ t1000_update_row, /* update_row */ |