#include "globals.h"
#include "flags.h"
#include "reader.h"
#include "fluxmap.h"
#include "decoders/decoders.h"
#include "sector.h"
#include "sectorset.h"
#include "record.h"
#include "fb100/fb100.h"
#include "fmt/format.h"

static FlagGroup flags { &readerFlags };

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

	Fb100Decoder decoder;
	readDiskCommand(decoder);
    return 0;
}

