Super Famicast pre-pre-pre-alpha release

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.
Storminator16
DCEmu Veteran
DCEmu Veteran
Posts: 850
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Mon Sep 01, 2003 11:12 am
Location: NC/Iraq
Has thanked: 0
Been thanked: 0
Contact:

Post by Storminator16 »

Ok, now I'm confused. I thought I just had to rename '/rd/frognes.zip' with '/cd/<any zip file here>'? K, now I halfway know where I went wrong :)
Strapping Scherzo
DC Developer
DC Developer
Posts: 2285
Joined: Fri Feb 21, 2003 7:37 am
Location: Chicago, IL
Has thanked: 0
Been thanked: 1 time
Contact:

Post by Strapping Scherzo »

You have to make sure that the length of '/rd/frognes.zip', which is 15 characters, is the same as the filename length of the file you're trying to point to. Changing the length of that string totally screws up the whole binary and will surely crash it. My advice is to simply change the rd to cd and name the zip that you're going to put on the cd frognes.zip. Or, just be patient. :D
Image
Storminator16
DCEmu Veteran
DCEmu Veteran
Posts: 850
Joined: Mon Sep 01, 2003 11:12 am
Location: NC/Iraq
Has thanked: 0
Been thanked: 0
Contact:

Post by Storminator16 »

Thanks. Been awhile since I hex edited anything (did NES roms before) so I forgot about the problem about making sure the character lengths were the same. That's was in response to Reaper's knock on me (but I'm trying to "keep it positive").
Last edited by Storminator16 on Fri Jan 09, 2004 11:49 am, edited 1 time in total.
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 »

As scherzo said, the simplest way is to change the /rd/ to /cd/ and put the ROM in a zip file called frognes.zip.

scherzo - The DMA copy routine actually works fine. The ghosting effect is caused by the CPU cache - some of the data that was written to the buffer is still in the cache, so when it gets DMAed over, you get bits from the previous frame. That manifested itself in Genesis Plus as small fragments of the previous frame in the bottom 16 lines or so of the image.

The fix is to manually flush the cache. On Genesis Plus, the corruption was limited to the last 16KB of data written to the buffer, which was all at the end, so I just flushed that part, and then DMAed it all over. Worked perfectly.

To do it, I used the dcache_flush function from KOS:

Code: Select all

dcache_flush(uint32 start, uint32 count);
If you're having to flush the entire frame though, you may as well simply not bother.
Storminator16
DCEmu Veteran
DCEmu Veteran
Posts: 850
Joined: Mon Sep 01, 2003 11:12 am
Location: NC/Iraq
Has thanked: 0
Been thanked: 0
Contact:

Post by Storminator16 »

Thanks for cleaning this up, Zac ;)
Strapping Scherzo
DC Developer
DC Developer
Posts: 2285
Joined: Fri Feb 21, 2003 7:37 am
Location: Chicago, IL
Has thanked: 0
Been thanked: 1 time
Contact:

Post by Strapping Scherzo »

Thanks, the flushing of the cache cleans up the garbage. However, when I tested with Super Mario World, I could get away with flushing just the bottom half of the screen, but when testing with Street Fighter 2, there's garbage all the way at the top meaning I'd have to flush it all. Also, I'm not sure if I gained any speed from the previous way I was doing it. I'll test a litttle bit more, but not too much. I want to write more code.
Image
ZacMc
DCEmu Super Fan
DCEmu Super Fan
Posts: 2715
Joined: Fri Nov 16, 2001 11:16 am
Location: Milwaukee, WI
Has thanked: 0
Been thanked: 0
Contact:

Post by ZacMc »

WillSams wrote:Thanks for cleaning this up, Zac ;)
No problem. How did you know it was me?
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 »

ZacMc wrote:
WillSams wrote:Thanks for cleaning this up, Zac ;)
No problem. How did you know it was me?
Thanks for cleaning up wills flaming for me.


scherzo if you join the kos mailling list there was more detail on this . Plus if you want to see some good video code check out Dreamfrodo. The source is provided and is very well done. He uses other memory areas which are up to 4 times faster then standard.
Dreamcast forever!!!
ZacMc
DCEmu Super Fan
DCEmu Super Fan
Posts: 2715
Joined: Fri Nov 16, 2001 11:16 am
Location: Milwaukee, WI
Has thanked: 0
Been thanked: 0
Contact:

Post by ZacMc »

Ian Micheal wrote:
ZacMc wrote:
WillSams wrote:Thanks for cleaning this up, Zac ;)
No problem. How did you know it was me?
Thanks for cleaning up wills flaming for me.
:? You flamed him. He didn't flame anyone.. Except himself :lol:
Storminator16
DCEmu Veteran
DCEmu Veteran
Posts: 850
Joined: Mon Sep 01, 2003 11:12 am
Location: NC/Iraq
Has thanked: 0
Been thanked: 0
Contact:

Post by Storminator16 »

