Skip to content

Commit

Permalink
refactor(src): refactor psx scex injector code
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeclaro committed Feb 16, 2025
1 parent c0a155c commit 098a9c2
Show file tree
Hide file tree
Showing 6 changed files with 651 additions and 387 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.DS_Store
.pio
.vscode
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"typeinfo": "cpp"
}
}
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# Teensy RTOS PsNee

Open source stealth modchip for the Sony Playstation 1 based on [freeRTOS](https://www.freertos.org) running on Teensy 4.0 board.
Open source stealth modchip for the Sony Playstation 1 based on [freeRTOS](https://www.freertos.org) running on Teensy 3.6; 4.0 and 4.1 boards. Tested with Teensy 4.0.

Includes PSOne PAL BIOS Patch

![teensy-psone](./images/teensy-psone.png)

## Dependencies

- [Teensy 4.0 FreeRTOS Library for Teensyduino](https://github.com/discord-intech/FreeRTOS-Teensy4)

- [FreeRTOS Port for Teensy 3.5, 3.6, 4.0, 4.1](https://github.com/tsandmann/freertos-teensy)
- [Teensy: development platform for PlatformIO](https://github.com/tsandmann/platform-teensy.git)

## Hardware

- [Teensy 3.6](https://www.pjrc.com/store/teensy36.html)
- [Teensy 4.0](https://www.pjrc.com/store/teensy40.html)
- [Teensy 4.1](https://www.pjrc.com/store/teensy41.html)

## Installation

Expand Down
27 changes: 25 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,31 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:teensy36]
platform = https://github.com/tsandmann/platform-teensy.git
board = teensy36
framework = arduino
lib_deps = https://github.com/tsandmann/freertos-teensy.git
build_flags = -Wformat=1 -DUSB_SERIAL -DTEENSY_OPT_SMALLEST_CODE_LTO
upload_protocol = teensy-cli
monitor_speed = 9600

[env:teensy40]
platform = teensy
platform = https://github.com/tsandmann/platform-teensy.git
board = teensy40
framework = arduino
lib_deps = 6737
lib_deps = https://github.com/tsandmann/freertos-teensy.git
build_flags = -Wformat=1 -DUSB_SERIAL -DTEENSY_OPT_FASTER_LTO
upload_flags = -v
upload_protocol = teensy-gui
monitor_speed = 9600

[env:teensy41]
platform = https://github.com/tsandmann/platform-teensy.git
board = teensy41
framework = arduino
lib_deps = https://github.com/tsandmann/freertos-teensy.git
build_flags = -Wformat=1 -DUSB_SERIAL -DTEENSY_OPT_FASTER_LTO
upload_flags = -v
upload_protocol = teensy-cli
monitor_speed = 9600
Loading

0 comments on commit 098a9c2

Please sign in to comment.