1 |
|
/* |
2 |
|
* 1541d64.cpp - 1541 emulation in disk image files (.d64/.x64/zipcode) |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2005 Christian Bauer |
4 |
> |
* Frodo Copyright (C) Christian Bauer |
5 |
|
* zipcode decoding routines (C) 1993-1997 Marko Mäkelä, Paul David Doherty |
6 |
|
* |
7 |
|
* This program is free software; you can redistribute it and/or modify |
119 |
|
|
120 |
|
ImageDrive::ImageDrive(IEC *iec, const char *filepath) : Drive(iec), the_file(NULL), bam(ram + 0x700), bam_dirty(false) |
121 |
|
{ |
122 |
+ |
desc.type = TYPE_D64; |
123 |
+ |
desc.header_size = 0; |
124 |
+ |
desc.num_tracks = 35; |
125 |
+ |
desc.id1 = desc.id2 = 0; |
126 |
+ |
desc.has_error_info = false; |
127 |
+ |
|
128 |
|
for (int i=0; i<18; i++) { |
129 |
|
ch[i].mode = CHMOD_FREE; |
130 |
|
ch[i].buf = NULL; |