Serialized Form


Package org.razvan.jzx

Class org.razvan.jzx.BaseScreen extends java.awt.Canvas implements Serializable

Serialized Fields

CHARSET_ADDR

int CHARSET_ADDR

m_scale

int m_scale
The screen scaling factor.


m_screenWidth

int m_screenWidth
The screen width, in pixels (uses m_scale.)


m_screenHeight

int m_screenHeight
The screen height, in pixels (uses m_scale.)


m_fullWidth

int m_fullWidth
The full screen width, in pixels, including the border.


m_fullHeight

int m_fullHeight
The full screen height, in pixels, including the border.


m_flashPhase

boolean m_flashPhase
Is the flash phase normal or inverted?


m_borderColor

int m_borderColor
The current border color.


m_inkTable

int[] m_inkTable
Maps a given attribute value to its corresponding ink value, to avoid having to decode it explicitly.


m_paperTable

int[] m_paperTable
Maps a given attribute value to its corresponding paper value, to avoid having to decode it explicitly.


m_screenChanged

boolean[] m_screenChanged
Bit vector that indicates whether a particular memory byte has been changed.


m_screenDirty

boolean m_screenDirty
If true, the screen needs repainting.


m_borderDirty

boolean m_borderDirty
If true, the border needs repainting.


m_offscreenBorder

java.awt.Image m_offscreenBorder
The image that renders the border and the screen.


m_offscreenBorderGraphics

java.awt.Graphics m_offscreenBorderGraphics
The Graphics object corresponding to the border image.


m_offscreenImage

java.awt.Image m_offscreenImage
The image that renders the screen.


m_offscreenImageGraphics

java.awt.Graphics m_offscreenImageGraphics
The Graphics object corresponding to the screen image.


m_spectrum

BaseSpectrum m_spectrum
Cached reference to the BaseSpectrum object.


m_logger

ILogger m_logger
The ILogger object used to logStream information and exceptions.


m_memory

BaseMemory m_memory
Cached reference to the spectrum memory object.

This is used to read the actual screen data in order to draw it on the screen.


m_page

int m_page
The physical memory page from which data is read.


m_cursorX

int m_cursorX
The current cursor position used by BaseScreen.print(char, int).


m_cursorY

int m_cursorY
The current cursor position used by BaseScreen.print(char, int).

Class org.razvan.jzx.JZXApplet extends java.applet.Applet implements Serializable

Serialized Fields

m_spectrum

BaseSpectrum m_spectrum
The Spectrum emulator running inside this applet.

Class org.razvan.jzx.ScreenBoth extends BaseScreen implements Serializable

Serialized Fields

m_data

int[] m_data
The underlying RGB data for the MemoryImageSource object.


m_memoryImageSource

java.awt.image.MemoryImageSource m_memoryImageSource
The MemoryImageSource object whose data is updated and drawn on the screen.

Class org.razvan.jzx.ScreenJava1 extends BaseScreen implements Serializable

Serialized Fields

m_imageMap

java.awt.Image[] m_imageMap
The image cache.

The cache is indexed on the 4 pixel bits and the 7 attribute bits (exclude the flash bit, since it's simply an inversion of the attribute.) In sum, the cache has 2^11 elements.


m_count

int m_count
The current count of images allocated into the cache.

Class org.razvan.jzx.ScreenJava2 extends BaseScreen implements Serializable

Serialized Fields

m_pix8Width

int m_pix8Width
Dimensions for the 8-pixel wide area to update into the BufferedImage.


m_pix8Height

int m_pix8Height
Dimensions for the 8-pixel wide area to update into the BufferedImage.


m_segment

int[] m_segment
The segment data to update into the BufferedImage.


m_bufferedOffscreenImage

java.awt.image.BufferedImage m_bufferedOffscreenImage
The BufferedImage instance.


m_buffer

java.awt.image.DataBuffer m_buffer
The data buffer for the offscreen image.