mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-17 19:30:13 +00:00
dd_write no longer accepts the byte it will wryte
This commit is contained in:
parent
9c0e01ecd2
commit
4509f61be6
@ -145,12 +145,14 @@ Test(apple2_dd, write)
|
||||
{
|
||||
drive->data = vm_segment_create(_140K_);
|
||||
|
||||
apple2_dd_write(drive, 123);
|
||||
drive->latch = 123;
|
||||
apple2_dd_write(drive);
|
||||
cr_assert_eq(vm_segment_get(drive->data, 0), 123);
|
||||
cr_assert_eq(drive->track_pos, 0);
|
||||
cr_assert_eq(drive->sector_pos, 1);
|
||||
|
||||
apple2_dd_write(drive, 234);
|
||||
drive->latch = 234;
|
||||
apple2_dd_write(drive);
|
||||
cr_assert_eq(vm_segment_get(drive->data, 1), 234);
|
||||
cr_assert_eq(drive->track_pos, 0);
|
||||
cr_assert_eq(drive->sector_pos, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user