Date: Wed, 28 Jan 1998 13:40:21 -0500 From: "Pedro F. Giffuni" <pfgiffun@bachue.usc.unal.edu.co> To: Chuck Robey <chuckr@glue.umd.edu> Cc: Mike Smith <mike@smith.net.au>, Amancio Hasty <hasty@rah.star-gate.com>, multimedia@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: http://www.descent2.com/ddn/sources/descent1/index.html Message-ID: <34CF7B95.41C67EA6@bachue.usc.unal.edu.co> References: <Pine.BSF.3.96.980128102024.341P-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
FWIW, I think I saw a TASM to GAS utility in www.delorie.com, but I can't find it now. There's another thing, though ATT to TASM, it's not too difficult to turn it around. cheers, Pedro. Chuck Robey wrote: > > On Wed, 28 Jan 1998, Mike Smith wrote: > > > Like I said, you want an automated translator. MASM's idea of a > > "macro" is pretty generous too, eg. > > I think you're wrong ... I have done this recently, with some success ... > you take the original code and compile it (me with my Borland tools, which > compile Masm code ok) and then use the "o2c.exe" program to translate from > Intel OMF to coff. > > Can you send me some of the assembler stuff? I'll send back coff ... or > do you guys know if there's a coff disassembler? Lemme see ... > > > > > ;scales a vector, adds it to another, and stores in a 3rd > > ;takes edi=dest, ebx=src1, esi=src2, ecx=scale. returns edi=vector > > vm_vec_scale_add: pushm eax,edx > > > > for ofs,<x,y,z> > > mov eax,[esi].ofs > > fixmul ecx > > add eax,[ebx].ofs > > mov [edi].ofs,eax > > endm > > > > popm eax,edx > > ret > > > > Making this work neatly with gas would be, er, fun. And I invite you > > to understand the code in the div0 directory. 8) > > > > > To put it another way , Descent I will make one hell of a splash screen 8) > > > > Sure. Just need a few keen punters with some time on their hands. > > > > -- > > \\ Sometimes you're ahead, \\ Mike Smith > > \\ sometimes you're behind. \\ mike@smith.net.au > > \\ The race is long, and in the \\ msmith@freebsd.org > > \\ end it's only with yourself. \\ > > > > > > > > > > ----------------------------+----------------------------------------------- > Chuck Robey | Interests include any kind of voice or data > chuckr@glue.umd.edu | communications topic, C programming, and Unix. > 213 Lakeside Drive Apt T-1 | > Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD > (301) 220-2114 | version 3.0 current -- and great FUN! > ----------------------------+-----------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34CF7B95.41C67EA6>