Emuforums.com

Go Back   Emuforums.com > Xbox Emulation > Cxbx Official Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old October 12th, 2009   #1 (permalink)
Registered User
 
Join Date: Aug 2006
Location: silicon valley
Posts: 31
Chihiro Bios Dumped

Good news! The x-box based chihiro arcade system bios has been dumped by Alex.

Last edited by Mr. Fabulous; October 12th, 2009 at 20:58..
Mr. Fabulous is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old October 12th, 2009   #2 (permalink)
Emu author
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,509
Astounding news

Please read my PM if you haven't already
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe
[Raylene] HP dv2000 | Windows Vista Home Premium | Intel Core2 Duo @2.2GHz | NVIDIA GeForce 8400 GS 128Mb (Dedicated) + 1264Mb (Shared) | 3GB Ram | 220GB HDD


GeneralEmu - December 27, 2005 and beyond!
Shogun3D Interactive (I try to update it every day now)
Shogun's Cxbx Dev Blog
blueshogun96 is offline   Reply With Quote
Old 4 Weeks Ago   #3 (permalink)
Registered User
 
Join Date: Sep 2009
Location: Israel
Posts: 10
it can help to improved the X-box 1 emulation?
Emulatong is offline   Reply With Quote
Old 4 Weeks Ago   #4 (permalink)
Emu author
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,509
Chihiro is an Xbox1 based arcade machine. So yes and no.
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe
[Raylene] HP dv2000 | Windows Vista Home Premium | Intel Core2 Duo @2.2GHz | NVIDIA GeForce 8400 GS 128Mb (Dedicated) + 1264Mb (Shared) | 3GB Ram | 220GB HDD


GeneralEmu - December 27, 2005 and beyond!
Shogun3D Interactive (I try to update it every day now)
Shogun's Cxbx Dev Blog
blueshogun96 is offline   Reply With Quote
Old 4 Weeks Ago   #5 (permalink)
将軍
 
shogun_nihon's Avatar
 
Join Date: Feb 2008
Location: 秋葉原
Posts: 552
Allow me to ask, why yes and why no?
__________________
私はヴェクターˇインダストリー製,対グノーシス専用ヒト型掃討兵器,KOS-MOS Ver.4です

CV: 鈴木麻里子(すずき まりこ)

"Yo, hecha por la Industria Vector, para uso exclusivo contra GNOSIS, humanoide de armas arrasadoras, soy KOS-MOS version 4".

スゴイ麻里子さん、貴方の声が大好きですよ。
Suzuki Mariko - Aoni Production
shogun_nihon is online now   Reply With Quote
Old 4 Weeks Ago   #6 (permalink)
Registered User
 
Join Date: Aug 2006
Location: silicon valley
Posts: 31
Quote:
Originally Posted by shogun_nihon View Post
Allow me to ask, why yes and why no?
Because chihiro is like xbox, but not xbox.
Mr. Fabulous is offline   Reply With Quote
Old 4 Weeks Ago   #7 (permalink)
Emu author
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,509
Quote:
Originally Posted by shogun_nihon View Post
Allow me to ask, why yes and why no?
Because the hardware is [mostly] the same, but the software is [mostly] different. Unfortunately the XDK for Chihiro was never leaked.

More on Chihiro, it uses .xbe files, but they are loaded differently than Xbox versions. The entry point and base addresses are very different (afaik... well, at least the dashboard is). So far, it looks like Cxbx can still load the xbe fine, but the memory address issues will have to be addressed first. It's still low priority for Cxbx to emulate this now though.
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe
[Raylene] HP dv2000 | Windows Vista Home Premium | Intel Core2 Duo @2.2GHz | NVIDIA GeForce 8400 GS 128Mb (Dedicated) + 1264Mb (Shared) | 3GB Ram | 220GB HDD


GeneralEmu - December 27, 2005 and beyond!
Shogun3D Interactive (I try to update it every day now)
Shogun's Cxbx Dev Blog
blueshogun96 is offline   Reply With Quote
Old 4 Weeks Ago   #8 (permalink)
将軍
 
shogun_nihon's Avatar
 
Join Date: Feb 2008
Location: 秋葉原
Posts: 552
Understood, thanks shogun, I really enjoy reading your technical post about Xbox/Chihiro.

