;
; 320C30 Emulator Memory Configuration and Batch Commands to Load and Run
; the program Fern.out
;
; The -e .text command must be used in the link command file to ensure that
; the PC is set to the beginning of the program prior to execution.
;
CMA 0x000000,0x0007ff,EPROM,R	     ; mem block id #1
CMA 0x800000,0x801fff,SRAM1,R/W      ; mem block id #2
CMA 0x804000,0x804fff,DPRAM,R/W      ; mem block id #3
CMA 0x805ff7,0x805fff,DPSEM,R/W      ; mem block id #4
CMA 0x808000,0x80806f,PERIPH,R/W     ; mem block id #5
CMA 0x809800,0x809bff,RAM0,R/W	     ; mem block id #6
CMA 0x809c00,0x809fff,RAM1,R/W	     ; mem block id #7
CMA 0x0f00000,0x0f03fff,SRAM0,R/W    ; mem block id #8
XR				     ; reset emulator
lo fERN.out			     ; load fern.out onto application board
xd				     ; execute disconnect - start execution
q				     ; quit - leave emulator environment
