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

Subversion Repositories rf6809

[/] [rf6809/] [trunk/] [software/] [boot/] [mon_equates.asm] - Blame information for rev 21

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 15 robfinch
; ============================================================================
2
;        __
3
;   \\__/ o\    (C) 2013-2022  Robert Finch, Waterloo
4
;    \  __ /    All rights reserved.
5
;     \/_//     robfinch@opencores.org
6
;       ||
7
;
8
;
9
; BSD 3-Clause License
10
; Redistribution and use in source and binary forms, with or without
11
; modification, are permitted provided that the following conditions are met:
12
;
13
; 1. Redistributions of source code must retain the above copyright notice, this
14
;    list of conditions and the following disclaimer.
15
;
16
; 2. Redistributions in binary form must reproduce the above copyright notice,
17
;    this list of conditions and the following disclaimer in the documentation
18
;    and/or other materials provided with the distribution.
19
;
20
; 3. Neither the name of the copyright holder nor the names of its
21
;    contributors may be used to endorse or promote products derived from
22
;    this software without specific prior written permission.
23
;
24
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25
; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
28
; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29
; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30
; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31
; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32
; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33
; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
;
35
; ============================================================================
36
;
37 21 robfinch
; ASCII control characters.
38
SOH             equ 1
39
EOT             equ 4
40
ACK             equ 6
41
BS              equ 8
42
NAK             equ 21
43
ETB             equ     $17
44
CAN             equ 24
45
DEL             equ 127
46
 
47 15 robfinch
CR      EQU     $0D             ;ASCII equates
48
LF      EQU     $0A
49
TAB     EQU     $09
50
CTRLC   EQU     $03
51
CTRLH   EQU     $08
52
CTRLI   EQU     $09
53
CTRLJ   EQU     $0A
54
CTRLK   EQU     $0B
55
CTRLM   EQU $0D
56
CTRLS   EQU     $13
57
CTRLT EQU $14
58
CTRLX   EQU     $18
59 21 robfinch
CTRLZ   EQU     $1A
60 15 robfinch
XON             EQU     $11
61
XOFF    EQU     $13
62
 
63
FIRST_CORE      EQU     1
64
MAX_TASKNO      EQU 63
65
DRAM_BASE       EQU $10000000
66
 
67
; ROM monitor functions
68
;
69
MF_Monitor      EQU             0
70
MF_INCH                 EQU             1
71
MF_OUTCH                EQU     2
72
MF_CRLF                 EQU             3
73
MF_DisplayString        EQU             4
74
MF_DisplayByteAsHex             EQU     5
75
MF_DisplayWordAsHex             EQU     6
76
MF_ShowSprites  EQU             7
77
MF_Srand                EQU             8
78
MF_Random               EQU             9
79
MF_OSCALL               EQU             10
80 21 robfinch
MF_GetRange     EQU             11      ; gets a pair of numbers last>first
81
MF_GetNumber    EQU     12
82
MF_SerialPutchar        EQU     13
83 15 robfinch
 
84
mon_numwka      EQU             $910
85
mon_r1          EQU             $920
86
mon_r2          EQU             $924

powered by: WebSVN 2.1.0

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