Jo Engine 2026.11.6
Jo Sega Saturn Engine
Loading...
Searching...
No Matches
vcd_card.h File Reference

WIP VCD Card support. More...

Go to the source code of this file.

Functions

int jo_vcd_card_is_present (void)
 Checks whether or not the VCD Card is inserted in the system.
int jo_vcd_card_get_vcd_card_rom (unsigned int index, unsigned int num_indexes, void *dest, unsigned int dest_size)
 Advanced feature to read the firmware of the VCD Card.

Detailed Description

WIP VCD Card support.

Author
Slinga, based on CyberWarriorX's work
Bug
Only supports detecting card, no support for playing videos

Function Documentation

◆ jo_vcd_card_get_vcd_card_rom()

int jo_vcd_card_get_vcd_card_rom ( unsigned int index,
unsigned int num_indexes,
void * dest,
unsigned int dest_size )

Advanced feature to read the firmware of the VCD Card.

Parameters
indexWhich index to start with
num_indexesHow many indexes to copy. Each index is 0x800 bytes (2048)
destOn success, the firmware gets written here
dest_sizeSize in bytes of dest (num_indexes * 2048 at least)
Returns
The result of the BIOS. Before calling it: -1 dest is null or dest_size is 0, -2 num_indexes is 0 or too big, -3 dest_size is too small, -4 the BIOS has no such function

◆ jo_vcd_card_is_present()

int jo_vcd_card_is_present ( void )

Checks whether or not the VCD Card is inserted in the system.

Returns
0 if the VCD Card is present (the result of the BIOS), -1 if the BIOS has no such function