Skip to content

Commit

Permalink
HP9845: improved keyboard mapping & German layout (mamedev#2351)
Browse files Browse the repository at this point in the history
* hp9845: improved keyboard mapping
* hp9845: removed log message
* hp9845: implemented SHIFT LOCK key. Added pop-ups to show state of toggle keys. Better naming of keys.
* hp9845: implemented 45B/45C/45T variants with German keyboard layout
* hp9845: updating of softkeys on bezel decoupled from their irq status
* hp9845: lowered volume of beeper (was too loud according to A.Kueckes)
* floppy: should have been ">=" from the start, ops!
* floppy: ops #2! Left a debug printf in..
* hp9845: Added PORT_CHAR macros to characters on German kbd
* hp9845: added output to layout LEDs for latching keys
* hp9845: removed redundant PORT_NAMEs from German kbd mapping
  • Loading branch information
fulivi authored and cuavas committed Jun 5, 2017
1 parent 112af46 commit 3a2c296
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 103 deletions.
2 changes: 1 addition & 1 deletion src/devices/imagedev/floppy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ uint32_t floppy_image_device::find_position(attotime &base, const attotime &when
}

uint32_t res = (delta*floppy_ratio_1).as_ticks(1000000000/1000);
if (res > 200000000) {
if (res >= 200000000) {
// Due to rounding errors in the previous operation,
// 'res' sometimes overflows 2E+8
res -= 200000000;
Expand Down
Loading

0 comments on commit 3a2c296

Please sign in to comment.