A B C D E F G I J K L M N O P R S T U W X Y Z

A

addTStates(int) - Method in class org.razvan.jzx.Z80
Add a number to the current value of T-States.
advance(int) - Method in class org.razvan.jzx.BaseIO
 
advance(int) - Method in class org.razvan.jzx.v128.IO
 
andIn(int, int) - Method in class org.razvan.jzx.BaseIO
INport(port16) = INport(port16) AND mask8
andKey(int, int) - Method in class org.razvan.jzx.BaseIO
KEYport(port16) = KEYport(port16) AND mask8
andOut(int, int) - Method in class org.razvan.jzx.BaseIO
OUTport(port16) = OUTport(port16) AND mask8
AppletLogger - Class in org.razvan.jzx
Log messages using the AppletContext.showStatus() method (when JZX is running as an Applet.)
AppletLogger(Applet) - Constructor for class org.razvan.jzx.AppletLogger
Construct the AppletLogger using the AppletContext object from the specified Applet object.
ATTR_LENGTH - Static variable in class org.razvan.jzx.BaseScreen
Length of attribute memory area.
ATTR_START - Static variable in class org.razvan.jzx.BaseScreen
Memory address where the attribute area starts.
attrTouch(int) - Method in class org.razvan.jzx.BaseScreen
Touch a particular attribute value, marking it for update next time the screen is rendered.
AY8912 - Class in org.razvan.jzx.v128
The AY-3-8912 sound chip emulator.
AY8912() - Constructor for class org.razvan.jzx.v128.AY8912
 

B

B_BANK128 - Static variable in class org.razvan.jzx.v128.IO
Bit mask for the 128k memory banks.
B_BORDER - Static variable in class org.razvan.jzx.BaseIO
Bit mask used to determine the border color value.
B_DOWN - Static variable in class org.razvan.jzx.BaseIO
Bit mask for "joystick down" event.
B_EAR - Static variable in class org.razvan.jzx.BaseIO
Bit mask used to determien the "tape in" bit.
B_FIRE - Static variable in class org.razvan.jzx.BaseIO
Bit mask for "joystick fire" event.
B_KEMPSTON - Static variable in class org.razvan.jzx.BaseIO
Bit mask used to determine if the Kempston joystick is selected.
B_KEYBOARD - Static variable in class org.razvan.jzx.BaseIO
Bit mask used to determine the keyboard value.
B_LEFT - Static variable in class org.razvan.jzx.BaseIO
Bit mask for "joystick left" event.
B_MIC - Static variable in class org.razvan.jzx.BaseIO
Bit mask used to determine the "tape out" bit.
B_PAGING - Static variable in class org.razvan.jzx.v128.IO
Bit mask for enabling/disabling memory paging.
B_RIGHT - Static variable in class org.razvan.jzx.BaseIO
Bit mask for "joystick right" event.
B_SELRAM - Static variable in class org.razvan.jzx.v128.IO
Bit mask for selecting the RAM page on C000-FFFF.
B_SELROM - Static variable in class org.razvan.jzx.v128.IO
Bit mask for selecting the ROM page.
B_SELSCREEN - Static variable in class org.razvan.jzx.v128.IO
Bit mask for selecting the Screen RAM page.
B_SNDCHIP - Static variable in class org.razvan.jzx.v128.IO
Sound chip mask (AY-3-8912 chip)
B_SNDCONTROL - Static variable in class org.razvan.jzx.v128.IO
Sound control mask (AY-3-8912 chip)
B_SNDDATA - Static variable in class org.razvan.jzx.v128.IO
Sound data mask (AY-3-8912 chip)
B_SPEAKER - Static variable in class org.razvan.jzx.BaseIO
Bit mask used to determine the speaker value.
B_ULA - Static variable in class org.razvan.jzx.BaseIO
Bit mask used to detemine if the specified port will cause a "select" on the ULA.
B_UP - Static variable in class org.razvan.jzx.BaseIO
Bit mask for "joystick up" event.
BaseComponent - Class in org.razvan.jzx
Base class extended by all components that comprise the emulator.
BaseComponent() - Constructor for class org.razvan.jzx.BaseComponent
 
BaseIO - Class in org.razvan.jzx
Base class extended by all I/O components that comprise the emulator.
BaseIO() - Constructor for class org.razvan.jzx.BaseIO
 
BaseKeyboard - Class in org.razvan.jzx
Base class extended by all Keyboard components that comprise the emulator.
BaseKeyboard() - Constructor for class org.razvan.jzx.BaseKeyboard
 
BaseLoader - Class in org.razvan.jzx
Base class extended by all classes that can load information from a saved file format into the Spectrum.
BaseLoader(ILogger, URL) - Constructor for class org.razvan.jzx.BaseLoader
Setup the logger and url, allocate and initialize the "headless" memory object.
BaseMemory - Class in org.razvan.jzx
Base class extended by all memory components that comprise the emulator.
BaseMemory() - Constructor for class org.razvan.jzx.BaseMemory
 
BaseScreen - Class in org.razvan.jzx
Base class extended by all screen components that comprise the emulator.
BaseScreen() - Constructor for class org.razvan.jzx.BaseScreen
 
BaseSpectrum - Class in org.razvan.jzx
Base class extended by all Spectrum models (48k, 128k).
BaseSpectrum() - Constructor for class org.razvan.jzx.BaseSpectrum
 
