PSYQO SDK
psyqo::MemoryCard
Class
Class
A low level driver for the PlayStation memory cards.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. Open a member below for an operation-specific example.
C++ example
#include "psyqo/memory-card.hh"
psyqo::MemoryCard& value = /* obtain a valid instance from your game */;Nested types
ErrorThe error codes returned by every memory card operation.EnumPortThe memory card port to talk to.EnumReadSectorAwaiter--- Coroutine-friendly awaiters --------------------------------------StructWriteSectorAwaiterStruct declared by the memory-card module for asynchronous Memory Card access and files.StructFields and constants
Public methods
preparePrepares the SIO0 bus for memory card access.MethodprobeBlockingProbes the card for presence.MethodreadSectorReads sector as part of asynchronous Memory Card access and files.MethodreadSectorBlockingReads a single 128-byte sector synchronously.MethodscheduleReadSector--- TaskQueue schedulers ---------------------------------------------MethodscheduleWriteSectorPerforms `schedule write sector` as part of asynchronous Memory Card access and files.MethodwriteSectorWrites sector as part of asynchronous Memory Card access and files.MethodwriteSectorBlockingWrites a single 128-byte sector synchronously.MethodStatic methods
blockCountPerforms `block count` as part of asynchronous Memory Card access and files.MethodblockSizePerforms `block size` as part of asynchronous Memory Card access and files.MethoderrorMessageReturns a human readable string for an error code.MethodsectorCountPerforms `sector count` as part of asynchronous Memory Card access and files.MethodsectorSizePerforms `sector size` as part of asynchronous Memory Card access and files.Method