PROPHET/OS

NAME

pes: pES, the Prophet Entertainment System

SYNOPSIS

pes <rom> [verdict [frames]]

DESCRIPTION

PES, the Prophet Entertainment System: runs the cartridge <rom> on lux's screen, its sound into ProphetAudio, the keys as the pad.

arrows               the D-pad
x                    A
z                    B
Enter                Start
Tab                  Select
q                    end

A console key comes as a press without a release, so a press holds its button for a few frames. The pacing follows the console's frame rate; a run more than four frames behind does not catch up.

verdict runs a test ROM without a screen for at most frames frames (3000 when not given) and reads the status protocol at $6000: 0x81 asks for the reset button, a value below 0x80 is the result.

Exit 0 when the verdict is 0 (passed), 1 otherwise.

EXAMPLE

$ pes --help
pes <rom> [verdict [frames]]
  PES, our NES: the cartridge on the screen, its sound into ProphetAudio;
  arrows, x (A), z (B), Enter (Start), Tab (Select), q ends;
  verdict runs a test ROM headless and says its result