shithub: rgbds

Download patch

ref: db54c2ebd6572fc1a14b1b7d4e41438215390591
parent: eadaa4777082787e0718c54048bac6fc94301303
author: stag019 <[email protected]>
date: Sat Mar 7 10:42:06 EST 2015

Replace all ASMOTOR references with RGBDS.

--- a/include/asm/asm.h
+++ b/include/asm/asm.h
@@ -6,8 +6,8 @@
  *
  */
 
-#ifndef ASMOTOR_ASM_ASM_H
-#define ASMOTOR_ASM_ASM_H
+#ifndef RGBDS_ASM_ASM_H
+#define RGBDS_ASM_ASM_H
 
 #include <stdbool.h>
 #include <stdio.h>
--- a/include/asm/charmap.h
+++ b/include/asm/charmap.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_ASM_CHARMAP_H
-#define ASMOTOR_ASM_CHARMAP_H
+#ifndef RGBDS_ASM_CHARMAP_H
+#define RGBDS_ASM_CHARMAP_H
 
 #define MAXCHARMAPS	512
 #define CHARMAPLENGTH	8
--- a/include/asm/fstack.h
+++ b/include/asm/fstack.h
@@ -6,8 +6,8 @@
  *
  */
 
-#ifndef ASMOTOR_ASM_FSTACK_H
-#define ASMOTOR_ASM_FSTACK_H
+#ifndef RGBDS_ASM_FSTACK_H
+#define RGBDS_ASM_FSTACK_H
 
 #include <stdio.h>
 
--- a/include/asm/lexer.h
+++ b/include/asm/lexer.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_ASM_LEXER_H
-#define ASMOTOR_ASM_LEXER_H
+#ifndef RGBDS_ASM_LEXER_H
+#define RGBDS_ASM_LEXER_H
 
 #include <stdio.h>
 
--- a/include/asm/main.h
+++ b/include/asm/main.h
@@ -1,5 +1,5 @@
-#ifndef	ASMOTOR_MAIN_H
-#define	ASMOTOR_MAIN_H
+#ifndef	RGBDS_MAIN_H
+#define	RGBDS_MAIN_H
 
 #include <stdbool.h>
 
