Chankast command line

This forum is for discussion pertaining to homebrew and indie software for the Dreamcast, such as homebrew games, emulators/interpreters, and other homebrew software/applications. Porting requests and developmental ideas are not to be made here; you can make those here. If you need any help burning discs for homebrew software, this is the place to ask as well.
Vorrtexx
Insane DCEmu
Insane DCEmu
Posts: 138
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sun Apr 06, 2003 5:29 am
Has thanked: 0
Been thanked: 0
Contact:

Post by Vorrtexx »

Well after a couple of more tests I think I found out why the Mouse Cursor is appearing. It appears some of the SDL stuff will load if it uses the /cd/ VFS. Using the /rd/ romdisk VFS with SDL doesn't seem to work with the emulator.

I was pretty sure I had tested the simple SDL example before but I was using the romdisk path at the time. If I use the /rd/ path to load files with SDL, it doesn't seem to work. But if I load them using /cd/ they seem to load ok.
Ian Micheal
Soul Sold for DCEmu
Soul Sold for DCEmu
Posts: 4865
Joined: Fri Jul 11, 2003 9:56 pm
Has thanked: 2 times
Been thanked: 4 times

Post by Ian Micheal »

Should be like that with every thing then nothing with RD paths should work. Just change them to /CD/ etc and every thing should work.
Dreamcast forever!!!
User avatar
Stef.D
DCEmu Respected
DCEmu Respected
Posts: 114
Joined: Wed Oct 15, 2003 1:46 am
Has thanked: 0
Been thanked: 0
Contact:

Post by Stef.D »

I tried to convert ELF file to BIN with
$(KOS_OBJCOPY) -v -O binary $(TARGET).elf $(TARGET).bin

Unfortunatly Chankast doens't support that type of binary, it need a binary with a header as IP.BIN
Is there a tool to generated that type of BIN file from a "just compiled" ELF file ?
User avatar
az_bont
Administrator
Administrator
Posts: 13567
Joined: Sat Mar 09, 2002 8:35 am
Location: Swansea, Wales
Has thanked: 0
Been thanked: 0
Contact:

Post by az_bont »

Stef.D wrote:I tried to convert ELF file to BIN with
$(KOS_OBJCOPY) -v -O binary $(TARGET).elf $(TARGET).bin

Unfortunatly Chankast doens't support that type of binary, it need a binary with a header as IP.BIN
Is there a tool to generated that type of BIN file from a "just compiled" ELF file ?
Let's see if I can be of more use this time :P.

http://www.dcemulation.org/files/needed/elf2bin.zip
Sick of sub-par Dreamcast web browsers that fail to impress? Visit Psilocybin Dreams!
User avatar
Stef.D
DCEmu Respected
DCEmu Respected
Posts: 114
Joined: Wed Oct 15, 2003 1:46 am
Has thanked: 0
Been thanked: 0
Contact:

Post by Stef.D »

az_bont wrote: Let's see if I can be of more use this time :P.

http://www.dcemulation.org/files/needed/elf2bin.zip
Thanks :D
I'll try that right after my job, this time i think it'll work :)

I just hope Genesis Plus work correctly in Chankast... that would save me many time instead of reuploading binary each time.
Dreamcast Is Still Alive
DCEmu Freak
DCEmu Freak
Posts: 74
Joined: Thu Feb 21, 2002 12:56 pm
Location: The Bronx, New York, U.S.A.
Has thanked: 0
Been thanked: 0

Post by Dreamcast Is Still Alive »

Where did the Great garrofi go? I would like to speak with him.
garrofi
DCEmu Newbie
DCEmu Newbie
Posts: 2
Joined: Tue Jun 01, 2004 12:51 pm
Has thanked: 0
Been thanked: 0

Post by garrofi »

about elf file format, if someone has a source to read elf files, please contact me, and I will add support for elf files.

About the problem with homebrew apps. I have been debugging rott and after reading the toc file, the application exits. I don't have any problem with my lle gd-rom code with commercial games, any idea about it?

and when you load an application via command line, chankast is emulating bios, but only a few calls, kos examples work fine with that.

you need a 1st_read.bin file and the file has to be unscrambled.

Garrofi
BlackAura
DC Developer
DC Developer
Posts: 9951
Joined: Sun Dec 30, 2001 9:02 am
Has thanked: 0
Been thanked: 1 time

Post by BlackAura »

I'm not sure how the homebrew stuff accesses the CD, but it might just be doing it in a different way. I don't think it uses that many BIOS calls, so if you're trapping the BIOS calls and emulating the CD that way it probably won't work too well.
GPF
DC Developer
DC Developer
Posts: 529
Joined: Wed Oct 17, 2001 7:44 pm
Location: Texas
Has thanked: 0
Been thanked: 0
Contact:

Post by GPF »

I finally got it to work yesterday myself at work, on a Compaq intell 2Ghz machine with the built in intel 82845G graphics card, I had to run a utility called 3d-Analyze - http://www.tommti-systems.com/main-Dateien/files.html which allowed me to emulate hardware TnL and I was able to get some of my code for Trampalien Gunmen DC to run on it.
http://www.dcemu.co.uk/cgi-bin/yabb/YaB ... tart=60#60

Troy
Post Reply