Results 1 to 2 of 2

Thread: Placing on the CD-rom and loading files from the CD-rom

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Nov 2011
    Posts
    1
    Rep Power
    0

    Default Placing on the CD-rom and loading files from the CD-rom

    Hello all.

    Currently, I'm compiling OpenGL code for the dreamcast using code::blocks and I can run it on nullDC. My problem is that I don't know how to load files from the CDrom.

    When I create a cdi image from the compiled elf file (using boot dreams) and load it in nullDC, the program runs but no files can be loaded. And when I open the CDI image with 7zip, there's no bmp files.

    How do I put media files (like wav and bmp) in the CDI image and then load them when I run the cdi from nullDC?

  2. #2
    DCEmu Newbie
    Join Date
    Nov 2006
    Posts
    6
    Rep Power
    0

    Default

    use "cd" in root path

    fopen("/cd/image.bmp")


    remove rom code..
    extern uint8 romdisk[];
    KOS_INIT_ROMDISK(romdisk);

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. loading save files on chankast?
    By paddyone in forum DCEmu Gaming & General Discussion Forum
    Replies: 1
    Last Post: August 13th, 2007, 09:38
  2. Problem loading .gba files
    By Bendezium in forum DCEmu Gaming & General Discussion Forum
    Replies: 5
    Last Post: March 19th, 2007, 03:44
  3. Loading cheat files in GPSP
    By Shadowblind in forum DCEmu Gaming & General Discussion Forum
    Replies: 2
    Last Post: March 3rd, 2007, 04:35
  4. loading .tap files in dreamfrodo
    By turnerl in forum DCEmu Gaming & General Discussion Forum
    Replies: 6
    Last Post: July 25th, 2005, 10:26
  5. Loading SRM files
    By Jdubs in forum DCEmu Gaming & General Discussion Forum
    Replies: 2
    Last Post: July 25th, 2005, 02:55

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •