]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Change engine VM memory layout as follows:
authorRudolf Polzer <divVerent@gmail.com>
Tue, 29 Oct 2024 20:51:51 +0000 (16:51 -0400)
committerdivVerent <divVerent@gmail.com>
Tue, 12 Nov 2024 17:49:21 +0000 (12:49 -0500)
commitb6b49d69d305fc6bdca4c3dc09e1c499b87c8882
tree233666682a924786ff09c69b64038d7e25835af8
parentcaa1458b53e6a960e9c642dad6baebbdb500a722
Change engine VM memory layout as follows:

0 to 0x7FFFFFFF: reserved.
0x80000000 to 0x80000000 + num_globals - 1: global pointers.
0x80000000 + num_globals to 0x80000000 + num_globals + num_entities * num_entityfields - 1: entity field pointers.

Note that there are no instructions yet to _make_ global pointers, or to
load values from them.

This is the beginning of implementing the pointer instruction set.
prvm_exec.c
prvm_execprogram.h