Commit graph pcjs/modules/pc8080/lib/keyboard.js
Author SHA1 Message Date
Jeff Parsons
822ab39cbe Unforked the shared modules -- ES6 is now the default 2017-01-31 13:50:55 -08:00
Jeff Parsons
2b1e171ecb Work-around to prevent SPACE from scrolling the damn web page 2017-01-30 16:28:39 -08:00
Jeff Parsons
5a19249d28 Make PC8080's soft CAPS-LOCK control work 2017-01-30 15:44:43 -08:00
Jeff Parsons
f21deebffb Perform a more conservative remapping of keyCodes for Firefox's sake 2017-01-30 15:30:44 -08:00
Jeff Parsons
28856674c2 iOS fixes for PC8080; specifically, the VT100 2017-01-30 13:15:27 -08:00
Jeff Parsons
f486734d19 Added more VT100 soft keys 2017-01-29 14:08:00 -08:00
Jeff Parsons
5edbdcdce2 Factored PDP-11 drive controller logic into a device-independent superclass (drive.js) and a device-dependent subclass (rk11.js); the RL11 controller is ready to be factored next 2017-01-28 13:39:19 -08:00
Jeff Parsons
b5d6afd210 Protect all Node-specific code with NODE checks 2017-01-02 15:16:18 -08:00
Jeff Parsons
f87161f5d6 v1.32.0: The New Year Release 2016-12-30 15:56:01 -08:00
Jeff Parsons
0f680839f7 Converted PC8080 to ES6 2016-12-28 10:03:58 -08:00
Jeff Parsons
342f976e42 Fixed soft key processing for PC8080 (to fix an issue with the Epiphany browser on the elementary OS involving the VT100 SET-UP button) 2016-12-05 12:26:32 -08:00
Jeff Parsons
8f734ef857 Fix interception of CTRL key combinations in the VT100 display when using Windows-based browsers 2016-12-04 22:35:05 -08:00
Jeff Parsons
b1b992b432 Added new keyboard shortcuts to the VT100: ALT-ENTER for LINE-FEED (F7 still works) and ALT-DELETE for BACKSPACE (fn-DELETE still works) 2016-11-27 12:45:17 -08:00
Jeff Parsons
66f82736c9 Added support for paste to the VT100, but browser idiosyncrasies (eg, Chrome) are proving irksome; for now, you'll have more luck with Firefox, or sticking to machines that use a textarea for their I/O instead the VT100 if you need to do a lot of pasting 2016-11-25 18:28:57 -08:00
Jeff Parsons
57d287f161 The VT100 is now smarter about detecting the host machine's physical CAPS LOCK state (and is also capable of displaying that state now) 2016-11-25 16:06:39 -08:00
Jeff Parsons
d4e0d8a422 Changed PC8080 auto-release timeout for key presses to use built-in setTimer() instead of the browser's setTimeout(), and reduced the timeout from 100ms to 50ms; let's see if the VT100 still experiences dropped keys when typing fast 2016-11-23 22:02:22 -08:00
Jeff Parsons
0d73a6b33f Fixed DELETE/BACKSPACE confusion in the VT100 KEYMAP (by of course mapping BACKSPACE to DELETE and DELETE to BACKSPACE; makes perfect sense) 2016-11-22 22:39:44 -08:00
Jeff Parsons
b1f8fca2d9 Re-enabled source maps, at least for the PDP-11 emulators (for now) 2016-10-14 09:30:17 -07:00
Jeff
e24d507aa2 Removed useless version numbers and dates from .js file headers 2016-10-06 16:22:24 -07:00
Jeff Parsons
5f622303b4 Completed Keys factoring 2016-09-15 08:18:37 -07:00
Jeff Parsons
4b778b281d Groundwork for a PDP-11 emulator (starting with a gutted copy of PC8080) 2016-09-03 17:43:06 -07:00
Jeff Parsons
7dc4448f41 Fixed the PC8080 CPUState class name 2016-08-24 14:17:54 -07:00
Jeff Parsons
244f0dba32 Cleaned up the run loop, less complicated now, and video updates can drive themselves thanks to the new CPU timer functions 2016-08-23 22:41:45 -07:00
Jeff Parsons
97f8e87ca3 Added some iOS usability improvements (related to soft keys/buttons and annoying focus/zoom changes) 2016-08-23 16:08:48 -07:00
Jeff Parsons
c1b34a87ed Immunized cursor blink rate from changes to CPU speed 2016-08-23 12:52:11 -07:00
Jeff Parsons
bca19fd8ed Added proper clocking of VT100 keyboard UART, allowing us to restore the proper CPU speed (2.7Mhz) and maintain the correct cursor blink rate 2016-08-22 09:14:34 -07:00
Jeff Parsons
6a5e18d493 Working on next release (v1.24.1): first change is enabling smooth scrolling by default 2016-08-19 16:10:48 -07:00
Jeff Parsons
f0509bc5d1 Successfully running PCx86 and PC8080 machines on the same page now 2016-08-18 10:29:24 -07:00
Jeff Parsons
cf24023d5d Enabled smooth scrolling, connected SerialPort UART transmitter status to the ChipSet FLAGS buffer (matching how the Keyboard UART transmitter status is connected), enabled binding of terminal I/O to the Control Panel output window (if any), and added simulation of received data at the programmed baud rate (but a better solution has been noted and needs to be implemented) 2016-08-16 09:34:41 -07:00
Jeff Parsons
e516070375 Added Video callout to make resolutions adjustments (eg, from 80-column mode to 132-column mode); work in Video component ready to begin 2016-08-15 10:49:04 -07:00
Jeff Parsons
a6376d3e8b Fixed LOCAL/ONLINE LED 2016-08-14 22:05:59 -07:00
Jeff Parsons
8d9d6d4e50 Fixed VT100 KEYMAP 2016-08-14 12:19:06 -07:00
Jeff Parsons
e7324a5c6a VT100 SET-UP screen is accessible now 2016-08-14 10:52:24 -07:00
Jeff Parsons
422c89f93f Updated VT100 keymap 2016-08-09 16:56:03 -07:00
Jeff Parsons
c78317c056 All Keyboard configs need to define KEYMAP, even if it's empty 2016-08-09 12:51:53 -07:00
Jeff Parsons
d31bfb0e6e Added scaffolding for PC8080 SerialPort 2016-08-08 15:25:57 -07:00
Jeff Parsons
f7464dd182 Support for VT100 dot stretching 2016-08-08 11:19:06 -07:00
Jeff Parsons
37593a107d Added VT100 keymap 2016-08-07 09:30:56 -07:00
Jeff Parsons
c59678f37d Fixed checkSoftKeysToRelease(), although the iOS soft keyboard still sucks 2016-08-02 15:42:41 -07:00
Jeff Parsons
999828da4e Added LED support to VT100 keyboard 2016-08-02 14:44:31 -07:00
Jeff Parsons
b25a9268a1 Added round LEDs to the UI (initially just for the VT100) 2016-08-02 11:02:00 -07:00
Jeff Parsons
843d24c627 Scaffolding for VT100 ChipSet 2016-08-02 06:50:25 -07:00
Jeff Parsons
a1e999e0c4 More PCjs/PCx86 disambiguation 2016-05-17 00:04:51 -07:00
Jeff Parsons
288f28055d Starting work on disambiguating PCjs the emulator from PCjs the project/website; the emulator will become PCx86 2016-05-16 20:55:32 -07:00
Jeff Parsons
09f4db3455 Space Invaders! 2016-05-14 23:53:49 -07:00
Jeff Parsons
f09189c121 Space Invaders works on the desktop now 2016-05-14 23:12:39 -07:00
Jeff
bc7ec763ca Since "model" properties are strings now, they need to be coerced to numbers 2016-05-14 19:00:13 -07:00
Jeff Parsons
19b22d32d4 PC8080 skeleton 2016-04-20 07:54:58 -07:00