Skip to content

rasky/n64_pi_dma_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N64 PI DMA tests

These tests bruteforce Nintendo 64 PI DMA transfers with all kind of sizes and alignments to show all the weirdest behaviors.

The test verifies the output against golden files that were acquired on real hardware, so they are verified to be correct.

You can refer to this document for information on the findings: https://n64brew.dev/wiki/Peripheral_Interface#DMA_Transfers

How to compile

Install libdragon following the official instructions, then just run:

$ make

This will build the test ROM (pi_dma_test.z64).

If you want to regenerate the golden files on real hardware, change MODE_GENERATE to 1 at the top of pi_dma_test.c, and recompile. The generate ROM will require a flashcart with a working SD card to save the golden files on the SD. Libdragon supports multiple common flashcarts.

About

Nintendo 64 PI DMA tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published