NESe (pronounced "Nessie") is a NES emulator based on the e6502 emulator, also written in C with a focus on speed and portability for use on embedded platforms, especially ARM.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

21 lines
373B

  1. #CROSS_COMPILE = arm-none-eabi-
  2. CC = $(CROSS_COMPILE)gcc
  3. LD = $(CC)
  4. #CFLAGS = -mcpu=cortex-m33 -mthumb
  5. CFLAGS += -Wall -Werror -Wshadow
  6. CFLAGS += -g -Ofast
  7. CFLAGS += -DF6502_FLAT
  8. CFLAGS += -DF6502_TEST
  9. CFLAGS += -DF6502_HCF
  10. #CFLAGS += -DF6502_TRACE
  11. OBJS = src/f6502.o src/f6502_opcodes.o test.o
  12. all: test
  13. test: $(OBJS)
  14. $(LD) $(LDFLAGS) -o $@ $^
  15. clean:
  16. rm -rf $(OBJS)