Commit Graph

27 Commits

Author SHA1 Message Date
Will Scullin
542786e87c
Export instead of attach to window, and make webpack like it. 2019-03-31 20:52:45 -07:00
Will Scullin
82815e5b85
Fix hamfisted jquery -> html5 translation. 2019-03-21 20:39:48 -07:00
Will Scullin
127cee2dc0
Tweak a bunch of sizes. 2019-03-13 19:27:55 -07:00
Will Scullin
be715f3f63
Remove jQuery and jQuery UI dependencies. 2019-03-12 21:11:00 -07:00
Will Scullin
d5ab930935
Merge pull request #9 from whscullin/whscullin/webpack
Convert to webpack first pass.
2019-03-02 12:26:56 -08:00
Will Scullin
58dbac1a78
Add missing roms. 2019-03-01 10:15:17 -08:00
Will Scullin
2b63a4b569
Fix reset. 2019-03-01 06:54:22 -08:00
Will Scullin
13446c0afa
Deal with some stray globals. 2019-03-01 06:48:50 -08:00
Will Scullin
9e706b5991
Merge pull request #8 from iflan/maximize-in-window
Allow Shift-F2 to maximize the Apple screen in the window
2019-02-28 21:24:09 -08:00
Will Scullin
573f36510d
Convert to webpack first pass. 2019-02-28 21:21:18 -08:00
Will Scullin
b8261252e3
True up with website.
* Drag and drop support.
* Re-enable audio in newer Chrome, Safari
* Minimal Printer
* Video dirty regions
2019-02-18 20:42:50 -08:00
Will Scullin
868923d550
Merge branch 'master' of github.com:whscullin/apple2js 2019-01-09 21:49:46 -08:00
Will Scullin
dad9e6f7a5
Merge pull request #7 from iflan/alt-location
Match the location of the Alt key to the activated Apple key
2019-01-09 00:55:55 -08:00
Will Scullin
5ebb5b0615
Merge branch 'master' of github.com:whscullin/apple2js 2019-01-09 00:52:21 -08:00
Will Scullin
131db0340a
Refactor tape drive. 2019-01-09 00:27:31 -08:00
Ian Flanigan
ef74dddfae Match the location of the Alt key to the activated Apple key
Modern browsers set the 'location' property on keyboard events when
the key is located in several places. The ALT key, for example, can be
either on the left or the right side of the keyboard.

This change uses the location to determine which Apple key to
activate, if it is available, and defaults to the old behavior if not.
2019-01-04 00:52:56 +01:00
Ian Flanigan
397e7ecc11 Allow Shift-F2 to maximize the Apple screen in the window
Normally, F2 causes the browser to go full-screen, showing only the
Apple screen. However, in Chrome, the user can exit full-screen mode
by pressing ESC. Since ESC is used frequently on the Apple //e, this
limits the utility of full-screen mode.

To work around this problem, this change adds Shift-F2, which will
make the Apple fill the window without going full-screen. This allows
the user to go make the window full-screen in some other way, thus
enabling the use of the ESC key.

Note that the method used is almost entirely implemented in CSS, with
just a few lines of code to change the classes on some elements. This
may not be the best long-term way of implementing this feature.
2019-01-04 00:51:57 +01:00
Ian Flanigan
2d5972f7f5 Prevent launching help when F1 is pressed
In some browsers, in particular Chrome OS, pressing F1 opens a help
screen. This can be suppressed by calling preventDefault() on the
event.
2019-01-04 00:28:58 +01:00
Will Scullin
de4f1fc2d8 State save/restore work, updated audio class. 2017-12-02 20:45:02 -08:00
Will Scullin
7fdaeb844b Improved keyboard behavior, including iOS fixes. 2017-10-01 11:17:30 -07:00
Will Scullin
566630920f One canvas to rule them all. 2017-09-24 07:06:57 -07:00
Will Scullin
37a3fb9bcd Refactoring. 2017-09-22 21:42:57 -07:00
Will Scullin
0343497abc Memory fixes, cleanup. 2017-08-20 10:46:10 -07:00
Will Scullin
e294caab70 Fix things revealed by zellyn/a2audit 2017-03-05 14:51:59 -08:00
Will Scullin
0e80761a4d Cleanup and refactor I/O behavior. 2016-12-06 09:49:00 -08:00
Will Scullin
0906b7173c More cleanup. 2016-11-27 17:28:49 -08:00
Will Scullin
f9f0239d86 Cleanup and refactoring. 2016-11-21 21:26:40 -08:00