summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/ondra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/ondra.cpp')
-rw-r--r--src/mame/video/ondra.cpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/mame/video/ondra.cpp b/src/mame/video/ondra.cpp
deleted file mode 100644
index 92b56e0ba19..00000000000
--- a/src/mame/video/ondra.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Miodrag Milanovic
-/***************************************************************************
-
- Ondra driver by Miodrag Milanovic
-
- 08/09/2008 Preliminary driver.
-
-****************************************************************************/
-
-
-#include "emu.h"
-#include "includes/ondra.h"
-#include "machine/ram.h"
-
-
-
-void ondra_state::video_start()
-{
- m_video_enable = 0;
-}
-
-uint32_t ondra_state::screen_update_ondra(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
-{
- uint8_t code1,code2;
- int y, x, b;
- int Vaddr = 0x2800;
-
- if (m_video_enable==1) {
- for (x = 0; x < 40; x++)
- {
- for (y = 127; y >=0; y--)
- {
- code1 = m_ram->pointer()[0xd700 + Vaddr + 0x80];
- code2 = m_ram->pointer()[0xd700 + Vaddr + 0x00];
- for (b = 0; b < 8; b++)
- {
- bitmap.pix16(2*y, x*8+b) = ((code1 << b) & 0x80) ? 1 : 0;
- bitmap.pix16(2*y+1, x*8+b) = ((code2 << b) & 0x80) ? 1 : 0;
- }
- Vaddr++;
- }
- Vaddr = (Vaddr - 128) - 256;
- }
- }
- return 0;
-}