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