OSCR
Open Source Cartridge Reader
Loading...
Searching...
No Matches
MSX.h
1#pragma once
2#if !defined(OSCR_CORE_MSX_H_)
3# define OSCR_CORE_MSX_H_
4
5# include "config.h"
6
7# if HAS_MSX
8# include "syslibinc.h"
9# include "common/Types.h"
10
15{
16 void menu();
17
18 void openCRDB();
19 void closeCRDB();
20
21 void cartOn();
22 void cartOff();
23
24 void printHeader();
25
26 uint8_t readData(uint16_t addr);
27 void readSegment(uint32_t startaddr, uint32_t endaddr);
28 void writeData(uint16_t addr, uint8_t data);
29 void setCS();
30 void checkCS();
31 void enableCS();
32 void disableCS();
33 void readROM();
34 bool testRAM(uint8_t enable1, uint8_t enable2);
35 bool checkRAM();
36 void readRAM();
37 void writeRAM();
38 void setMapper();
39 void setCart();
40} /* namespace OSCR::Cores::MSX */
41
42# endif /* HAS_MSX */
43#endif /* OSCR_CORE_MSX_H_ */
System core for the MSX.
Definition MSX.h:15