writeGlobal method
Implementation
void writeGlobal(int which, int value){
// if (which == 0) return Z.stack.push(value);
if (which < 0x10 || which > 0xff) {
throw GameException('Global lookup register out of range.');
}
storew(globalVarsAddress + ((which - 0x10) * 2), value);
}