mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-22 16:33:17 +00:00
83d1595a35
* Moved rascsi/rasctl/scsimon/rasdump.cpp to classes (for better testability) * Moved bus.* to hal folder * Removed some global variables * Fixed code redundancies
36 lines
635 B
C++
36 lines
635 B
C++
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator RaSCSI Reloaded
|
|
// for Raspberry Pi
|
|
//
|
|
// Copyright (C) 2022 Uwe Seimet
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
using namespace std;
|
|
|
|
class ScsiMon
|
|
{
|
|
public:
|
|
|
|
ScsiMon() = default;
|
|
~ScsiMon() = default;
|
|
|
|
int run(const vector<char *>&);
|
|
|
|
private:
|
|
|
|
void parse_arguments(const vector<char *>&);
|
|
void print_copyright_text();
|
|
void print_help_text(const vector<char *>&);
|
|
void Banner();
|
|
bool Init();
|
|
void Cleanup();
|
|
void Reset();
|
|
void FixCpu(int);
|
|
};
|