Generate ISO image

This commit is contained in:
jaby 2022-04-26 20:46:47 +02:00
parent bd32f9007a
commit 87aa34d177
4 changed files with 17 additions and 11 deletions

View File

@ -13,7 +13,7 @@
<license file="../../PSYQ/psyq/cdgen/LCNSFILE/LICENSEE.DAT"/> <license file="../../PSYQ/psyq/cdgen/LCNSFILE/LICENSEE.DAT"/>
<directory_tree> <directory_tree>
<file name="SYSTEM.CNF" type="data" source="Code/iso/JabyEngine.cnf"/> <file name="SYSTEM.CNF" type="data" source="Code/iso/JabyEngine.cnf"/>
<file name="SCES_003.90" type="data" source="Code/bin/JabyEngine.ps-exe"/> <file name="SCES_003.90" type="data" source="Code/bin/PSX-release/JabyEngine.psexe"/>
<dummy sectors="1024"/> <dummy sectors="1024"/>
</directory_tree> </directory_tree>

View File

@ -2,13 +2,5 @@
"Output":"Code/bin/GlobalLBATable.bin", "Output":"Code/bin/GlobalLBATable.bin",
"Input":"Code/iso/Info/JabyEngine.lba", "Input":"Code/iso/Info/JabyEngine.lba",
"Order": [ "Order": [
"BOOT/SPLASH.TIM",
"MAIN/OVERLAY.OVL",
"TILESET/START.BIN",
"TILESET/DEBUG.BIN",
"MAIN/AREA/START.ARA",
"SPRITE/TEST.BIN",
"SOUND/TEST.VAG",
"XA/NEGA.XA"
] ]
} }

View File

@ -25,6 +25,10 @@
"PATH": "../../Tools/;../../Tools/mkpsxiso;${env:PATH}" "PATH": "../../Tools/;../../Tools/mkpsxiso;${env:PATH}"
} }
}, },
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [], "problemMatcher": [],
}, },
{ {
@ -48,6 +52,16 @@
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
} }
},
{
"label": "jaby make & finalize",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": ["jaby make", "finalize"],
"group": {
"kind": "build",
"isDefault": true
}
} }
], ],
"inputs": [ "inputs": [

View File

@ -83,11 +83,11 @@ $(TARGET).elf: $(OBJS)
$(LD) -o $(TARGET).elf $(LDFLAGS_all) $(LDFLAGS) $(OBJS) $(LIBS_all) $(LIBS) $(LD) -o $(TARGET).elf $(LDFLAGS_all) $(LDFLAGS) $(OBJS) $(LIBS_all) $(LIBS)
#Strips the psexe #Strips the psexe
$(TARGET).ps-exe: $(TARGET).elf $(TARGET).psexe: $(TARGET).elf
$(PREFIX)-objcopy $(addprefix -R , $(OVERLAYSECTION)) -O binary $< $@ $(PREFIX)-objcopy $(addprefix -R , $(OVERLAYSECTION)) -O binary $< $@
#Rules section for default compilation and linking #Rules section for default compilation and linking
all: $(TARGET).ps-exe all: $(TARGET).psexe
clean: clean:
rm -fr $(OUTPUT_DIR) rm -fr $(OUTPUT_DIR)