Shining Force 3 works !

Written by cafealpha 10 comments
Classified in : Saturn, Programming, Mylife Tags : saturn, memcart, kai, shining force
Additional testing of my test cartridge showed that Shining Force scenario 3 was "working" well when using memory expander hack

By "working", I mean that game was working fine (no freeze, black screen whatever) while looking for save data on SD card.
I didn't verified if save data was consistent or not, this can be verified and eventually fixed later

data/images/20150915_sforce39.tb.png
Game is looking for SFORCE39 save data ?!

Logs show that game is looking for SFORCE31 save data, which is normal, but after that it is looking for SFORCE39 save data ?!?
I suppose this is some debug stuff that was left as-is, or maybe something for game beta testers ? Please let me know if you have more informations about this


It "works", but there's still a lot of code to write/cleanup/etc before release !
At first, I should add some "log to SD card" feature, this may be useful when we will enter beta testing stage

BTW, I'm looking for a name for my "SD card-based memory cart for Saturn" project.
The only requirement is that the name needs to be easy to remember. Suggestions are welcome


Edit (2016/02/12) : nearly 5 months after, everything works more or less so that I took a couple of videos of Pseudo Saturn Kai in action
data/images/20160212_xzibit_video.jpg
Video in video ?

More next week month

Edit (2016/03/16) : took longer than expected to add subtitles to the videos, but everything is finally ready. Thank you for your patience

data/images/20160316_shining_force_3_sd_memcart.jpg
Shining Force 3 Scenario 1 SD Memory Cart test
Game is accessing save data from cartridge's SD card. It works



data/images/20160316_shining_force_3_sd_memcart_makingof.jpg
Shining Force 3 Scenario 1 SD Memory Cart test (Making Of)
Same as above, with also log messages display on my dev laptop

Read more Shining Force 3 works !

Scritch, scritch ...

Written by cafealpha 3 comments
Classified in : Saturn, Mylife Tags : saturn, memcart, kai, cartridge, shell
Today was a coding-free recreation day
Instead of coding, I used my brand new rasp (file) on a Saturn memory cartridge shell :
data/images/20150909_memcart_shell.tb.jpg
SD card on Memory Cartridge ?

Yeah, I know, it's "homemade"

Request : I only have a limited stock of cartridge shell, so is there somebody with a 3D printer/whatever ready to produce shells ? If you have the skillz, hardware, time and motivation to produce Saturn cartridge shells, please contact me via my homepage's contact form .
I can offer one cartridge (without shell) if you fulfill my needs

Edit : I forgot to put a picture of the cartridge itself :
data/images/20150909_family_portrait.tb.jpg
Cartridges Rev 3.1, Rev 2f, Rev 1b

Read more Scritch, scritch ...

Yeah !!! It work ! (when it doesn't bug)

Written by cafealpha no comments
Classified in : Saturn, Programming, Mylife Tags : saturn, memcart, kai
This afternoon was a very intense debugging session
Nah, I joke, I just played Sonic R and Virtua Fighter Kids with my debug cartridge plugged on my Saturn

data/images/20150908_memcart_vfkids.png.tb.jpg
I unlocked Sarah's movie

Unfortunately, I lost against Dural during last (bonus) stage, but at least I was stronger than Saturn BIOS Backup Library

data/images/20150908_memcart_dbg.tb.png
Debug session using my good old SatLink tool.
Virtua Fighter Kids save file is read from/saved to SD card.
And as a bonus, backup related functions send debug messages
 to my dev laptop while the game is running

There's still a lot to do before getting something good, but today's debug session showed that current hardware (cartridge's PCB, CPLD firmware) and software (SH2 firmware) are working (more or less) fine

Read more Yeah !!! It work ! (when it doesn't bug)

Could finally write a file to my SD card :]

Written by cafealpha 3 comments
Classified in : Saturn, Programming Tags : saturn, kai, backup, sd card
I could finally write a file to my SD card ... from my Saturn
Well, I just tested by dumping my Saturn's BIOS, and didn't tried further, because I don't want to find and fix other bugs today

data/images/20150716_bios_dump_ok.tb.png
Top : my Saturn BIOS, dumped from my Freewing device 5 years ago
Bottom : BIOS file in my SD card dumped today
Hex Editor says that both files are identical

This fixes a nearly 3 years old bug
At that time, I connected a SD card to my second pad port on my Saturn and could read files successfully. However, file write sometimes failed ... I thought about many possible causes of failures (not enough 3.3V power supply ? Bad luck ? etc etc), but it was a software bug : writing sectors to SD card actually takes longer than reading sectors, and I didn't waited enough for my SD card to finish write.
Changing poll timeout count from 500 clocks to 50000 clocks seems to fix the problem. (Q&D fix, but if it works fine, I won't change it )

So now, as SD card read/write access works on both yabause and real hardware, it is time to to use it in order to develop new features for my Saturn

data/images/20150716_memcart_rev2f.tb.jpg
My SD card cartridge for Saturn (Q&D prototype revision )

Edit : wow, current cartridge firmware build ID (incremented on each make/build) is 4200

Read more Could finally write a file to my SD card :]

Rss feed of the category