A_Register

Alpha register (16 characters).

Possible content:

          111111
0123456789012345

ABCDEFGHIJKLMNIO
 -0.123456789⁻¹²
 -1234567890.⁻¹²
-12°34"56.78'
__DF_ABCDEF_____

Author

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

Constructors

Link copied to clipboard
constructor(Owner: Calculator)
Create Keyboard_Alpha Register

Properties

Link copied to clipboard
Last Keyboard_Alpha character
Link copied to clipboard
private val Alpha_Start: Int = 0
First Keyboard_Alpha character
Link copied to clipboard
private open var arX_Count: Int
Count the amount of arx # characters.
Link copied to clipboard
private open var arX_Mode: DisplayType
Current display mode
Display_Alpha
Displays the content of the Alpha register.
Display_L
Displays the content of the L0 aka X register.
Display_Formated
Displays the content of the L0 aka X register inside an alpha
Link copied to clipboard
private val Begin_F_Register: Int = 240
Link copied to clipboard
private val Begin_M_Second_Half: Int = 160
Link copied to clipboard
private val Begin_MF_Second_Half: Int = 245
Link copied to clipboard
private val Bin_0_Text: Array<Short>
Default text for the numeric display
Link copied to clipboard
private val Dec_0_Text: Array<Short>
Default text for the numeric display
Link copied to clipboard
private open var Display_Count: Int
Count the amount of characters inserted to the display.
Link copied to clipboard
val Display_Size: Int = 16
The Casio display holds 16 main characters.
Link copied to clipboard
val DISPLAY_VALUE: String = "A_Register::Display_Value"
Link copied to clipboard
private val Display_Value: Array<Short>
Alpha Register display Value
Link copied to clipboard
private val Exponent_End: Int
Last Mode_Exponent character
Link copied to clipboard
First Mode_Exponent character
Link copied to clipboard
private val File_Display_Size: Int = 6
length of filename
Link copied to clipboard
val File_End: Int = 6
End for filename
Link copied to clipboard
private val File_Start: Int = 0
Start for filename
Link copied to clipboard
Default text for the numeric display
Link copied to clipboard
private val Hex_0_Text: Array<Short>
Default text for the numeric display
Link copied to clipboard
protected open var Is_M_Register: Boolean
True when operating on an M-Register
Link copied to clipboard
private val Logger: Logger
Class logger instance.
private val Logger: Logger
class Logger instance
Link copied to clipboard
private val Mask_M_Register_Number: Int = 15
Link copied to clipboard
private open var Mode: Mode_Type
alpha register entry mode
Mode_Normal
normal numeric entry mode
Mode_Fraction
fraction entry mode
Mode_Exponent
exponent entry mode
Mode_Begin_Alpha
begins alpha mode
Keyboard_Alpha
alpha entry mode
Link copied to clipboard
private val Mode_Error: String
Error Message displayed on using the wrong alpha mode!
Link copied to clipboard
Nothing to display (we are not using null for that)
Link copied to clipboard
Default text for the numeric display
Link copied to clipboard
Last Keyboard_Alpha character
Link copied to clipboard
First Keyboard_Alpha character (0)
Link copied to clipboard
private val Oct_0_Text: Array<Short>
Default text for the numeric display
Link copied to clipboard
protected val Owner: Calculator
Owner instance of this Operation
Link copied to clipboard
private val Plane_Size: Int = 20
Link copied to clipboard
private open var Printer_Count: Int
Count the amount of characters inserted to the printer.
Link copied to clipboard
val Printer_Size: Int = 40
Last Printable character
Link copied to clipboard
private open var Printer_Value: Array<Short>
value of the register for use with printer or tape interface.
Link copied to clipboard
Handle property changes.
Link copied to clipboard
protected open var Register: Int
Register number worked on
Link copied to clipboard
private open var Start_Char: Int
Limit Alpha text to Start_Char
Link copied to clipboard
The Casio display holds 4 step characters.
Link copied to clipboard
private val TAG: String
Class logger tag.
private val TAG: String
class Logger tag.

Functions

