


They are 8.8 fixed point indicating the number of pixels to adjust the mouse coordinates by for each unit of distance the mouse is moved. In_AMXdeltaX and in_AMXdeltaY control the mouse sensitivity. The call to in_MouseAMXInit() initializes these variables to sensible values. Unsigned int in_AMXcoordX, in_AMXcoordY, in_AMXdeltaX, in_AMXdeltaY The library also requires that the program declares a few global variables in RAM to hold position data: join( carpet) print sierpinskicarpet (3) We can also define a Sierpinski carpet weave declaratively, in terms of generic abstractions like. On a Spectrum, vectors 0 and 2 are as good as any. def sierpinskicarpet ( n): carpet '' for i in xrange( n): carpet x + x + x for x in carpet + \. Any two even vectors will do as long as they don't conflict with any other hardware. These interrupt vectors must be even since the AMX hardware contains a Z80-PIO chip which can only store even vectors. To use the AMX Mouse you must set up im2 mode (see the im2 library for details) and, with interrupts disabled, call in_MouseAMXInit() with two interrupt vectors upon which the two AMX interrupt service routines will be installed for you. jsGBC : :spaceinvader: A GameBoy Color Emulator written in JavaScript. This allows access to most Spectranet functions via C, including a socket library broadly compatible with the BSD socket library you may find on a modern system. z88dk : The development kit for over eighty z80 machines - c compiler, assembler. GreenRed If TRUE the Green-Red colors are produced, otherwise Red-Blue are procduced. Usage GetColor(value, GreenRedFALSE, DisplayRange3) lors(n) lors(n) Arguments value The vector of expression values. The AMX mouse is designed to operate in the z80's interrupt mode 2. The following file contains the Spectranet libraries for the Z88dk. A simple, vectorized function that computes a Red/Blue color for plotting microarray expression data.
