Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

64-bit support #1

thecybermind started this conversation in Ideas
Discussion options

IOQuake provides 64bit support and 64-bit compilations of the default baseq3 and missionpack mod files.

Most of the changes will involve using intptr_t for arguments instead of int. For QVM, the only real change (since the QVMs are compiled as "32-bit" all the time), is to copy the args into an intptr_t array before passing to Q3A_vmsyscall (See https://github.com/ioquake/ioq3/blob/main/code/qcommon/vm_interpreted.c#L504 )

You must be logged in to vote

Replies: 1 comment

Comment options

Following ioquake3, I have switched all API types from int to intptr_t except inside QVMs, but it performs conversions to/from int when going in/out of the virtual machine.

I have also added 64-bit support to the MSVC project and linux makefile.

I was able to test Q3A 64-bit along with 64-bit versions of stub_qmm and rocketmod_qmm plugins.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
enhancement New feature or request
1 participant

AltStyle によって変換されたページ (->オリジナル) /