Method | Description | |
---|---|---|
Apple2 ( ) : System |
Initializes the FT_XXX API driver and opens the device.
|
|
ClearHires ( ) : void |
Erase the Apple II high-res screen
|
|
ScrollLores ( ) : void |
Scrolls in GR2 screen to GR screen.
|
|
SendBuffer ( int address, byte buffer, int length ) : void |
High-level utility to transfer an arbirarily-sized buffer to the Apple II at a given address. Uses the fast SendPage() protocol for as much as possible and then fills up stragglers with the slower byte-by-byte transfer.
|
|
SendByte ( int address, byte data ) : void |
Transfer a byte to the Apple II. If you need to store more than a byte or two, this is a very inefficient way of doing so and you should use the SendBuffer() or SendPage() methods.
|
|
SendPage ( byte page, byte data ) : void |
Transfer a complete 256-byte page to the Apple II as fast as we can.
|
|
TickleAddress ( int address ) : void |
Uses the SendByte method to write the value of $00 to a given address. This is used to access the Apple II's memory-mapped soft-switches to do things like change graphics modes, etc.
|
Method | Description | |
---|---|---|
BitBang ( int data ) : void |
Writes a byte of data containing pin states.
|
|
FT_CreateDeviceInfoList ( int &deviceCount ) : int | ||
FT_GetDeviceInfoDetail ( int index, int &flags, int &type, int &id, int &locid, |
||
FT_GetDeviceInfoList ( |
||
FT_Open ( int deviceNumber, int &handle ) : int | ||
FT_OpenEx ( |
||
FT_SetBaudRate ( int handle, int baud ) : int | ||
FT_SetBitMode ( int handle, byte Mask, byte enable ) : int | ||
FT_Write ( int handle, byte data, int byteCount, int &bytesWritten ) : int | ||
SendByte ( byte data ) : int |
public SendBuffer ( int address, byte buffer, int length ) : void | ||
address | int | Start address. The Apple II is 16-bit /// address bus so only values from $0000 to $FFFF make sense |
buffer | byte | The data to copy to the Apple II |
length | int | How many bytes to copy from buffer |
return | void |
public SendByte ( int address, byte data ) : void | ||
address | int | The address to store the byte |
data | byte | The byte to store. |
return | void |
public SendPage ( byte page, byte data ) : void | ||
page | byte | High byte of destinatio address. For example, /// to transfer data to addresses $800..$8FF this parameter will be 0x08 |
data | byte | 256 bytes to send |
return | void |