apple2js/js/cards
Ian Flanigan 7e41c69366
Add a basic write test for WOZ images (#138)
* Add a basic write test for WOZ images

The new test just tries to change some random nibbles at the beginning
of the image and then verifies that the change has been recorded.
This exposed a bug where `q7` was never set to `true` when write mode
was toggled on.

Also, the assumptions and limitations of `moveHead` are more clearly
documented.

* Address comments

* Improved `moveHead` documentation a bit more.
* Removed redundant variable in `readNibble`.
* Refactored `findSector` and commented out the chatty log line.

All tests pass. No lint warnings.
2022-06-23 06:38:36 -07:00
..
cffa.ts 2IMG Download support. (#137) 2022-06-21 20:34:19 -07:00
disk2.ts Add a basic write test for WOZ images (#138) 2022-06-23 06:38:36 -07:00
langcard.ts Prohibit any 2022-05-17 19:08:28 -07:00
mouse.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
nsc.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
parallel.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
ramfactor.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
smartport.ts 2IMG Download support. (#137) 2022-06-21 20:34:19 -07:00
thunderclock.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
videoterm.ts Enforce strict equality (#115) 2022-05-18 08:19:45 -07:00