Dreamcast Wince+CDDA Fix

DreamShell Developer
Registered
Joined
Jun 17, 2019
Messages
216
Reaction score
566
Points
93
and add in the G1 unlock code from the Assembler thread I linked earlier.

Code:
MOV.L #h'A05F74E4, R1
MOV.L #h'001FFFFF, R0
MOV.L R0, @R1

MOV.L #h'A0000000, R1
MOV.L #h'00080000, R3
.l0:
MOV.L @R1+, R0
DT R3
BF .l0

it's very long :)

Code:
mov.l .bios_end, r0
mov.b @r0, r0

.bios_end:
    .long 0xa01fffff
 
Well-known member
Registered
Joined
Aug 16, 2019
Messages
206
Reaction score
119
Points
43
I'm like @darcagn , I have only m'y mobile.

We have this issue with dreamshell, but Sega Rally 2 run only in gdi opt format.
Is it possible to do this patch in track 03.bin ?

@Pitito : for making assembler i take the sh4 sheet data, and i make the code in hex, checking in assembler view if I am not doing mistakes.
Some masters like @megavolt85 have probably a better way.
And maybe have the datasheet in their mind already.
 
Well-known member
Registered
Joined
Jun 19, 2019
Messages
161
Reaction score
159
Points
43
@fafadou At the moment this does not work in wince games like Sega Rally, these wice must have some kind of CDDA protection.

But with the tests that I have done, it can correct all those that give problems in its reproduction.
Unless gdrom unlocking is the cause, but hopefully not.

I definitely give up, I don't know how to inject that unlock code, I've been trying for hours

@megavolt85 Could you inject it into this ip.bin?

http://www.mediafire.com/file/q4mubdkno4uwv7i/NIGHT%28ORIGINAL%29.BIN/file
 
Well-known member
Registered
Joined
Jun 19, 2019
Messages
161
Reaction score
159
Points
43
Thanks Megavolt, we will do a new test, if the game can now be launched :)

Edited: emu tested and still works perfectly with cdda tracks
Now test on console
 
Last edited:
Well-known member
Registered
Joined
Jun 19, 2019
Messages
161
Reaction score
159
Points
43
Why do you want it in gdi, if the gdi works the cdda correctly?
Also the code is for unlocking gdrom, so that the cdi can boot in console.
The ip.bin is the original of the game, it has no more changes

Waiting for @truemaster to verify
 
Well-known member
Registered
Joined
Aug 16, 2019
Messages
206
Reaction score
119
Points
43
So why Sega Rally 2 play only the first cdda every time with dreamshell ?
 
Well-known member
Registered
Joined
May 30, 2019
Messages
152
Reaction score
190
Points
43
So why Sega Rally 2 play only the first cdda every time with dreamshell ?

This has nothing to do with Sega Rally 2, as OP said this fix does not fix Sega Rally 2
 
DreamShell Developer
Registered
Joined
Jun 17, 2019
Messages
216
Reaction score
566
Points
93
So why Sega Rally 2 play only the first cdda every time with dreamshell ?

all in this thread don't help you with DreamShell
DreamShell use software player, for software player need free CPU RAM and SPU RAM, and need don't used two SPU channels
 
Well-known member
Registered
Joined
Jun 19, 2019
Messages
161
Reaction score
159
Points
43
For games like sega rally something else is needed.
I have compared the gdi and cdi in ram specifically in the section that goes from 2C000000 to 2C008000, in this section parameters of ip.bin and lba are loaded, and I have noticed that in position 2C0013D0 it does not do the job well.
In gdi every time you load a track all the values of that offset change.
Instead in cdi only the last two change

Another thing is that the sega rally ip.bin is very different from the rest.

Maybe this type of ip.bin has some additional content for the tracks.

Logically, it must be a problem of lba or ip.bin, or both.
 
Well-known member
Registered
Joined
May 31, 2019
Messages
217
Reaction score
165
Points
43
So why Sega Rally 2 play only the first cdda every time with dreamshell ?

probably dremshell issue that will be fixed in future. for sega rally 2 use your gdemu for now in gdi format.
 
Well-known member
Registered
Joined
Jun 19, 2019
Messages
161
Reaction score
159
Points
43
No idea, if at least one of you emu gave me the fault, I could go testing without having to send you an iso every time
So I would only send you an iso in case it booted.
But in all the versions I have tried of dmul it boots in all
I am uploading new test with ip.bin hacked, gdrom unlocked and 250 problematic bytes removed
 
Last edited:
Well-known member
Registered
Joined
May 31, 2019
Messages
217
Reaction score
165
Points
43
no problem testing isnt take much time. im working on something i will anounce propably tomorrow. that is otherwise easy but time consuming exteamly. but i will give important things for other languages that will cut time significal.
@Pitito no it hard lock the console again.
 
Last edited:
Well-known member
Registered
Joined
Jun 19, 2019
Messages
161
Reaction score
159
Points
43
@FamilyGuy I have tried different ip.bin, original, original custom and hombrew, with gdrom unlocked and still not booting in console :(

There must be something that escapes us
 
Well-known member
Registered
Joined
Jun 19, 2019
Messages
161
Reaction score
159
Points
43
@FamilyGuy
I have found another system to make tracks work
Using binhack in ip.bin I have located two values that seem to be the problem
Captura de pantalla (10).png

If I edit those 2 values to 0900 the tracks work perfectly

What I don't know is if this affects the console boot.

I have sent a new test to Truemaster
 
Well-known member
Registered
Joined
May 31, 2019
Messages
217
Reaction score
165
Points
43
YES IT PLAYS!!! HE DIT IT AFTER 13 TESTS, 13 is lucky after all:D:D:D:D:D i reach the woman in bed i hear 2 screems louder that the backround volume and stops just like gdi
 
Well-known member
Registered
Joined
Jun 19, 2019
Messages
161
Reaction score
159
Points
43
Perfect!!!!!
I'm going to edit the main post, so that it is collected in the first post

Although it should also be tested on CD
Any volunteer?
 
Last edited:
Member
Registered
Joined
Jul 3, 2020
Messages
19
Reaction score
16
Points
3
urray..... gonna test it tomorrow then i post results....unless someone test it first.🥳
 
Top