Link copied to clipboard
toggle plus / minus for either mantissa or exponent.
Link copied to clipboard
toggle plus / minus for either mantissa or exponent.
Link copied to clipboard
fun Add_Numeric(Digit: Short)
Add a numeric value - this is a non scrolling operation.
Link copied to clipboard
fun Add_Numeric_BaseN(Digit: Short, Base: Int, Character: Short, Start: Int)
Add a numeric value - this is a non scrolling operation.
Link copied to clipboard
Add a numeric value - this is a non scrolling operation.
Link copied to clipboard
Add a numeric value - this is a non scrolling operation.
Link copied to clipboard
open fun Assign(Right: A_Register)
Link copied to clipboard
protected open fun Check_M(Memory: Int, Is_M: Boolean)
Check im M Register is valid
Link copied to clipboard
fun Clear(AC: Boolean)
Clear content of Register
Link copied to clipboard
fun Clear_Display_Value(From: Int, To: Int)
Clear content of Register
Link copied to clipboard
Add a numeric value - this is a non scrolling operation.
private open fun Clear_Numeric(AC: Boolean, Clear_Text: Array<Short>)
Clear content of Register
Link copied to clipboard
Clear content of Register
Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
Create the optional print value which can be up to 40 characters.
Link copied to clipboard
open fun Debug_String(): String
Link copied to clipboard
fun Display(Opcode: Short): Array<Short>
Display operation in program mode.
Link copied to clipboard
fun Display_Count(Char_Count: Int)
Count the amount of characters.
Link copied to clipboard
Display an informative message until next key is pressed.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
fun Execute(Opcode: Short)
Execute virtual CPU command
Link copied to clipboard
fun File_Type(Program: Array<Short>, File_Type: Array<Short>, File_Name: Array<Short>)
Value of the register - only the display part.
Link copied to clipboard
Get value of the register for use with as filename.
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
Count the amount of arx # characters.
Link copied to clipboard
private fun Get_Display(Display_Mode: DisplayType): Array<Short>
Get Content of Display.
Link copied to clipboard
protected open fun Get_M(Opcode: Int): Int
Link copied to clipboard
open fun Get_Numeric_Value_BaseN(Decomposed_Text: Array<Short>, Base: Int, Character: Short): Number
Get value of the register for use with as BCD.
Link copied to clipboard
open fun Get_Numeric_Value_Float(Decomposed_Text: Array<Short>): Number
Get value of the register for use with as BCD.
Link copied to clipboard
open fun Get_Numeric_Value_Fraction(Decomposed_Text: Array<Short>): Number
Get value of the register for use with as BCD.
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun Insert(Character: Short)
Insert a single character
fun Insert(Text: Array<Short>): Int
Insert content of an String.
Link copied to clipboard
open fun Insert_X()
Insert content of L0 aka X register into the string.
Link copied to clipboard
protected open fun Is_M(Opcode: Int): Boolean
Link copied to clipboard
fun Limit_Alpha(Num_Char: Int)
Limit Alpha text to Start_Char
Link copied to clipboard
fun Mode(): Mode_Type
Get alpha register entry mode
fun Mode(Mode: Mode_Type)
Set alpha register entry mode
Mode_Normal
normal numeric entry mode
Mode_Fraction
fraction entry mode
Mode_Exponent
exponent entry mode
Mode_Begin_Alpha
begins alpha mode
Keyboard_Alpha
alpha entry mode
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
fun Numeric_Value(): Number
Get value of the register for use with as BCD value.
Link copied to clipboard
Get value of the register for use with printer or tape interface.
fun Print_Value(Value: Array<Short>, Size: Int)
Set value of the register for use with printer or tape interface.
Link copied to clipboard
fun Printer_Count(Char_Count: Int)
Count the amount of characters inserted to the printer.
Link copied to clipboard
Start a new alpha run.
Link copied to clipboard
fun Start_Char(): Int
start character if charachter count is limited
Link copied to clipboard
start to enter the part behind the fraction mark point
Link copied to clipboard
start to enter the a true fraction
Link copied to clipboard
fun Start_DMS()
Display an informative message until next key is pressed.
Link copied to clipboard
Start to enter the exponent.
Link copied to clipboard
private open fun Start_Of_String(Text: Array<Short>): Int
find start of data in string.
Link copied to clipboard
open fun Token(Opcode: Short): String
string representation suitable for use with serial I/O.
Link copied to clipboard
open fun toString(): String

open fun toString(): String
String representation
Link copied to clipboard
open fun Trace()
Trace current value
Link copied to clipboard
fun Value(): Array<Short>
Get value of the register for use with display.
fun Value(Value: Array<Int>)
Set value of the register.
fun Value(Value: Array<Short>)
Value of the register.
Link copied to clipboard
fun wait()
Link copied to clipboard
fun µReset()
open fun µReset(Owner: Calculator)
reset indirect and token plane