Freescale Semiconductor, Inc.
ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
Monitor Initialization Code Freescale Semiconductor, Inc.
*Seting for MC68681 on
*Supported baudrate: 19200
*9600
****************************************ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
;#define DEV_IN |
| MC68681 |
|
;#define DEV_OUT |
| MC68681 |
|
;#define PNAME_IN | A |
|
|
;#define PNAME_OUT A |
|
| |
;BASE_IN: | equ | $fffd0001 | ; base address of input device |
;BASE_OUT: | equ | $fffd0001 | ; base address of output device |
;BAUD_IN: | equ | 19200 | ; baud rates (bits/sec) |
;BAUD_OUT: | equ | 19200 | ; baud rates (bits/sec) |
;ACR_VAL: | equ | $80 | ; choose baud set 2 (bit#7=1) |
;IRQ_MASK: | equ | $00 |
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
*****************************************************
*Seting for MC68681 on
*****************************************************
;#define DEV_IN |
| MC68681 |
|
;#define DEV_OUT |
| MC68681 |
|
;#define PNAME_IN | A |
|
|
;#define PNAME_OUT A |
|
| |
;BASE_IN: | equ | $fffd0001 | ; base address of input device |
;BASE_OUT: | equ | $fffd0001 | ; base address of output device |
;BAUD_IN: | equ | 0 |
|
;BAUD_OUT: | equ | 0 |
|
;ACR_VAL: | equ | $60 |
|
;IRQ_MASK: | equ | $00 |
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
****************************************************************************
*INTERRUPT BEHAVIOR OPTIONS
****************************************************************************
#define | STOP_LEVEL | 7 |
|
#define | VECT_STOP | $47 | ; ABORT interrupt |
;**************************************************
;If your board hardware requires you to clear the
;"read" interrupt, then you must include the necessary
;code inside the INT_RCLEAR macro below.
;**************************************************
INT_RCLEAR: macro endm
;**************************************************
;"stop" interrupt
;We will only stop the target if the ABORT switch is pressed. We
;will not stop for HOST_NMI or EXT_NMI interrupts.
;The
;which is in
;first byte at NMI_STATUS indicates that the ABORT switch was pressed.
;**************************************************
INT_STOP: macro
For More Information On This Product,
Go to: www.freescale.com