WD2793* wd2793Create(Wd2793FdcType type) { WD2793* wd = malloc(sizeof(WD2793)); wd->fdcAudio = fdcAudioCreate(FA_WESTERN_DIGITAL); wd->type = type; wd2793Reset(wd); return wd; }
static void reset(Microsol* rm) { wd2793Reset(rm->fdc); }
static void reset(RomMapperNationalFdc* rm) { wd2793Reset(rm->fdc); }
static void reset(RomMapperPhilipsFdc* rm) { wd2793Reset(rm->fdc); write(rm, 0xffc, 0); write(rm, 0xffd, 0); }
static void reset(Svi328Fdc* rm) { wd2793Reset(rm->fdc); }