shithub: rott

Download patch

ref: 436cfb864dda2ccc388264e05ab5e67d41e32bd0
parent: 2e4ceb5111856fdb7cdabbfbe2d16b15b14ee525
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 09:47:26 EDT 2018

Removing obsolete WATCOM code from modexlib.h

--- a/rott/modexlib.h
+++ b/rott/modexlib.h
@@ -80,30 +80,6 @@
 void  WaitVBL( void );
 void  TurnOffTextCursor ( void );
 
-#ifdef __WATCOMC__
-#pragma aux VGAWRITEMAP =      \
-        "mov    eax,01H"       \
-        "mov    edx,03c5h"     \
-        "shl    eax,cl"        \
-        "out    dx,al"         \
-        parm    [ecx]          \
-        modify exact [eax edx]
-
-#pragma aux VGAMAPMASK =       \
-        "mov    edx,03c5h"     \
-        "out    dx,al"         \
-        parm    [eax]          \
-        modify exact [edx]
-
-#pragma aux VGAREADMAP =      \
-        "shl    eax,08H"      \
-        "mov    edx,03ceh"    \
-        "add    eax,04H"      \
-        "out    dx,ax"        \
-        parm    [eax]         \
-        modify exact [eax edx]
-#endif
-
 #define VGAMAPMASK(a)
 #define VGAREADMAP(a)
 #define VGAWRITEMAP(a)