disabling inline set/gets + enable sa-1 c cpu
[drnoksnes] / os9x_65c816.s
index 02e886e..766c5c8 100644 (file)
@@ -142,13 +142,6 @@ reg_cpu_var .req R14
 
 /*****************************************************************/
 
-.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}  
@@ -1153,6 +1146,10 @@ reg_cpu_var .req R14
                MOVS            rscratch,rscratch
 .endm
 
+@ START OF PROGRAM CODE
+
+.text
+
 .globl asmS9xGetByte
 .globl asmS9xGetWord
 .globl asmS9xSetByte
@@ -4476,9 +4473,8 @@ void asm_S9xOpcode_NMI(void)
 /****************************************************************
        GLOBAL
 ****************************************************************/
-       .globl   test_opcode
-       .globl   asmMainLoop
-
+.global        asmMainLoop
+.type  asmMainLoop, function
 
 @ void asmMainLoop(asm_cpu_var_t *asmcpuPtr);
 asmMainLoop:
@@ -4571,6 +4567,7 @@ endmainLoop:
        LDMFD           R13!,{R4-R11, LR}
        BX LR
 .pool
+.size asmMainLoop, asmMainLoop-.
 
 @ void test_opcode(struct asm_cpu_var *asm_var);
 test_opcode: