apple2js/test
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
..
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 tests for the Disk II card (#133) 2022-06-18 16:54:33 -07:00
roms
util Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
cpu6502.spec.ts No Opcode left behind (#92) 2021-12-22 10:37:05 -08: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
jest-setup.ts Preact error dialog (#120) 2022-05-31 17:41:24 -07:00