Commit Graph

22 Commits

Author SHA1 Message Date
Ian Flanigan
04ae0327c2 Add the recommended eslint plugins for TypeScript (#121)
This adds both the recommended TypeScript checks, plus the recommended
TypeScript checks that require type checking.  This latter addition
means that eslint essentially has to compile all of the TypeScript in
the project, causing it to be slower. This isn't much of a problem in
VS Code because there's a lot of caching being done, but it's clearly
slower when run on the commandline.

All of the errors are either fixed or suppressed.  Some errors are
suppressed because fixing them would be too laborious for the little
value gained.

The eslint config is also slightly refactored to separate the strictly
TypeScript checks from the JavaScript checks.
2022-05-31 08:38:40 -07:00
Will Scullin
2bd7fa59b7 Enforce strict equality (#115) 2022-05-18 08:19:45 -07:00
Will Scullin
702089224f Clear whole screen during refresh (#108) 2022-05-09 11:51:12 -07:00
Will Scullin
70ec626dd0 Clean up copyright notices (#93) 2021-12-21 12:35:26 -08:00
Will Scullin
2978b72fec Update eslint, fix issues 2021-11-28 16:20:25 -08:00
Will Scullin
af57378852 Videomode refactor 2 (#80)
Remove globals from video implementations to allow further refactoring. Experiment with testing video modes.
2021-05-25 12:08:10 -07:00
Will Scullin
47fe12539f Clean up //e behaviors (#79) 2021-05-09 13:21:15 -07:00
Will Scullin
66d8fdc2c2 Allow address input (#78)
Allow address input
2021-04-25 09:37:55 -07:00
Will Scullin
6af6ddd4a4 Clean up bleed 2021-04-20 19:40:26 -07:00
Will Scullin
bf67d9dca4 Guard against videomode DOS 2021-04-20 18:24:47 -07:00
Will Scullin
09c6d6fbb1 Options modal (#75)
Refactor Options modal, webgl scanline, restore `Apple2.apple2`, other minor fixes.
2021-04-20 17:42:32 -07:00
Will Scullin
5c7e335aad VideoModes refactor part 1 (#60)
* Unify behaviors

* remove vestigial overdrawing

* handle bank 1 lores writes better

* carry over last bit when shifted

* Cleanup.
2021-04-18 19:54:15 -07:00
Ian Flanigan
207bed3d27 Typescriptify ui/apple2.js (#74)
This is mostly a mechanical change; there are still lots of things
about `ui/apple2` that could be improved.  The change also converts a
few dependencies of `ui/apple2`, like `applesoft/compiler`.

Besides the straight conversions, some other packages have changes to
make all of the typing work out.

Lastly, `@types/micromodal` has been added as a development
dependency.
2021-03-30 17:27:44 -07:00
Will Scullin
e3bbd2d640 lint 2021-03-28 16:56:06 -07:00
Ian Flanigan
f230c58bbf Add green screen support for the GL renderer (#68)
* Add green screen support for the GL renderer

This adds a configuration that is equivalent to a Monitor II monitor
(at least according to the Open Emulator Project) to GL renderer.
This does not need a restart to take effect.

* Update `package.json` to latest `apple2shader` version
2021-03-23 13:02:31 -07:00
Will Scullin
ab3e97e8d1 Convert more cards to typescript (#63)
Convert more cards to typescript
2021-03-15 12:51:40 -07:00
Will Scullin
87b60d4eb4 Type restructuring 2021-03-06 15:07:06 -08:00
Will Scullin
3c5ded7058 Clean up, restructure MMU switches 2021-03-04 06:31:56 -08:00
Will Scullin
774dcf8089 Fix bank 1 bleed-through 2021-03-01 20:47:15 -08:00
Will Scullin
afc5280ac2 Flesh out some state stuff (#59)
Get save and restore state limping along to nearly as well as before I refactored and broke everything.
2021-02-27 19:17:36 -08:00
Will Scullin
3004aa99f2 Fix some edge cases 2021-02-21 21:26:07 -08:00
Will Scullin
be35aa9315 NTSC shader (#58)
Incorporate a real NTSC shader.
2021-02-21 18:38:21 -08:00