summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author ajrhacker <ajrhacker@users.noreply.github.com>2018-12-02 21:45:15 -0500
committer GitHub <noreply@github.com>2018-12-02 21:45:15 -0500
commitcf2603240f5e2332551aadb5b9526e29e86fd27c (patch)
tree5ddd25e0dda79a164d0e2dbd7ff87cd33f4483cc
parent141c263204e414c47d8474459565941066274adb (diff)
parent99890e34ec751a018f1188de9083ede9da993cca (diff)
Merge pull request #4367 from shattered/_0cc33e9
pasopia7: increase keyboard poll rate to 5kHz; makes debounce code work
-rw-r--r--src/mame/drivers/pasopia7.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/pasopia7.cpp b/src/mame/drivers/pasopia7.cpp
index 78588632151..6958c1b4316 100644
--- a/src/mame/drivers/pasopia7.cpp
+++ b/src/mame/drivers/pasopia7.cpp
@@ -7,9 +7,6 @@
preliminary driver by Angelo Salese
TODO:
- - fix problems with keyboard
- - can't type the same character more than once
- - shift key doesn't work
- floppy support (but floppy images are unobtainable at current time)
- cassette device;
- beeper
@@ -19,6 +16,8 @@
Reading fdc has been commented out, until the code can be modified to
work with new upd765 (was causing a hang at boot).
+ Schematics: https://archive.org/details/Io19839/page/n331
+
***************************************************************************************************/
#include "emu.h"
@@ -1065,14 +1064,14 @@ void pasopia7_state::init_p7_raster()
{
m_screen_type = 1;
m_pio_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(pasopia7_state::pio_timer), this));
- m_pio_timer->adjust(attotime::from_hz(50), 0, attotime::from_hz(50));
+ m_pio_timer->adjust(attotime::from_hz(5000), 0, attotime::from_hz(5000));
}
void pasopia7_state::init_p7_lcd()
{
m_screen_type = 0;
m_pio_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(pasopia7_state::pio_timer), this));
- m_pio_timer->adjust(attotime::from_hz(50), 0, attotime::from_hz(50));
+ m_pio_timer->adjust(attotime::from_hz(5000), 0, attotime::from_hz(5000));
}