mirror of
https://github.com/FrancescoRigoni/Lib65816.git
synced 2024-12-21 04:29:40 +00:00
Move header files to include/
This commit is contained in:
parent
a5d87d6b60
commit
bb4b1a306d
@ -26,7 +26,7 @@ else ()
|
||||
endif ()
|
||||
|
||||
# Add all include directories
|
||||
include_directories(include/** ${SIMPLE_LOGGER_SRC})
|
||||
include_directories(include/ ${SIMPLE_LOGGER_SRC})
|
||||
# Add paths for linker
|
||||
link_directories(${SIMPLE_LOGGER_BIN})
|
||||
|
||||
@ -37,5 +37,3 @@ file(GLOB sources_65816 src/*.cpp src/opcodes/*.cpp)
|
||||
add_library(65816 ${sources_65816})
|
||||
add_dependencies(65816 simple-logger)
|
||||
target_link_libraries(65816 simpleLogger)
|
||||
|
||||
target_include_directories(65816 INTERFACE include/*)
|
||||
|
@ -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;
|
||||
|
@ -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