Expand description
Headless mode execution for the NES emulator CLI.
This module handles all headless execution logic, including:
- ROM information display
- Memory initialization
- Video export (streaming and buffered modes)
- Screenshot capture
- Memory dump output
Constants§
- NES_
HEIGHT - NES output height in pixels (240). Re-exported from core as u32 for image library APIs which require u32 dimensions rather than usize.
- NES_
WIDTH - NES output width in pixels (256). Re-exported from core as u32 for image library APIs which require u32 dimensions rather than usize.
Functions§
- apply_
memory_ initialization - Apply memory initialization based on CLI args
- create_
renderer_ from_ args - Create a screen renderer based on CLI arguments.
- list_
renderers - List all available renderers and print them to stdout.
- output_
results - Output results based on CLI args using the output module abstraction.
- print_
rom_ info - Print ROM information to stdout.
- run_
headless - Run the emulator in headless mode.
- save_
screenshot - Save screenshot to file from buffered frames
- save_
video - Save recorded frames to video file