summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2015-05-17 15:14:04 +0200
committer Dirk Best <mail@dirk-best.de>2015-05-17 15:18:59 +0200
commit1e9f57c2cd2c08f01d52d3ca226ae1d3ea35bfd4 (patch)
tree1777d2b2d33e21339da0f4ea9681f7618b5ebcb3 /src/mess/video
parentf63baa6dcaea93b195759f5f2d4b14170de7ec44 (diff)
Nascom: Clean up, add NASBUS emulation and make the floppy disc
controller a NASBUS card, convert to the new wdc emulation, add generic socket emulation, add initial software list.
Diffstat (limited to 'src/mess/video')
-rw-r--r--src/mess/video/nascom1.c56
1 files changed, 0 insertions, 56 deletions
diff --git a/src/mess/video/nascom1.c b/src/mess/video/nascom1.c
deleted file mode 100644
index 56bed3a9aa9..00000000000
--- a/src/mess/video/nascom1.c
+++ /dev/null
@@ -1,56 +0,0 @@
-// license:GPL-2.0+
-// copyright-holders:(Original Author?), Dirk Best
-/***************************************************************************
-
- nascom1.c
-
- Functions to emulate the video hardware of the nascom1.
-
-***************************************************************************/
-
-#include "emu.h"
-#include "includes/nascom1.h"
-
-UINT32 nascom1_state::screen_update_nascom1(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
-{
- UINT8 *videoram = m_videoram;
- int sy, sx;
-
- for (sx = 0; sx < 48; sx++)
- {
- m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, videoram[0x03ca + sx],
- 1, 0, 0, sx * 8, 0);
- }
-
- for (sy = 0; sy < 15; sy++)
- {
- for (sx = 0; sx < 48; sx++)
- {
- m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, videoram[0x000a + (sy * 64) + sx],
- 1, 0, 0, sx * 8, (sy + 1) * 16);
- }
- }
- return 0;
-}
-
-UINT32 nascom1_state::screen_update_nascom2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
-{
- UINT8 *videoram = m_videoram;
- int sy, sx;
-
- for (sx = 0; sx < 48; sx++)
- {
- m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, videoram[0x03ca + sx],
- 1, 0, 0, sx * 8, 0);
- }
-
- for (sy = 0; sy < 15; sy++)
- {
- for (sx = 0; sx < 48; sx++)
- {
- m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, videoram[0x000a + (sy * 64) + sx],
- 1, 0, 0, sx * 8, (sy + 1) * 14);
- }
- }
- return 0;
-}