Emuforums.com

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


Reply
 
LinkBack Thread Tools Display Modes
Old July 1st, 2004   #1 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 2
Cxbx and OpenXDK apps


Guys,

should openxdk apps be able to run under cxbx?

I've been trying to get a simple one running but it's a no go so far.

I'm using the latest source of both cxbx and openxdk from cvs (downloaded yesterday 30/06).

I'm using VS.net 2003, and have followed the instructions in the openxdk docs for setting up the project.

Cxbx crashes because x_Xbe->m_TLS is null when it gets to the 'generate .cxbxplg section virtual size / addr' section in the EmuExe function.

Is there anything that I may have missed? Any compiler/linker options etc that haven't yet made it to the docs?

Cheers
Carcharius

Carcharius is offline   Reply With Quote
Old July 3rd, 2004   #2 (permalink)
Emu author
 
Join Date: Jun 2003
Posts: 53
Hi,
Cxbx is uses HLE (high level emulation). That means it is designed to recognize code and to intercept calls to xdk functions. OpenXDK does not use these. It gives you access to the hardware of the xbox. So you can write to the screen buffer directly that is what most of these OpenXDK demos do and it is not supported by cxbx because it is a hardware access.

The problem of pTls only a small bug which occours only in xbes not created with the xdk. It can be fixed easily, but cxbx will still crash (only later) on the OpenXDK stuff.
kingofc is offline   Reply With Quote
Old July 3rd, 2004   #3 (permalink)
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks for the info.

I thought it would be something like that but just wanted to check, especially cos the docs included with OpenXDK give instructions for creating a project titled 'Cxbx Demo'.

Carch
Carcharius 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 10:40.

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


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