Linux commits

This commit is contained in:
theoddone33
2001-04-10 04:28:44 +00:00
parent 297d98dfc4
commit 42bf44301b
63 changed files with 3057 additions and 2826 deletions

View File

@@ -19,6 +19,27 @@
bits 32
section .text
; Zsnes required macros
%ifdef __LINUX__
%imacro newsym 1
GLOBAL %1
%1:
%endmacro
%imacro newsym 2+
GLOBAL %1
%1: %2
%endmacro
%define EXTSYM EXTERN
%macro ALIGN32 0
times ($$-$) & 1Fh nop ; Long word alignment
%endmacro
%macro ALIGN16 0
times ($$-$) & 1Fh nop ; Long word alignment
%endmacro
%else
%imacro newsym 1
GLOBAL _%1
_%1:
@@ -45,4 +66,5 @@ section .text
%define %1 _%1
%rotate 1
%endrep
%endmacro
%endmacro
%endif