Droid_Tape

FA2 interface for Android

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Constructors

Link copied to clipboard
constructor(Context: Context)
create new interface

Properties

Link copied to clipboard
Convert CASIO Alpha Character into Java String
Link copied to clipboard
val Context: Context
context in which we operate
Link copied to clipboard
private open var Descriptor: ParcelFileDescriptor
File file descriptor from
Link copied to clipboard
private open var Enable: Boolean
When true the interface is enabled.
Link copied to clipboard
private open var File_Connection: File
File connection
Link copied to clipboard
open var File_Name: String
Last file name created or opened.
Link copied to clipboard
protected open var File_Read: Long
Characters read from input stream
Link copied to clipboard
protected open var Home_Directory: String
The simulators home directory.
Link copied to clipboard
private open var In: DataInputStream
input stream
Link copied to clipboard
private open var In_Connection: InputStream
File in connection
Link copied to clipboard
open var Last_Header: Array<Int>
No CASIO style filename to embed into the header
Link copied to clipboard
private val Logger: Logger
Class logger instance.
Link copied to clipboard
val No_Name: String = "No-Name"
File name for files without name or number.
Link copied to clipboard
private open var Out: DataOutputStream
output stream
Link copied to clipboard
private open var Out_Connection: OutputStream
File out connection
Link copied to clipboard
val Setting_Name: String = "fx-602p"
File name for settings.
Link copied to clipboard
private val TAG: String
logging tag
private val TAG: String
Class logger tag.
Link copied to clipboard
private open var Use_SD_Card: Boolean
Use File IO instead of RMS Bases IO.

Functions

Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
open fun Close()
Close files and all streams attached to them.
Link copied to clipboard
open fun Convert_To_Java(Alpha_Character: Short): String
open fun Convert_To_Java(Alpha_String: Array<Short>): String
Convert an CASIO String to an Java String (using the old character set)
Link copied to clipboard
open fun Create(Type: File_Type, File_Name: String, Casio_File_Name: Array<Int>, Header: Int)
Link copied to clipboard
protected open fun Create_Stream(Filename: String): DataOutputStream
Create a new file for output.
Link copied to clipboard
fun Enable(Enable: Boolean)
A disabled interface will ignore all input and output.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun File_Size(): Long
Get file Size
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
open fun Get_File_Read(): Long
Get amount of bytes read from file
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun Home_Directory(Home_Directory: Uri)
open fun Home_Directory(Home_Directory: File)
open fun Home_Directory(Home_Directory: String)
The simulators home directory.
Link copied to clipboard
A disabled interface will ignore all input and output.
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun Open(File_Name: String): File_Type
open file and return type
open fun Open(Type: File_Type, File_Name: String)
open file of given type
Link copied to clipboard
protected open fun Open_Stream(Filename: String): DataInputStream
Create a new file for output.
Link copied to clipboard
open fun Read(): Int
Read one byte from the simulated cassette interface.
open fun Read(size: Int): Array<Int>
Read a few byte from the simulated tape interface.
Link copied to clipboard
open fun Read_EOF()
Read over an EOF maker to the next value.
Link copied to clipboard
open fun toString(): String

open fun toString(): String
create string for the debugger
Link copied to clipboard
open fun Use_SD_Card(Use_SD_Card: Boolean)
Use File IO instead of RMS Bases IO.
Link copied to clipboard
fun wait()
Link copied to clipboard
open fun Write(Data: Int)
Write one byte to the simulated cassette interface.
open fun Write(Data: Array<Int>)
writes the bytes in the array to the interface.
Link copied to clipboard
open fun Write_EOF()
Writes an EOF marker into the file.