apple2js/test
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
..
components Add drag and drop for disks (#130) 2022-06-12 09:42:01 -07:00
env Create a FileChooser component using showOpenFilePicker (#116) 2022-05-28 10:52:48 -07:00
js Add a basic write test for WOZ images (#138) 2022-06-23 06:38:36 -07:00
roms Update eslint, fix issues 2021-11-28 16:20:25 -08:00
util Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
cpu-tom-harte.spec.ts Apply semi rule to interfaces (#109) 2022-05-10 08:04:20 -07:00
cpu.spec.ts Enforce strict equality (#115) 2022-05-18 08:19:45 -07:00
cpu6502.spec.ts No Opcode left behind (#92) 2021-12-22 10:37:05 -08:00
jest-setup.ts Preact error dialog (#120) 2022-05-31 17:41:24 -07:00