WLA SNES programming help

Discussion of hardware and software development for Super NES and Super Famicom. See the SNESdev wiki for more information.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
KungFuFurby
Posts: 275
Joined: Wed Jul 09, 2008 8:46 pm

Re: WLA SNES programming help

Post by KungFuFurby »

I never thought about using WLA-DX for SPC700 code. I figured it was already a bad idea based off of what I heard about the compiler.

I'm backing away from Wine for my own safety... personally, I don't feel like running Windows-only (I'm OK with DOS, but not Windows) applications. I'm too nervous about attempting this approach...

Plus, I have XCode if the source is available.
Supernintony
Posts: 6
Joined: Thu Jan 30, 2014 10:24 am

Re: WLA SNES programming help

Post by Supernintony »

tepples wrote:I'll take the terminology debate to another topic.

Code: Select all

pino@pino-laptop:~$ file Desktop/X816.exe 
Desktop/X816.exe: MS-DOS executable, MZ for MS-DOS
Modern desktop operating systems (64-bit Windows, OS X, and Linux) cannot run MS-DOS executables as native processes. Are you recommending to run x816 inside the DOSBox emulator?

For comparison, a 32-bit Windows executable, which run as a native process under Linux with Wine libraries installed, looks like this:

Code: Select all

pino@pino-laptop:~$ file .wine/drive_c/Program\ Files/nocash/no\$sns.exe 
.wine/drive_c/Program Files/nocash/no$sns.exe: PE32 executable (GUI) Intel 80386, for MS Windows, UPX compressed
Supernintony: Are you using 32-bit or 64-bit Windows?

im using 64 bit windows
unseen
Posts: 4
Joined: Thu Feb 16, 2017 4:01 am

Re: WLA SNES programming help

Post by unseen »

Hello. I need some help compiling a SNES program. I attached the source files, if someone could please compile them for me and upload the result. I would like to test it in snes9x. Thank you.
Attachments
rom.rar
(11.6 KiB) Downloaded 109 times
unseen
Posts: 4
Joined: Thu Feb 16, 2017 4:01 am

Re: WLA SNES programming help

Post by unseen »

Or any advice how to compile a multi file source under windows?
creaothceann
Posts: 611
Joined: Mon Jan 23, 2006 7:47 am
Location: Germany
Contact:

Re: WLA SNES programming help

Post by creaothceann »

Look into README.me, it shows how to build it.
My current setup:
Super Famicom ("2/1/3" SNS-CPU-GPM-02) → SCART → OSSC → StarTech USB3HDCAP → AmaRecTV 3.10
unseen
Posts: 4
Joined: Thu Feb 16, 2017 4:01 am

Re: WLA SNES programming help

Post by unseen »

Use WLA-DX to build the ROM to give a rom.mif file
This is all it tells to do. I've tried compiling it with WLA, but the source is divided up into many files.
How can I link them all together? I am able to obtain .obj files from all of them separately, but what should I do next? Each file has declared as include only the dat.inc. Thanx.
unseen
Posts: 4
Joined: Thu Feb 16, 2017 4:01 am

Re: WLA SNES programming help

Post by unseen »

I managed to compile it, but it doesn't work. Seems to be corrupted?
Attachments
out.smc
(32 KiB) Downloaded 118 times
Post Reply