Emuforums.com

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

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old July 13th, 2003   #1 (permalink)
Helper Monkey
 
jimmsta's Avatar
 
Join Date: Jul 2003
Location: New Jersey
Posts: 42
Would this be possible?

If, for instance, someone wanted to get some games working immediatly... Would (VERY CONTROVERSIAL PART COMING) it be possible to take the xboxkrnl.dll from the xdk, and enable it to be directly accessed by the xbe that cxbx loads, and then to have cxbx direct the calls from the xboxkrnl file directly into the corresponding NTDLL kernel calls? I know that some, perhaps extreme, coding would be required, but would this work?

I suppose in theory it would work, as the xbox kernel is NT-based.

It's a question, a viable question. That's all.

(And yes, I know that Caustik's main goal was to create an emulator that doesn't use any micro$oft code), so I'm not condoning a reason to piracy.
jimmsta is offline   Reply With Quote
Old July 13th, 2003   #2 (permalink)
Flood Yourself
 
Phoenix Flame's Avatar
 
Join Date: Aug 2001
Location: Adelaide, Australia
Posts: 1,338
Re: Would this be possible?

It could be very possible, but it would most definitely be very illegal.
Phoenix Flame is offline   Reply With Quote
Old July 13th, 2003   #3 (permalink)
Helper Monkey
 
jimmsta's Avatar
 
Join Date: Jul 2003
Location: New Jersey
Posts: 42
Re: Would this be possible?

Well, I knew that... It's just an idea for those who have the know-how, and want to endanger themselves in legal issues.... I'm not a programmer, and never will be able to figure out the Win32 API, so I'm not about to write up the code needed for such a modification.
jimmsta is offline   Reply With Quote
Old July 14th, 2003   #4 (permalink)
Emu author
 
Join Date: Apr 2001
Location: Bloomington IN, USA
Posts: 1,056
Don't quote me on all this, but...

The whole point of CXBX is that it's a much higher level emulation than that. It CAN'T really emulate the kernel at a low level because it doesn't emulate the rest of the XBox (non-CPU) at a low level. The emulator works by hooking functions so that the functions look identical to the originals to the software that's calling them.

The short answer is that cxbx probably wouldn't be able to do anything with the XBox kernel itself. I don't really know if this is 100% true though.

- Exo
Exophase is offline   Reply With Quote
Old July 14th, 2003   #5 (permalink)
Helper Monkey
 
jimmsta's Avatar
 
Join Date: Jul 2003
Location: New Jersey
Posts: 42
Re: Would this be possible?

I just thought that maybe, because the source has been released, that someone would've already tried... I guess not, by the way all these responses go... oh well.
jimmsta is offline   Reply With Quote
Old July 14th, 2003   #6 (permalink)
Registered User
 
Join Date: Jul 2003
Posts: 16
Re: Would this be possible?

Quote:
Originally Posted by jimmsta
Would (VERY CONTROVERSIAL PART COMING) it be possible to take the xboxkrnl.dll from the xdk, and enable it to be directly accessed by the xbe that cxbx loads, and then to have cxbx direct the calls from the xboxkrnl file directly into the corresponding NTDLL kernel calls?
No. For many many technical reasons, no. I'll try my best to explain in layman terms but I'm not sure if I can...

The XBoxKrnl is designed to be run on the xbox the code in the dll simply will not run on a normal PC. The file is only provided for debugging purposes.

In a nutshell your PC does not contain the correct hardware for this code to run.

Even if by some miracle what you are suggesting would work you would still need to relink the xbes with a new DirectX library. The DirectX libraries in the xbes access the hardware directly.
AnyJoe 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 05:40.


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5