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)
  • Re: Next interesting project, Lagunmatic CNC mill
    ... You see them on Ebay and at hamfests, ... And I *could* bring up my SSB DOS-68 systems and assemble code ... All aimed at Windows as the development platform? ... Windows doesn't do well with remote logins, ...
    (rec.crafts.metalworking)
  • Re: OT for cooking, but OT for newsgroups/usenet
    ... another desktop computer. ... You don't have to assemble anything anymore. ... problems (other than figuring how/where to install XP software on a ... Most problems are not HP's fault but Windows 7's. ...
    (rec.food.cooking)
  • 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)