Skip to content

Commit

Permalink
Add FILEIO module
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian committed Dec 17, 2022
1 parent abdd412 commit 3f384ac
Show file tree
Hide file tree
Showing 6 changed files with 777 additions and 1 deletion.
12 changes: 11 additions & 1 deletion iop/fs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.

SUBDIRS = libbdm bdm bdmfs_vfat bdmfs_fatfs devfs fakehost filexio http netfs
SUBDIRS = \
bdm \
bdmfs_fatfs \
bdmfs_vfat \
devfs \
fakehost \
fileio \
filexio \
http \
libbdm \
netfs

include $(PS2SDKSRC)/Defs.make
include $(PS2SDKSRC)/Rules.make
16 changes: 16 additions & 0 deletions iop/fs/fileio/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# _____ ___ ____ ___ ____
# ____| | ____| | | |____|
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.

IOP_BIN ?= fileio.irx

IOP_OBJS = fileio.o imports.o

include $(PS2SDKSRC)/Defs.make
include $(PS2SDKSRC)/iop/Rules.bin.make
include $(PS2SDKSRC)/iop/Rules.make
include $(PS2SDKSRC)/iop/Rules.release
17 changes: 17 additions & 0 deletions iop/fs/fileio/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# FILEIO server service module

This module provides file and heap interfaces to the EE.

## Configurations

There are multiple configurations of this library, allowing the choice of
balancing between size, speed, and features.

* `fileio` -> The recommended version.

## How to use this module in your program

In order to use this module in your program, you must integrate the module into
an IOPRP image, then load the image with `UDNL`.\
Using `LoadModule` or `LoadModuleBuffer` directly will not work, because the
module is already loaded at IOP boot.
Loading

0 comments on commit 3f384ac

Please sign in to comment.