Merge pull request #1 from david-schmidt/master

Simulate wider write head
This commit is contained in:
Thomas Harte 2018-06-06 09:18:52 -04:00 committed by GitHub
commit 21cd5378d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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