apple2js/js/cards
Ian Flanigan 5b5655b70e
Add tests for the Disk II card (#133)
* Add tests for the DiskII card

This change adds basic read tests for nibble-based disks for the
DiskII card and fixes a few minor errors.

These tests are in preparation for refactoring.

* Add write tests

These are some basic tests of writing to nibble disks.  In the process,
one minor bug was found, fixed and documented.

* Fix the write tests

I misinterpreted something from Sather and thought that the high bit
had to be set on the data for writing to happen at all.  This is not
true.  Instead, there is a flux transition every time the high bit is
set as the data is left-shifted out of the data register.  The
erroneous test has been removed.

At the same time, I finally understand what `skip` does and documented
that.

* Add tests for saving and restoring Disk II state

These are not exhaustive tests, but they ensure that some basic state
is saved and restored.
2022-06-18 16:54:33 -07:00
..
cffa.ts Preact mass storage (#125) 2022-06-05 10:57:04 -07:00
disk2.ts Add tests for the Disk II card (#133) 2022-06-18 16:54:33 -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 Fix write error status 2022-06-12 19:39:03 -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