Oct 16th, 2005, 07:49 AM
#1
My first ASM game!!! [source/exe]
I've been learning ASM casually for a couple of weeks now and I thought I'd show off my efforts
Its just a text-based number game. But I was mainly playing with pointers and offsets and it turned into a game.
The ASM source and the EXE are in there for you to laugh at
Attached Files
Last edited by wossname; Oct 16th, 2005 at 07:55 AM .
I don't live here any more.
Oct 16th, 2005, 07:47 PM
#2
Re: My first ASM game!!! [source/exe]
Man, that's not bad for how long? A couple of weeks? Is the randomize procedurein the "Irvine32" include? If it is, gimme gimme
If not, reckon you could find which include its in for me?
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
Oct 17th, 2005, 03:15 AM
#3
Re: My first ASM game!!! [source/exe]
Yeah 2 weeks, I've got the ASM bug I love it. Wish I'd started it years ago now.
I'll have a scout around tonight for that function. I think the Irvine32.inc file only has a couple of includes in it, SmallWin.inc/lib and windows.inc/lib. I'll confirm it and let you know.
I don't live here any more.
Oct 17th, 2005, 04:27 AM
#4
Re: My first ASM game!!! [source/exe]
Nice work man. You don't know how long it took me to write ½ a line of executable ASM code. Although you have a book, I had crappy tutorials Still, very nice.
I've wanted to create my own random number generator for a while, but just haven't had the inspiration. The ASM for one would no doubt re-kindle my dream
chem
Visual Studio 6, Visual Studio.NET 2005, MASM
Oct 17th, 2005, 04:49 AM
#5
Re: My first ASM game!!! [source/exe]
Actually, thats my next project in ASM. Knuth* has full pseudo-ASM listings for several RNG's.
*
Donald Knuth: "The Art of Computer Programming", Vol 1, 1997
I'll post it when I've finished translating it. If its Knuth, then its probably optimal
I don't live here any more.
Oct 17th, 2005, 06:38 AM
#6
Re: My first ASM game!!! [source/exe]
i did one myself a very long time ago but mine had a counter.
"The dark side clouds everything. Impossible to see the future is."
Oct 17th, 2005, 10:06 AM
#7
Re: My first ASM game!!! [source/exe]
I need to find out how the one in my game works. It seems to keep a running count of the last number it gave and I don't know where it stores it.
I don't live here any more.
Oct 18th, 2005, 03:54 AM
#8
Re: My first ASM game!!! [source/exe]
Originally Posted by
chemicalNova
Man, that's not bad for how long? A couple of weeks? Is the randomize procedurein the "Irvine32" include? If it is, gimme gimme
If not, reckon you could find which include its in for me?
chem
Well I can't seem to find exactly where the function is kept so you'll have to download this instead...
http://www.nuvisionmiami.com/books/a...ine32_beta.zip
It contains the libraries and inc files that I am using.
Hope that's some help.
I don't live here any more.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width