|
LMMS
|
#include "Nes_Cpu.h"#include "blargg_endian.h"#include <limits.h>#include "nes_cpu_io.h"#include "blargg_source.h"Macros | |
| #define | BLARGG_CPU_X86 1 |
| #define | FLUSH_TIME() |
| #define | CACHE_TIME() |
| #define | CPU_DONE(cpu, time, result_out) |
| #define | CPU_READ_PPU(cpu, addr, out, time) |
| #define | PAGE_OFFSET(addr) |
| #define | TIME (s_time + s.base) |
| #define | READ_LIKELY_PPU(addr, out) |
| #define | READ(addr) |
| #define | WRITE(addr, data) |
| #define | READ_LOW(addr) |
| #define | WRITE_LOW(addr, data) |
| #define | READ_PROG(addr) |
| #define | SET_SP(v) |
| #define | GET_SP() |
| #define | PUSH(v) |
| #define | IS_NEG (nz & 0x8080) |
| #define | CALC_STATUS(out) |
| #define | SET_STATUS(in) |
| #define | GET_MSB() |
| #define | ADD_PAGE() |
| #define | GET_ADDR() |
| #define | NO_PAGE_CROSSING(lsb) |
| #define | HANDLE_PAGE_CROSSING(lsb) |
| #define | INC_DEC_XY(reg, n) |
| #define | IND_Y(cross, out) |
| #define | IND_X(out) |
| #define | ARITH_ADDR_MODES(op) |
| #define | BRANCH(cond) |
Variables | |
| int const | st_n = 0x80 |
| int const | st_v = 0x40 |
| int const | st_r = 0x20 |
| int const | st_b = 0x10 |
| int const | st_d = 0x08 |
| int const | st_i = 0x04 |
| int const | st_z = 0x02 |
| int const | st_c = 0x01 |
| #define ADD_PAGE | ( | ) |
| #define ARITH_ADDR_MODES | ( | op | ) |
| #define BLARGG_CPU_X86 1 |
| #define BRANCH | ( | cond | ) |
| #define CACHE_TIME | ( | ) |
| #define CALC_STATUS | ( | out | ) |
| #define CPU_DONE | ( | cpu, | |
| time, | |||
| result_out ) |
| #define CPU_READ_PPU | ( | cpu, | |
| addr, | |||
| out, | |||
| time ) |
| #define GET_ADDR | ( | ) |
| #define GET_MSB | ( | ) |
| #define HANDLE_PAGE_CROSSING | ( | lsb | ) |
| #define INC_DEC_XY | ( | reg, | |
| n ) |
| #define IND_X | ( | out | ) |
| #define IND_Y | ( | cross, | |
| out ) |
| #define IS_NEG (nz & 0x8080) |
| #define NO_PAGE_CROSSING | ( | lsb | ) |
| #define PAGE_OFFSET | ( | addr | ) |
| #define PUSH | ( | v | ) |
| #define READ_LIKELY_PPU | ( | addr, | |
| out ) |
| #define READ_PROG | ( | addr | ) |
| #define SET_STATUS | ( | in | ) |
| #define TIME (s_time + s.base) |
| #define WRITE | ( | addr, | |
| data ) |