1#! /bin/bash -f 2#--------------------------------------------------------------------------- 3# Project: TwlSDK - tools 4# File: dis 5# 6# Copyright 2007,2008 Nintendo. All rights reserved. 7# 8# These coded instructions, statements, and computer programs contain 9# proprietary information of Nintendo of America Inc. and/or Nintendo 10# Company Ltd., and are protected by Federal copyright law. They may 11# not be disclosed to third parties or copied or duplicated in any form, 12# in whole or in part, without the prior written consent of Nintendo. 13# 14# $Date:: 2008-05-13#$ 15# $Rev: 5965 $ 16# $Author: okubata_ryoma $ 17#--------------------------------------------------------------------------- 18 19# WRAPPER for CodeWarrior Disassember 20 21(shopt -s igncr) 2>/dev/null && eval 'shopt -s igncr';# 22 23if [ -z "$CWFOLDER_TWL" ]; then 24 export CWFOLDER_TWL=C:/Program\ Files/Freescale/CW\ for\ NINTENDO\ DS\ V2.0 25fi 26 27export PATH=`cygpath "$CWFOLDER_TWL/ARM_Tools/Command_Line_Tools"` 28 29mwldarm.exe -w off -dis -nostdlib -show only,comments,code,source,names,hex -proc arm9tdmi $1 30 31