From 8c2ba5ad6362a09377daeb9951b1045efe4312d0 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Mon, 19 Aug 2002 12:37:37 +0000 Subject: [PATCH] Cleaned up some old #defines Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@160 --- src/cpu/core_16/support.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/cpu/core_16/support.h b/src/cpu/core_16/support.h index e6008cd9..34c4e73f 100644 --- a/src/cpu/core_16/support.h +++ b/src/cpu/core_16/support.h @@ -18,25 +18,13 @@ EAPoint IPPoint; - #define SUBIP(a) IPPoint-=a #define SETIP(a) IPPoint=SegBase(cs)+a #define GETIP (Bit16u)(IPPoint-SegBase(cs)) #define SAVEIP reg_ip=GETIP #define LOADIP IPPoint=SegBase(cs)+reg_ip -/* -#define ADDIP(a) { \ - Bit16u add_ip=(Bit16u)(IPPoint-SegBase(cs)); \ - add_ip+=a; \ - IPPoint=SegBase(cs)+add_ip; \ - } -*/ static INLINE void ADDIP(Bit16u add) { - -// Bit16u oldip=(IPPoint-SegBase(cs)); -// oldip+=add; -// IPPoint=SegBase(cs)+oldip; IPPoint=SegBase(cs)+((Bit16u)(((Bit16u)(IPPoint-SegBase(cs)))+(Bit16u)add)); }