72 of 158
66 Register.RxQueue Register.TxQueue These UnsignedInteger registers contain the address of the queues currently associated with Com1. These queues used for Console.Read(), Console.Write() and related routines. The values, which are read-only, can be passed to the various queue functions by using the System Library function CByteArray(). See Section 3.4.1 for more information on the system queues. Register.Console.EOL This Byte value represents the character that the system will recognize as the end-of-line character. It is initially set to the value of a line feed character (&H0a). See the discussion of Console.ReadLine() in the ZBasic System Library Reference for more information on how it is used. Register.Console.Echo This Boolean value, initially set to True, controls whether characters received by Console.Read() and Console.ReadLine() are echoed back to the sending device. See the descriptions of these two functions in the ZBasic System Library Reference for more information. Register.Console.Speed This UnsignedInteger value gives the default console speed. This is the baud rate for which Com1 is configured when the system begins running. The value is read-only. Register.SignOn This Boolean register contains the flag that controls whether or not the ZX issues a sign-on message when it starts up after reset. It is a Persistent Memory value that may also be set or cleared by using the Option SignOn directive. See Section 2.3.1 for more information. Register.CodeSize Register.RamSize Register.RamStart Register.RamUsed Register.PersistentSize Register.PersistentStart Register.PersistentUsed These system values may be useful for diagnostic and other purposes. Register.CodeSize is a Long constant that indicates the number of bytes of Program Memory consumed by your program together with any Program Memory data items that it defines. Register.RamSize is an UnsignedInteger constant that indicates the total number of bytes of User RAM that is directly available to your program. Register.RamStart is an UnsignedInteger constant that indicates address at which User RAM begins. Register.RamUsed is an UnsignedInteger constant that indicates the total number of bytes of User RAM that your program statically allocates. The difference between Register.RamSize and Register.RamUsed represents the number of bytes that will be allocated automatically for the task stack for the Main() task. Similarly, Register.PersistentSize is an UnsignedInteger value that indicates the size of Persistent Memory, in bytes, that is available to your program. Register.PersistentStart is an UnsignedInteger value that indicates address at which User Persistent Memory begins and Register.PersistentUsed indicates the number of byte of Persistent Memory actually used by your program. These values are all read-only.