|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.razvan.jzx.BaseLoader
org.razvan.jzx.Z80Loader
public class Z80Loader
Z80 Snapshot loader.
This class can load and store internally the contents of a Z80 snapshot.
| Field Summary |
|---|
| Fields inherited from class org.razvan.jzx.BaseLoader |
|---|
m_af16, m_af16alt, m_bc16, m_bc16alt, m_border, m_de16, m_de16alt, m_hl16, m_hl16alt, m_i8, m_iff1a, m_iff1b, m_im2, m_issue, m_ix16, m_iy16, m_last0x7ffd, m_last0xfffd, m_logger, m_memory, m_mode, m_pc16, m_r8, m_sp16, m_url, MODE_128, MODE_48 |
| Constructor Summary | |
|---|---|
Z80Loader(ILogger logger,
java.net.URL url)
|
|
| Method Summary | |
|---|---|
void |
load(java.lang.String name)
Load the header and the body for the given snapshot name. |
protected void |
loadBody(java.io.InputStream is)
Load the Z80 snapshot body. |
protected void |
loadHeader(java.io.InputStream is)
Load the Z80 snapshot header. |
protected void |
loadPage(java.io.InputStream is,
int block,
boolean skip)
Load a memory page from the Z80 snapshot. |
| Methods inherited from class org.razvan.jzx.BaseLoader |
|---|
getAF16, getAF16ALT, getBC16, getBC16ALT, getBorder, getDE16, getDE16ALT, getHL16, getHL16ALT, getI8, getIFF1a, getIFF1b, getIM2, getIssue, getIX16, getIY16, getLast0x7ffd, getLast0xfffd, getMemory, getMode, getPC16, getR8, getSP16 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Z80Loader(ILogger logger,
java.net.URL url)
| Method Detail |
|---|
public void load(java.lang.String name)
throws java.io.IOException
load in class BaseLoadername - The name of the snapshot to be loaded.
This parameter is appended to the previously provided
URL parameter to form the absolute URL.
java.io.IOException
protected void loadHeader(java.io.InputStream is)
throws java.io.IOException
java.io.IOException
protected void loadBody(java.io.InputStream is)
throws java.io.IOException
java.io.IOException
protected void loadPage(java.io.InputStream is,
int block,
boolean skip)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||