analog/v2-analog-rev1
David Kuder 0835003caa Build 0159
Progress on PCPI mode bug fixes. PCPI mode is now working again, but the config interface is still broken enough to prevent the use of the config utility while in this mode.. Sending the FORMAT command from the monitor rom returns the card to defaults.
Replace n with the slot number the card is installed in:

]CALL -151
*CnF0:46 4F 52 4D 41 54 00 00

Correction of mousetext / inverse / flashing handling on IIe
see https://github.com/V2RetroComputing/analog/issues/3

Monochrome mode & color palettes are now implemented.
$C0n1: Monochrome mode & palette
  $80: B&W
  $90: Inverse
  $A0: Amber
  $B0: Inverse Amber
  $C0: Green
  $D0: Inverse Green
  $E0: Commodore 64 Theme
  $F0: Use IIgs palette
$C0n2: Mirror of IIgs TBCOLOR register
$C0n3: Mirror of IIgs BORDER register
2023-03-02 11:09:48 -05:00
..
cmake HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
common Build 0159 2023-03-02 11:09:48 -05:00
diag Release 01-19-2023-131 2023-01-29 10:50:12 -05:00
fs Build 0159 2023-03-02 11:09:48 -05:00
lib HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
parallel Build 0159 2023-03-02 11:09:48 -05:00
scripts HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
serial Build 0159 2023-03-02 11:09:48 -05:00
vga Build 0159 2023-03-02 11:09:48 -05:00
z80 Build 0159 2023-03-02 11:09:48 -05:00
CMakeLists.txt Build 0159 2023-03-02 11:09:48 -05:00
lwipopts.h HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
README.md HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
tusb_config.h Build 0159 2023-03-02 11:09:48 -05:00

Set Up Raspberry Pi Pico SDK and build the firmware

Windows Subsystem for Linux (WSL)

Windows Subsystem for Linux (WSL) allows you to install a complete Ubuntu terminal environment in minutes on your Windows machine, allowing you to develop cross-platform applications without leaving Windows. Install Ubuntu on WSL for Windows

Prepare environment

sudo apt update
sudo apt install -y build-essential

Install additional tools

GIT, Cmake

sudo apt install git cmake

GNU Arm Embedded Toolchain

Install SDK

sudo git clone https://github.com/raspberrypi/pico-sdk.git ~/pico-sdk

Initialize submodules

sudo git -C ~/pico-sdk submodule update --init

Set the PICO_SDK_PATH environment variable

export PICO_SDK_PATH=~/pico-sdk

Build the firmware

cd ~/v2-analog-fw
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
$ ls *uf2
...
v2-analog-pico_w-vga.uf2
v2-analog-pico_w-z80.uf2

Upload the firmware

Hold down the BOOTSEL button and connect the Raspberry Pi Pico to your PC via micro USB cable. Once Pico is connected release the BOOTSEL button. Pi Pico should be connected to PC with USB mass storage device mode.

A disk volume called RPI-RP2 will appear on your computer. Drag and drop the appropriate .uf2 file to that volume. RPI-RP2 will unmount and Pico will start the program.