🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #4349

Re: Interlanguage access

#4349
From: Andrew Valencia
Date: Sun, 07 Aug 1988 03:27
13 lines
1082 bytes
/ hpisoa1:comp.lang.modula2 / robf2@pyuxf.UUCP (robert fair) /  7:00 am  Jul 28, 1988 /
>	Is it possible to link objects written/compiled in 'C' with a M2 
>	program [specifically Logitech M2 for MS-DOS] ?

	Yes.  Logitech is making noises about providing full support,
but for now you can pull it off you assembly language glue.  Just start
with Logitech's instructions on interfacing to MASM assembly, and build
a compatible calling interface to C (i.e., pop the arguments off the stack,
as M2 wants the callee to do it & C wants the caller to do it).  There
were some games with segment numbers, but we eventually got a binary-only
C library from Network Systems Corp. to interface to our M2 code.

				Andy
Technical Details
Message-ID: <6600002@hpisoa1.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!uwvax!rutgers!ucsd!ucbvax!hplabs!hpda!hpcupt1!hpisoa1!vandys
References: <374@pyuxf.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!uwvax!rutgers!ucsd!ucbvax!hplabs!hpda!hpcupt1!hpisoa1!vandys
From: vandys@hpisoa1.HP.COM (Andrew Valencia)
Newsgroups: comp.lang.modula2
Subject: Re: Interlanguage access
Message-ID: <6600002@hpisoa1.HP.COM>
Date: 7 Aug 88 03:27:15 GMT
References: <374@pyuxf.UUCP>
Organization: Hewlett Packard, Cupertino
Lines: 13