SE_Tape

class SE_Tape : Tape

Cassette interface for JavaSE

Author

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

Constructors

Link copied to clipboard
constructor(Owner: Calculator)
initialise cassette interface

Properties

Link copied to clipboard
private val delegate: SE_Interface
Delegate class to emulate mutiple inheritance
Link copied to clipboard
private open var Enable: Boolean
When true the interface is enabled.
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
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
private val logger: Logger
private val logger: Logger
class logger instance
Link copied to clipboard
private val MF_Divisor: Int = 11
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 val Owner: Calculator
Calculator to which the interface is connected to
Link copied to clipboard
val Setting_Name: String = "fx-603p"
File name for settings.
Link copied to clipboard
Characters which are not ASCII and can be used in Alpha strings.
Link copied to clipboard
Token used for non ASCII characters.
Link copied to clipboard
private val TAG: String
class logger tag.
private val TAG: String
Class logger tag.

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_Alpha(Token_Text: String): Array<Short>
Link copied to clipboard
open fun Convert_To_Java(Alpha_String: Array<Int>): String
open fun Convert_To_Java(Alpha: Short): String
open fun Convert_To_Java(Alpha_String: Array<Short>): String
Link copied to clipboard
open fun Convert_To_Token(Alpha: Short): String
Link copied to clipboard
open fun Create(Type: File_Type, File_Name: String, Casio_File_Name: Array<Int>, Header: Int)
create new file for tape IO
Link copied to clipboard
protected open fun Create_Stream(Filename: String): DataOutputStream
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
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
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_Alpha(Out_Text: Array<Short>): Int
Read Display from Simulated Cassette interface.
Link copied to clipboard
open fun Read_Display(Out_Text: Array<Short>): Number
Read Display from Simulated Cassette interface.
Link copied to clipboard
open fun Read_EOF()
Read over an EOF maker to the next value.
Link copied to clipboard
open fun Read_M()
Read M register from file
Link copied to clipboard
open fun Read_Steps()
Read Steps from Simulated Cassette interface.
Link copied to clipboard
fun Set_Enable(Enable: Boolean)
A disabled interface will ignore all input and output.
Link copied to clipboard
open fun toString(): String
open fun toString(): String
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>)
open fun Write(Data: Array<Short>)
writes the bytes in the array to the interface.
Link copied to clipboard
open fun Write_Alpha(Print: Array<Short>)
Print displayed alpha text to simulated printer (max 40 characters)
Link copied to clipboard
open fun Write_Display(L_X: Number, Text: Array<Short>)
Writes displayed register to simulated cassette interface.
Link copied to clipboard
open fun Write_EOF()
Writes an EOF marker into the file.
Link copied to clipboard
open fun Write_M()
Writes memory register to simulated cassette interface.