@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, 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 M6532(Pointer p)
Pointer.Pointer(Pointer).@Cast(value="const char*") public BytePointer name()
public void systemCyclesReset()
systemCyclesReset in class Devicepublic 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") public byte peek(@Cast(value="uInt16") short _address)
Copyright © 2020. All rights reserved.