ref: 51c01e3aaded3886f5ee8b8aa4b710f4639412fb
parent: d0d85abb97fc61f4a5a158746453153f9fb4894f
author: Anthony J. Bentley <[email protected]>
date: Sun May 19 12:14:31 EDT 2013
Remove some dead code.
--- a/include/asm/types.h
+++ b/include/asm/types.h
@@ -1,9 +1,7 @@
#ifndef ASMOTOR_ASM_TYPES_H
#define ASMOTOR_ASM_TYPES_H
-#if defined(AMIGA) || defined(__GNUC__)
#define _MAX_PATH 512
-#endif
typedef unsigned char UBYTE;
typedef signed char SBYTE;
--- a/include/lib/types.h
+++ b/include/lib/types.h
@@ -1,9 +1,7 @@
#ifndef ASMOTOR_LIB_TYPES_H
#define ASMOTOR_LIB_TYPES_H
-#if defined(AMIGA) || defined(__GNUC__)
#define _MAX_PATH 512
-#endif
typedef unsigned char UBYTE;
typedef signed char SBYTE;
--- a/include/link/mylink.h
+++ b/include/link/mylink.h
@@ -1,9 +1,7 @@
#ifndef ASMOTOR_LINK_LINK_H
#define ASMOTOR_LINK_LINK_H
-#if defined(AMIGA) || defined(__GNUC__)
#define _MAX_PATH 512
-#endif
#include "link/types.h"
--- a/include/link/types.h
+++ b/include/link/types.h
@@ -1,9 +1,7 @@
#ifndef ASMOTOR_LINK_TYPES_H
#define ASMOTOR_LINK_TYPES_H
-#if defined(AMIGA) || defined(__GNUC__)
#define _MAX_PATH 512
-#endif
typedef unsigned char UBYTE;
typedef signed char SBYTE;
--- a/src/asm/main.c
+++ b/src/asm/main.c
@@ -21,11 +21,6 @@
int yyparse(void);
void setuplex(void);
-#ifdef AMIGA
-__near long __stack = 65536L;
-
-#endif
-
/*
* RGBAsm - MAIN.C
*
--- a/src/asm/yaccprt1.y
+++ b/src/asm/yaccprt1.y
@@ -328,30 +328,6 @@
nLineNo-=1;
}
-
-#ifdef PCENGINE
-ULONG ZP( struct Expression *expr )
-{
- return( (!rpn_isReloc(expr)) && (expr->nVal>0x1FFF) && (expr->nVal<0x2100) );
-}
-
-void out_ZPByte( struct Expression *expr )
-{
- if( rpn_isReloc(expr) )
- {
- rpn_CheckZP(expr,expr);
- out_RelByte(expr);
- }
- else
- {
- if( ZP(expr) )
- out_AbsByte(expr->nVal-0x2000);
- else
- fatalerror( "Value not in zeropage");
- }
-}
-#endif
-
%}
%union