A_Register

Alpha register (11+3 characters).

Possible content:

          1111
01234567890123

ABCDEFGHIJK
-0.12345678⁻¹²
-123456789.⁻¹²
12°34'56.7"
 -12°34'56"
__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
val Alpha_End: Int = 10
Last Keyboard_Alpha character
Link copied to clipboard
private val Alpha_Size: Int
The Casio display holds 11 main characters.
Link copied to clipboard
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
Link copied to clipboard
private open var Display_Count: Int
Count the amount of characters inserted to the display.
Link copied to clipboard
display size (alpha and exponent)
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
val Exponent_End: Int = 13
Last Mode_Exponent character
Link copied to clipboard
val Exponent_Start: Int = 11
First Mode_Exponent character
Link copied to clipboard
private val File_Start: Int = 5
Start for filename
Link copied to clipboard
Default text for the numeric display
Link copied to clipboard
True when operating on an M-Register
Link copied to clipboard
private val Logger: Logger
private val Logger: Logger
Class logger instance.
Link copied to clipboard
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
Default text for the numeric display
Link copied to clipboard
protected val Owner: Calculator
Owner instance of this Operation
Link copied to clipboard
private open var Printer_Count: Int
Count the amount of characters inserted to the printer.
Link copied to clipboard
private val Printer_Size: Int = 30
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
private val TAG: String
private val TAG: String
Class logger tag.

Functions

Link copied to clipboard
toggle plus / minus for either mantissa or exponent.
Link copied to clipboard
open fun Add_Numeric(Digit: Short)
Add a numeric value - this is a non scrolling operation.
Link copied to clipboard
Add a PropertyChangeListener to the listener list.
open fun addPropertyChangeListener(propertyName: String, listener: PropertyChangeListener)
Add a PropertyChangeListener for a specific property.
Link copied to clipboard
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
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 30 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
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
open fun Get_M(Opcode: Int): Int
Link copied to clipboard
open fun Get_Numeric_Value(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
private 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
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
Remove a PropertyChangeListener from the listener list.
Remove a PropertyChangeListener for a specific property.
Link copied to clipboard
open fun Set_File_Type(Value: Array<Short>)
Set_Value of the register - only the display part.
Link copied to clipboard
Start a new alpha run.
Link copied to clipboard
start to enter the part behind the fraction mark point
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 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<Short>)
Set value of the register.
Link copied to clipboard
fun wait()
Link copied to clipboard
fun µReset()
reset indirect and token plane