BLACK - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "black"
BLUE - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "blue"
BORDER_PIXELS - Static variable in class org.razvan.jzx.BaseScreen
Width of border area, in pixels.
BRIGHT - Static variable in class org.razvan.jzx.BaseScreen
Bright attribute mask.
BRIGHT_BLACK - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "bright black"
BRIGHT_BLUE - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "bright blue"
BRIGHT_CYAN - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "bright cyan"
BRIGHT_GREEN - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "bright green"
BRIGHT_MAGENTA - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "bright magenta"
BRIGHT_RED - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "bright red"
BRIGHT_WHITE - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "bright white"
BRIGHT_YELLOW - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "bright yellow"

C

C_DEBUG - Static variable in interface org.razvan.jzx.ILogger
DEBUG channel: all debug messages should go here.
C_ERROR - Static variable in interface org.razvan.jzx.ILogger
ERROR channel: all error messages should go here.
clear(int) - Method in class org.razvan.jzx.BaseScreen
Clear the screen with the given attribute color.
clear(int, int, int) - Method in class org.razvan.jzx.BaseScreen
Clear a box on the screen, with upper-left corner at the current cursor position, with given height and width using the given attribute color.
Clock - Class in org.razvan.jzx
Spectrum interrupt clock which is used for generating the 20ms interrupt on which the screen frames are synchronized.
Clock(long, ILogger) - Constructor for class org.razvan.jzx.Clock
Create the Clock thread and mark it as daemon.
COLS - Static variable in class org.razvan.jzx.BaseScreen
Number of character columns on the screen.
ConsoleLogger - Class in org.razvan.jzx
Log messages to the console (System.out), when JZX is running as a regular Frame.
ConsoleLogger() - Constructor for class org.razvan.jzx.ConsoleLogger
 
createCompatibleImage(int, int) - Method in class org.razvan.jzx.BaseScreen
Create and return an Image object that isa appropriate for this Screen object.
createCompatibleImage(int, int) - Method in class org.razvan.jzx.ScreenJava2
Create an Image that is compatible with the screen type and color depth.
currentTimeNanos() - Static method in class org.razvan.jzx.NativeTimer
Retrieve the current time, in nanoseconds if possible; if not, return the time in milliseconds, by calling System.currentTimeMillis().
CYAN - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "cyan"

D

decodeXX(int) - Method in class org.razvan.jzx.Z80
Decode the index register operations.
destroy() - Method in class org.razvan.jzx.JZXApplet
Stop the emulator.
draw8(int, int, int, int) - Method in class org.razvan.jzx.BaseScreen
Draws the given 8 bits (pix8), with the given attribute values (attr8) at coordinates x, y on the Canvas.
draw8(int, int, int, int) - Method in class org.razvan.jzx.ScreenBoth
Draw a given byte into the RGB array using the given attribute, at the given location.
draw8(int, int, int, int) - Method in class org.razvan.jzx.ScreenJava1
Draw a given byte onto the screen using the given attribute, at the given location.
draw8(int, int, int, int) - Method in class org.razvan.jzx.ScreenJava2
Draw a given byte onto the screen using the given attribute, at the given location.
dumpScreenshot() - Method in class org.razvan.jzx.BaseScreen
 
dumpScreenshot() - Method in class org.razvan.jzx.ScreenJava2
 

E

emulate() - Method in class org.razvan.jzx.BaseSpectrum
The main emulator loop.
emulate() - Method in class org.razvan.jzx.Z80
Decode one instruction: call mone8() to retrieve the opcode, decode it and execute it.
end() - Method in class org.razvan.jzx.Clock
Stops the Clock thread and causes it to exit (asynchronous.)
end(String) - Static method in class org.razvan.jzx.PerformanceCounter
End tracking an event of specified time and record the amount of time it took to complete.
endRender() - Method in class org.razvan.jzx.BaseScreen
Trigger method that is called right afterthe screen is rendered.
endRender() - Method in class org.razvan.jzx.ScreenBoth
Call newPixels() on the MemoryImageSource object at the end of a frame.

F

FLASH - Static variable in class org.razvan.jzx.BaseScreen
Flash attribute mask.
flash() - Method in class org.razvan.jzx.BaseScreen
When the flash phase changes, update all attribute values that have the flash bit set.
FREQUENCY_MS - Static variable in class org.razvan.jzx.BaseSpectrum
The 20ms frequency of the interrupt clock.

G

getAF16() - Method in class org.razvan.jzx.BaseLoader
 
getAF16ALT() - Method in class org.razvan.jzx.BaseLoader
 
getAudioSamplesForTStates(int) - Static method in class org.razvan.jzx.BaseIO
 
getAY8912() - Method in class org.razvan.jzx.v128.Spectrum
 
getBC16() - Method in class org.razvan.jzx.BaseLoader
 
getBC16ALT() - Method in class org.razvan.jzx.BaseLoader
 
getBorder() - Method in class org.razvan.jzx.BaseLoader
 
getBytes(int) - Method in class org.razvan.jzx.BaseMemory
Returns the byte array that comprises a particular page.
getContainer() - Method in class org.razvan.jzx.BaseSpectrum
Return a Container that decorates the Spectrum screen and adds other UI elements such as a status bar.
getCPU() - Method in class org.razvan.jzx.BaseSpectrum
Trivial accessor for this Spectrum's CPU.
getCursorX() - Method in class org.razvan.jzx.BaseScreen
Retrieve current cursor X position.
getCursorY() - Method in class org.razvan.jzx.BaseScreen
Retrieve current cursor Y position.
getDE16() - Method in class org.razvan.jzx.BaseLoader
 
getDE16ALT() - Method in class org.razvan.jzx.BaseLoader
 
