From b07848dd9d316f3e8e8ccc7ef6af5eee48e4b2a6 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Fri, 15 Dec 2017 21:00:59 -0600 Subject: [PATCH] Change name; move 140k, 240k --- src/apple2.dd.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/apple2.dd.c b/src/apple2.dd.c index 457d020..69b1981 100644 --- a/src/apple2.dd.c +++ b/src/apple2.dd.c @@ -4,20 +4,6 @@ #include "apple2.dd.h" -/* - * This is the length of a typical disk that is formatted in either DOS - * 3.3 or ProDOS. - */ -#define _140K_ 143360 - -/* - * And this is the length of a disk that has been formatted as a nibble - * file (*.NIB). This is not an Apple thing, exactly; it's more of an - * emulator thing, that emulators had used to try and get around copy - * protection in emulation. It does complicate disk drive operation! - */ -#define _240K_ 245760 - apple2dd * apple2dd_create() { @@ -174,7 +160,7 @@ apple2dd_read_byte(apple2dd *drive) } void -apple2dd_write(apple2dd *drive, vm_8bit byte) +apple2dd_write_byte(apple2dd *drive, vm_8bit byte) { vm_segment_set(drive->data, apple2dd_position(drive), byte); apple2dd_shift(drive, 1);