Hello,
Sorry if this is the wrong place to post. I recently decided that I would like to program for the DreamCast, So I set up DDEr4 and am using code blocks to program. After setting up a small "hello world" message, I build the solution and then I end up with a .elf file and a .o file inside my debug folder.
What would I need to go about doing next in order to make it runnable on the Dreamcast itself. Would I export it to .bin with a converter?
Sorry if this is a nooby question but I only began programming a few years back and some of this is all foreign to me as my main area of expertise is software development.
Thanks in Advance,
Matt
Help With Compiling
-
- DCEmu Newbie
- Posts: 3
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Sat Sep 15, 2012 8:28 am
- Has thanked: 0
- Been thanked: 0
-
- DCEmu User with No Life
- Posts: 3641
- Joined: Sat Feb 16, 2002 1:55 pm
- Has thanked: 0
- Been thanked: 0
Re: Help With Compiling
The .o file is a COFF file containing just your program's compiled code and symbol table. The .elf file is the full executable format that is linked with the libraries, startup code, and so on.
You have two basic options:
1) Master a disc with your program as the boot file. For this it needs to be converted to .bin and then "scrambled" into a 1ST_READ.BIN file. The "scramble" tool is probably already in DDEr4 somewhere.
2) Run a separate loader program on the Dreamcast to load the .elf file. There's a program that does this, but I don't remember what it's called.
You have two basic options:
1) Master a disc with your program as the boot file. For this it needs to be converted to .bin and then "scrambled" into a 1ST_READ.BIN file. The "scramble" tool is probably already in DDEr4 somewhere.
2) Run a separate loader program on the Dreamcast to load the .elf file. There's a program that does this, but I don't remember what it's called.
"You know, I have a great, wonderful, really original method of teaching antitrust law, and it kept 80 percent of the students awake. They learned things. It was fabulous." -- Justice Stephen Breyer