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