ZacMc wrote:
Ian Micheal wrote:
ZacMc wrote:
WillSams wrote:Thanks for cleaning this up, Zac ;)
No problem. How did you know it was me?
Thanks for cleaning up wills flaming for me.
:? You flamed him. He didn't flame anyone.. Except himself :lol:
LMAO on the flaming myself bit. Also, I've noticed how he cleaned up his last post and threw something out of left field in there. Hmmm.

Anyway, I noticed you were the only mod/admin online ;)
Last edited by Storminator16 on Fri Jan 09, 2004 12:08 pm, edited 1 time in total.
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 »

ZacMc wrote:
Ian Micheal wrote:
ZacMc wrote:
WillSams wrote:Thanks for cleaning this up, Zac ;)
No problem. How did you know it was me?
Thanks for cleaning up wills flaming for me.
:? You flamed him. He didn't flame anyone.. Except himself :lol:
Well i knew he flamed some one. Thats rather funny zac. :D
Dreamcast forever!!!
ZacMc
DCEmu Super Fan
DCEmu Super Fan
Posts: 2715
Joined: Fri Nov 16, 2001 11:16 am
Location: Milwaukee, WI
Has thanked: 0
Been thanked: 0
Contact:

Post by ZacMc »

I noticed you were the only mod/admin online
Dr.Z was online.. but I think his account is "hidden". I might have to split this topic again :mrgreen:
User avatar
Dr. Zoidberg
The Filth
The Filth
Posts: 3536
Joined: Tue Dec 04, 2001 1:09 am
Has thanked: 4 times
Been thanked: 0
Contact:

Post by Dr. Zoidberg »

ZacMc wrote:
I noticed you were the only mod/admin online
Dr.Z was online.. but I think his account is "hidden".
Yeah it is, got to stay undercover so the perps can't see me. :wink: :lol:
Moi
QuakeDev Respected
QuakeDev Respected
Posts: 592
Joined: Thu Mar 14, 2002 1:15 am
Has thanked: 0
Been thanked: 6 times

Post by Moi »

Will: unscrambled binaries are always easier to hack! in the scrambled bin you can only find 'frognes.' and search for 'zip' to change the whole filename. in an unscrabled bin you can find the complete '/rd/frognes.zip' and change it to whatever you want.
Create your own Dreamcast games using the Quake-Engine:
http://quakedev.dcemulation.org/develop/getstarted.htm
Storminator16
DCEmu Veteran
DCEmu Veteran
Posts: 850
Joined: Mon Sep 01, 2003 11:12 am
Location: NC/Iraq
Has thanked: 0
Been thanked: 0
Contact:

Post by Storminator16 »

I've got it already. Thanks.
User avatar
Hilltopper
Insane DCEmu
Insane DCEmu
Posts: 224
Joined: Sat Jan 10, 2004 5:01 pm
Has thanked: 0
Been thanked: 0

Post by Hilltopper »

I hexedited the binary and had it load star ocean. The game actually loaded but the graphics decompression did not work. I was just wondering what would have caused the messup.
Alexvrb
DCEmu Ultra Poster
DCEmu Ultra Poster
Posts: 1754
Joined: Wed Jul 17, 2002 11:25 am
Has thanked: 0
Been thanked: 0

Post by Alexvrb »

He hasn't been able to get that working yet.
If you have twenty monkeys,
banging randomly on typewriters,
they will in twenty minutes produce the complete source code to World of Warcraft.
User avatar
Hilltopper
Insane DCEmu
Insane DCEmu
Posts: 224
Joined: Sat Jan 10, 2004 5:01 pm
Has thanked: 0
Been thanked: 0

Post by Hilltopper »

qoute from scherzo "...Zips seem to be working fine as of yet. However, I tried loading Street Fighter Alpha 2 to see the builtin S-DD1 decompression in action but the emu crashed. Something to look into later on."

I took this to mean that the emu wouldn't even load the rom. I may be wrong though. The Star Ocean rom loaded but no graphics were decompressed. I was under the impression that S-DD1 had been ported but that he was unable to test it because the SFA2 rom wouldn't load. Anyway, I don't really know for sure, I may have just misinterpreted his post.
NightHammer
Psychotic DCEmu
Psychotic DCEmu
Posts: 747
Joined: Tue Oct 08, 2002 11:37 am
Location: Back in my little hole in Russ Engineering Center
Has thanked: 0
Been thanked: 0
Contact:

Post by NightHammer »

I tried out Sailor Moon: AS (the english trans) and Earthbound. They both ran about 10% (between 5 and 6/60).

Oh! and:

Nero DAO image
and
Nero TAO image

It looks great...can't wait to see what you do with it!

Later!
NightHammer
All your systems are belong to me
Storminator16
DCEmu Veteran
DCEmu Veteran
Posts: 850
Joined: Mon Sep 01, 2003 11:12 am
Location: NC/Iraq
Has thanked: 0
Been thanked: 0
Contact:

Post by Storminator16 »

What's in the images?
Post Reply