Cheers .
__________________
私はヴェクターˇインダストリー製,対グノーシス専用ヒト型掃討兵器,KOS-MOS Ver.4です

CV: 鈴木麻里子(すずき まりこ)

"Yo, hecha por la Industria Vector, para uso exclusivo contra GNOSIS, humanoide de armas arrasadoras, soy KOS-MOS version 4".

スゴイ麻里子さん、貴方の声が大好きですよ。
Suzuki Mariko - Aoni Production
shogun_nihon is online now   Reply With Quote
Old 3 Weeks Ago   #9 (permalink)
Banned
 
Join Date: Jan 2009
Location: spain
Posts: 221
i think that this thread don`t has a good point,,,is better to work with cxbx and opendk hehe..blues please if you upload the svn changes put a section: changes with a good mark to see your changes good ..thanks blues
saintseiya is offline   Reply With Quote
Old 3 Weeks Ago   #10 (permalink)
Emu author
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,509
This thread was worth it because I'm also VERY interested in this (and I have been for over a year now). This is very exciting news, and I'm glad I have this information on this for my Non-Cxbx related projects

It may not be related to Cxbx directly, but not everything revolves around Cxbx either.
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe
[Raylene] HP dv2000 | Windows Vista Home Premium | Intel Core2 Duo @2.2GHz | NVIDIA GeForce 8400 GS 128Mb (Dedicated) + 1264Mb (Shared) | 3GB Ram | 220GB HDD


GeneralEmu - December 27, 2005 and beyond!
Shogun3D Interactive (I try to update it every day now)
Shogun's Cxbx Dev Blog
blueshogun96 is offline   Reply With Quote
Old 3 Weeks Ago   #11 (permalink)
Banned
 
Join Date: Jan 2009
Location: spain
Posts: 221
but you said that : Because the hardware is [mostly] the same, but the software is [mostly] different. Unfortunately the XDK for Chihiro was never leaked...


i´m confuse the b.i.o...this code system integrated with cxbx help you to the out of some xbox games??is the same board for to run it?....
simple question:
if each error in reads of cxbx rpresents 2 codes: 0x00...EIP@::0x000....why are in 2 parts ? is a call?
saintseiya is offline   Reply With Quote
Old 3 Weeks Ago   #12 (permalink)
Emu author
 
blueshogun96's Avatar
 
Join Date: Jun 2004
Location: Unidentified
Posts: 2,509
Quote:
Originally Posted by saintseiya View Post
but you said that : Because the hardware is [mostly] the same, but the software is [mostly] different. Unfortunately the XDK for Chihiro was never leaked...
This thread wasn't targeted at Cxbx at all to begin with. It was really intended for me and other arcade emulation enthusiasts to read. Hence it's better off in the Misc Xbox Discussion.

Quote:
i´m confuse the b.i.o...this code system integrated with cxbx help you to the out of some xbox games??is the same board for to run it?....
Since the boot process is the same as a debug Xbox (which I do have), it can be useful for LLE purposes.

Quote:
simple question:
if each error in reads of cxbx rpresents 2 codes: 0x00...EIP@::0x000....why are in 2 parts ? is a call?
This is a complex question actually, therefore I can only give you a complex answer. I understand that you really want to be a dev someday, so listen up. The first one is the type of exception. 0xC0000005 is the most common (Access Violation). They all correspond to the Windows NT kernel. There's a large list of exception codes on the net:
[jcifs] NT Status Code Descriptions?

The next one is where the crash occurs. This location can represent many things. Usually, the serverity of a crash can be determined by looking at where it crashes (and sometimes how, explained above). I'll try to list a few common locations:
  • 0x0000_0000: The beginning of the 4GB address space (NULL). When you crash here, then chances are Cxbx tried to read or write to a NULL location.
  • 0x0000_0001 - 0x0000_017A: Missing Xbox Kernel API. There are multiple lists on the net you can read to see what they all are and they all have a distinct number on the list (most are numbered). You can tell which one it is by matching the number with the API in the list.
  • Crashes within the .xbe per section itself have to be located manually. IDAPro can disassemble .xbe files and also tell you what section/library the crash occurs. Either way, you don't need IDA to find it each time. Compare the crash location with the HLE output in the KrnlDbg.txt file generated by Cxbx with the game you are trying to run. It should be similar to one at the top where Cxbx starts locating functions. If you don't get a hex value close to any of those, it's either regular game code, or something else. This is a complex topic so I can't cover everything here.
  • 0x1001xxxx: This is a problem inside CxbxKrnl.dll. This means there's a bug in one of Cxbx's implementations or the game is using invalid data.
  • 0x5xxx_xxxx & 0x6xxx_xxxx: This is commonly tracked back to the d3d8 and dsound .dll files. So these are unpredictable. This usually happens when invalid data is passed into a Direct3D or DirectSound API. Things like this can't always be fixed on the game's part.
  • 0x7xxx_xxxx: These can vary. Usually it's within ntdll.dll. The problem is similar to above

Nisse's branch (and now mine) can trace the EIP register's history so we can see what happens before the crash. This is useful for tracking DirectSound stuff (where XREFs are common).

Thanks for asking, it gives me a good idea. When an Nt* function fails, it would be a good idea to show in the debug output what error code it is. This will help a lot.
__________________

[Sagat] Windows XP x64 Pro | AMD Athlon 3000+ (~2.0GHz) | NVIDIA GeForce 6600 PCI-E | Realtek AC97 Audio | 512MB Ram | NVIDIA NForce 4-4X chipset | Seagate HDD 160GB | LG 8614 DVD-ROM | HP DVD 1040d CD/DVD -/+ RW w/ LightScribe
[Raylene] HP dv2000 | Windows Vista Home Premium | Intel Core2 Duo @2.2GHz | NVIDIA GeForce 8400 GS 128Mb (Dedicated) + 1264Mb (Shared) | 3GB Ram | 220GB HDD


GeneralEmu - December 27, 2005 and beyond!
Shogun3D Interactive (I try to update it every day now)
Shogun's Cxbx Dev Blog

Last edited by blueshogun96; 3 Weeks Ago at 22:45.. Reason: Automerged Doublepost
blueshogun96 is offline   Reply With Quote
Old 3 Weeks Ago   #13 (permalink)
Banned
 
Join Date: Jan 2009
Location: spain
Posts: 221
Windows NT kernel??? wow why is this inside? do you have fixe something like 0xC0000005 ??
CxbxKrnl.dll., dsound .dll , ntdll.dll. is posible make a general fixes with all this dll ? this codes apply to 0x8combinations, maybe you need a variable, if some addres like this is rejected try mode fixes, and turn in the debugger...something like this:debug info:
code exeption 0x00...EIP@::0x000 , the program goes to this steps:tryng dsound hack integrated adding addres, solve null allocation, if som hack doesn´t works, try with general kernel api allocation, or d3d parameters tries....well is a idea, somthing like atabase applied to a routine test for self-correction
that the program has a many options, variables, and wildcards
thanks for your awesone answer...atte: saintseiya
saintseiya is offline   Reply With Quote
Old 3 Weeks Ago   #14 (permalink)
Registered User
 
Join Date: Jul 2008
Location: right from the motherboard
Posts: 3
Quote:
Originally Posted by saintseiya View Post
Windows NT kernel??? wow why is this inside? do you have fixe something like 0xC0000005 ??
CxbxKrnl.dll., dsound .dll , ntdll.dll. is posible make a general fixes with all this dll ? this codes apply to 0x8combinations, maybe you need a variable, if some addres like this is rejected try mode fixes, and turn in the debugger...something like this:debug info:
code exeption 0x00...EIP@::0x000 , the program goes to this steps:tryng dsound hack integrated adding addres, solve null allocation, if som hack doesn´t works, try with general kernel api allocation, or d3d parameters tries....well is a idea, somthing like atabase applied to a routine test for self-correction
that the program has a many options, variables, and wildcards
thanks for your awesone answer...atte: saintseiya
I beg your pardon - but: Do you have any clue at all what you're talking about???

Sorry, but your posts always look like a script collecting random buzzwords and throwing them out to public.

I understand that you are really interested and one of the few who are actively posting but don't you think that a post should at least somehow make sense?
microdev is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 18:27.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5