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

add_mem_area	reg		0000 0100 1 RW
add_mem_area	com_io	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

#msgbox 1 -t "アンパック形式"

set -s8000 '0123456789ABCDEF'
get -s8000 -b10
get -s8000 -cu8
get -s8000 -c8
get -s8000 -b8
get

#msgbox 1 -t "パック形式"

set -s8000 "0123456789ABCDEF"
get -s8000 -b10
get -s8000 -cu8
get -s8000 -c8
get -s8000 -b8
get

get -s8000 -b4
get -w2
get -l1
get
