ToToTEK.COM Forum Index ToToTEK.COM
Help & Support Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CDoty WDCTest Source

 
Post new topic   Reply to topic    ToToTEK.COM Forum Index -> SNES Software/Hardware Development
View previous topic :: View next topic  
Author Message
Tomy
Site Admin


Joined: 02 Aug 2005
Posts: 414

PostPosted: Wed Mar 05, 2008 12:47 pm    Post subject: CDoty WDCTest Source Reply with quote

Check this post : http://linksadventure.no-ip.org/phpbb2/viewtopic.php?t=182

It is good to start with this sample source.

Quote:
You can download the free version of the WDC compiler from:
http://westerndesigncenter.com/wdc/Evaluation_Kit/freesdk.exe

It has a few limitations, but they aren't bad at all. There is a limit of 750 lines in each C source file (the installer says 250, but the compiler shows the error at 750), and 2k of asm code in each asm file.

The free version of the WDC compiler will work for SNES development. This isn't a multi-bank project, but adding a bank appeared to work without any problems. You will have to use jsl/rtl instead of jsr/rts, unless you know the routines are located in the same bank.

Here's my first test project, using some of the routines from Frog Feast; it does not use any libraries included with the compiler.

http://www.rastersoft.net/WDCTest.zip

I used the binary format, and wrote a utility to convert from binary to SNES binary.

The asm and C compilers seem very easy to use. The only issue I had was initially finding the command to include a binary file, it's INSERT.

I think this could be the beginning of C programming on the SNES.

Why does the forum convert ass.embler (without the period) to ass?
_________________
Looking for a new game for the SNES, Genesis, Sega CD, Neo Geo CD, FM Towns, Philips CD-I, Atari Jaguar/Jaguar CD, TG-16/CD, X68000 or, CD32?

Check out my Frog Feast game:
http://frogfeast.rastersoft.net/
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    ToToTEK.COM Forum Index -> SNES Software/Hardware Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group