Dark Bit Factory & Gravity
PROGRAMMING => Other languages => ASM => Topic started by: Baudsurfer on March 07, 2013
-
Hello,
Today I released a 128-byte intro named amaze with sourcecode as Wolfenstein 3D clone.
The previous landmarks are 3 intros that are 256 bytes.
Of course I had to cut many corners, so it's glitchy, probably buggy, and without escape key exit.
I tested it on xp.
The source can be found here : http://olivier.poudade.free.fr/src/amaze128.asm
There are 2 versions in the archive, one is 128 bytes and one is 138 bytes (with floor) in bonus directory.
-
very good, but you have a redraw problem and its very slow because you are setting the video mode with each new frame. If you set the video mode only once at the very start the redraw problem is not noticable and the speed is much better. But then you have no clear screen. Still a better option I think
-
I think this is a really nice intro, Baudsurfer amazing that you squashed it into 128 bytes! It ran fine on my old laptop with XP.
-
Hello,
After initial feedback I decided to release a second version of Amaze (Amaze 2) taking into account the hereunder issues :
-divide overflow error bug (on certain computers the IVT was different and thus couldn't count on camera path) ;
-flickering/tearing impairing visibility (now double-buffered) ;
-speed (vga video memory is fast to write and very slow to read : fixed with double buffering above) ;
-better yaw angle (seemed too subtle in previous).
The source code is here : http://olivier.poudade.free.fr/src/amaze128v2.asm
The full archive is here : http://olivier.poudade.free.fr/arc/amaze2.zip
As a trade-off, the texturing was removed, and it looks almost exactly like Justin Frankel's 256-byte version.
P.S. : the last four bytes were hard to crunch. I won't do a third version but I am interested in feedback.
-
Excellent Work Baudsurfer
-
Super impressive stuff Baudsurfer, and totally over my head :) I'm in awe of stuff like this, great work!
-
Thank you Rain_storm, Shockwave and Raizor for your nice comments.
-
It doesn't run for me unfortunatly (windows 7, 64 bit on a Vaio). :(
Screens look really good!
What I gather from the error message I get it's something to do with x86 32 or 64 bit stuff. It also says I should contact the author of the software. ;D
Do you know of the 5k js wolfenstein (http://www.wolf5k.com/#)? I never actually got it to run on my browsers, but the code may be of interest.
-
Hello Kirl,
>It doesn't run for me unfortunatly (windows 7, 64 bit on a Vaio). :(
>Screens look really good!
Yes. I have a friend who has amd/now intel X86-64bit, and he wasn't able to run other program of mine (.com file too).
I'm not aware if it's just my code or any 16bit com program having problems running on 64bit xp (if someone has extra info ?).
As far as I recall the intel failed IA64 just bought the AMD framework which has full backward compatibility, and since no call gates are used (privileged instructions), I guess M$ blew it again. I even initiated different assumed starting register values for ntvdm in trying to do a "safe" version to no avail.
There are however supposedly possibilities of runing 32bit code on windows 64bit platforms :
http://celframe.com/supportsuite/index.php?/Knowledgebase/Article/View/367/0/how-to-run-32-bit-application-in-64-bit-windows-operating-system
>What I gather from the error message I get it's something to do with x86 32 or 64 bit stuff. It also says I should contact the author of >the software. ;D
And just for doing that that you've earned yourself some karma :)
>Do you know of the 5k js wolfenstein (http://www.wolf5k.com/#)? I never actually got it to run on my browsers, but the code >may be of interest.
Yes, a famous old site with a nice macintosh look.
Look here also newer by P01 (Castle Wolfenstein Homage to Wolfenstein 3D in 20 lines of JavaScript by Mathieu 'p01' Henri January 2oo8) : http://www.p01.org/releases/20_lines_Castle_Wolfenstein/
-
Yes, a famous old site with a nice macintosh look.
Look here also newer by P01 (Castle Wolfenstein Homage to Wolfenstein 3D in 20 lines of JavaScript by Mathieu 'p01' Henri January 2oo8) : http://www.p01.org/releases/20_lines_Castle_Wolfenstein/
That's crazy, runs great on my browser too! :o