New compiler for my Saturn stuff !

Written by cafealpha no comments
Classified in : Saturn Tags : saturn, compiler, motivation
Today, I just changed all my projects configuration and sources in order to use latest "Saturn SDK" compilers 

Very boring work, but now I feel happy to get all my projects updated !

Motivation hedgehog for today work, and future work too :
data/images/20140805_hedgehog.jpg

Here is a list of problems I fixed to get the new compilers working :
 - Don't call directly ld, instead call gcc -o. Why ? because ld can't find properly path to libgcc.a ...
 - Consequently, some link parameters need to be changed :
    "--script bart.lnk" → "-T bart.lnk"
    "-Map main_elf.map" → "-Wl,-Map=main_elf.map"
 - Some signed/unsigned mess that need to be fixed ... old compiler was quiet about this, which made me not worrying about data signedness ^^;
 - Removed volatile keyword in function declaration ... it actually didn't made sense to use volatile elsewhere than in data declaration !
    /* Exit to multiplayer. */
    //(**(volatile void(**)(void))0x600026C)();
    (**(void(**)(void))0x600026C)();
 - Removed SBL sources that were used to read file from CDROM, because they don't compile properly except in -O0 (non) optimisation mode ... Instead, I use source from great CyberWarriorX library

Read more New compiler for my Saturn stuff !

New homebrew cartridges : finished design stage !

Written by cafealpha no comments
Classified in : Saturn Tags : Kicad, PCB, USB dev cart
Since being at hospital gives me a lot of free time, I spend time having fun with Kicad software
data/images/20140801_pcb1.tb.png and data/images/20140801_pcb2.tb.png
The first one is "only" a cleaned-up, partially re-routed version of "Rev 1c (data/images/20140801_rev1c.tb.jpg)" cartridge I used to sold on this homepage last year.
Can you spot major and minor differences between Rev 1c and new version ?

When I will be out of the hospital, I plan provide them for sale as USB dev cart .


The second one is for private use (not for sale), and its purpose is private too. That's why I blurred its picture

Read more New homebrew cartridges : finished design stage !

Howto : Build Saturn cartridge firmware from regular Saturn executable

Written by cafealpha no comments
Classified in : Saturn, Programming Tags : Saturn, mkfirm, utility
In this article, I will explain how to build Saturn cartridge firmware from Saturn executable file.

Note : it doesn't magically convert .iso files to cartridge format ! It only convert standalone executable (typically, a file that can be executed after being uploaded to 06004000 address), and doesn't support programs that use CDROM.
So, basically commercial games can't be converted, and only some (not all) homebrew programs can be converted.

Read more Howto : Build Saturn cartridge firmware from regular Saturn executable

Rss feed of the category