jit.atari2600 An Atari 2600 emulator for Jitter.

The jit.atari2600 object emulates the Atari 2600 video game console from 1977. The pixels from the running Atari 2600 emulation are drawn as simple shapes on a connected grid (see jit.gl.gridshape). This means that the Atari game screen can be mapped to a number of surfaces (sphere, torus, cylinder, opencylinder, cube, opencube, plane, and circle). This data is sent to the leftmost outlet as a matrix. The jit.atari2600 object requires one argument: the name of a drawing context. A named drawing context is a named instance of a jit.window, jit.pwindow, or jit.matrix object that has an instance of the jit.gl.render object associated with it. This value may also be set via the OB3D drawto attribute.

Attributes:
Name Type Description
dim int list[2] The dimensions of the grid (default = 20 20)
m2 long Manipulate player 0 graphics.
m3 long Manipulate the application of horizontal motion.
m4 long Toggle horizontal sync wait.
m5 long Manipulate color-luminance for player 0.
m6 long Manipulate color-luminance for player 1.
m7 long Manipulate color-luminance of the playfield.
m8 long Manipulate color-luminance of the background.
m9 long Manipulate playfield control, ball size, collisions.
m10 long Manipulate playfield register byte 0.
m11 long Manipulate playfield register byte 1.
m12 long Manipulate playfield register byte 2.
m13 - m25 long Various register manipulation techniques. What is done isn't as important as how it looks. Experiement.
m26 - m29 long Currently unused.
m30 long Map random emulation parameters to TIA register writes. Make the screen glitch in relation to the Atari sound. Please note that audio must be turned on to see the effects.
tiamask long Redirect TIA register writes to different addresses.
tiavaluemask long Modify TIA register writes with modified values.
audchan1vol long Increase or decrease channel 1 volume.
audchan2vol long Increase or decrease channel 2 volume.
clock long Manipulate the emulator clock cycle counter.
rom symbol Cartridge ROM file to be played.
controller
(deprecated)
See .help
long Controller values to be sent to the emulator.
It is a 16 bit value. The low byte is the (state) and the high byte is the (value).
The (state) ranges from 0 to 1: (1 = ON; 0 = OFF)
The (value) uses the following mapping:

Player 1:
123 -> Left
124 -> Right
125 -> Down
126 -> Up
049 -> Fire

Player 2:
003 -> Left
005 -> Right
009 -> Down
017 -> Up
036 -> Fire

012 -> Reset
117 -> Select

Remember that for a given value, the OFF state should follow the ON state.
See the jit.atari2600.help file for an example.
visualizer long ROM read visualizer. (default = 0)
1 = (on)
0 = (off)
(Note that not all Cartridge types are supported. This will be fixed soon.)
gridmode int Grid render mode (default = 0 (quadrilateral grid))
0 = quad_grid (quadrilateral grid)
1 = tri_grid (triangular grid)
rad_minor float The minor radius of a torus, if one is rendered or sent out as a matrix. (default = 0.25)
shape symbol The shape to be used (default = plane) Supported shapes are:
sphere
torus
cylinder
opencyclinder
cube
opencube
plane
circle