zturtleman / ioq3ztm

Automatically exported from code.google.com/p/ioq3ztm for archive purposes. See zturtleman/spearmint for active project.
GNU General Public License v3.0
0 stars 2 forks source link

Remove QVM memory protection? #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to remove (or at least change the behavior of) the QVM memory 
protection. Currently it requires allocating extra unused RAM (it's more than 
64MB in Turtle Arena) and doesn't allow memory to be shared by game, cgame, and 
ui (which would benefit Turtle Arena, less memory usage and faster load times).

Removing the memory protection would make QVMs less safe, but not more so than 
using DLLs (which were used by the Wolfenstein id Tech 3 games and later id 
Software games).

Original issue reported on code.google.com by ZTurtleMan on 25 May 2012 at 10:23

GoogleCodeExporter commented 9 years ago
Need to figure out if QVMs can handle pointers from 64bit hosts. (QVMs pointers 
are 32bit, not sure if it's possible to use 64 bit pointers without changing 
QVM compiler.)

Original comment by ZTurtleMan on 12 Oct 2012 at 12:06

GoogleCodeExporter commented 9 years ago
Allocating extra RAM would be an ioq3 issue as well (which I don't feel like 
fixing). I don't plan to make 64 bit QVMs.

Original comment by ZTurtleMan on 8 Feb 2013 at 8:05