;
;app.dll̊Jn

define_input app {app1; app2; app3; app4; app5; app6;}

#if @strcmp($app , app2) == 0
define_input endian {BE; LE;}
define_mem 10000 10000 $endian     BA -D2 -f

add_mem_area	RAM 0000 1000 1 RW
add_io_area	IO 0000 100

erase_area RAM	;0xffŖ߂
fill -s0  -b @inc(50,0)
fill -p0  -b @inc(50,80)
#endif

#if @strcmp($app , app4) == 0
set_interrupt_name  1 count -T"݉񐔂\"
#endif

#if @strcmp($app , app5) == 0
set_interrupt_name  1 LEFT	-T"LED_"
set_interrupt_name  2 RIGHT 	-T"LED"
#endif

#if @strcmp($app , app6) == 0
set_interrupt_name  1 LEFT	-T"LED_"
set_interrupt_name  2 RIGHT 	-T"LED"
#endif


timerlog OFF
timerscale 1
load $app.dll
reset -t

