;
;初期化スクリプト
;ターゲットメモリの定義
;
;          data   io   endian addressing
define_mem 10000 10000 LE     BA

add_mem_area	reg		0000 0100 1 RW
add_mem_area	com_o	8000 2000 2 RW
add_mem_area	exram	c000 1000 8 RW
add_permanent_area font a000 1000 1  R font_han2.bin

add_io_area		switch	0000 0010


set_interrupt_name 1 bank\@c000
set_interrupt_name 2 \@0
set_interrupt_name 3 \@a000
set_interrupt_name 4 \@8000
set_interrupt_name 5 \@c000
set_interrupt_name 6 io@0

set_switch_name 0 R/W
set_switch_name 1 PN9/15

timerlog off
timerscale 1
load app.dll
reset -t

