summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/h01x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/h01x.cpp')
-rw-r--r--src/mame/video/h01x.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/mame/video/h01x.cpp b/src/mame/video/h01x.cpp
deleted file mode 100644
index a14998fce52..00000000000
--- a/src/mame/video/h01x.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-// license:BSD-3-Clause
-/***************************************************************************
- NF500A (TRS80 Level II Basic)
- 09/01/2019
-****************************************************************************/
-
-#include "emu.h"
-#include "includes/h01x.h"
-
-uint32_t h01x_state::screen_update_h01x(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
-{
- uint8_t y,ra,gfx;
- uint16_t sy=0,ma=0,x;
- uint8_t skip = 16;
-
- //screen.set_visible_area(0, 336-1, 0, 192-1);
-
- // 336*192 = 84*4 * 12*16
- // 12*16*84
-
- // uint16_t *p = &bitmap.pix16(sy++);
- // _PixelType &pixt(int32_t y, int32_t x = 0) const { return *(reinterpret_cast<_PixelType *>(m_base) + y * m_rowpixels + x); }
- // set_raw(u32 pixclock, u16 htotal, u16 hbend, u16 hbstart, u16 vtotal, u16 vbend, u16 vbstart)
- // bitmap.rowpixels() == htotal
- // printf("%d ", bitmap.rowpixels());
-
- //uint16_t *p = &bitmap.pix16(0);
- for(ra=0; ra<12; ra++) {
- for(y=0; y<16; y++) {
- ma = ra*84*16+y;
- uint16_t *p = &bitmap.pix16(sy++);
- for(x=ma; x<ma+84*skip; x+=skip) {
- gfx = m_vram_ptr[x];
- *p++ = BIT(gfx, 3);
- *p++ = BIT(gfx, 2);
- *p++ = BIT(gfx, 1);
- *p++ = BIT(gfx, 0);
- }
- }
- }
-
- return 0;
-}
moval (nw) Ivan Vangelista2019-02-081-1/+1 * Start cleaning up palette configuration: Vas Crabb2018-12-291-2/+2 * z80pio.cpp: removed macros (nw) Ivan Vangelista2018-08-281-4/+4 * More cleanup/streamlining of machine configuration and macros: Vas Crabb2018-05-151-2/+2 * Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS ... MooglyGuy2018-05-131-2/+2 * Streamline machine configuration macros - everyone's a device edition. Vas Crabb2018-05-061-6/+6 * Address maps macros removal, pass 1 [O. Galibert] Olivier Galibert2018-03-141-16/+18 * API change: Memory maps are now methods of the owner class [O. Galibert] Olivier Galibert2018-02-121-2/+2 * API Change: Machine configs are now a method of the owner class, and the prot... Olivier Galibert2018-01-171-1/+1 * Move static data out of devices into the device types. This is a significant... Vas Crabb2017-05-141-3/+3 * Self-registering devices prep: Vas Crabb2017-02-271-1/+4 * Add support to adjust the screen color Dirk Best2016-03-121-1/+1