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 

SNES SDK C Compiler !

 
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: Fri May 01, 2009 4:35 pm    Post subject: SNES SDK C Compiler ! Reply with quote

Original by ulrich.hecht,
Here : http://code.google.com/p/snes-sdk/

Win32 BIN build by "The Undisbeliever"
Here : http://undisbeliever.snesdev.net/snes-sdk.zip

Thanks "The Undisbeliever"


Last edited by Tomy on Fri Aug 07, 2009 6:32 pm; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
Tomy
Site Admin


Joined: 02 Aug 2005
Posts: 414

PostPosted: Fri Aug 07, 2009 6:31 pm    Post subject: Reply with quote

Now, the website have latest build 67.
http://code.google.com/p/snes-sdk/updates/list
Back to top
View user's profile Send private message Send e-mail
Tomy
Site Admin


Joined: 02 Aug 2005
Posts: 414

PostPosted: Thu Sep 03, 2009 11:03 pm    Post subject: Reply with quote

I asked some question, here is the reply from the author :

> I want to ask you that do you have any example for doing multi bank ?

Look in tcc-65816/test/hw, this hog currently uses three ROM banks,
IIRC. But there is really no magic involved, see below.

> Variable only have $2000 in lenght (because in bank 0 only have $2000) ?

Bank 0 is essentially only used for the stack and the two tcc
pseudo-register sets (regular and interrupt).

> Or can be bigger ? (bank $7E/$7F)

The .bss section is in bank $7e from $2000, the .data section in bank
$7f, so uninitialized data can be up to 56k in size, initialized data
up to 64k. Constant data (string constants, constant arrays etc.) is
put in ROM, so with the current (LoROM) header file, it can be up to
32k apiece. One of the RAM banks is also used by the heap allocator
(malloc() and free()), but I don't currently recall which. Smile

> Please tell me, I have no idea how to do that.

There's nothing to do. tcc declares all text and data sections
"superfree", and wlalink takes care of assigning them to the
appropriate banks and can also discard unreferenced sections (-d). All
accesses are long, so there is really nothing you need to care about.
Just write C code. Be sure to mark all data that is supposed to go to
ROM "const", or it will be copied to RAM by the startup code.
Back to top
View user's profile Send private message Send e-mail
Videogamer555



Joined: 01 May 2009
Posts: 102

PostPosted: Fri Jan 28, 2011 6:12 pm    Post subject: Reply with quote

Where's the download link now? Previous link for Windows binaries download is dead.
Back to top
View user's profile Send private message
Chilly Willy



Joined: 08 Feb 2009
Posts: 174

PostPosted: Tue Feb 01, 2011 5:37 am    Post subject: Reply with quote

Mic has a mirror of a recent build here:
http://jiggawatt.org/notmine/SNES_SDK_r67_Win32.zip

and while you're there, get his extra optimizer for the snes-sdk:
http://jiggawatt.org/badc0de/optimore-816r3.zip

as well as his graphics convert for SNES/MD/etc:
http://jiggawatt.org/badc0de/sixpack/sixpack-13.zip

He's got lot's of good stuff on his site - you might want to just check it over. Very Happy

http://jiggawatt.org/badc0de/
Back to top
View user's profile Send private message
Videogamer555



Joined: 01 May 2009
Posts: 102

PostPosted: Tue Feb 01, 2011 6:10 am    Post subject: Reply with quote

Norton antivirus gives a warning he's infected with 3 viri on his website and gives a BIG RED X as it's safety rating for his site. What's THAT all about?
Back to top
View user's profile Send private message
Chilly Willy



Joined: 08 Feb 2009
Posts: 174

PostPosted: Tue Feb 01, 2011 8:51 pm    Post subject: Reply with quote

Videogamer555 wrote:
Norton antivirus gives a warning he's infected with 3 viri on his website and gives a BIG RED X as it's safety rating for his site. What's THAT all about?


Norton's is full of shit. I haven't used Norton's in almost a decade because of how bad they were. You should really switch to something better.

In the meantime, if you're worried, run Firefox with the NoScript extension and AdBlock Plus.

Just as a observation that might ease your worries - that site is NOT in the Mozilla database as an attack site, and it would be if it were as bad as Norton's says.
Back to top
View user's profile Send private message
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