Browse Source

Emulator: Add main structure classes

master
Riyyi 2 years ago
parent
commit
e4a5fbba58
  1. 16
      src/apu.cpp
  2. 14
      src/apu.h
  3. 16
      src/cpu.cpp
  4. 14
      src/cpu.h
  5. 16
      src/dma.cpp
  6. 14
      src/dma.h
  7. 16
      src/ppu.cpp
  8. 14
      src/ppu.h

16
src/apu.cpp

@ -0,0 +1,16 @@
/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#include "apu.h"
APU::APU()
{
}
APU::~APU()
{
}

14
src/apu.h

@ -0,0 +1,14 @@
/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#pragma once
class APU {
public:
APU();
virtual ~APU();
};

16
src/cpu.cpp

@ -0,0 +1,16 @@
/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#include "cpu.h"
CPU::CPU()
{
}
CPU::~CPU()
{
}

14
src/cpu.h

@ -0,0 +1,14 @@
/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#pragma once
class CPU {
public:
CPU();
virtual ~CPU();
};

16
src/dma.cpp

@ -0,0 +1,16 @@
/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#include "dma.h"
DMA::DMA()
{
}
DMA::~DMA()
{
}

14
src/dma.h

@ -0,0 +1,14 @@
/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#pragma once
class DMA {
public:
DMA();
virtual ~DMA();
};

16
src/ppu.cpp

@ -0,0 +1,16 @@
/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#include "ppu.h"
PPU ::PPU()
{
}
PPU ::~PPU()
{
}

14
src/ppu.h

@ -0,0 +1,14 @@
/*
* Copyright (C) 2022 Riyyi
* Copyright (C) 2022 Th3FrankXD
*
* SPDX-License-Identifier: MIT
*/
#pragma once
class PPU {
public:
PPU();
virtual ~PPU();
};
Loading…
Cancel
Save