apple2js/js
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
..
applesoft
cards Add a basic write test for WOZ images (#138) 2022-06-23 06:38:36 -07:00
components 2IMG Download support. (#137) 2022-06-21 20:34:19 -07:00
formats 2IMG Download support. (#137) 2022-06-21 20:34:19 -07:00
intbasic
roms Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
ui Simple Preact download (#134) 2022-06-19 09:01:44 -07:00
apple2.ts Cheap and cheerful debugger (#135) 2022-06-19 19:42:34 -07:00
apple2io.ts Fix preact apple keys 2022-06-10 19:53:40 -07:00
base64.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
canvas.ts
cpu6502.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
debugger.ts Cheap and cheerful debugger (#135) 2022-06-19 19:42:34 -07:00
entry2.ts
entry2e.ts
entry.tsx Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
gl.ts Fix apple2shader types 2022-06-15 09:42:07 -07:00
main2.ts Preact mass storage (#125) 2022-06-05 10:57:04 -07:00
main2e.ts Preact mass storage (#125) 2022-06-05 10:57:04 -07:00
mmu.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
options.ts
prefs.ts
ram.ts
symbols.ts
types.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
util.ts 2IMG Download support. (#137) 2022-06-21 20:34:19 -07:00
videomodes.ts