#include "globals.h"
#include "flags.h"
#include "reader.h"
#include "fluxmap.h"
#include "decoders/decoders.h"
#include "c64/c64.h"
#include "sector.h"
#include "sectorset.h"
#include "record.h"
#include "fmt/format.h"
#include <fstream>

static FlagGroup flags { &readerFlags };

int mainReadC64(int argc, const char* argv[])
{
	setReaderDefaultSource(":t=0-79x2:s=0");
	setReaderDefaultOutput("c64.d64");
    setReaderRevolutions(2);
    flags.parseFlags(argc, argv);

	Commodore64Decoder decoder;
	readDiskCommand(decoder);

    return 0;
}

