Skip to content

PSP's Media Engine sample code, demonstrating how to write and update a Ge list concurrently from both Cpu

License

Notifications You must be signed in to change notification settings

mcidclan/me-sample-gu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Me/Gu Sample code

A sample code writing Ge list from the Media Engine using Gu and native Ge commands

Overview

The main idea is to write/update a Ge list from the Media Engine and then signal its execution to the Graphics Engine using a small trigger on the main Cpu. It uses a shared double list uncached with 0x40000000, ensuring that Ge can read from the range that has been filled, while allowing Me to write to the range that is not currently read. This allows us to concurrently write drawing processes to be executed on the Graphics Engine, from both Cpu.

Requirements

./build.sh from a bash

Special Thanks

This sample code wouldn't have been possible without the resources from the PSP homebrew community, which served as valuable sources of knowledge. Thanks to crazyc from ps2dev.org, without whom the use of the Media Engine in the community would be far more difficult. Thanks to all developers and contributors who have kept the scene alive and to those who continue to do so.

resources:

m-c/d

About

PSP's Media Engine sample code, demonstrating how to write and update a Ge list concurrently from both Cpu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published