Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ jobs:
run: |
make release COMMIT_HASH=${GITHUB_SHA::7} BINDIR=PS2_HDD/ HDD=1 ${{ env.DEBUG }} PRINTF=${{ github.event.inputs.name }}

- name: Compile PS2 discboot build
run: |
make release COMMIT_HASH=${GITHUB_SHA::7} BINDIR=PS2_BOOTDISK/ DISC_STOP_AT_BOOT=1 ${{ env.DEBUG }} PRINTF=${{ github.event.inputs.name }}
echo "the executables on this folder are the same than normal PS2BBL, but they try to stop disc spinning as soon as possible, ideal for freedv">PS2_BOOTDISK/README.TXT

- name: list
run: |
git ls-files -i --exclude-standard -c
Expand All @@ -75,6 +80,7 @@ jobs:
mv PSX/ release/PSX/
mv PS2_HDD/ release/PS2_HDD/
mv PS2_MX4SIO/ release/PS2_MX4SIO/
mv PS2_BOOTDISK/ release/PS2_BOOTDISK/

- name: pack release
run: |
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ PROHBIT_DVD_0100 ?= 0 # prohibit the DVD Players v1.00 and v1.01 from being boot
XCDVD_READKEY ?= 0 # Enable the newer sceCdReadKey checks, which are only supported by a newer CDVDMAN module.
UDPTTY ?= 0 # printf ove UDP
PRINTF ?= NONE
DISC_STOP_AT_BOOT ?= 0

HOMEBREW_IRX ?= 0 # if we need homebrew SIO2MAN, MCMAN, MCSERV & PADMAN embedded, else, builtin console drivers are used
FILEXIO_NEED ?= 0 # if we need filexio and imanx loaded for other features (HDD, mx4sio, etc)
Expand Down Expand Up @@ -76,6 +77,10 @@ ifneq ($(VERBOSE), 1)
.SILENT:
endif

ifeq ($(DISC_STOP_AT_BOOT), 1)
EE_CFLAGS += -DDISC_STOP_AT_BOOT
endif

ifeq ($(MX4SIO), 1)
HOMEBREW_IRX = 1
FILEXIO_NEED = 1
Expand Down
4 changes: 4 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ int main(int argc, char *argv[])
DPRINTF("disabling MODLOAD device blacklist/whitelist\n");
sbv_patch_disable_prefix_check(); /* disable the MODLOAD module black/white list, allowing executables to be freely loaded from any device. */

#ifdef DISC_STOP_AT_BOOT
sceCdStop();
sceCdSync(0);
#endif
#ifdef UDPTTY
if (loadDEV9())
loadUDPTTY();
Expand Down