Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## dioscuri.module
Class ModuleBIOS

    java.lang.Object
      dioscuri.module.AbstractModule
          dioscuri.module.ModuleBIOS

All Implemented Interfaces:
  Module

Direct Known Subclasses:
  BIOS

    public abstract class ModuleBIOS

extends AbstractModule

Abstract class class defining a template for a BIOS module, which may contain a system BIOS, VIDEO BIOS and optional BIOSes.

Nested Class Summary

Nested classes/interfaces inherited from interface dioscuri.interfaces.Module
`Module.Type`

Field Summary

Fields inherited from class dioscuri.module.AbstractModule
`type`

Constructor Summary
`ModuleBIOS()`

Method Summary
`abstract byte[]` | `getSystemBIOS()` Returns the system BIOS code from ROM
`abstract byte[]` | `getVideoBIOS()` Returns the Video BIOS code from ROM
`abstract boolean` | `setSystemBIOS(byte[] biosCode)` Sets the system BIOS code in ROM
`abstract boolean` | `setVideoBIOS(byte[] biosCode)` Sets the Video BIOS code in ROM

Methods inherited from class dioscuri.module.AbstractModule
`getConnection, getConnections, getDebugMode, getDump, getExpectedConnections, getType, isConnected, reset, setConnection, setDebugMode, start, stop`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ModuleBIOS

    public ModuleBIOS()

Method Detail

### getSystemBIOS

    public abstract byte[] getSystemBIOS()

  Returns the system BIOS code from ROM

  Returns:
    byte[] biosCode containing the binary code of System BIOS

### setSystemBIOS

    public abstract boolean setSystemBIOS(byte[] biosCode)
                                   throws ModuleException

  Sets the system BIOS code in ROM

  Parameters:
    `biosCode` -
  Returns:
    true if BIOS code is of specified SYSTEMBIOS_ROM_SIZE and store is successful, false otherwise
  Throws:
    `ModuleException`

### getVideoBIOS

    public abstract byte[] getVideoBIOS()

  Returns the Video BIOS code from ROM

  Returns:
    byte[] biosCode containing the binary code of Video BIOS

### setVideoBIOS

    public abstract boolean setVideoBIOS(byte[] biosCode)
                                  throws ModuleException

  Sets the Video BIOS code in ROM

  Parameters:
    `biosCode` -
  Returns:
    true if BIOS code is of specified VIDEOBIOS_ROM_SIZE and store is successful, false otherwise
  Throws:
    `ModuleException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD