Initialization Code Of Sds Monitor (Monitor.h - Motorola FREESCALE SEMICONDUCTOR M68EZ328ADS User Manual

Application development system v2.0
Table of Contents

Advertisement

Monitor Initialization Code
move.l
#$4000,LSSA
move.w
#160,LXMAX
move.w
#239,LYMAX
ARCHIVED BY FREESCALE SEMICONDUCTOR, INC. 2005
move.b
#10,LVPW
move.b
#$08,LPICF
move.b
#$01,LPOLCF
move.b
#$00,LACDRC
move.b
#$02,LPXCD
move.b
#$14,LRRA
move.b
#$00,LPOSR
move.b
#$00,LCKCON
move.b
#$80,LCKCON
;**********************************************************************
;
Interrupt controller
;**********************************************************************
move.b #$40,IVR
move.l #$007fffff,IMR; mask all interrupts except *EMUIRQ,
button
.extern__start
JMP __start
D.2 INITIALIZATION CODE OF SDS MONITOR (MONITOR.H)
.option list="off"
****************************************************************************
*
EZ328EMU.H - Configuration file for Motorola's M68EZ328ADS
****************************************************************************
****************************************************************************
*
CPU OPTIONS
****************************************************************************
opt
M328BASE
equ $FFFFF000
; SIM28 System Configuration Registers
SCR
; Chip Select Registers
GRPBASEA
GRPBASEB
GRPBASEC
GRPBASED
CSA
CSB
CSC
CSD
DRAMCFG
D-44
Freescale Semiconductor, Inc.
; jump to MW startup code
p=68000
equ
(M328BASE+$000)
equ
(M328BASE+$100)
equ
(M328BASE+$102)
equ
(M328BASE+$104)
equ
(M328BASE+$106)
equ
(M328BASE+$110)
equ
(M328BASE+$112)
equ
(M328BASE+$114)
equ
(M328BASE+$116)
equ
(M328BASE+$C00)
M68EZ328ADS v2.0 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
; disable LCDC
; enable LCDC, 0ws, 16-bit
; since it is used for the abort
; on this board
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents