Mail Archives: opendos/1997/03/09/19:53:33
>On Sat, 08 Mar 97 02:56:38 +0000 dg AT dcs DOT st-and DOT ac DOT uk writes:
>>(BTW, is there an easier way of getting at the 32-bit registers from
>>Borland
>>than using inline assembler and `db 0x66' in front of instructions?
>>That makes
>>my skin crawl... luckily, I found an API that didn't need it.)
>Sure, use TASM and link in the object file. (I had to do this with bpc).
> BTW, do you _have_ to use Borland to compile programs for the API, or
>was it just the one you picked?
I vaguely recall I tried TASM and it didn't understand the 32-bit instructions
either (though I could be wrong). Besides, doing it stand-alone with TASM
means that I'd have to find out about the C calling conventions. Having just
spent the day struggling with Alpha assembly code and gcc's C calling
conventions (run screaming!) I didn't feel like doing the same for Borland.
(Odd though this may seem I wrote PS to wind down.)
Why Borland? It's small (v3.1), easy to use (*great* IDE) and is perfectly
suited for the task.
--
------------------- http://www-hons-cs.cs.st-and.ac.uk/~dg --------------------
If you're up against someone more intelligent than you are, do something
totally insane and let him think himself to death. --- Pyanfar Chanur
---------------- Sun-Earther David Daton Given of Lochcarron ------------------
- Raw text -