dreamcast development • homebrew software • hardware hacking • indie games • emulators • and more!
Back to main site
It is currently Sat Feb 24, 2018 5:02 am

All times are UTC - 8 hours [ DST ]

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Jan 28, 2018 3:04 am 
Insane DCEmu
Insane DCEmu

Joined: Sat Jul 27, 2013 11:16 am
Posts: 165
Hi everybody,

I make some code using KOS and want to test it on Reicast.
I use common self boot tool like bootBreams and obtain a regular CDI file.
But the file do not run on Reicast : it froze after the logo screen.
The CDI produced is good and boot up on machine.

I noticed that using Reicast some CDI files run and other not.
For example Dungeon Ross CDI file works.

My question is, how produce a CDI file that could be used on Reicast to test my code ?

Thanks for your help.

Reply with quote  
PostPosted: Thu Feb 22, 2018 12:56 pm 
DCEmu Freak
DCEmu Freak
User avatar

Joined: Sun Nov 01, 2015 7:25 pm
Posts: 51
What are you deving on?

Here's a part of a script that I use to make reicast bootable .CDI
you'll need a IP.BIN in your folder as well. I can't remember how I got that file tho. Maybe from one of the exemple?

Also, this will create the .CDI and .ISO outside of you current folder. This is to prevent repacking the previous .CDI into the newly made .CDI

#! /bin/sh
#automating script for making CD games


# go to  build directory
# make clean

#elf transform??
sh-elf-objcopy -R .stack -O binary main.elf output.bin

#scraming process
path/to/kos/utils/scramble/scramble output.bin 1ST_READ.bin

#creating iso -> -o outputname.cdi / build files path
mkisofs -C 0,11702 -V DC_GAME -G IP.BIN -r -J -l -o ../$PROJECT_NAME.iso $DIR

#transform iso into a CDI
path/to/kos/utils/cdi4cd/cdi4dc ../$PROJECT_NAME.iso ../$PROJECT_NAME.cdi -d > cdi4dc.log


Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 1 guest

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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group