1#---------------------------------------------------------------------------- 2# Project: TwlSDK - demos - MB - multiboot-Model 3# File: main.rsf 4# 5# Copyright 2005-2009 Nintendo. All rights reserved. 6# 7# These coded instructions, statements, and computer programs contain 8# proprietary information of Nintendo of America Inc. and/or Nintendo 9# Company Ltd., and are protected by Federal copyright law. They may 10# not be disclosed to third parties or copied or duplicated in any form, 11# in whole or in part, without the prior written consent of Nintendo. 12# 13# $Date:: 2009-06-11#$ 14# $Rev: 10743 $ 15# $Author: okajima_manabu $ 16#---------------------------------------------------------------------------- 17# 18# TWL ROM SPEC FILE 19# 20 21Arm9 22{ 23 Static "$(MAKEROM_ARM9:r).TWL.FLX.sbin$(COMPSUFFIX9)" 24 OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.FLX.sbin$(COMPSUFFIX9)" 25 OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.FLX.sbin$(COMPSUFFIX9)" 26 Elf "$(MAKEROM_ARM9:r).tef" 27} 28 29Arm7 30{ 31 Static "$(MAKEROM_ARM7_BASE:r).TWL.FLX.sbin$(COMPSUFFIX7)" 32 OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.FLX.sbin$(COMPSUFFIX7)" 33 OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.FLX.sbin$(COMPSUFFIX7)" 34 Elf "$(MAKEROM_ARM7_BASE:r).tef" 35} 36 37Arm9.Ltd 38{ 39 Static "$(MAKEROM_ARM9:r).TWL.LTD.sbin$(COMPSUFFIX9)" 40 OverlayDefs "$(MAKEROM_ARM9:r)_defs.TWL.LTD.sbin$(COMPSUFFIX9)" 41 OverlayTable "$(MAKEROM_ARM9:r)_table.TWL.LTD.sbin$(COMPSUFFIX9)" 42} 43 44Arm7.Ltd 45{ 46 Static "$(MAKEROM_ARM7_BASE:r).TWL.LTD.sbin$(COMPSUFFIX7)" 47 OverlayDefs "$(MAKEROM_ARM7_BASE:r)_defs.TWL.LTD.sbin$(COMPSUFFIX7)" 48 OverlayTable "$(MAKEROM_ARM7_BASE:r)_table.TWL.LTD.sbin$(COMPSUFFIX7)" 49} 50 51Property 52{ 53 # 54 # ROM HEADER Ltd: 55 # don't have to edit 56 # 57 RomHeaderLtd $(TWLSDK_ROOT)/tools/bin/rom_header.LTD.sbin 58 59 RomSpeedType $(MAKEROM_ROMSPEED) 60 61 # BANNER FILE: 62 # 63 BannerFile $(TWLSDK_ROOT)/include/twl/specfiles/default.bnr 64 65 # 66 # Digest parameters: 67 # 68 DigestParam 1024 32 69 70 # 71 # WRAM mapping: [MAP2_TS_HYB/MAP2_TS_LTD] 72 # don't have to edit 73 # 74 WramMapping $(MAKEROM_WRAM_MAPPING) 75 76 # 77 # CardRegion: card region [Japan/America/Europe/Australia/China/Korea] 78 # 79 CardRegion ALL 80 81 # 82 # Codec mode: 83 # don't have to edit 84 # 85 CodecMode $(MAKEROM_CODEC_MODE) 86} 87 88RomSpec 89{ 90 Offset 0x00000000 91 Segment ALL 92 93 Align 512 94 Padding 0xFF 95 96 HostRoot $(MAKEROM_ROMROOT) 97 Root / 98 File $(MAKEROM_ROMFILES) 99 100 HostRoot data 101 Root /data 102 File icon.char 103 104 HostRoot data 105 Root /data 106 File icon.plt 107} 108 109