@Namespace(value="ale::stella") @NoOffset @Properties(inherit=ale.class) public class M6532 extends Device
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
M6532(Console console)
Create a new 6532 for the specified console
|
M6532(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
install(System system)
Install 6532 in the specified system.
|
boolean |
load(Deserializer in)
Loads the current state of this device from the given Deserializer.
|
BytePointer |
name()
Get a null terminated string which is the device's name (i.e.
|
byte |
peek(short _address)
Get the byte at the specified address
|
void |
poke(short _address,
byte value)
Change the byte at the specified address to the given value
|
void |
reset()
Reset cartridge to its power-on state
|
boolean |
save(Serializer out)
Saves the current state of this device to the given Serializer.
|
void |
systemCyclesReset()
Notification method invoked by the system right before the
system resets its cycle counter to zero.
|
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 M6532(Pointer p)
Pointer(Pointer)
.@Cast(value="const char*") public BytePointer name()
public void systemCyclesReset()
systemCyclesReset
in class Device
public void install(@ByRef System system)
@Cast(value="bool") public boolean save(@ByRef Serializer out)
@Cast(value="bool") public boolean load(@ByRef Deserializer in)
@Cast(value="uint8_t") public byte peek(@Cast(value="uint16_t") short _address)
Copyright © 2022. All rights reserved.