Commit graph pcjs/modules/pc8080/lib/computer.js
Author SHA1 Message Date
Jeff Parsons
7457e4e44f Changed the default page "exit" event handler from "onunload" to "pagehide" for iOS; hopefully, auto-resume machines will work better on mobile devices with that change 2017-06-25 08:32:27 -07:00
Jeff Parsons
1ce03810d3 Added support for (attempting to) suppress alerts that are meaningless if the user has aborted a machine by exiting the page before it was done loading 2017-06-22 15:53:34 -07:00
Jeff Parsons
822ab39cbe Unforked the shared modules -- ES6 is now the default 2017-01-31 13:50:55 -08:00
Jeff Parsons
df5eb66429 Instead of hard-coding the 'resume' setting inside individual machine files, we now support a 'resume' setting inside a page's machine properties 2017-01-28 23:39:03 -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
67e1e66cb1 More Node-related module tidying (but still doesn't solve ES6 browser issues with uncompiled code) 2017-01-02 16:51:09 -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
d930b31c53 Some minor changes to make it easier to load a machine in the Node environment 2016-12-27 22:05:59 -08:00
Jeff Parsons
9ab8d5eb5f Trying to keep the focus code synced 2016-10-23 09:30:01 -07: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
1a1614a648 Simplify the Bus and Memory interfaces slightly, by enabling WORDBUS, which treats all word accesses as aligned; the CPU is has sole responsibility for detecting unaligned word addresses and trapping appropriatelu 2016-10-06 14:17:29 -07:00
Jeff Parsons
3bd02c7e19 Bumped version to 1.30 in honor of the PDP11 module that's being integrated, along with my first attempt to use a newer version of the Closure Compiler (ie, the JavaScript version), as well as giving Gulp a try -- although Gulp leaves just as bad a taste in my mouth as Grunt did 2016-09-13 15:33:17 -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
2b24e710d2 Fixed the Computer updateFocus() interface to keep the page stable unless fScroll is explicitly set 2016-08-23 14:59:06 -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
5ed8f13840 A (PC8080) VT100 can now connect to a (PCx86) IBM PC AT; only problem seems to be flow control now.
Also, each PCjs debugger can now be independently accessed from an external debugger (eg, "pcx86('ver')" or "pc8080('ver')"); the global '$' symbol is no longer used for debugger access.
TODO: There are still many places where GLOBALVAR should be replaced with PCX86.GLOBALVAR or PC8080.GLOBALVAR as appropriate (which I've finally started doing in each debugger.js file).
2016-08-18 16:46:34 -07:00
Jeff Parsons
0e4ad76b94 Cross-machine serial port connections are only half-working (need to defer initConnection() until all machines on the page have initialized their bus) 2016-08-18 11:30:22 -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
829fb48bdc First successful display of a VT100 test screen 2016-08-01 16:22:22 -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
bc7ec763ca Since "model" properties are strings now, they need to be coerced to numbers 2016-05-14 19:00:13 -07:00
Jeff Parsons
db5db398fb Startup/status message tweaks 2016-05-03 12:44:22 -07:00
Jeff Parsons
5b6f6756a2 More 8080 improvements, including some initial "Fake CP/M" support 2016-04-27 08:28:52 -07:00
Jeff Parsons
07259c93ef Infrastructure in place for 8080 hardware interrupts (more specifically, vertical retrace interrupts) 2016-04-25 18:39:43 -07:00
Jeff Parsons
19b22d32d4 PC8080 skeleton 2016-04-20 07:54:58 -07:00