SNES Doom Source Released! Now What?
Moderator: Moderators
Forum rules
- For making cartridges of your Super NES games, see Reproduction.
SNES Doom Source Released! Now What?
Good news, guys! Randy Linden just released the Doom SNES source!
https://github.com/RandalLinden/DOOM-FX ... 609/source
Naturally, not all of the code was released, as it seems all of the copyrighted Doom assets were removed from it.
And of course, since it's 1990s code, this stuff isn't going to automatically work in modern 65816 assemblers like WLA-DX or CA65.
So I'm thinking: is it possible to convert this code over to work with CA65?
A good amount of this code is for the SuperFX chip, so we can't use CA65. Or can we?
You see, ARM9 has made a SuperFX macro assembler for CA65 some time ago, and it seems LibSFX has Super FX support as well.
Can we please work together to convert the code over?
https://github.com/RandalLinden/DOOM-FX ... 609/source
Naturally, not all of the code was released, as it seems all of the copyrighted Doom assets were removed from it.
And of course, since it's 1990s code, this stuff isn't going to automatically work in modern 65816 assemblers like WLA-DX or CA65.
So I'm thinking: is it possible to convert this code over to work with CA65?
A good amount of this code is for the SuperFX chip, so we can't use CA65. Or can we?
You see, ARM9 has made a SuperFX macro assembler for CA65 some time ago, and it seems LibSFX has Super FX support as well.
Can we please work together to convert the code over?
I have an ASD, so empathy is not natural for me. If I hurt you, I apologise.
Re: SNES Doom Source Released! Now What?
AFAIR Randy made it's own toochain to compile all this stuff (including asm for SuperFX) and this is why this release of sources are marked as 'phase 1'.
Because there will be 'phase 2' or more with tools and compilers.
The problem is (AFAIR again) they are for some Amiga PC.
Because there will be 'phase 2' or more with tools and compilers.
The problem is (AFAIR again) they are for some Amiga PC.
Re: SNES Doom Source Released! Now What?
In case you're not familiar with it, the Commodore Amiga was a semi-popular personal computer from the late 80s and early 90s, and emulating it (with UAE) isn't terribly difficult as long as you can get a suitable Kickstart ROM image and a matching OS floppy.
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
P.S. If you don't get this note, let me know and I'll write you another.
Re: SNES Doom Source Released! Now What?
I... don't know. The idea of having to use an emulator every time you want to compile something DoomFX related just sounds a bit inconvenient.Quietust wrote: ↑Wed Jul 15, 2020 6:01 amIn case you're not familiar with it, the Commodore Amiga was a semi-popular personal computer from the late 80s and early 90s, and emulating it (with UAE) isn't terribly difficult as long as you can get a suitable Kickstart ROM image and a matching OS floppy.
I'd rather open up MSYS2 and just type in 'make' instead and let the makefile do everything.
I have an ASD, so empathy is not natural for me. If I hurt you, I apologise.
Re: SNES Doom Source Released! Now What?
There's no reason `make` can't start a VM, command that VM to checkout and build the source from the host, then copy the binary back to the host, then close the VM. We do this in enterprise software all the time.
Re: SNES Doom Source Released! Now What?
Doomworld got hold of it, and there's already a (slightly imperfect) patch to add circle-strafing.
https://www.doomworld.com/forum/topic/1 ... nt-2158679
If this keeps up, they'll have released The Ultimate Doom with dynamic lighting by the time I get around to assembling the vanilla ROM...
https://www.doomworld.com/forum/topic/1 ... nt-2158679
If this keeps up, they'll have released The Ultimate Doom with dynamic lighting by the time I get around to assembling the vanilla ROM...
Re: SNES Doom Source Released! Now What?
I'm hoping some wizards will be able to recreate the X-Band multiplayer patch, presumably with a more accessible networking framework.
Re: SNES Doom Source Released! Now What?
I just wish they will eventually be able to reduce the input lag. I've just played the patch on my SD2SNES and I still couldn't bear the lag. Well, that and the fact that L and R strafe and left and right on D-pad turn rather than vice-versa.93143 wrote: ↑Wed Jul 15, 2020 2:34 pm Doomworld got hold of it, and there's already a (slightly imperfect) patch to add circle-strafing.
https://www.doomworld.com/forum/topic/1 ... nt-2158679
If this keeps up, they'll have released The Ultimate Doom with dynamic lighting by the time I get around to assembling the vanilla ROM...
I have an ASD, so empathy is not natural for me. If I hurt you, I apologise.
Re: SNES Doom Source Released! Now What?
At the time Doom was released, turning was the primary form of side-to-side movement, as established by Wolfenstein 3D and earlier games that didn't even have strafing. If I'm not mistaken, strafing only became the norm when aiming with the mouse became the norm. For people who never got into modern FPSs, such as myself, turning with the D-pad feels very natural.
Re: SNES Doom Source Released! Now What?
In the source I see the use of 'mode' to set the 8 or 16-bit modes for A/X/Y however I also see an exclamation '!' sometimes. Does the use of '!' tell the assembler to generate the appropriate REP/SEP code? I also see '@A@X', any clues as to what the '@' is for? Maybe only generate REP code?
- Señor Ventura
- Posts: 233
- Joined: Sat Aug 20, 2016 3:58 am
Re: SNES Doom Source Released! Now What?
Maybe now can be displayed at 256x190 or so. An overclocked super fx (from the sd2snes) could run it.
Even could run in chuncks of 8 megs until 64 megs of total rom under super fx memory directioning using the mapper function of the msu1 (i think). But the first task here is the recognized lack of optimization.
Even could run in chuncks of 8 megs until 64 megs of total rom under super fx memory directioning using the mapper function of the msu1 (i think). But the first task here is the recognized lack of optimization.
-
- Posts: 1565
- Joined: Tue Feb 07, 2017 2:03 am
Re: SNES Doom Source Released! Now What?
Does anybody know what the SNES assembler that came with the devkit for Amiga was? All the snes devs I know have SNASM kits.
Re: SNES Doom Source Released! Now What?
Phase two adds a lot of new files: https://github.com/RandalLinden/DOOM-FX
Re: SNES Doom Source Released! Now What?
There's 68000 code in the source directory as well as C alongside the 65816/SuperFX stuff. The docs directory has a nice summarized version of the SuperFX instruction set.
Re: SNES Doom Source Released! Now What?
Loool. He used assembler to write RIPDOOM for Amiga. Assembler too.
C code (right now) is used to generate precalculated tables (like sin/cos) only! Lol. I think it's because of 'double' math support.
Right now project heavily uses 3 kinds of assembler for 3 different CPUs and a little bit C for floating point tools. xD
C code (right now) is used to generate precalculated tables (like sin/cos) only! Lol. I think it's because of 'double' math support.
Right now project heavily uses 3 kinds of assembler for 3 different CPUs and a little bit C for floating point tools. xD