getFrequency() - Method in class org.razvan.jzx.BaseSpectrum
Get the frequency used by the BaseSpectrum.m_clock.
getFrequency() - Method in class org.razvan.jzx.Clock
Get the clock frequency.
getHL16() - Method in class org.razvan.jzx.BaseLoader
 
getHL16ALT() - Method in class org.razvan.jzx.BaseLoader
 
getI8() - Method in class org.razvan.jzx.BaseLoader
 
getIFF1a() - Method in class org.razvan.jzx.BaseLoader
 
getIFF1b() - Method in class org.razvan.jzx.BaseLoader
 
getIM2() - Method in class org.razvan.jzx.BaseLoader
 
getImage(int, int) - Method in class org.razvan.jzx.ScreenJava1
Retrieve an Image object from the cache.
getInstance() - Static method in class org.razvan.jzx.BaseScreen
Construct the appropriate (derived class) instance for the current environment (JVM version.)
getIO() - Method in class org.razvan.jzx.BaseSpectrum
Trivial accessor for this Spectrum's I/O.
getIssue() - Method in class org.razvan.jzx.BaseLoader
 
getIssue() - Method in class org.razvan.jzx.BaseSpectrum
Trivial accessor for the issue (model) of this Spectrum.
getIX16() - Method in class org.razvan.jzx.BaseLoader
 
getIY16() - Method in class org.razvan.jzx.BaseLoader
 
getKeyboard() - Method in class org.razvan.jzx.BaseSpectrum
Trivial accessor for this Spectrum's keyboard.
getLast0x7ffd() - Method in class org.razvan.jzx.BaseLoader
 
getLast0xfffd() - Method in class org.razvan.jzx.BaseLoader
 
getMemory() - Method in class org.razvan.jzx.BaseLoader
Trivial accessor for the (headless) memory object.
getMemory() - Method in class org.razvan.jzx.BaseSpectrum
Trivial accessor for this Spectrum's memory.
getMinimumSize() - Method in class org.razvan.jzx.BaseScreen
Set the minimum size to (full width, full height).
getMode() - Method in class org.razvan.jzx.BaseLoader
 
getMode() - Method in class org.razvan.jzx.BaseSpectrum
String that describes the type of Spectrum ("48", "128").
getMode() - Method in class org.razvan.jzx.v128.Spectrum
 
getMode() - Method in class org.razvan.jzx.v48.Spectrum
 
getPage() - Method in class org.razvan.jzx.BaseScreen
Trivial accessor to the physical memory page for the screen data.
getParameterInfo() - Method in class org.razvan.jzx.JZXApplet
Return documentation for the parameters supported by this applet.
getPC16() - Method in class org.razvan.jzx.BaseLoader
 
getPreferredSize() - Method in class org.razvan.jzx.BaseScreen
Set the preferred size to (full width, full height).
getR8() - Method in class org.razvan.jzx.BaseLoader
 
getScale() - Method in class org.razvan.jzx.BaseSpectrum
Trivial accessor for the scale parameter of this Spectrum.
getScreen() - Method in class org.razvan.jzx.BaseSpectrum
Trivial accessor for this Spectrum's screen.
getSound(int) - Method in class org.razvan.jzx.v128.AY8912
 
getSP16() - Method in class org.razvan.jzx.BaseLoader
 
getSpectrum() - Method in class org.razvan.jzx.BaseComponent
Trivial accessor for the BaseSpectrum instance.
getTStates() - Method in class org.razvan.jzx.Z80
Trivial accessor for the T-States value.
getVline() - Method in class org.razvan.jzx.BaseSpectrum
Trivial accessor for the current TV line being drawn.
GREEN - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "green"

I

ILogger - Interface in org.razvan.jzx
Interface implemented by all classes that are able to log messages generated by the emulator.
in8(int) - Method in class org.razvan.jzx.BaseIO
Process an I/O "in" request.
in8(int) - Method in class org.razvan.jzx.v128.IO
Read an 8-bit value from the specified 16-bit I/O port.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.BaseComponent
Initialize the component.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.BaseIO
Allocate the port arrays and cache the Z80, memory and screen components.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.BaseKeyboard
Cache the reference to the I/O component.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.BaseMemory
Allocate the memory arrays, cache the screen component and pages in the appropriate memory pages.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.BaseScreen
Set cached pointers to the BaseSpectrum and BaseMemory objects. Allocate pixel modification bit vector. Allocate ink and paper tables. Set the size of the Canvas object, and add it to the Container. Add the keyboard object as the KeyListener. Set the scale.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.BaseSpectrum
Allocate the clock object, and initialize all contained references (CPU, memory, I/O, screen and keyboard.)
init() - Method in class org.razvan.jzx.JZXApplet
Parse the parameters, load the snapshot, create the spectrum emulator instance, pause it and start a runner thread to run the main emulation loop.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.ScreenBoth
Allocate the RGB data array and the MemoryImageSource object that Decorates the data.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.ScreenJava1
Allocate the image cache.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.ScreenJava2
Compute the size of the segment that will be drawn into the BufferedImage, and allocate it.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.v128.IO
Allocate the AY port array and cache the reference to the AY-3-8912 chip.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.v128.Memory
Load the ROM files from "roms/128a.rom" and "roms/128b.rom"
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.v128.Spectrum
Allocate the 128k model versions of the memory, I/O and sound objects.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.v48.Memory
Load the ROM files from "roms/spectrum.rom".
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.v48.Spectrum
Allocate the 48k model versions of the memory and I/O objects.
init(BaseSpectrum, ILogger) - Method in class org.razvan.jzx.Z80
Cache references to the memory and I/O objects.
INK - Static variable in class org.razvan.jzx.BaseScreen
Ink attribute mask.
interrupt() - Method in class org.razvan.jzx.Z80
Interrupt the CPU.
interrupted - Variable in class org.razvan.jzx.Clock
This is set to true, and notifyAll() is called whenever an interrupt has been generated.
IO - Class in org.razvan.jzx.v128
The 128k model specialization of the BaseIO class.
IO() - Constructor for class org.razvan.jzx.v128.IO
 
