Win32 asmlock.s to C, was RE: [AD] [BUG] ccolconv.c void * arith. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: <alleg-developers@xxxxxxxxxx>
- Subject: Win32 asmlock.s to C, was RE: [AD] [BUG] ccolconv.c void * arith.
- From: "Matt Witherspoon" <spoon@xxxxxxxxxx>
- Date: Tue, 12 Apr 2005 14:29:53 -0400
- Thread-index: AcU/OGEd5NrtAWKqRyqDAlwX0RuiMQAUpqRg
It would be much easier to simply inline the asm into a MSVC .c file.
Unfortunately, MSVC uses Intel format where of course GCC uses AT&T. If
someone could convert the AT&T asm to Intel asm, it would only take a matter
of 15-30 minutes to inline this asm into MSVC (if that).
I might give this a try tonight, as the conversion doesn't really look
incredibly hard and the asm isn't that entirely complex anyways. If someone
is already in the middle of another solution let me know so we don't
duplicate the work.
Matt Witherspoon
-----Original Message-----
From: alleg-developers-admin@xxxxxxxxxx
[mailto:alleg-developers-admin@xxxxxxxxxx] On Behalf Of AJ
Sent: Tuesday, April 12, 2005 4:20 AM
To: alleg-developers@xxxxxxxxxx
Subject: Re: [AD] [BUG] ccolconv.c void * arith.
would writing the C equivalents, then compiling in MSVC to a msvc asm
file, then being a few tweaks to get the registers correct.. is that
possible ?