From 2af9f37fc55629c0dc8b99806d3913bd5c57f269 Mon Sep 17 00:00:00 2001 From: schmidtd Date: Wed, 6 Jun 2018 00:57:27 -0400 Subject: [PATCH] Simulate wider write head --- dsk2woz.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dsk2woz.c b/dsk2woz.c index 1d5f43f..b708504 100644 --- a/dsk2woz.c +++ b/dsk2woz.c @@ -93,8 +93,9 @@ int main(int argc, char *argv[]) { // This is a DSK conversion, so the TMAP table is just the next // track in every fourth slot, with 255s in between. for(int c = 0; c < 35; ++c) { - woz[76 + (c << 2)] = c; - woz[77 + (c << 2)] = woz[78 + (c << 2)] = woz[79 + (c << 2)] = 255; + if (c > 0) woz[75 + (c << 2)] = c; + woz[76 + (c << 2)] = woz[77 + (c << 2)] = c; + woz[78 + (c << 2)] = woz[79 + (c << 2)] = 255; } // So there are 20 track slots that a DSK doesn't reach; set them