1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-27 05:49:24 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
Peter Evans
64afcb2040 Rewrite phaser to use state transitions, whole phase states
By whole phase states, I mean we no longer track if more than one phase
is active.
2018-03-23 19:41:01 -05:00
Peter Evans
9562dd19ce Rewrite dd to use phases and half-track steps
Phases will yet be the death of me. THE DEATH OF ME.
2018-03-03 21:29:19 -06:00
Peter Evans
998a139c00 Use state machine for stepper motor changes 2018-03-02 16:42:22 -06:00
Peter Evans
8706a81d1f Remove spurious printf 2018-02-20 15:55:40 -06:00
Peter Evans
1091ec6e2a Pass image type into enc_dos; use sector_num instead of a table pointer 2018-02-20 15:36:23 -06:00
Peter Evans
c2e90651ac Again, latch data must be > 128 (0x80) 2018-02-20 14:44:17 -06:00
Peter Evans
e826fc05d9 We can only write latch data that is > 128 2018-02-20 14:43:33 -06:00
Peter Evans
08f3899de4 Tracks don't move from shifting; sector work
The sector work being:

- We only wrap around if we go beyond the length of an encoded track, so
use ENC_ETRACK.
- If we DO wrap around, we don't use modulus; we simply reset to zero.
2018-02-20 14:33:36 -06:00
Peter Evans
c7fbb4aa50 Backward steps require adjacent phases 2018-02-20 14:30:20 -06:00
Peter Evans
9e26e215cd In which we discover that image doesn't matter 2018-02-11 20:38:51 -06:00
Peter Evans
caf2bc1c4e Add test for map, note skipped tests 2018-02-04 14:15:38 -06:00
Peter Evans
9e4a842fdf Add test for switch_rw 2018-02-04 11:50:58 -06:00
Peter Evans
f696346806 Add test for switch_latch 2018-02-04 11:32:23 -06:00
Peter Evans
50dfca476b Add test for switch_drive 2018-02-04 11:30:38 -06:00
Peter Evans
edee060167 Add test for switch_phase function 2018-02-04 10:47:18 -06:00
Peter Evans
2752d82044 Add phaser test 2018-02-04 01:11:09 -06:00
Peter Evans
2d13e95d7f Add encode/decode tests, skip for save 2018-02-04 00:22:14 -06:00
Peter Evans
3a1784a5a7 Add image, stream to eject test 2018-02-03 20:50:30 -06:00
Peter Evans
2dd21f1487 Add image type, image segment 2018-02-03 18:10:29 -06:00
Peter Evans
4509f61be6 dd_write no longer accepts the byte it will wryte 2018-01-26 20:00:10 -06:00
Peter Evans
216ad72d4c Add comment for free function (handled in teardown) 2018-01-07 14:45:59 -06:00
Peter Evans
d71a5c83ca Change test suite to expected name 2018-01-07 14:38:51 -06:00
Peter Evans
665f7de37c Rename apple2dd_ to apple2_dd_
Except for the struct object (apple2dd).
2018-01-07 13:44:07 -06:00
Peter Evans
04d40a44f9 Reorganize tests 2017-12-26 17:20:06 -06:00
Peter Evans
ed1a7b3278 Rename to read/write (without byte) 2017-12-15 21:03:38 -06:00
Peter Evans
047d9eabd0 Add tests for read/write 2017-12-15 21:01:49 -06:00
Peter Evans
223edd14fe Add shift test 2017-12-15 16:53:12 -06:00
Peter Evans
eae302e686 Add eject, insert tests 2017-12-15 16:46:40 -06:00
Peter Evans
a48bc05bd0 Further testing 2017-12-14 23:09:32 -06:00
Peter Evans
cebdedeff0 Add initial test suite for apple2dd 2017-12-14 22:47:11 -06:00