Fw: Detecting include files
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Dec 03, 1997
- 737 views
------=_NextPart_000_0014_01BCFFBF.E40B1820 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Detecting include files Pseudo code to follow for example: -- NOTE: ONLY WORKS WITH EUPHORIA 2+ if routine_id (some_global_function_in_your_graphics_engine) =3D -1 then -- use the graphics engine else -- use other alternative routine end if >We need to be able to check for this at run time so as not to duplicate = the same assembly procedure. Create an ASM manager, (asm.e by Pete Eberlein is very nice) >This would also be helpful in cross platform development for = DOS/Windows. For example:=20 Yes, it's a shame, that the machine interface totally differs between = EupWin & EupDos. I really don't understand why de WIN32 version should support machine = call's, interrupts, and more stuff of that kind. Maybe some1 get write a library to call routines from a .lib file (I got = the specs, it doesn't look so hard) If no1 wants to, I'll give it a try, but that will take at least a few = months before I got time for it. =20 >Any help would be appreciated. Your welcome. =20 Ralf Nieuwenhuijsen, nieuwen at xs4all.nl ------=_NextPart_000_0014_01BCFFBF.E40B1820 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 = HTML//EN"> <META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2><B>Subject: </B>Detecting include=20 files<BR><BR> </DIV></FONT> <DIV><FONT color=3D#000000 size=3D2>Pseudo code to follow for = example:</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 face=3DArial size=3D2>-- NOTE: ONLY WORKS = WITH EUPHORIA=20 2+</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2>if routine_id=20 (some_global_function_in_your_graphics_engine) =3D -1 then</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT><FONT color=3D#000000 = face=3DArial=20 size=3D2> <FONT face=3D"Century Gothic">-- use the = graphics=20 engine</FONT></FONT></DIV> <DIV><FONT color=3D#000000 face=3DArial size=3D2><FONT=20 face=3D"Century Gothic"></FONT></FONT><FONT color=3D#000000 = size=3D2>else</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT><FONT color=3D#000000 = face=3DArial=20 size=3D2> <FONT face=3D"Century Gothic">-- use other = alternative=20 routine</FONT></FONT></DIV> <DIV><FONT color=3D#000000 face=3DArial size=3D2><FONT=20 face=3D"Century Gothic"></FONT></FONT><FONT color=3D#000000 size=3D2>end = if</FONT></DIV> <DIV> </DIV> <DIV><FONT color=3D#000000 size=3D2>>We need to be able to check for = this at run=20 time so as not to duplicate the same assembly procedure.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT><FONT color=3D#000000 = face=3DArial=20 size=3D2>Create an ASM manager, (asm.e by Pete Eberlein is very = nice)</FONT></DIV> <DIV> </DIV> <DIV><FONT color=3D#000000 size=3D2>>This would also be helpful in = cross platform=20 development for DOS/Windows. For example:</FONT> </DIV> <DIV> </DIV> <DIV>Yes, it's a shame, that the machine interface totally differs = between=20 EupWin & EupDos.</DIV> <DIV>I really don't understand why de WIN32 version should support = machine=20 call's, interrupts, and more stuff of that kind.</DIV> <DIV> </DIV> <DIV>Maybe some1 get write a library to call routines from a .lib file = (I got=20 the specs, it doesn't look so hard)</DIV> <DIV> </DIV> <DIV>If no1 wants to, I'll give it a try, but that will take at least a = few=20 months before I got time for it.</DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>>Any help would be = appreciated.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>Your welcome.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 face=3DArial size=3D2>Ralf = Nieuwenhuijsen,</FONT></DIV> <DIV><FONT color=3D#000000 face=3DArial size=3D2><A=20 Y></HTML> ------=_NextPart_000_0014_01BCFFBF.E40B1820--