Skip to content

Preparing the hardware

Piotr Kardasz edited this page Aug 30, 2023 · 3 revisions

Get the interpreter from the repository https://github.com/pik33/P2-Retromachine-Basic

Flash the compiled interpreter binary to the P2-EC32 flash memory using Flexprop.

Prepare the SD card: if not in FAT32 format, format it as FAT32. Create 'bin', 'bas' and 'media' directories in the main directory of the card. The card doesn't need to be empty, it only has to be FAT32 formatted and have these 3 directories in it Place your precompiled binary files that you want to use with a P2 in 'bin' directory. Copy 'media' directory (with 's' and 'h' dirs inside) from the repository to the SD The interpreter will load and save Basic programs from the 'bas' directory. There is an 'examples' folder in the repository: you can copy these examples there.

Connect the DV accessory (with a HDMI type socket) to the Pin 0 bank. Connect a monitor to the DV accessory board with a HDMI cable. The generated digital video is 1024x600 at 8 bpp and 50 Hz. It was 1024x576 in previous versions. Connect the AV accessory (with a VGA socket) to the Pin 8 bank, Connect an amplifier or headphones to the headphone output of the AV board. Connect the serial host accessory (with 2 USB Type A sockets) to the Pin 16 bank. Connect a hub to the upper USB port on a serial host accessory. Connect a keyboard, a mouse and a joystick to the hub.

Clone this wiki locally