Date: Fri, 31 May 1996 18:18:21 -0700 (PDT) From: Samuel Vincent To: Jamul cc: Eli Zaretskii , djgpp AT delorie DOT com, moskewicz AT MEM DOT po DOT com Subject: Re: COM port access In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 30 May 1996, Jamul wrote: > Well, never did find the bug, unless it got confused by my desire for 8 > bits AND a parity bit (how would I be able to read that in? two Hrm. you can only do even/odd parity if you have 7 bits for the data bit. (I think anyway... I've never attempted it.) > bytes?). But I stuck in the svasync library and WHAM, instant success. > So, being a lazy American, I consider this project done. Thanks, Sam! > If at first you don't succeed, use somebody else's library. Thanks for letting me know it works ;) If you can think of any improvements just let me know... > As for why I used inline assembly - I find it's much easier to do that > than to grep the proper syntax of a "registers" variable in C and so on. I > love inline assembly - and the GAS syntax is natural to me, as I came > from Apple IIgs programming in my youth. Though I could do with fewer > percent signs. Yes, those percent signs get annoying after a while. Maybe someone could come up with some macros in an include file that could make inline assembly very simple, where the macros would translate to the proper inline assembly syntax. Although it's not really _too_ tough to figure out. > Thanks for all your help! If anybody wants to see some almost totally > uncommented GCC source for a top-down gauntlet-like 2 player game, you > are welcome to it. As for the game itself, maybe I'll make it slightly > more entertaining and stick it on my web site. Sure, I'd love to take a look at it. Is there a single player mode? -Sam