OpenCores
URL https://opencores.org/ocsvn/rf6809/rf6809/trunk

Subversion Repositories rf6809

[/] [rf6809/] [trunk/] [software/] [boot/] [mon_equates.asm] - Diff between revs 15 and 21

Only display areas with differences | Details | Blame | View Log

Rev 15 Rev 21
; ============================================================================
; ============================================================================
;        __
;        __
;   \\__/ o\    (C) 2013-2022  Robert Finch, Waterloo
;   \\__/ o\    (C) 2013-2022  Robert Finch, Waterloo
;    \  __ /    All rights reserved.
;    \  __ /    All rights reserved.
;     \/_//     robfinch@opencores.org
;     \/_//     robfinch@opencores.org
;       ||
;       ||
;
;
;
;
; BSD 3-Clause License
; BSD 3-Clause License
; Redistribution and use in source and binary forms, with or without
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; modification, are permitted provided that the following conditions are met:
;
;
; 1. Redistributions of source code must retain the above copyright notice, this
; 1. Redistributions of source code must retain the above copyright notice, this
;    list of conditions and the following disclaimer.
;    list of conditions and the following disclaimer.
;
;
; 2. Redistributions in binary form must reproduce the above copyright notice,
; 2. Redistributions in binary form must reproduce the above copyright notice,
;    this list of conditions and the following disclaimer in the documentation
;    this list of conditions and the following disclaimer in the documentation
;    and/or other materials provided with the distribution.
;    and/or other materials provided with the distribution.
;
;
; 3. Neither the name of the copyright holder nor the names of its
; 3. Neither the name of the copyright holder nor the names of its
;    contributors may be used to endorse or promote products derived from
;    contributors may be used to endorse or promote products derived from
;    this software without specific prior written permission.
;    this software without specific prior written permission.
;
;
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;
;
; ============================================================================
; ============================================================================
;
;
 
; ASCII control characters.
 
SOH             equ 1
 
EOT             equ 4
 
ACK             equ 6
 
BS              equ 8
 
NAK             equ 21
 
ETB             equ     $17
 
CAN             equ 24
 
DEL             equ 127
 
 
CR      EQU     $0D             ;ASCII equates
CR      EQU     $0D             ;ASCII equates
LF      EQU     $0A
LF      EQU     $0A
TAB     EQU     $09
TAB     EQU     $09
CTRLC   EQU     $03
CTRLC   EQU     $03
CTRLH   EQU     $08
CTRLH   EQU     $08
CTRLI   EQU     $09
CTRLI   EQU     $09
CTRLJ   EQU     $0A
CTRLJ   EQU     $0A
CTRLK   EQU     $0B
CTRLK   EQU     $0B
CTRLM   EQU $0D
CTRLM   EQU $0D
CTRLS   EQU     $13
CTRLS   EQU     $13
CTRLT EQU $14
CTRLT EQU $14
CTRLX   EQU     $18
CTRLX   EQU     $18
 
CTRLZ   EQU     $1A
XON             EQU     $11
XON             EQU     $11
XOFF    EQU     $13
XOFF    EQU     $13
FIRST_CORE      EQU     1
FIRST_CORE      EQU     1
MAX_TASKNO      EQU 63
MAX_TASKNO      EQU 63
DRAM_BASE       EQU $10000000
DRAM_BASE       EQU $10000000
; ROM monitor functions
; ROM monitor functions
;
;
MF_Monitor      EQU             0
MF_Monitor      EQU             0
MF_INCH                 EQU             1
MF_INCH                 EQU             1
MF_OUTCH                EQU     2
MF_OUTCH                EQU     2
MF_CRLF                 EQU             3
MF_CRLF                 EQU             3
MF_DisplayString        EQU             4
MF_DisplayString        EQU             4
MF_DisplayByteAsHex             EQU     5
MF_DisplayByteAsHex             EQU     5
MF_DisplayWordAsHex             EQU     6
MF_DisplayWordAsHex             EQU     6
MF_ShowSprites  EQU             7
MF_ShowSprites  EQU             7
MF_Srand                EQU             8
MF_Srand                EQU             8
MF_Random               EQU             9
MF_Random               EQU             9
MF_OSCALL               EQU             10
MF_OSCALL               EQU             10
MF_GetRange     EQU             11
MF_GetRange     EQU             11      ; gets a pair of numbers last>first
 
MF_GetNumber    EQU     12
 
MF_SerialPutchar        EQU     13
 
 
mon_numwka      EQU             $910
mon_numwka      EQU             $910
mon_r1          EQU             $920
mon_r1          EQU             $920
mon_r2          EQU             $924
mon_r2          EQU             $924
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.