Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!think!ames!ucbcad!ucbvax!cbosgd!ihnp4!ihlpm!leder From: leder@ihlpm.ATT.COM (Leder) Newsgroups: comp.sys.ibm.pc Subject: Re: wanted: MASM routine Message-ID: <1154@ihlpm.ATT.COM> Date: Wed, 3-Jun-87 10:24:21 EDT Article-I.D.: ihlpm.1154 Posted: Wed Jun 3 10:24:21 1987 Date-Received: Sun, 7-Jun-87 01:43:35 EDT References: <15963@brunix.UUCP> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 14 Summary: why not just use C In article <15963@brunix.UUCP>, rjd@nancy (Rob DeMillo) writes: > For some reason I am having trouble doing the following: > > I need to write a MASM routine that is callable from a higher level > MS language. (C or ForTran preferred...) The routine should just > accept three values: a screen coordinate (x,y) and a color. The > routine should then turn on the pixel at the approriate point in the > appropriate color. Please don't take this for a flame, but why not just use MSC to call INT 10, i.e. int86() or int86x or use a "far" pointer to the memory block of the screen and use & and | to twiddle the bits. Bob Leder