1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-23 23:32:45 +00:00

Again, latch data must be > 128 (0x80)

This commit is contained in:
Peter Evans 2018-02-20 14:44:17 -06:00
parent e826fc05d9
commit c2e90651ac

View File

@ -155,9 +155,9 @@ Test(apple2_dd, write)
drive->data = vm_segment_create(_140K_); drive->data = vm_segment_create(_140K_);
drive->image = drive->data; // image doesn't matter drive->image = drive->data; // image doesn't matter
drive->latch = 123; drive->latch = 129;
apple2_dd_write(drive); apple2_dd_write(drive);
cr_assert_eq(vm_segment_get(drive->data, 0), 123); cr_assert_eq(vm_segment_get(drive->data, 0), 129);
cr_assert_eq(drive->track_pos, 0); cr_assert_eq(drive->track_pos, 0);
cr_assert_eq(drive->sector_pos, 1); cr_assert_eq(drive->sector_pos, 1);