IO - Class in org.razvan.jzx.v48
The 48k model specialization of the BaseIO class; this class has an empty implementation.
IO() - Constructor for class org.razvan.jzx.v48.IO
 
ISSUE_2 - Static variable in class org.razvan.jzx.BaseSpectrum
48k Spectrum model 2 (issue 2)
ISSUE_3 - Static variable in class org.razvan.jzx.BaseSpectrum
48k Spectrum model 3 (issue 3)

J

JOY_DOWN - Static variable in class org.razvan.jzx.BaseKeyboard
Joystick DOWN event = Keypad 2
JOY_FIRE - Static variable in class org.razvan.jzx.BaseKeyboard
Joystick FIRE event = Keypad 0
JOY_LEFT - Static variable in class org.razvan.jzx.BaseKeyboard
Joystick LEFT event = Keypad 4
JOY_RIGHT - Static variable in class org.razvan.jzx.BaseKeyboard
Joystick RIGHT event = Keypad 5
JOY_UP - Static variable in class org.razvan.jzx.BaseKeyboard
Joystick UP event = Keypad 8
JZXApplet - Class in org.razvan.jzx
The entry point for JZX when running as an applet.
JZXApplet() - Constructor for class org.razvan.jzx.JZXApplet
 
JZXFrame - Class in org.razvan.jzx
The entry point for JZX when running as a standalone application.
JZXFrame() - Constructor for class org.razvan.jzx.JZXFrame
 

K

keyPressed(KeyEvent) - Method in class org.razvan.jzx.BaseKeyboard
Modify the I/O ports in accordance with the key that was pressed.
keyReleased(KeyEvent) - Method in class org.razvan.jzx.BaseKeyboard
Modify the I/O ports in accordance with the key that was released.
keyTyped(KeyEvent) - Method in class org.razvan.jzx.BaseKeyboard
Does nothing.

L

LINE_BUF_SIZE - Static variable in class org.razvan.jzx.BaseIO
The size of the buffer used for generating sounds.
load(BaseLoader) - Method in class org.razvan.jzx.BaseComponent
Load previously saved state into the component.
load(BaseLoader) - Method in class org.razvan.jzx.BaseIO
Extracts the saved border color and outputs it to the appropriate I/O port.
load(BaseLoader) - Method in class org.razvan.jzx.BaseKeyboard
Does nothing.
load(String) - Method in class org.razvan.jzx.BaseLoader
Perform the actual loading from the URL fragment identified by the "name" parameter.
load(BaseLoader) - Method in class org.razvan.jzx.BaseMemory
Load the memory contents from the given BaseLoader object.
load(BaseLoader) - Method in class org.razvan.jzx.BaseScreen
Load the screen contents from the given BaseLoader object.
load(BaseLoader) - Method in class org.razvan.jzx.BaseSpectrum
Load the Spectrum contents from the given loader, by calling the load() method of all contained components.
load(BaseLoader) - Method in class org.razvan.jzx.v128.AY8912
 
load(BaseLoader) - Method in class org.razvan.jzx.v128.IO
Load the saved values of 0x7ffd and 0xfffd oirt values.
load(BaseLoader) - Method in class org.razvan.jzx.Z80
Load the CPU contents from the loader object.
load(String) - Method in class org.razvan.jzx.Z80Loader
Load the header and the body for the given snapshot name.
loadBody(InputStream) - Method in class org.razvan.jzx.Z80Loader
Load the Z80 snapshot body.
loadHeader(InputStream) - Method in class org.razvan.jzx.Z80Loader
Load the Z80 snapshot header.
loadPage(InputStream, int, boolean) - Method in class org.razvan.jzx.Z80Loader
Load a memory page from the Z80 snapshot.
log(int, String) - Method in class org.razvan.jzx.AppletLogger
Display the message in the status bar.
log(int, Throwable) - Method in class org.razvan.jzx.AppletLogger
Display the exception message in the status bar.
log(int, String) - Method in class org.razvan.jzx.ConsoleLogger
Display the message to System.out.
log(int, Throwable) - Method in class org.razvan.jzx.ConsoleLogger
Display the exception stack trace to System.out.
log(int, String) - Method in interface org.razvan.jzx.ILogger
Log a message to a given channel.
log(int, Throwable) - Method in interface org.razvan.jzx.ILogger
Log an exception to a given channel.

M

m_af16 - Variable in class org.razvan.jzx.BaseLoader
Z80 basic registers.
m_af16alt - Variable in class org.razvan.jzx.BaseLoader
Z80 alternate registers.
m_ay8912 - Variable in class org.razvan.jzx.v128.IO
AY-3-8912 chip.
m_ay8912 - Variable in class org.razvan.jzx.v128.Spectrum
 
