blob: 2abb67ac27b9b2e18aaad69ff1a66eed25c27ece (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/***************************************************************************
Orao video driver by Miodrag Milanovic
01/03/2008 Updated to work with latest SVN code
22/02/2008 Preliminary driver.
****************************************************************************/
#include "emu.h"
#include "includes/orao.h"
void orao_state::video_start()
{
}
uint32_t orao_state::screen_update_orao(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
uint8_t code;
int y, x, b;
int addr = 0;
for (y = 0; y < 256; y++)
{
int horpos = 0;
for (x = 0; x < 32; x++)
{
code = m_video_ram[addr++];
for (b = 0; b < 8; b++)
{
bitmap.pix16(y, horpos++) = (code >> b) & 0x01;
}
}
}
return 0;
}
|