Commit Graph

250 Commits

Author SHA1 Message Date
Will Scullin
7394900020
Don't clear flag if re-entering hires. 2020-06-17 20:31:17 -07:00
Will Scullin
00bc5b3c04
Support undocumented AppleColor RGB 160x192 mode. 2020-06-16 09:49:11 -07:00
Will Scullin
3e6f1e586e
Clean up special RBG mode support. 2020-06-05 12:53:56 -07:00
Will Scullin
9f34078f30
Fix lint. 2020-04-23 19:50:19 -07:00
Will Scullin
87e8cde031
Style cleanup 2020-04-23 19:48:52 -07:00
Will Scullin
bb6e36f964
Various fixes (#23)
* Sort disks in category order

* Fix saving disk

* Fix keyboard not working after modal

* Make caps lock key on keyboard work, while keeping caps lock on virtual keyboard working too

* Fix delete local storage

* Fix minus key on Mac

* Remove backtick

* Credit.

Co-authored-by: Matthew Hebley <Matthew.Hebley@navico.com>
2020-04-23 19:47:44 -07:00
Will Scullin
8af8cdbbca
Clean up lint. 2020-03-26 20:01:24 -07:00
Will Scullin
ddcabc5683
Really brief delay for CFFA. 2020-01-12 13:06:40 -08:00
Will Scullin
91d1d753ad
Eat context menu events. Fixes #21 2020-01-12 11:43:16 -08:00
Will Scullin
ce0a1b59ce
Move most gfx into css. 2020-01-02 21:12:34 -08:00
Will Scullin
b647b3c2bb
CFFA (#20)
* CFFA

* CFFA multi-disk and write functionaliity.

* Clean up multi-devices/partition behavior.

* ProDOS WIP

* Update against refactored codebase.

* WIP

* Wait until disks load, show progress.

* Don't wait so long to boot floppies.

* Forgot to save :|.

* Credit.
2020-01-02 11:11:04 -08:00
Will Scullin
506dfc52de
Small cleanup and fixes. 2020-01-02 10:57:26 -08:00
Will Scullin
398ed17c79
Truer colors, fix dirty rect. 2020-01-01 12:33:24 -08:00
Will Scullin
eaef394eb1
Rework full page mode. 2019-12-30 11:40:28 -08:00
Will Scullin
d15979d67e
Better stats. 2019-12-30 11:13:35 -08:00
Will Scullin
f75a2fa962
Fix acceleration, normalize heavily used signatures. (#18) 2019-12-29 19:13:59 -08:00
Will Scullin
680de778ee
Reinstate vbl hack. 2019-12-29 13:35:00 -08:00
Will Scullin
deec11a2a3
Fix play/pause 2019-12-27 18:14:33 -08:00
Will Scullin
2c2a1832da
Fix alt char set. 2019-12-27 15:50:40 -08:00
Will Scullin
bcbe36db0c
Refactor main (#17)
* Refactor UI elements.

* Cleanup.

* Refactor core.

* Fix printer.

* Small fixes

* Fix frame counts
2019-12-27 15:04:07 -08:00
Will Scullin
409e627abc
Add quick and dirty Applesoft compiler. 2019-12-02 18:55:01 -08:00
Will Scullin
37e0c8a84c
Fix Thunderclock with more correct implementation. 2019-12-01 09:52:14 -08:00
Will Scullin
0059910122
Fix Disk II writing. 2019-12-01 06:43:42 -08:00
Will Scullin
5cbf6bd335
Fix parallel rom. 2019-11-24 20:47:10 -08:00
Will Scullin
69bdd3fde4
Move ROM data out of card sources. (#16) 2019-11-24 16:52:01 -08:00
Will Scullin
5e4aac70d2
Use bit math more places. (#15) 2019-11-23 19:05:52 -08:00
Will Scullin
37a6efc661
Better linting, tests, fix text buffer, ROR. 2019-10-16 20:20:38 -07:00
Will Scullin
e2c615f20b
Fix ROL. 2019-10-07 22:18:15 -07:00
Will Scullin
3b95726655
Crude native woz support. (#13)
Readonly for now.
2019-10-01 19:56:10 -07:00
Will Scullin
7d9090133b
No CPU cycle left behind. 2019-09-29 15:52:22 -07:00
Will Scullin
859bd1ff8f
Apply Sather to stack operations. 2019-09-22 20:04:47 -07:00
Will Scullin
6348d52cfe
Fix RDMIXED 2019-09-21 20:49:09 -07:00
Will Scullin
56e17f5b15
minor cleanup 2019-09-18 19:51:31 -07:00
Will Scullin
86602a4eb7
Try and emulate "false reads" 2019-09-18 19:46:15 -07:00
Will Scullin
8ee543619e
First pass it more accurate cycle counting. 2019-09-18 18:46:26 -07:00
Will Scullin
8e5a60b284
Fix high bit miscalculation, mouse offset calcuation. 2019-07-27 15:57:40 -07:00
Will Scullin
c5ca5ee132
Less ES6 2019-06-15 15:59:02 -07:00
Will Scullin
ea8766f370
Back out last change. 2019-06-15 09:38:38 -07:00
Will Scullin
dfe1b28476
Fix undefined toHex. 2019-06-15 09:36:17 -07:00
Will Scullin
024ca76800
Remove ES6 function declarations. 2019-06-15 09:16:11 -07:00
Will Scullin
81adfff2e4
Missed file. 2019-04-06 12:30:50 -07:00
Will Scullin
83d9fd8730
Fix tape loading. 2019-04-06 12:20:35 -07:00
Will Scullin
542786e87c
Export instead of attach to window, and make webpack like it. 2019-03-31 20:52:45 -07:00
Will Scullin
2963f116ce
Fix build, clean up lint comments. 2019-03-26 21:12:05 -07:00
Will Scullin
6a5fd9cf0c
Add a real test harness. 2019-03-26 21:02:27 -07:00
Will Scullin
82815e5b85
Fix hamfisted jquery -> html5 translation. 2019-03-21 20:39:48 -07:00
Will Scullin
ccc3a329f7
Fix capslock. 2019-03-13 20:00:37 -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
0f5c83d6ad
jQuery-less keyboard. Small fixes. 2019-03-08 11:17:18 -08:00
Will Scullin
4f092ed4f5
Fix special keys. 2019-03-07 15:03:13 -08:00
Will Scullin
ed63e0fe92
Fix 80 col. 2019-03-05 11:29:55 -08: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
9bffd347cc
Wire up tests. 2019-03-01 20:38:04 -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
77372d388b
Ditch makefiles, switch to eslint, fix linting. 2019-01-09 00:51:25 -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
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
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
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
212db7cc77 Add 2mg support to disk2 2014-01-05 09:37:33 -08:00
Will Scullin
9a25ffcf09 Extract gamepad code
Extract gamepad code, fix http loading.
2013-12-27 12:18:45 -08:00
Will Scullin
9e4da2c153 Keyboard fixes 2013-12-19 14:55:04 -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
0ef4109c41 iOS icons I forgot. 2013-11-16 13:50:06 -08:00
Will Scullin
ed6d9c8c82 Don't minify 2013-11-16 12:38:18 -08:00
Will Scullin
a807dc9aae Blink! and better touch/mobile behaviors. 2013-11-16 12:26:31 -08:00
Will Scullin
4d80f9f28e Initial checkin
Initial checkin, still pretty rough around the edges.
2013-10-10 11:03:07 -07:00