m_bc16 - Variable in class org.razvan.jzx.BaseLoader
Z80 basic registers.
m_bc16alt - Variable in class org.razvan.jzx.BaseLoader
Z80 alternate registers.
m_border - Variable in class org.razvan.jzx.BaseLoader
Border color.
m_borderColor - Variable in class org.razvan.jzx.BaseScreen
The current border color.
m_borderDirty - Variable in class org.razvan.jzx.BaseScreen
If true, the border needs repainting.
m_buffer - Variable in class org.razvan.jzx.BaseIO
The sound buffer as it is currently being filled and played.
m_clock - Variable in class org.razvan.jzx.BaseSpectrum
The interrupt clock.
m_container - Variable in class org.razvan.jzx.BaseSpectrum
Component that decorates the screen object for display in a Frame, Applet, etc.
m_cpu - Variable in class org.razvan.jzx.BaseIO
Cached reference to the Z80 component.
m_cpu - Variable in class org.razvan.jzx.BaseSpectrum
Contained reference to the Z80 CPU.
m_cyclesLine - Variable in class org.razvan.jzx.BaseSpectrum
The number of CPU T-States per TV line.
m_de16 - Variable in class org.razvan.jzx.BaseLoader
Z80 basic registers.
m_de16alt - Variable in class org.razvan.jzx.BaseLoader
Z80 alternate registers.
m_flashPhase - Variable in class org.razvan.jzx.BaseScreen
Is the flash phase normal or inverted?
m_frame - Variable in class org.razvan.jzx.BaseMemory
Maps the frame number to the physical page data.
m_frameToPage - Variable in class org.razvan.jzx.BaseMemory
Maps a frame number to a physical page number.
m_frequency - Variable in class org.razvan.jzx.BaseSpectrum
 
m_hl16 - Variable in class org.razvan.jzx.BaseLoader
Z80 basic registers.
m_hl16alt - Variable in class org.razvan.jzx.BaseLoader
Z80 alternate registers.
m_i8 - Variable in class org.razvan.jzx.BaseLoader
Z80 interrupt and refresh registers.
m_iff1a - Variable in class org.razvan.jzx.BaseLoader
Z80 flip-flops.
m_iff1b - Variable in class org.razvan.jzx.BaseLoader
Z80 flip-flops.
m_im2 - Variable in class org.razvan.jzx.BaseLoader
Z80 interrupt mode.
m_index - Variable in class org.razvan.jzx.BaseIO
The current index into the sound buffer.
m_inkTable - Variable in class org.razvan.jzx.BaseScreen
Maps a given attribute value to its corresponding ink value, to avoid having to decode it explicitly.
m_inPorts - Variable in class org.razvan.jzx.BaseIO
The input port array.
m_io - Variable in class org.razvan.jzx.BaseKeyboard
Cached reference to the I/O component.
m_io - Variable in class org.razvan.jzx.BaseSpectrum
Contained reference to the I/O object.
m_issue - Variable in class org.razvan.jzx.BaseLoader
Spectrum model (issue).
m_issue - Variable in class org.razvan.jzx.BaseSpectrum
The model (issue) of this Spectrum.
m_ix16 - Variable in class org.razvan.jzx.BaseLoader
Z80 index registers.
m_iy16 - Variable in class org.razvan.jzx.BaseLoader
Z80 index registers.
m_keyboard - Variable in class org.razvan.jzx.BaseSpectrum
Contained reference to the keyboard object.
m_keyPorts - Variable in class org.razvan.jzx.BaseIO
The keyboard port array.
m_keyTable - Static variable in class org.razvan.jzx.BaseKeyboard
Maps ASCII keys to a keyboard row and bit to set/reset.
m_last0x7ffd - Variable in class org.razvan.jzx.BaseLoader
128k specific saved I/O registers.
m_last0x7ffd - Variable in class org.razvan.jzx.v128.IO
Last value written to the memory bank port.
m_last0xfffd - Variable in class org.razvan.jzx.BaseLoader
 
m_last0xfffd - Variable in class org.razvan.jzx.v128.IO
Last value written to the sound chip port.
m_lastBorderColor - Variable in class org.razvan.jzx.BaseIO
Last border color.
m_logger - Variable in class org.razvan.jzx.BaseComponent
The ILogger object used to log error and output information.
m_logger - Variable in class org.razvan.jzx.BaseLoader
Logger object for logging messages and exceptions.
m_logger - Variable in class org.razvan.jzx.BaseScreen
The ILogger object used to logStream information and exceptions.
m_memory - Variable in class org.razvan.jzx.BaseIO
Cached reference to the memory component.
m_memory - Variable in class org.razvan.jzx.BaseLoader
"headless" memory object that stores the memory image.
m_memory - Variable in class org.razvan.jzx.BaseSpectrum
Contained reference to the memory object.
m_mode - Variable in class org.razvan.jzx.BaseLoader
Spectrum model (MODE_48 or MODE_128).
m_offscreenBorder - Variable in class org.razvan.jzx.BaseScreen
The image that renders the border and the screen.
m_offscreenBorderGraphics - Variable in class org.razvan.jzx.BaseScreen
The Graphics object corresponding to the border image.
m_offscreenImage - Variable in class org.razvan.jzx.BaseScreen
The image that renders the screen.
m_offscreenImageGraphics - Variable in class org.razvan.jzx.BaseScreen
The Graphics object corresponding to the screen image.
m_outPorts - Variable in class org.razvan.jzx.BaseIO
The output port array.
m_page - Variable in class org.razvan.jzx.BaseMemory
The full memory array.
m_paperTable - Variable in class org.razvan.jzx.BaseScreen
Maps a given attribute value to its corresponding paper value, to avoid having to decode it explicitly.
m_pause - Variable in class org.razvan.jzx.Z80
Indicates that the emulate() method should pause.
m_pc16 - Variable in class org.razvan.jzx.BaseLoader
Z80 core registers.
m_psgPorts - Variable in class org.razvan.jzx.v128.IO
AY-3-8912 ports.
m_r8 - Variable in class org.razvan.jzx.BaseLoader
Z80 interrupt and refresh registers.
m_scale - Variable in class org.razvan.jzx.BaseScreen
The screen scaling factor.
m_scale - Variable in class org.razvan.jzx.BaseSpectrum
The current scale value for this Spectrum.
m_screen - Variable in class org.razvan.jzx.BaseIO
Cached reference to the screen component.
m_screen - Variable in class org.razvan.jzx.BaseKeyboard
 
