LDLIBS := -lz $(shell sdl-config --libs) $(shell pkg-config --libs x11 xsp) -lpopt -lhgw
# Default CFLAGS for building in N8x0
-CFLAGS ?= -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -Os -g -Wall -static-libgcc
-ASFLAGS ?= -march=armv6j -mfpu=vfp -mfloat-abi=softfp
+CFLAGS ?= -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -Os -g -Wall -static-libgcc -fno-omit-frame-pointer
+ASFLAGS ?= -march=armv6j -mfpu=vfp -mfloat-abi=softfp -g
CXXFLAGS ?= $(CFLAGS)
GAME_VERSION ?= 0.9.4
* A lot of emu options now available in GUI.
* Emu now installs a symlink in /usr/bin so it can be easily launched.
* Slightly fixed icon and graphics.
+ * Distributing config file.
- -- Javier S. Pedro <maemo@javispedro.com> Tue, 18 Aug 2009 23:47:28 +0200
+ -- Javier S. Pedro <maemo@javispedro.com> Tue, 18 Aug 2009 23:48:53 +0200
drnoksnes (0.9.3) unstable; urgency=low
-
+.text
.align 4
.globl funcSMULT1616
.globl funcUMULT1616
@ Generic memory routines.
@ (c) Copyright 2007, Grazvydas "notaz" Ignotas
-
+.text
.global memcpy16 @ unsigned short *dest, unsigned short *src, int count
memcpy16:
/*****************************************************************/
-.macro trace_asm val
- push {r0-r5, r12, lr}
- mov r0, #\val
- bl print_asm_i
- pop {r0-r5, r12, lr}
-.endm
-
/* prepare */
.macro PREPARE_C_CALL
STMFD R13!,{R12,R14}
MOVS rscratch,rscratch
.endm
+@ START OF PROGRAM CODE
+
+.text
+
.globl asmS9xGetByte
.globl asmS9xGetWord
.globl asmS9xSetByte
/****************************************************************
GLOBAL
****************************************************************/
- .globl test_opcode
- .globl asmMainLoop
-
+.global asmMainLoop
+.type asmMainLoop, function
@ void asmMainLoop(asm_cpu_var_t *asmcpuPtr);
asmMainLoop:
LDMFD R13!,{R4-R11, LR}
BX LR
.pool
+.size asmMainLoop, asmMainLoop-.
@ void test_opcode(struct asm_cpu_var *asm_var);
test_opcode:
@ the code is released under Snes9x license. See spcgen.c or any other source file
@ from Snes9x source tree.
-
+.text
.extern IAPU
.extern CPU @ for STOP and SLEEP
.extern S9xAPUGetByte
.extern S9xAPUSetByteZ
.global spc700_execute @ int cycles
+ .type spc700_execute, function
.global Spc700JumpTab
opcode .req r3