@NoOffset @Properties(inherit=ale.class) public class Console extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Console(Console console)
Create a new console object by copying another one
|
Console(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BytePointer |
about()
Query some information about this console.
|
Cartridge |
cartridge()
Get the cartridge used by the console which contains the ROM code
|
void |
changeHeight(int direction)
Change the "Display.Height" variable.
|
void |
changeYStart(int direction)
Change the "Display.YStart" variable.
|
Controller |
controller(int jack)
Get the controller plugged into the specified jack
|
void |
enableBits(boolean enable) |
void |
fry()
"Fry" the Atari (mangle memory/TIA contents)
|
BytePointer |
getFormat()
Query the currently selected display format (NTSC/PAL/PAL60).
|
void |
initializeAudio()
Initialize the audio subsystem wrt this class.
|
void |
initializeVideo() |
void |
initializeVideo(boolean full)
Initialize the video subsystem wrt this class.
|
MediaSource |
mediaSource()
Get the MediaSource for this console
|
OSystem |
osystem()
Returns the OSystem for this emulator.
|
Console |
put(Console console)
Overloaded assignment operator
|
M6532 |
riot()
Get the 6532 used by the console
|
Switches |
switches()
Get the console switches
|
System |
system()
Get the 6502 based system used by the console to emulate the game
|
void |
toggleBLBit() |
void |
toggleFormat()
Toggle between NTSC/PAL/PAL60 display format.
|
void |
toggleM0Bit() |
void |
toggleM1Bit() |
void |
toggleP0Bit()
Toggles the TIA bit specified in the method name.
|
void |
toggleP1Bit() |
void |
togglePalette()
Toggle between the available palettes.
|
void |
togglePFBit() |
void |
togglePhosphor()
Toggles phosphor effect.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Console(Pointer p)
Pointer.Pointer(Pointer).@ByRef public Controller controller(@Cast(value="Controller::Jack") int jack)
@ByRef public MediaSource mediaSource()
@ByRef public System system()
@ByRef public OSystem osystem()
@ByRef public Cartridge cartridge()
@StdString public BytePointer about()
@ByRef @Name(value="operator =") public Console put(@Const @ByRef Console console)
console - The console object to set myself equal topublic void toggleFormat()
@StdString public BytePointer getFormat()
public void togglePalette()
public void togglePhosphor()
public void initializeVideo(@Cast(value="bool") boolean full)
full - Whether we want a full initialization,
or only reset certain attributes.public void initializeVideo()
public void initializeAudio()
public void fry()
public void changeYStart(int direction)
direction - +1 indicates increase, -1 indicates decrease.public void changeHeight(int direction)
direction - +1 indicates increase, -1 indicates decrease.public void toggleP0Bit()
public void toggleP1Bit()
public void toggleM0Bit()
public void toggleM1Bit()
public void toggleBLBit()
public void togglePFBit()
Copyright © 2020. All rights reserved.