VDP timing analysis tool for MSX

Pedro Gimeno d858288e35 Notes added; minor adjustments 4 years ago
.gitattributes e726b1d5d7 Remove the .bas files and generate them at build time 4 years ago
.gitignore e726b1d5d7 Remove the .bas files and generate them at build time 4 years ago
LICENSE.md 754265982a Rename LICENSE.txt to LICENSE.md, and add it to USAGE.txt 4 years ago
Makefile 89209ba489 Add ack timing code and results 4 years ago
README.md 754265982a Rename LICENSE.txt to LICENSE.md, and add it to USAGE.txt 4 years ago
RESULTS.txt d858288e35 Notes added; minor adjustments 4 years ago
USAGE.txt 89209ba489 Add ack timing code and results 4 years ago
bas2cas.py 347cb038c3 Remove trailing EOF, move handling of EOF to bas2cas.py 4 years ago
blank1.dsk.gz 274c18382c First commit, based on first public version 4 years ago
blank2.dsk.gz 274c18382c First commit, based on first public version 4 years ago
frametime.bss.asm 8238a85674 Add WaitFrmMinusHL, integrate new file, rename Cyc* and DelayAplus144 4 years ago
frametime.code.asm 553be090b4 Minor comment fix 4 years ago
im2setup.code.asm f998f3f454 Change IM2 table back to low memory 4 years ago
im2setup.equ.asm f998f3f454 Change IM2 table back to low memory 4 years ago
loadertpl.py 89209ba489 Add ack timing code and results 4 years ago
main.bss.asm 334e90e107 Move variables and IM2 handler to VOICAQ-VOICCQ sysvars work area 4 years ago
main.code.asm 89209ba489 Add ack timing code and results 4 years ago
raw2bin.py 274c18382c First commit, based on first public version 4 years ago
raw2cas.py 274c18382c First commit, based on first public version 4 years ago
syncvr.code.asm bdc8aceac7 Modify WaitFrmMinusHL to become WaitFrmPlusHL 4 years ago
sysdefs.equ.asm 1ee26fcbcf Select status register 0 at exit on V9938s 4 years ago
test-ack-timing.bss.asm 89209ba489 Add ack timing code and results 4 years ago
test-ack-timing.code.asm d306fd762f Replace WaitFrmPlusHL with HALT; start ACK test 2 at -20; fix comments 4 years ago
vdptest.asm 89209ba489 Add ack timing code and results 4 years ago

README.md

VDP Tester

This program is designed to test the intricacies and fine details of how the VDP interacts with the CPU, especially in areas of possible interest to emulator authors, and also to MSX/MSX2/MSX2+/TR coders that want to make the most out of the VDP to e.g. squeeze as many transfers as possible in the shortest time.

An important detail is that it's designed to run on MSX machines with synced CPU/VDP clocks, not separate. This makes things hard for a particular VDP, the Toshiba T6950, a chip designed for PAL which needs a 22.168 MHz crystal that is not compatible with the regular CPU timings, and therefore always includes a separate crystal for it. That leaves several Sony machines basically untestable with any degree of reliability.

Currently, the code consists solely of a cycles per frame measurer, as the exact cycle count is the basis for syncing with the CPU, which will be needed by the rest of tests. As it is now, it can't run on a machine with less than 16K RAM. If run on a machine with floppies, the second floppy needs to be disabled by pressing CTRL during boot.

See the Releases page for pre-built binaries. Read USAGE.txt for more information.

The license for this code is the Expat license. See the file LICENSE.md for details.