Introduction

GPC is the scripting language for CronusMAX device. Much of its syntax was borrowed from C language, including basic keywords and structure, with the addition of some unique GPC-specific features. The goal of the language is to be an easy and fast way of programming the CronusMAX device. This document consists primarily of the language reference, but also contains explanations and examples of GPC’s major functions and features.

The CronusMAX device is based on a bytecode-compiled system, as such every GPC source code must be translated to an intermediate representation, known as bytecode, before it can be executed. The bytecode is a form of instruction set designed for efficient execution by a software interpreter, also known as Virtual Machine. A virtual machine (VM) is a software based, fictive computer. The GPC Virtual Machine is based on specifications of a hypothetical computer, which architecture and functions was highly optimized for the specific tasks it executes.

GPC Data Normalization Process

GPC Development and Execution Process

The GPC VM is a stack machine. In real machines stack CPUs were used for early computers and may still being used in simple devices today. Due to the GPC VM be running on a 16MHz CPU, the VM was highly optimized for performance in order to reaches the necessary speed to process all the data exchanged between the controller and the console. The GPC VM is fast enough to send data to the console without delays, on the Gtuner Monitor you can check the CPU load, any value below 80% is good and means the processor is able to perform all its tasks on time. In favor of performance the error checks are limited to only what is absolutely necessary, so it is very important for the programmer have knowledge about the fundamentals and limitations of the GPC developing process.

Main Characteristics:

  • Real CPU: Atmel Microcontroller @ 16MHz
  • Real Memory: 8184 bytes
  • Real Flash: 130944 bytes
  • VM Type: Stack Machine
  • VM Max Bytecode: 4092 bytes
  • VM Stack Memory: 128 words (256 bytes)
  • Rating

    10 / 10 here !

    If you own a ps3 and prefer an xbox controller, or even use a keyboard and mouse, this is a must to remap your keyboard to a controller. Go buy it now you won't be disappointed !

  • Rating

    Amazing device

    If you're like me and love your PS4 controller but want to use an Xbox One GET THIS you won't be sorry.

  • Rating

    Worth every penny

    The controller feels and performs as it does on the xbox right there on my ps3, awesome job guys, and worth every penny !!!

  • Rating

    Amazing Macro combos

    tested Super Street Fighter IV Arcade Edition. I was able to perform normal & FADC combos with some characters like Ryu and Ken with a single click. Amazing.

  • Rating

    As good as a XIM

    If you are a pc gamer, that needs a pc solution for console, get yourself a ControllerMAX you will not regret it.

  • Rating

    KB & Mouse RULES!

    All I can say playing 10 minutes with ControllerMAX properly configured it felt better then PC....YES I said it even better then PC, it's that smooth.

  • Rating

    Six-Axis 360!

    WOW! I can finally get that six-axis awesomeness on my Xbox 360. The best money I ever spent.

  • Rating

    Beats all rapidfire mods

    I've tried the Intensafire, Godfather even the new Wolf controller. The ControllerMAX beats them hands down and no wires or soldering too. 5 Stars!

  • Rating

    Just perfect!

    I can't believe how much this can do for the price tag - it blew me away. Best controller upgrade ever.