m_screen - Variable in class org.razvan.jzx.BaseMemory
Cached reference to the screen component.
m_screen - Variable in class org.razvan.jzx.BaseSpectrum
Contained reference to the screen object.
m_screenChanged - Variable in class org.razvan.jzx.BaseScreen
Bit vector that indicates whether a particular memory byte has been changed.
m_screenDirty - Variable in class org.razvan.jzx.BaseScreen
If true, the screen needs repainting.
m_screenHeight - Variable in class org.razvan.jzx.BaseScreen
The screen height, in pixels (uses m_scale.)
m_screenWidth - Variable in class org.razvan.jzx.BaseScreen
The screen width, in pixels (uses m_scale.)
m_sp16 - Variable in class org.razvan.jzx.BaseLoader
Z80 core registers.
m_speakerLevel - Variable in class org.razvan.jzx.BaseIO
 
m_spectrum - Variable in class org.razvan.jzx.BaseComponent
The BaseSpectrum instance, of which this BaseComponent is a part.
m_spectrum - Variable in class org.razvan.jzx.BaseScreen
Cached reference to the BaseSpectrum object.
m_status - Variable in class org.razvan.jzx.BaseSpectrum
Label used to display various status messages.
m_stop - Variable in class org.razvan.jzx.Z80
Indicates that the emulate() method should end.
m_tvLines - Variable in class org.razvan.jzx.BaseSpectrum
The number of lines per TV frame.
m_unshiftCursor - Variable in class org.razvan.jzx.BaseKeyboard
Is the cursor currently in SHIFT mode?
m_url - Variable in class org.razvan.jzx.BaseLoader
URL used for loading the data.
m_vline - Variable in class org.razvan.jzx.BaseSpectrum
The current vertical line being drawn.
MAGENTA - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "magenta"
main(String[]) - Static method in class org.razvan.jzx.JZXFrame
Create the Frame, create the emulator instance, load the snapshot (if appropriate) and start the emulation loop.
Memory - Class in org.razvan.jzx.v128
The 128k model specialization of the BaseMemory class.
Memory() - Constructor for class org.razvan.jzx.v128.Memory
 
Memory - Class in org.razvan.jzx.v48
The 48k model specialization of the BaseMemory class.
Memory() - Constructor for class org.razvan.jzx.v48.Memory
 
mixSound(int, int) - Method in class org.razvan.jzx.BaseIO
 
MODE_128 - Static variable in class org.razvan.jzx.BaseLoader
128k Spectrum model data
MODE_48 - Static variable in class org.razvan.jzx.BaseLoader
48k Spectrum model data

N

NativeTimer - Class in org.razvan.jzx
Obtain high-resolution timing values using a native hardware timer.
NativeTimer() - Constructor for class org.razvan.jzx.NativeTimer
 
nmi() - Method in class org.razvan.jzx.Z80
Generates a non-maskable interrupt (NMI.)

O

org.razvan.jzx - package org.razvan.jzx
 
org.razvan.jzx.v128 - package org.razvan.jzx.v128
 
org.razvan.jzx.v48 - package org.razvan.jzx.v48
 
orIn(int, int) - Method in class org.razvan.jzx.BaseIO
INport(port16) = INport(port16) OR mask8
orKey(int, int) - Method in class org.razvan.jzx.BaseIO
KEYport(port16) = KEYport(port16) OR mask8
orOut(int, int) - Method in class org.razvan.jzx.BaseIO
OUTport(port16) = OUTport(port16) OR mask8
out(int, int) - Method in class org.razvan.jzx.BaseIO
Process an I/O "out" request.
out(int, int) - Method in class org.razvan.jzx.v128.IO
Write an 8-bit value to the specified 16-bit I/O port.
out8(int, int) - Method in class org.razvan.jzx.v128.AY8912
 

P

P_128 - Static variable in class org.razvan.jzx.v128.IO
Definition for all 128k ports.
P_BANK128 - Static variable in class org.razvan.jzx.v128.IO
Port address for 128k memory management.
P_KEMPSTON - Static variable in class org.razvan.jzx.BaseIO
Kempston joystick address.
P_SINCLAIR1 - Static variable in class org.razvan.jzx.BaseIO
Port address for the Sinclair1 joystick (Interface II).
P_SINCLAIR2 - Static variable in class org.razvan.jzx.BaseIO
Port address for the Sinclair2 joystick (Interface II).
P_SNDCONTROL - Static variable in class org.razvan.jzx.v128.IO
Sound control register (AY-3-8912 chip)
P_SNDDATA - Static variable in class org.razvan.jzx.v128.IO
Sound data register (AY-3-8912 chip)
P_ULA - Static variable in class org.razvan.jzx.BaseIO
Port address for the ULA.
PAGE_SIZE - Static variable in class org.razvan.jzx.BaseMemory
The size, in bytes, for a memory page.
pageIn(int, int) - Method in class org.razvan.jzx.BaseMemory
Maps a particular physical page into a given virtual frame number.
paint(Graphics) - Method in class org.razvan.jzx.BaseScreen
If the screen is dirty, update it by walking the memory page and re-drawing the data that has changed.
paint(Graphics) - Method in class org.razvan.jzx.ScreenBoth
Create the MemoryImageSource object from the given Graphics object.
PAPER - Static variable in class org.razvan.jzx.BaseScreen
Paper attribute mask.
pause() - Method in class org.razvan.jzx.BaseSpectrum
Pause the emulation (asynchronous).
pause() - Method in class org.razvan.jzx.Z80
Pause the emulation (asynchronous).
PerformanceCounter - Class in org.razvan.jzx
Track various time periods in the emulator and report them.
PerformanceCounter() - Constructor for class org.razvan.jzx.PerformanceCounter
 
