Commit Graph

257 Commits

Author SHA1 Message Date
Will Scullin
1c3c5acf1c
Merge pull request #6 from iflan/no-help-on-f1
Prevent launching help when F1 is pressed
2019-01-09 00:40:08 -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
8ee8b01d0a Clean up disassembly. 2017-12-20 11:41:29 -08:00
Will Scullin
dd1b18490e Update editor files. 2017-12-20 09:07:59 -08:00
Will Scullin
0fb9bfbc64 Latest about. 2017-12-20 09:07:40 -08:00
Will Scullin
44557b90ad Update tests, fill out 65C02 opcodes. 2017-12-20 09:07:09 -08:00
Will Scullin
de4f1fc2d8 State save/restore work, updated audio class. 2017-12-02 20:45:02 -08:00
Will Scullin
bd173c47fe Fix blinking text for //e. 2017-10-01 11:19:04 -07:00
Will Scullin
6c92f33af3 Color fringed text in mixed mode. 2017-10-01 11:18:41 -07:00
Will Scullin
fa4f85d014 Reduce browser deprecation warnings. 2017-10-01 11:18:20 -07: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
c02ea762d8 D13 support, closer to real hardward behavior. 2017-09-23 11:34:24 -07:00
Will Scullin
bdb792f8fb More cleanup. 2017-09-23 11:34:18 -07:00
Will Scullin
37a3fb9bcd Refactoring. 2017-09-22 21:42:57 -07:00
Will Scullin
8a8db4015c Remove old scanline, page stuff. 2017-08-20 12:57:43 -07:00
Will Scullin
1a6604f445 Fix tabs. 2017-08-20 12:49:12 -07:00
Will Scullin
0343497abc Memory fixes, cleanup. 2017-08-20 10:46:10 -07:00
Will Scullin
dc146bf630 Merge pull request #4 from whscullin/whscullin/audit_fixes_1
Fix things revealed by zellyn/a2audit
2017-03-05 14:53:56 -08:00
Will Scullin
e294caab70 Fix things revealed by zellyn/a2audit 2017-03-05 14:51:59 -08:00
Will Scullin
d52bac1be3 Merge pull request #3 from whscullin/scullin/io-refactor
Cleanup and refactor I/O behavior.
2016-12-06 20:48:00 -08:00
Will Scullin
0e80761a4d Cleanup and refactor I/O behavior. 2016-12-06 09:49:00 -08:00
Will Scullin
e021c692ce Merge pull request #2 from whscullin/whscullin/more-cleanup
More cleanup.
2016-12-06 09:37:48 -08:00
Will Scullin
0906b7173c More cleanup. 2016-11-27 17:28:49 -08:00
Will Scullin
9bd56466b4 Merge pull request #1 from whscullin/whscullin/cleanup-refactor
Cleanup and refactoring.
2016-11-21 21:34:31 -08:00
Will Scullin
f9f0239d86 Cleanup and refactoring. 2016-11-21 21:26:40 -08:00
Will Scullin
1dfbc0b61b Audio cleanup. 2015-07-10 22:55:36 -07:00
Will Scullin
8a761be9a9 Minor fixes 2014-07-30 12:07:21 -07:00
Will Scullin
0a1127f541 Various bug fixes, tape support. 2014-07-30 12:01:57 -07:00
Will Scullin
a6f454f845 Misc. Cleanup and fixes 2014-06-26 06:46:01 -07:00
Will Scullin
79e7dbe1e1 Clean up cruft. 2014-03-05 20:08:02 -08:00
Will Scullin
bcee38bf53 Refactor audio. 2014-03-05 20:04:54 -08:00
Will Scullin
9226b47f24 Canvas update
Render both dimensions x2 for better visual results.
2014-02-05 10:53:08 -08:00
Will Scullin
088a5a7922 disk2_write
Fix edge case where somebody (Hello, Incredible Hulk) might try to
write to the Disk II ROM.
2014-01-26 13:23:32 -08:00
Will Scullin
18c347fe23 Add prodos disk, back out WIP. 2014-01-05 10:33:35 -08:00
Will Scullin
c2083ce2f4 Add reset button 2014-01-05 10:31:29 -08:00
Will Scullin
212db7cc77 Add 2mg support to disk2 2014-01-05 09:37:33 -08:00
Will Scullin
7209758339 Clean up keyboard behavior. 2014-01-05 07:42:03 -08:00
Will Scullin
9a25ffcf09 Extract gamepad code
Extract gamepad code, fix http loading.
2013-12-27 12:18:45 -08:00
Will Scullin
635f33a209 Support loading dsk files via http 2013-12-25 10:21:01 -08:00
Will Scullin
9e4da2c153 Keyboard fixes 2013-12-19 14:55:04 -08:00
Will Scullin
0903d0a25c Missed a few ][s 2013-12-19 14:31:11 -08:00
Will Scullin
efef420fdc Add Apple //e. 2013-12-19 14:28:55 -08:00
Will Scullin
86c395ccda Joystick and graphics fixes
Better greenscreen support, joystick improvements and fixes.
2013-12-07 11:20:22 -08:00
Will Scullin
cf8e2bb8cc Gamepad rework 2013-11-17 17:07:14 -08:00
Will Scullin
0ef4109c41 iOS icons I forgot. 2013-11-16 13:50:06 -08:00
Will Scullin
345b7b25f4 Fix shift/control highlighting 2013-11-16 12:56:35 -08:00