Files
yaze/scripts/test_apu_boot.sh
scawful fc1550a8dc feat: Add collaboration server and testing scripts
- Introduced a new script to launch yaze-server, including checks for server directory, Node.js installation, and npm dependencies.
- Added a test script for APU/SPC700 boot sequence debugging to filter and display critical APU events during execution.
- Created a GUI automation tools test script to verify tool registration, dispatcher handling, and environment checks for GUI-related functionalities.
2025-10-08 00:30:30 -04:00

26 lines
865 B
Bash
Executable File

#!/bin/bash
# Test script for APU/SPC700 boot sequence debugging
# Runs yaze with specific filters to show only critical APU events
cd /Users/scawful/Code/yaze
echo "========================================="
echo "Testing ALTTP APU Boot Sequence"
echo "========================================="
echo ""
# Run yaze and filter for key events
./build/bin/yaze.app/Contents/MacOS/yaze 2>&1 | \
grep -E "(Frame [0-9]+: CPU|SPC wrote port.*F4|MOVSY writing|CPU read.*2140.*=.*(AA|BB|CC|01|02)|CPU wrote.*214[012]|TRANSFER LOOP.*FFDF)" | \
head -100
echo ""
echo "========================================="
echo "Test complete - check output above for:"
echo "1. Initial handshake ($AA/$BB)"
echo "2. Command echo ($CC)"
echo "3. Counter acknowledgments ($00, $01, $02...)"
echo "4. CPU progress beyond $88xx range"
echo "========================================="