PIXEL_LENGTH - Static variable in class org.razvan.jzx.BaseScreen
Length of pixel memory area.
PIXEL_START - Static variable in class org.razvan.jzx.BaseScreen
Memory address where the screen area starts.
print(char, int) - Method in class org.razvan.jzx.BaseScreen
Print a given character at the current cursor position and advance the cursor X position by 1.
print(String, int) - Method in class org.razvan.jzx.BaseScreen
Call BaseScreen.print(char, int) for every character in the given string.
println(char, int) - Method in class org.razvan.jzx.BaseScreen
Call BaseScreen.print(char, int) and advance the cursor Y position by 1.
println(String, int) - Method in class org.razvan.jzx.BaseScreen
Call BaseScreen.print(String, int) with the given string, then set the cursor to be on the line immediately underneath the original cursor position.

R

RAM0 - Static variable in class org.razvan.jzx.BaseMemory
The first RAM page.
RAM1 - Static variable in class org.razvan.jzx.BaseMemory
The second RAM page.
RAM2 - Static variable in class org.razvan.jzx.BaseMemory
The third RAM page.
RAM3 - Static variable in class org.razvan.jzx.BaseMemory
The fourth RAM page.
RAM4 - Static variable in class org.razvan.jzx.BaseMemory
The fifth RAM page.
RAM5 - Static variable in class org.razvan.jzx.BaseMemory
The sixth RAM page.
RAM6 - Static variable in class org.razvan.jzx.BaseMemory
The seventh RAM page.
RAM7 - Static variable in class org.razvan.jzx.BaseMemory
The eighth RAM page.
read16(int) - Method in class org.razvan.jzx.BaseMemory
Reads a word starting at a particular 16-bit address.
read8(int) - Method in class org.razvan.jzx.BaseMemory
Reads a byte from a particular 16-bit address.
readROM(String, byte[]) - Method in class org.razvan.jzx.BaseMemory
Load the contents of a ROM file into the given memory page.
RED - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "red"
report() - Static method in class org.razvan.jzx.PerformanceCounter
Report all the performance events gathered thus far.
reset() - Method in class org.razvan.jzx.BaseComponent
Reset the state of the component.
reset() - Method in class org.razvan.jzx.BaseIO
Set the port arrays to zero.
reset() - Method in class org.razvan.jzx.BaseKeyboard
Does nothing.
reset() - Method in class org.razvan.jzx.BaseScreen
Touch all the screen bits in order to force the initial refresh.
reset() - Method in class org.razvan.jzx.BaseSpectrum
Reset all contained references (CPU, memory, I/O, screen and keyboard.)
reset() - Method in class org.razvan.jzx.v128.AY8912
 
reset() - Method in class org.razvan.jzx.v128.IO
Set the AY port array to 0.
reset() - Method in class org.razvan.jzx.v128.Memory
Initialize all memory pages, except the ROM, to random values.
reset() - Method in class org.razvan.jzx.v48.Memory
Initialize all memory pages, except the ROM, to random values.
reset() - Method in class org.razvan.jzx.Z80
Set the PC, I, R, IM and IFF* registers to 0.
ROM0 - Static variable in class org.razvan.jzx.BaseMemory
The first ROM page.
ROM1 - Static variable in class org.razvan.jzx.BaseMemory
The second ROM page.
ROM2 - Static variable in class org.razvan.jzx.BaseMemory
The third ROM page.
ROM3 - Static variable in class org.razvan.jzx.BaseMemory
The fourth ROM page.
ROWS - Static variable in class org.razvan.jzx.BaseScreen
Number of character rows on the screen.
run() - Method in class org.razvan.jzx.Clock
Generate interrupts every specified number of milliseconds.
run() - Method in class org.razvan.jzx.JZXApplet
This is called from the thread started in init() and simply calls the emulate() method of the emulator.

S

s_colorPalette - Static variable in class org.razvan.jzx.BaseScreen
An array of Color objects corresponding to the color indices above.
s_rgbPalette - Static variable in class org.razvan.jzx.BaseScreen
An array of RGB integral values corresponding to the color indices above.
SAMPLE_FREQ - Static variable in class org.razvan.jzx.BaseIO
The sampling frequency for playing sounds with the speaker or AY chip.
ScreenBoth - Class in org.razvan.jzx
Screen implementation that runs in both JDK1.1 and JDK1.2 VMs, but is optimized for neither.
ScreenBoth() - Constructor for class org.razvan.jzx.ScreenBoth
 
ScreenJava1 - Class in org.razvan.jzx
Screen implementation that is optimized for running in a JDK1.1 VM.
ScreenJava1() - Constructor for class org.razvan.jzx.ScreenJava1
 
