PPCenter :: devblog

PPcenter. Arts and craft for my Sega Saturn. Since 1847 !

Treatment report (2014/08/12)

Written by cafealpha no comments
Nothing really special today.
This morning, the roommate in front of me (separated by 2 curtains) left hospital, so I am now the patient with the longest stay in this room.
Previous roommate always spoke to himself while sleeping, so it's great that he finally left hospital


Among the two roommates remaining with me in this hospital room,
 - first one snores loudly ...
 - second one likes to play with room's air conditioner settings ... I don't know why he set temperature room to 28℃ .... maybe a game with me, I don't know.
Anyway, I plan to restore temperature to 26℃ as soon he changes it ... I have no choice, because his favorite temperature feels like hell to me.
And if he really continues to bother me, I will pour extra strong bond on air conditioner remote controller buttons


Doctor now use small syringe to pour sterilized solution in my mouth's scar in order to clean it, which is a sign that everything is going well for it
Also, according to the doctor, there's no longer need to clean this scar twice a day : once a day is now enough, which is another good sign about this scar :]
I hope this scar will close properly this week. After that, I finally will be able to start eating rehabilitation !!


On Saturn dev side (at first, this blog was intended to be a Saturn dev related blog !), I had fun with interrupt C and code executing on ROM ... except constant ones (of course), no global variable is allowed for ROM code ! Ouch.
Still not compiling, less than half of the project is coded, nothing tested, so I will continue tomorrow

Read more Treatment report (2014/08/12)

New compiler for my Saturn stuff !

Written by cafealpha no comments
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
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
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