Remove some dead code.

This commit is contained in:
Anthony J. Bentley
2013-05-19 16:14:31 -06:00
parent d0d85abb97
commit 51c01e3aad
6 changed files with 0 additions and 37 deletions

View File

@@ -1,9 +1,7 @@
#ifndef ASMOTOR_ASM_TYPES_H #ifndef ASMOTOR_ASM_TYPES_H
#define ASMOTOR_ASM_TYPES_H #define ASMOTOR_ASM_TYPES_H
#if defined(AMIGA) || defined(__GNUC__)
#define _MAX_PATH 512 #define _MAX_PATH 512
#endif
typedef unsigned char UBYTE; typedef unsigned char UBYTE;
typedef signed char SBYTE; typedef signed char SBYTE;

View File

@@ -1,9 +1,7 @@
#ifndef ASMOTOR_LIB_TYPES_H #ifndef ASMOTOR_LIB_TYPES_H
#define ASMOTOR_LIB_TYPES_H #define ASMOTOR_LIB_TYPES_H
#if defined(AMIGA) || defined(__GNUC__)
#define _MAX_PATH 512 #define _MAX_PATH 512
#endif
typedef unsigned char UBYTE; typedef unsigned char UBYTE;
typedef signed char SBYTE; typedef signed char SBYTE;

View File

@@ -1,9 +1,7 @@
#ifndef ASMOTOR_LINK_LINK_H #ifndef ASMOTOR_LINK_LINK_H
#define ASMOTOR_LINK_LINK_H #define ASMOTOR_LINK_LINK_H
#if defined(AMIGA) || defined(__GNUC__)
#define _MAX_PATH 512 #define _MAX_PATH 512
#endif
#include "link/types.h" #include "link/types.h"

View File

@@ -1,9 +1,7 @@
#ifndef ASMOTOR_LINK_TYPES_H #ifndef ASMOTOR_LINK_TYPES_H
#define ASMOTOR_LINK_TYPES_H #define ASMOTOR_LINK_TYPES_H
#if defined(AMIGA) || defined(__GNUC__)
#define _MAX_PATH 512 #define _MAX_PATH 512
#endif
typedef unsigned char UBYTE; typedef unsigned char UBYTE;
typedef signed char SBYTE; typedef signed char SBYTE;

View File

@@ -21,11 +21,6 @@
int yyparse(void); int yyparse(void);
void setuplex(void); void setuplex(void);
#ifdef AMIGA
__near long __stack = 65536L;
#endif
/* /*
* RGBAsm - MAIN.C * RGBAsm - MAIN.C
* *

View File

@@ -328,30 +328,6 @@ void if_skip_to_endc( void )
nLineNo-=1; 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 %union