@Namespace(value="ale::stella") @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(OSystem osystem,
Cartridge cart,
StellaProperties props)
Create a new console for emulating the specified game using the
given game image and operating system.
|
Console(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
about()
Query some information about this console.
|
Controller |
controller(int jack)
Get the controller plugged into the specified jack
|
BytePointer |
getFormat()
Query the currently selected display format (NTSC/PAL/PAL60).
|
int |
getFrameRate()
Returns the framerate based on a number of factors
(whether 'framerate' is set, what display format is in use, etc)
|
MediaSource |
mediaSource()
Get the MediaSource for this console
|
OSystem |
osystem()
Returns the OSystem for this emulator.
|
StellaProperties |
properties()
Get the properties being used by the game
|
Console |
put(Console console)
Overloaded assignment operator
|
void |
setProperties(StellaProperties props)
Set the properties to those given
|
Switches |
switches()
Get the console switches
|
System |
system()
Get the 6502 based system used by the console to emulate the game
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Console(Pointer p)
Pointer(Pointer)
.public Console(OSystem osystem, Cartridge cart, @Const @ByRef StellaProperties props)
osystem
- The OSystem object to usecart
- The cartridge to use with this consoleprops
- The properties for the cartridge@ByRef public Controller controller(@Cast(value="ale::stella::Controller::Jack") int jack)
@ByRef public MediaSource mediaSource()
@Const @ByRef public StellaProperties properties()
@ByRef public System system()
@ByRef public OSystem osystem()
public void setProperties(@Const @ByRef StellaProperties props)
The
- properties to use for the current game@StdString public BytePointer about()
@ByRef @Name(value="operator =") public Console put(@Const @ByRef Console console)
console
- The console object to set myself equal to@StdString public BytePointer getFormat()
Copyright © 2022. All rights reserved.