diff --git a/README.md b/README.md index a168e4f..ae9baa9 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,10 @@ A bare-metal "template"? for the PS2. This essentially builds a replacement BIOS No EE kernel, or IOP RTOS is loaded in this state. It's up to you to write the code to initalize either side of the system. +# Building + +PS2SDK should be enough. (in theory, only ps2toolchain is actually needed, but I don't think there's a really good way to get that on its own) + +`make CONFIG=[release|debug]` builds each flavor of the ROM. + +There are some linker warnings currently, but they are fine to ignore. diff --git a/rom/Makefile b/rom/Makefile index e198fad..770b86a 100644 --- a/rom/Makefile +++ b/rom/Makefile @@ -1,5 +1,5 @@ NAME=ps2rom -TARGET=ee +TARGET=iop KIND=bin SELF=$(shell pwd) @@ -30,10 +30,6 @@ $(BINDIR)/: $(OBJDIR)/: mkdir -p $@ -# make sure to assemble the primary ROM start routine -# as MIPS-I, so that we don't get into any issues. -$(OBJDIR)/rom_start.o: AS += -march=r3000 - $(BINDIR)/$(FINALNAME).rom: $(BINDIR)/$(FINALNAME).elf $(OBJCOPY) -O binary $< $@