forked from wwarthen/RomWBW
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PS2INFO Update & OpenSpin Conversion
- Added support for Duodyne to PS2INFO application. - Switched all build paths to consistently use OpenSpin since it appears to be compatible with all build environments supported by RomWBW.
- Loading branch information
Showing
61 changed files
with
15,526 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@echo off | ||
setlocal | ||
|
||
if exist *.eeprom del *.eeprom | ||
if exist *.list del *.list | ||
if exist Spin\*.eeprom del Spin\*.eeprom | ||
if exist Spin\*.list del Spin\*.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ rmn equ 4 | |
rup equ 0 | ||
rtp equ 0 | ||
biosver macro | ||
db "3.4.0-dev.12" | ||
db "3.4.0-dev.14" | ||
endm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: c | ||
os: | ||
- linux | ||
- osx | ||
script: make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# modified for RomWBW build environment | ||
|
||
UNAME := $(shell uname) | ||
DEST = ../../$(UNAME) | ||
|
||
# cross compilation scheme taken from Eric Smith's spin2cpp compiler | ||
# if CROSS is defined, we are building a cross compiler | ||
# possible targets are: win32, rpi | ||
|
||
ifeq ($(CC),) | ||
CC=gcc | ||
endif | ||
|
||
ifeq ($(CXX),) | ||
CXX=g++ | ||
endif | ||
|
||
ifeq ($(CROSS),win32) | ||
CC=i686-w64-mingw32-gcc | ||
CXX=i686-w64-mingw32-g++ | ||
EXT=.exe | ||
BUILD=./build-win32 | ||
else ifeq ($(CROSS),rpi) | ||
CC=arm-linux-gnueabihf-gcc | ||
CXX=arm-linux-gnueabihf-g++ | ||
EXT= | ||
BUILD=./build-rpi | ||
else | ||
EXT= | ||
BUILD=./build | ||
endif | ||
|
||
OS:=$(shell uname) | ||
|
||
ifeq ($(OS),Darwin) | ||
CFLAGS+=-Wall -g -Wno-self-assign | ||
else | ||
CFLAGS+=-Wall -g $(MSTATIC) | ||
endif | ||
|
||
CXXFLAGS += $(CFLAGS) | ||
|
||
TARGET=$(BUILD)/openspin$(EXT) | ||
SRCDIR=SpinSource | ||
OBJ=$(BUILD)/openspin.o \ | ||
$(BUILD)/pathentry.o | ||
|
||
LIBNAME=$(BUILD)/PropellerCompiler/libopenspin.a | ||
|
||
all: $(BUILD) $(DEST) $(LIBNAME) $(OBJ) Makefile | ||
$(CXX) -o $(TARGET) $(CXXFLAGS) $(OBJ) $(LIBNAME) | ||
cp -p $(TARGET) $(DEST) | ||
|
||
$(BUILD)/%.o: $(SRCDIR)/%.cpp | ||
$(CXX) $(CXXFLAGS) -o $@ -c $< | ||
|
||
$(LIBNAME): $(BUILD) | ||
$(MAKE) -C PropellerCompiler CROSS=$(CROSS) BUILD=$(realpath $(BUILD))/PropellerCompiler all | ||
|
||
$(BUILD): | ||
mkdir -p $(BUILD) | ||
|
||
$(DEST): | ||
mkdir -p $(DEST) | ||
|
||
clean: | ||
rm -rf $(BUILD) | ||
make -C PropellerCompiler BUILD=$(realpath $(BUILD))/PropellerCompiler clean |
Oops, something went wrong.