Prepare CD code and unify header names
This commit is contained in:
parent
396f6da113
commit
0e4e53f3a4
|
@ -0,0 +1,8 @@
|
|||
#ifndef __JABYENGINE_CD_FILE_PROCESSOR_HPP__
|
||||
#define __JABYENGINE_CD_FILE_PROCESSOR_HPP__
|
||||
|
||||
// This will be used as the file processor but will work on cd types
|
||||
// Will probably use file_processor
|
||||
// Will also setup the circular buffer for the CD code
|
||||
|
||||
#endif //!__JABYENGINE_CD_FILE_PROCESSOR_HPP__
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __JABYENGINE_FILE_PROCESSOR_HPP__
|
||||
#define __JABYENGINE_FILE_PROCESSOR_HPP__
|
||||
#include "../File_Types.hpp"
|
||||
#include "../file_types.hpp"
|
||||
|
||||
namespace FileProcessor {
|
||||
class State {
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef __JABYENGINE_CD_FILE_TYPES_HPP__
|
||||
#define __JABYENGINE_CD_FILE_TYPES_HPP__
|
||||
|
||||
// Will extend the file_types for using cd types
|
||||
|
||||
#endif //!__JABYENGINE_CD_FILE_TYPES_HPP__
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __JABYENGINE_GPU_HPP__
|
||||
#define __JABYENGINE_GPU_HPP__
|
||||
#include "../System/IOPorts/GPU_IO.hpp"
|
||||
#include "../System/IOPorts/gpu_io.hpp"
|
||||
|
||||
#if !defined(JABYENGINE_NTSC) && !defined(JABYENGINE_PAL)
|
||||
#error "JABYENGINE_NTSC or JABYENGINE_PAL must be defined"
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __JABYENGINE_DMA_IO_HPP__
|
||||
#define __JABYENGINE_DMA_IO_HPP__
|
||||
#include "IOPort.hpp"
|
||||
#include "ioport.hpp"
|
||||
|
||||
namespace DMA {
|
||||
struct __no_align MADR : public ComplexBitMap<uint32_t> {
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __JABYENGINE_GPU_IO_HPP__
|
||||
#define __JABYENGINE_GPU_IO_HPP__
|
||||
#include "IOPort.hpp"
|
||||
#include "../../GPU/GPU_Types.hpp"
|
||||
#include "ioport.hpp"
|
||||
#include "../../GPU/gpu_types.hpp"
|
||||
|
||||
namespace GPU {
|
||||
enum struct SemiTransparency {
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __JABYENGINE_SPU_IO_HPP__
|
||||
#define __JABYENGINE_SPU_IO_HPP__
|
||||
#include "IOPort.hpp"
|
||||
#include "ioport.hpp"
|
||||
|
||||
namespace SPU {
|
||||
enum struct Mode {
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef __JABYENGINE_CD_HPP__
|
||||
#define __JABYENGINE_CD_HPP__
|
||||
#include <stdint.h>
|
||||
|
||||
namespace CD {
|
||||
namespace CircularBuffer {
|
||||
extern uint8_t* write_ptr;
|
||||
extern uint8_t* read_ptr;
|
||||
extern uint8_t* end_ptr;
|
||||
}
|
||||
|
||||
enum struct State {
|
||||
};
|
||||
|
||||
extern State state;
|
||||
}
|
||||
|
||||
#endif //!__JABYENGINE_CD_HPP__
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef __JABYENGINE_INTERNAL_GPU_HPP__
|
||||
#define __JABYENGINE_INTERNAL_GPU_HPP__
|
||||
#include <PSX/GPU/GPU.hpp>
|
||||
#include <PSX/System/IOPorts/DMA_IO.hpp>
|
||||
#include <PSX/System/IOPorts/GPU_IO.hpp>
|
||||
#include <PSX/GPU/gpu.hpp>
|
||||
#include <PSX/System/IOPorts/dma_io.hpp>
|
||||
#include <PSX/System/IOPorts/gpu_io.hpp>
|
||||
|
||||
namespace GPU {
|
||||
namespace Screen {
|
|
@ -1,6 +1,6 @@
|
|||
#include "../../include/GPU/GPU.hpp"
|
||||
#include <PSX/File/Processor/File_Processor.hpp>
|
||||
#include <PSX/GPU/GPU.hpp>
|
||||
#include "../../include/GPU/gpu.hpp"
|
||||
#include <PSX/File/Processor/file_processor.hpp>
|
||||
#include <PSX/GPU/gpu.hpp>
|
||||
|
||||
#ifdef JABYENGINE_PAL
|
||||
#include "splash_image_pal_boot.hpp"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <PSX/System/IOPorts/SPU_IO.hpp>
|
||||
#include <PSX/System/IOPorts/spu_io.hpp>
|
||||
#include <stdio.h>
|
||||
#include <limits.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "BootLoader/boot_loader.hpp"
|
||||
#include <PSX/System/IOPorts/DMA_IO.hpp>
|
||||
#include <PSX/System/IOPorts/dMa_io.hpp>
|
||||
#include <stdio.h>
|
||||
|
||||
extern int main();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef __JABYENGINE_INTERNAL_SIMPLE_HELPER_HPP__
|
||||
#define __JABYENGINE_INTERNAL_SIMPLE_HELPER_HPP__
|
||||
#define private public
|
||||
#include <PSX/File/Processor/File_Processor.hpp>
|
||||
#include <PSX/File/Processor/file_processor.hpp>
|
||||
|
||||
namespace FileProcessor {
|
||||
namespace Helper {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "../../../include/GPU/GPU.hpp"
|
||||
#include "../../../include/GPU/gpu.hpp"
|
||||
#include "SimpleHelper.hpp"
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "../include/GPU/GPU.hpp"
|
||||
#include "../include/GPU/gpu.hpp"
|
||||
|
||||
namespace GPU {
|
||||
namespace Screen {
|
||||
|
|
Loading…
Reference in New Issue