Sega CD booting
Moderator: Mask of Destiny
Sega CD booting
Hi guys. I'm back and I've got a question for you.
I was looking for sega cd header. There was anything, probably done by Chilly Willy, I think. But I can't find it anywhere.
I was looking for sega cd header. There was anything, probably done by Chilly Willy, I think. But I can't find it anywhere.
Rozumiem / Ma saan aru
Did you look at LukeProjectCD ?
https://code.google.com/p/240p-test-sui ... gacdfiles/
https://code.google.com/p/240p-test-sui ... gacdfiles/
It seems :
viewtopic.php?p=21348#21348
viewtopic.php?p=21348#21348
Thanks. I decided to compile cube_flat for test. but I've got a problems.
First "problem" was with segacd.o in catalog "lib\", but I immediately compiled segacd.s and moved to "lib\". There was also problem with "libgendev.a", but I just copied "libmd.a" and renamed it to "libgendev.a".
But now I don't know what to do.
Should I do all these things I did before or did I do something wrong?
First "problem" was with segacd.o in catalog "lib\", but I immediately compiled segacd.s and moved to "lib\". There was also problem with "libgendev.a", but I just copied "libmd.a" and renamed it to "libgendev.a".
But now I don't know what to do.
Code: Select all
C:/SGDK/lib/segacd.o: In function `_HBL':
(.text+0x158): undefined reference to `_hblank_callback'
C:/SGDK/lib/segacd.o: In function `_VBL':
(.text+0x168): undefined reference to `_vblank_callback'
C:/SGDK/lib/libgendev.a(memory.o): In function `MEM_init':
memory.c:(.text+0x6c): undefined reference to `_bend'
make: *** [out/romscd.out] Error 1
Should I do all these things I did before or did I do something wrong?
Rozumiem / Ma saan aru
-
- Very interested
- Posts: 237
- Joined: Fri Apr 17, 2009 7:35 pm
- Location: USA
Kind of late, and since I don't use SGDK I don't know but isn't that a user function? Like you need your own hblank_callback() C function. i.e. the hblank vector calls that function you need to supply, so you could leave it blank.
my album - last thursday died last week
I had to rename a few things in the ld files to get LukeProjectCD to work with SGDK in the Linux build stuff. I believe the "hblank" and "vblank" stuff becomes "hint" and "vint". There may have been other things as well, but that should get you started.
I remember I had trouble getting that particular demo to work with that boot code for some reason. I would be curious if you got it to work.
I remember I had trouble getting that particular demo to work with that boot code for some reason. I would be curious if you got it to work.