wedge/EasyBuild

27 lines
520 B
Plaintext
Raw Normal View History

Set Parent "`Files -f "{0}" | StreamEdit -d -e '/((<28>:)*)<29>1([<5B>:]*)/ Print <20>1'`"
SetDirectory "{Parent}"
Set IM :Intermediates:
Set Apps :Apps:
NewFolder {IM} <20> Dev:Null || Set Status 0
NewFolder {Apps} <20> Dev:Null || Set Status 0
Make {IM}RomWedge.x {IM}Linker {Apps}TestWedge {Apps}WedgeLogReader > {IM}MakeOut
{IM}MakeOut
If !{#}
Echo Next time, pass the address of your ROM(s) as an argument,
Echo and the Wedge will be inserted.
Exit
End
Loop
If !{#}
Break
End
{IM}Linker "{1}" {IM}RomWedge.x
Shift
End