mirror of
https://github.com/FrancescoRigoni/Lib65816.git
synced 2024-12-29 11:30:56 +00:00
Move header files to include/
This commit is contained in:
parent
a5d87d6b60
commit
38e75c0a75
@ -25,8 +25,6 @@ else ()
|
||||
set (CMAKE_CXX_STANDARD 14)
|
||||
endif ()
|
||||
|
||||
# Add all include directories
|
||||
include_directories(include/** ${SIMPLE_LOGGER_SRC})
|
||||
# Add paths for linker
|
||||
link_directories(${SIMPLE_LOGGER_BIN})
|
||||
|
||||
@ -38,4 +36,4 @@ add_library(65816 ${sources_65816})
|
||||
add_dependencies(65816 simple-logger)
|
||||
target_link_libraries(65816 simpleLogger)
|
||||
|
||||
target_include_directories(65816 INTERFACE include/*)
|
||||
target_include_directories(65816 PRIVATE ${PROJECT_SOURCE_DIR}/include ${SIMPLE_LOGGER_SRC})
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "Addressing.hpp"
|
||||
#include "Stack.hpp"
|
||||
#include "CpuStatus.hpp"
|
||||
#include "opcodes/OpCode.hpp"
|
||||
#include "OpCode.hpp"
|
||||
#include "Log.hpp"
|
||||
#include "Binary.hpp"
|
||||
#include "BuildConfig.hpp"
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "../Addressing.hpp"
|
||||
#include "Addressing.hpp"
|
||||
|
||||
class Cpu65816;
|
||||
|
@ -17,7 +17,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "Cpu65816.hpp"
|
||||
#include <Cpu65816.hpp>
|
||||
#include <OpCode.hpp>
|
||||
#include <SystemBusDevice.hpp>
|
||||
|
||||
#define LOG_TAG "Addressing"
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#ifndef OPCODE_TABLE_HPP
|
||||
#define OPCODE_TABLE_HPP
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
OpCode Cpu65816::OP_CODE_TABLE[] = {
|
||||
OpCode(0x00, "BRK", AddressingMode::Interrupt, &Cpu65816::executeInterrupt),
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeADC"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeASL"
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Interrupt.hpp"
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Interrupt.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeBIT"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeCMP"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeCPXCPY"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeEOR"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeINCDEC"
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Interrupt.hpp"
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Interrupt.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeInterrupt"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeJumpReturn"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeLSR"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeMisc"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeROL"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeROR"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeSBC"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeSTA"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeSTX"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeSTY"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeSTZ"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeStack"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeStatusReg"
|
||||
|
||||
|
@ -17,8 +17,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Interrupt.hpp"
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Interrupt.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeTSBTRB"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../Cpu65816.hpp"
|
||||
#include "Cpu65816.hpp"
|
||||
|
||||
#define LOG_TAG "Cpu::executeTransfer"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user