--- a/include/asm/mylink.h
+++ b/include/asm/mylink.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_ASM_LINK_H
-#define ASMOTOR_ASM_LINK_H
+#ifndef RGBDS_ASM_LINK_H
+#define RGBDS_ASM_LINK_H
 
 /* RGB0 .obj format:
  *
--- a/include/asm/mymath.h
+++ b/include/asm/mymath.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_ASM_MATH_H
-#define ASMOTOR_ASM_MATH_H
+#ifndef RGBDS_ASM_MATH_H
+#define RGBDS_ASM_MATH_H
 
 #include "asm/types.h"
 
--- a/include/asm/output.h
+++ b/include/asm/output.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_ASM_OUTPUT_H
-#define ASMOTOR_ASM_OUTPUT_H
+#ifndef RGBDS_ASM_OUTPUT_H
+#define RGBDS_ASM_OUTPUT_H
 
 #include "asm/rpn.h"
 #include "asm/types.h"
--- a/include/asm/rpn.h
+++ b/include/asm/rpn.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_ASM_RPN_H
-#define ASMOTOR_ASM_RPN_H
+#ifndef RGBDS_ASM_RPN_H
+#define RGBDS_ASM_RPN_H
 
 struct Expression {
 	SLONG nVal;
--- a/include/asm/symbol.h
+++ b/include/asm/symbol.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_SYMBOL_H
-#define ASMOTOR_SYMBOL_H
+#ifndef RGBDS_SYMBOL_H
+#define RGBDS_SYMBOL_H
 
 #include "asm/types.h"
 
--- a/include/asm/types.h
+++ b/include/asm/types.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_ASM_TYPES_H
-#define ASMOTOR_ASM_TYPES_H
+#ifndef RGBDS_ASM_TYPES_H
+#define RGBDS_ASM_TYPES_H
 
 #ifndef _MAX_PATH
 #define	_MAX_PATH	512
--- a/include/link/assign.h
+++ b/include/link/assign.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_LINK_ASSIGN_H
-#define ASMOTOR_LINK_ASSIGN_H
+#ifndef RGBDS_LINK_ASSIGN_H
+#define RGBDS_LINK_ASSIGN_H
 
 #include "link/types.h"
 
--- a/include/link/library.h
+++ b/include/link/library.h
@@ -1,5 +1,5 @@
-#ifndef	ASMOTOR_LINK_LIBRARY_H
-#define	ASMOTOR_LINK_LIBRARY_H
+#ifndef	RGBDS_LINK_LIBRARY_H
+#define	RGBDS_LINK_LIBRARY_H
 
 extern void AddNeededModules(void);
 
--- a/include/link/main.h
+++ b/include/link/main.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_LINK_MAIN_H
-#define ASMOTOR_LINK_MAIN_H
+#ifndef RGBDS_LINK_MAIN_H
+#define RGBDS_LINK_MAIN_H
 
 #include "link/types.h"
 
--- a/include/link/mapfile.h
+++ b/include/link/mapfile.h
@@ -1,5 +1,5 @@
-#ifndef	ASMOTOR_LINK_MAPFILE_H
-#define	ASMOTOR_LINK_MAPFILE_H
+#ifndef	RGBDS_LINK_MAPFILE_H
+#define	RGBDS_LINK_MAPFILE_H
 
 extern void SetMapfileName(char *name);
 extern void SetSymfileName(char *name);
--- a/include/link/mylink.h
+++ b/include/link/mylink.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_LINK_LINK_H
-#define ASMOTOR_LINK_LINK_H
+#ifndef RGBDS_LINK_LINK_H
+#define RGBDS_LINK_LINK_H
 
 #ifndef _MAX_PATH
 #define _MAX_PATH	512
--- a/include/link/object.h
+++ b/include/link/object.h
@@ -1,5 +1,5 @@
-#ifndef	ASMOTOR_LINK_OBJECT_H
-#define	ASMOTOR_LINK_OBJECT_H
+#ifndef	RGBDS_LINK_OBJECT_H
+#define	RGBDS_LINK_OBJECT_H
 
 extern void obj_Readfile(char *tzObjectfile);
 
--- a/include/link/output.h
+++ b/include/link/output.h
@@ -1,5 +1,5 @@
-#ifndef	ASMOTOR_LINK_OUTPUT_H
-#define	ASMOTOR_LINK_OUTPUT_H
+#ifndef	RGBDS_LINK_OUTPUT_H
+#define	RGBDS_LINK_OUTPUT_H
 
 void out_Setname(char *tzOutputfile);
 void Output(void);
--- a/include/link/patch.h
+++ b/include/link/patch.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_LINK_PATCH_H
-#define ASMOTOR_LINK_PATCH_H
+#ifndef RGBDS_LINK_PATCH_H
+#define RGBDS_LINK_PATCH_H
 
 #include "link/types.h"
 
--- a/include/link/symbol.h
+++ b/include/link/symbol.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_LINK_SYMBOL_H
-#define ASMOTOR_LINK_SYMBOL_H
+#ifndef RGBDS_LINK_SYMBOL_H
+#define RGBDS_LINK_SYMBOL_H
 
 #include "link/types.h"
 
--- a/include/link/types.h
+++ b/include/link/types.h
@@ -1,5 +1,5 @@
-#ifndef ASMOTOR_LINK_TYPES_H
-#define ASMOTOR_LINK_TYPES_H
+#ifndef RGBDS_LINK_TYPES_H
+#define RGBDS_LINK_TYPES_H
 
 #ifndef _MAX_PATH
 #define	_MAX_PATH	512