Re: Windows Assembly




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

.



Relevant Pages

  • Re: Video Mode 13h in windows XP ... impossible?
    ... there is NO problem using mode 13h under XP...if you write a DOS ... terminates so does the "DOS box" and you return to the Windows desktop ... A dedicated assembler (most of which are completely free and available ... NASM, this is _certainty_ that it's okay for you to do so...the people ...
    (alt.lang.asm)
  • Windows Assembly
    ... I decided I want to write a game. ... 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. ... 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 currently use NASM, so documentation with examples in code that looks more like NASM and less like GAS would be more beneficial to me. ...
    (alt.lang.asm)
  • 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)
  • Re: older games dont work
    ... | here the readme.txt of the game to you take a look, ... | Windows 95 including but not limited to: ... | * Serial play: null modem cable, ... | to map a pedal as a control ...
    (microsoft.public.windowsxp.games)
  • Re: Bad habits
    ... Have you tried writing something with RosAsm? ... I am now basically ready to take up on the stuff I added to Delphi, and add that to my asm code, and continue from there. ... was to create a GUI that could be used as well for a game as for a Desktop app. ... The only free lunch is to start with a good assembler, and for windows, the best one is called RosAsm, and this is an OBJECTIVE truth. ...
    (alt.lang.asm)