mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
31 lines
655 B
C++
31 lines
655 B
C++
#include "globals.h"
|
|
#include "flags.h"
|
|
#include "reader.h"
|
|
#include "fluxmap.h"
|
|
#include "decoders.h"
|
|
#include "image.h"
|
|
#include "sector.h"
|
|
#include "sectorset.h"
|
|
#include "record.h"
|
|
#include "aeslanier.h"
|
|
#include <fmt/format.h>
|
|
|
|
FlagGroup flags { &readerFlags };
|
|
|
|
static StringFlag outputFilename(
|
|
{ "--output", "-o" },
|
|
"The output image file to write to.",
|
|
"aeslanier.img");
|
|
|
|
int main(int argc, const char* argv[])
|
|
{
|
|
setReaderDefaultSource(":t=0-79:s=0");
|
|
setReaderRevolutions(2);
|
|
flags.parseFlags(argc, argv);
|
|
|
|
AesLanierDecoder decoder;
|
|
readDiskCommand(decoder, outputFilename);
|
|
return 0;
|
|
}
|
|
|