sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
mkimage Namespace Reference

Functions

 boot_sector ()
 fat ()
 root_dir ()
 hello ()
 main ()

Variables

int SECTOR = 512
int TOTAL = 128
str HELLO = b"hello from the ramdisk\n"
list SECTORS = [(0, boot_sector()), (1, fat()), (2, fat()), (3, root_dir()), (4, hello())]

Detailed Description

Writes src/iop/image.c: a 64 KiB FAT12 volume holding HELLO.TXT, stored as its non-zero sectors.

Function Documentation

◆ boot_sector()

boot_sector ( )

Definition at line 12 of file mkimage.py.

◆ fat()

fat ( )

Definition at line 36 of file mkimage.py.

◆ hello()

hello ( )

Definition at line 57 of file mkimage.py.

◆ main()

main ( void )

Definition at line 65 of file mkimage.py.

◆ root_dir()

root_dir ( )

Definition at line 43 of file mkimage.py.

Variable Documentation

◆ HELLO

str mkimage.HELLO = b"hello from the ramdisk\n"

Definition at line 9 of file mkimage.py.

◆ SECTOR

int mkimage.SECTOR = 512

Definition at line 7 of file mkimage.py.

◆ SECTORS

list mkimage.SECTORS = [(0, boot_sector()), (1, fat()), (2, fat()), (3, root_dir()), (4, hello())]

Definition at line 62 of file mkimage.py.

◆ TOTAL

int mkimage.TOTAL = 128

Definition at line 8 of file mkimage.py.