summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/hlcd0515.h
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2017-01-21 17:50:57 +0100
committer hap <happppp@users.noreply.github.com>2017-01-21 17:51:19 +0100
commita0c5f7f97c52cd4ca9d1a04be6df026090737501 (patch)
tree5a492b0a35812b6c9c18d915e180f5ac256e9cd7 /src/devices/video/hlcd0515.h
parent397d567e0f2dd5d124f643fe09834722b61fc831 (diff)
hh_tms1k: horseran works now, will correct whatsnew manually (nw)
Diffstat (limited to 'src/devices/video/hlcd0515.h')
-rw-r--r--src/devices/video/hlcd0515.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/video/hlcd0515.h b/src/devices/video/hlcd0515.h
index 918ad0badd4..815e49e0c08 100644
--- a/src/devices/video/hlcd0515.h
+++ b/src/devices/video/hlcd0515.h
@@ -46,8 +46,8 @@
COL11 19 | | 22 COL13
GND 20 |___________| 21 COL12
- OSC is tied to a capacitor, the result frequency is 50000 * cap(in uF),
- eg. 0.01uF cap = 500Hz.
+ OSC is tied to a capacitor, the result frequency is 50000 * cap(in uF), eg. 0.01uF cap = 500Hz.
+ Internally, this is divided by 2, and by number of rows to get display refresh frequency.
*/
class hlcd0515_device : public device_t
@@ -70,16 +70,16 @@ protected:
virtual void device_reset() override;
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
- int m_cs;
- int m_clock;
- int m_data;
+ int m_cs; // input pin state
+ int m_clock; // "
+ int m_data; // "
int m_count;
u8 m_control;
- bool m_blank;
- u8 m_rowmax;
- u8 m_rowout;
- u8 m_rowsel;
- u32 m_ram[8];
+ bool m_blank; // display blank/visible
+ u8 m_rowmax; // number of rows output by lcd (max 8)
+ u8 m_rowout; // current row for lcd output
+ u8 m_rowsel; // current row for data in/out
+ u32 m_ram[8]; // 8x25bit ram
emu_timer *m_lcd_timer;