Emuforums.com

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

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old July 1st, 2004, 09:46   #1
Carcharius
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

Advertisement [Remove Advertisement]
Old July 3rd, 2004, 15:51   #2
kingofc
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, 21:01   #3
Carcharius
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

Forum Jump

All times are GMT +1. The time now is 10:18.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.