\ Do not use this file except in compliance with the License. You may
\ obtain a copy of the License at http://www.microcore.org/License/
\ Software distributed under the License is distributed on an "AS IS" basis,
\ WITHOUT WARRANTY OF ANY KIND, either express or implied.
\ See the License for the specific language governing rights and limitations
\ under the License.
\
\ The Original Code is: CONSTANTS.FS
\
\ The Initial Developer of the Original Code is Klaus.Schleisiek AT microcore.org.
\
\ Last change: KS 04.12.2015 18:09:54
\
\ MicroCore hardware/software interface: Register Constants
\ Quantities between H ..... T due to loading CONSTANTS.VHD

Target

\ ---------------------------------------------------------------------------
\ registers and bits
\ ---------------------------------------------------------------------------

\ status@, status!, set_st
H c_bit        2** T Constant #c
H ovfl_bit     2** T Constant #ovfl
H ie_bit       2** T Constant #ie
H iis_bit      2** T Constant #iis
H lit_bit      2** T Constant #lit
H n_bit        2** T Constant #neg
H z_bit        2** T Constant #zero
H div_bit      2** T Constant #sign_div
H den_bit      2** T Constant #sign_den
H word_bit     2** T Constant #word
H unfl_bit     2** T Constant #unfl
H fwrd_bit     2** T Constant #fwrd

H FLAG_REG            T Register flag_reg
H INT_REG             T Register int_reg
H i_ext        2** T Constant #i_ext
H f_sema       2** T Constant #f_sema
H f_break      2** T Constant #f_break     \ debug UART break detection
H f_debug      2** T Constant #f_debug     \ set when debug register is full

H TASK_REG            T Register task_reg

H VERSION_REG         T Register version_reg

H DEBUG_REG           T Register debug_reg

H CTRL_REG            T Register ctrl_reg
H c_sema       2** T Constant #c_sema

H TIME_REG            T Register timer

\ ---------------------------------------------------------------------------
\ messages
\ When any of the messages is modified or added to, 
\ MESSAGES.FS may have to be updated as well.
\ ---------------------------------------------------------------------------
Host

\ host servers
    $101 Message #dot
    $102 Message #udot
    $103 Message #ddot
    $104 Message #cret
    $105 Message #here
    $106 Message #allot
    $107 Message #emit
    $108 Message #dotr

\ warnings
   $4000 Message #string_overflow

\ errors
#signbit Message #breakpoint
      -1 Message #warmboot
      -2 Message #all_tasks_busy
      -3 Message #task_not_linked
      -4 Message #catch_not_initialized
      -5 Message #not_my_semaphore
      -6 Message #uninitialized_buffer
      -7 Message #pointer_already_initialized
      -8 Message #buffer_too_small
      -9 Message #index_overflow
    -&10 Message #unassigned_reference
    -&11 Message #unassigned_array
    -&12 Message #array_overflow