ScreenJava2 - Class in org.razvan.jzx
Screen implementation that is optimized for running in a JDK1.2 VM.
ScreenJava2() - Constructor for class org.razvan.jzx.ScreenJava2
 
screenTouch(int) - Method in class org.razvan.jzx.BaseScreen
Touch a particular byte value in screen memory, marking it for update next time the screen is rendered.
setBorderColor(int) - Method in class org.razvan.jzx.BaseScreen
Change the current border color, and mark the border as dirty for update at the next screen refresh.
setCursor(int, int) - Method in class org.razvan.jzx.BaseScreen
Set the current cursor position used by print methods below.
setEnable(boolean) - Static method in class org.razvan.jzx.PerformanceCounter
Enable or disable the counter functionality.
setFrequency(long) - Method in class org.razvan.jzx.BaseSpectrum
Set the frequency used by the BaseSpectrum.m_clock.
setFrequency(long) - Method in class org.razvan.jzx.Clock
Set the clock frequency.
setPage(int) - Method in class org.razvan.jzx.BaseScreen
Trivial mutator for the physical memory page for the screen data.
setScale(int) - Method in class org.razvan.jzx.BaseScreen
Non-trivial mutator for the screen scale value.
setScale(int) - Method in class org.razvan.jzx.BaseSpectrum
Trivial mutator for the scale parameter of this Spectrum.
setScale(int) - Method in class org.razvan.jzx.ScreenBoth
Update the RGB data array and the MemoryImageSource for the new scale value.
setScale(int) - Method in class org.razvan.jzx.ScreenJava2
Update the segment size and re-allocate it for the new scale value.
setTStates(int) - Method in class org.razvan.jzx.Z80
Trivial mutator for the T-States value.
setWarmup(int) - Static method in class org.razvan.jzx.PerformanceCounter
Set the warmup count.
Spectrum - Class in org.razvan.jzx.v128
The 128k model specialization of the BaseSpectrum class.
Spectrum() - Constructor for class org.razvan.jzx.v128.Spectrum
 
Spectrum - Class in org.razvan.jzx.v48
The 48k model specialization of the BaseSpectrum class.
Spectrum() - Constructor for class org.razvan.jzx.v48.Spectrum
 
start() - Method in class org.razvan.jzx.JZXApplet
Unpause the emulator which is current paused in the runner thread.
start(String) - Static method in class org.razvan.jzx.PerformanceCounter
Start tracking a new event of specified type.
startRender() - Method in class org.razvan.jzx.BaseScreen
Trigger method that is called right before the screen is rendered.
stop() - Method in class org.razvan.jzx.BaseSpectrum
Stop the emulation (asynchronous.)
stop() - Method in class org.razvan.jzx.JZXApplet
Pause the emulator.
stop() - Method in class org.razvan.jzx.Z80
Stop the emulation (asynchronous.)

T

terminate() - Method in class org.razvan.jzx.BaseComponent
Terminate the component.
terminate() - Method in class org.razvan.jzx.BaseIO
Release references to all cached components and port arrays.
terminate() - Method in class org.razvan.jzx.BaseKeyboard
Releases the cached I/O component reference.
terminate() - Method in class org.razvan.jzx.BaseMemory
Sets the memory arrays to null and releases the cached screen reference.
terminate() - Method in class org.razvan.jzx.BaseScreen
Release all cached pointers, set all the tables to null.
terminate() - Method in class org.razvan.jzx.BaseSpectrum
Terminate all contained references (CPU, memory, I/O, screen and keyboard) and subsequently set them to null.
terminate() - Method in class org.razvan.jzx.ScreenJava1
Clear and release the image map.
terminate() - Method in class org.razvan.jzx.v128.IO
Set the port array to null and release the cached reference to the AY chip.
terminate() - Method in class org.razvan.jzx.Z80
Does nothing.
toString() - Method in class org.razvan.jzx.BaseMemory
Return a string representation of the memory state, which is useful for debugging.
toString() - Method in class org.razvan.jzx.Z80
Return a string representation of the CPU state, which is useful for debugging purposes.

U

unpause() - Method in class org.razvan.jzx.BaseSpectrum
Unpause the emulation (asynchronous).
unpause() - Method in class org.razvan.jzx.Z80
Unpause the emulation (asynchronous).
update(Graphics) - Method in class org.razvan.jzx.BaseScreen
Redraw the screen, but do not erase it first in order to avoid flicker.
update() - Method in class org.razvan.jzx.BaseSpectrum
 

W

WHITE - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "white"
write16(int, int) - Method in class org.razvan.jzx.BaseMemory
Writes a word starting at a particular 16-bit address.
write8(int, int) - Method in class org.razvan.jzx.BaseMemory
Writes a byte to a particular 16-bit address.

X

X_PIXELS - Static variable in class org.razvan.jzx.BaseScreen
Number of X pixels on the screen.

Y

Y_PIXELS - Static variable in class org.razvan.jzx.BaseScreen
Number of Y pixels on the screen.
YELLOW - Static variable in class org.razvan.jzx.BaseScreen
The Spectrum index of the color "yellow"

Z

Z80 - Class in org.razvan.jzx
The Z80 CPU component of the Spectrum emulator.
Z80() - Constructor for class org.razvan.jzx.Z80
 
Z80Loader - Class in org.razvan.jzx
Z80 Snapshot loader.
Z80Loader(ILogger, URL) - Constructor for class org.razvan.jzx.Z80Loader
 

A B C D E F G I J K L M N O P R S T U W X Y Z