Windows Assembly



I decided I want to write a game. 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.

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.

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. 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.

Thanks.

BTW, my email doesn't work.  Sorry, but I'm too afraid of spam.
.



Relevant Pages

  • Re: Why I Dont Use Computers for Audio Very Much
    ... To me its obvious that only the very knowledgeable should assemble ... a computer and install a defined sound card and exactly one software ... motherboard (not a Gigabit, Asus, Abit, or Intel, the brands we talk ... Smoke test time came, and, while there was no smoke, Windows kept not ...
    (rec.audio.pro)
  • Re: Why I Dont Use Computers for Audio Very Much
    ... To me its obvious that only the very knowledgeable should assemble ... a computer and install a defined sound card and exactly one software ... motherboard (not a Gigabit, Asus, Abit, or Intel, the brands we talk ... Smoke test time came, and, while there was no smoke, Windows kept not ...
    (rec.audio.pro)
  • A Friendly review of "Windows Programming in Assemble Language" chapter 7
    ... Programming in Assemble Language". ... learning about how to do graphics under Windows rather than text. ... Using the LineTo and MoveToEx API Functions ...
    (alt.lang.asm)
  • Re: Low end desktop for EE tasks?
    ... Dell Vostro: Windows XP. ... Has parallel port which is nice. ... RAM, well, that ain't cutting it. ... I've never had them assemble a system for me - I've always ...
    (sci.electronics.design)
  • Re: older games dont work
    ... the support of my work have it and will burn a CD to me. ... and any other tips to make this game works will be great. ... Windows 95 including but not limited to: ... to map a pedal as a control ...
    (microsoft.public.windowsxp.games)