Re: Windows Assembly
- From: "JGCASEY" <jgkjcasey@xxxxxxxxxxxx>
- Date: 12 Sep 2005 01:57:54 -0700
Richard Cooper wrote:
> I decided I want to write a game.
What kind of game/s are you interested in?
> After exploring my options, I've decided two
> things: Linux isn't good for games, and C is
> a real pain. So I guess it's Windows Assembly
> time.
Why is C a real pain? There are tutorials for
game playing programs in C and even using C in
a DirectX shell for games.
> I know a lot of people in this newsgroup program
> on Windows, so if some of you could point me to
> some good websites, that'd be really nice of you.
> Thanks.
>
>
> Here's where I'm at:
>
>
> I know assembly very well, however, I don't know
> the first thing about doing assembly, or any other
> programming, under Windows. I haven't even used
> Windows signifigantly since the 3.11 days.
Big learning curve ahead?
> So all I really need is a nice little tutorial on
> how to use the Windows API from assembly language,
> as well as anything special that has to be done to
> get such programs to assemble correctly, and then
> some good documentation on the Windows API itself.
>
>
> I'd also really like to find an assembler that is
> more like C.
HLA :-)
> If there were such a thing as a two-pass C compiler,
> such that you didn't have to prototype your functions
> and your global variables could appear anywhere in
> the code, that would be just awesome, but that's
> probably hoping for too much.
>
> The only thing I really like in C is the ability to
> use math expressions like
> "x = 12 * y + 47", fun
> complex pointer things like
> "*(&variable + x + 12) = *(pointer + y + 31)",
> and the ability easily pass parameters to and from
> functions, as those three features save a lot of
> time and usually produce the same assembly code
> I would have written myself anyway.
>
> I couldn't care less about the standard library,
> usually I don't like any of the functions in it
> anyway, not to mention I hate calling a function
> just to push a number into the FPU and calculate
> the sine.
>
>
> I currently use NASM, so documentation with
> examples in code that looks more like NASM and
> less like GAS would be more beneficial to me.
So you use NASM and haven't used Windows I assume
this means you have only used DOS?
This is the position I am in and over the last
three weeks have delved into the possibility of
writing Win32 assembler programs.
To what extent you need all that Window stuff
depends on the kind of game you want to write.
-
John Casey
.
- Follow-Ups:
- Re: Windows Assembly
- From: Richard Cooper
- Re: Windows Assembly
- References:
- Windows Assembly
- From: Richard Cooper
- Windows Assembly
- Prev by Date: Windows Assembly
- Next by Date: Re: Windows Assembly
- Previous by thread: Windows Assembly
- Next by thread: Re: Windows Assembly
- Index(es):
Relevant Pages
|