summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video
diff options
context:
space:
mode:
author Nigel Barnes <Pernod70@users.noreply.github.com>2015-09-07 09:46:21 +0100
committer Nigel Barnes <Pernod70@users.noreply.github.com>2015-09-07 09:49:14 +0100
commitc0e72ea08dfb0ba8a93bd9e09d58de7b361ef31f (patch)
treeb4c0979f795852124e734fedd0127a34e09fab45 /src/mess/video
parent3227c85ed64e08ad1cc1d61d22e8e8556f56d043 (diff)
bbc: clones, floppy formats, softlists, and cleanups.
- Added clone bbcb1770, bbcb now 8271 only. - Added clone pro128s, Olivetti Prodest PC 128S. - Added clones Acorn Business Computers and Cambridge Workstation. - Added clone reutapm, Reuters APM board. - Improved floppy formats, added dsd and double density formats for ADFS. - Added speech PHROMs, not yet hooked up correctly. - Added softlists bbcb_de_cass, bbcb_us_flop and bbcmc_flop. - Added S11 links (dipswitch) to specify Econet ID. - Address map cleanups.
Diffstat (limited to 'src/mess/video')
-rw-r--r--src/mess/video/bbc.c36
1 files changed, 2 insertions, 34 deletions
diff --git a/src/mess/video/bbc.c b/src/mess/video/bbc.c
index 8297f4cacaf..5e059647705 100644
--- a/src/mess/video/bbc.c
+++ b/src/mess/video/bbc.c
@@ -99,8 +99,7 @@ static const int width_of_cursor_set[8]={ 0,0,1,2,1,0,2,4 };
this is used by the palette lookup in the video ULA */
void bbc_state::set_pixel_lookup()
{
- int i;
- for (i=0; i<256; i++)
+ for (int i=0; i<256; i++)
{
m_pixel_bits[i] = (((i>>7)&1)<<3) | (((i>>5)&1)<<2) | (((i>>3)&1)<<1) | (((i>>1)&1)<<0);
}
@@ -254,37 +253,6 @@ WRITE_LINE_MEMBER(bbc_state::bbc_vsync)
m_trom->dew_w(state);
}
-/************************************************************************
- * memory interface to BBC's 6845
- ************************************************************************/
-
-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;
- }
- return;
-}
-
-READ8_MEMBER(bbc_state::bbc_6845_r)
-{
- switch (offset&1)
- {
- case 0: return m_mc6845->status_r(space,0);
- case 1: return m_mc6845->register_r(space,0);
- }
- return 0;
-}
-
-
-
-
/**** BBC B+ Shadow Ram change ****/
@@ -319,7 +287,7 @@ void bbc_state::common_init(int memorySize)
VIDEO_START_MEMBER(bbc_state,bbca)
{
- common_init(16);
+ common_init(m_ram->size()/1024);
}
VIDEO_START_MEMBER(bbc_state,bbcb)