Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:14 04 Dec 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : New apps for the Pico Computer 3: Curl, Heretic and Hexen

Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12322
Posted: 09:22am 03 Dec 2026
Copy link to clipboard 
Print this post

Three new apps for the PicoComputer 3: curl, Heretic and Hexen

With V8.00.00b6 the programs zip has three more apps that RUN "name.app" starts on the PicoMitePC3 firmware (the PicoComputer 3, the PicoComputer 2 and the Olimex RP2350pc): curl, for files and pages from the internet, and Raven Software's Heretic and Hexen, which also run on the PicoMiteHDMIUSB firmware once its PSRAM is enabled. They are in PicoMite_Programs-8.00.00b6.zip, beside the firmware on the release page: https://github.com/UKTailwind/PicoMite/releases/tag/PicoMite-V8.00.00b6

Copy the zip's folders to the root of the SD card with a PC. A program copied to the board by other means must keep its exact size: TFTP does, XMODEM does not. The PicoMite App User Guide (PicoMite_App_User_Guide.pdf, in the supplementary manuals zip) has a chapter on each, with everything below in more detail.


curl
The same curl that is on almost every other computer, version 8.23.0, with the same options, so the examples you find on the web work here too. It fetches files and pages over HTTP and HTTPS and sends forms and data. It needs firmware V8.00.00b5 or later on the PicoMitePC3, the PSRAM enabled, and OPTION WIFI set so that the board has joined your network.

RUN "B:/curl/curl.app", "-o B:/page.html https://example.com/"

After the program's name comes a string: curl's options and the address, as on any other computer. Because it is a string, a program can build it, and the program carries on with its next statement when curl has finished:

url$ = "https://example.com/"
RUN "B:/curl/curl.app", "-s -o B:/page.html " + url$
PRINT "Fetched"; MM.INFO(FILESIZE "B:/page.html"); " bytes"

• -O saves a file under its own name, -L follows redirections, -C - carries on with a download that was stopped, -d and -F send forms and files, -u logs in, and -c and -b keep cookies.
• -K file reads the options from a file, for anything longer than a RUN line's 255 characters, or several files fetched in one go.
• HTTPS is checked against Mozilla's list of certificate authorities, cacert.pem in the curl folder. The clock must be right, or every HTTPS site is refused: WEB NTP sets it.
• Save downloads to the SD card: A: is small and slow to write.
• Ctrl-C stops it. If it fails it says why, and MMBasic gives curl's exit code.


Heretic
Raven Software's dark fantasy on the Doom engine: magic weapons, artifacts to collect and use, and flight. It is Chocolate Heretic through Mikhail Matveev's frank-heretic for the RP2350, as on the Colour Maximite 2, at 28 frames a second in its timedemo on a PicoComputer 3 at 315 MHz, with its sound effects. It comes with the shareware episode, City of the Damned (heretic1.wad), whose licence lets it be passed on free of charge.

DRIVE "B:" : CHDIR "/Heretic"
RUN "heretic.app"

It needs OPTION RESOLUTION 640x480 and firmware V8.00.00b1 or later, and starts in a few seconds. Run it from its folder: its settings and saved games are kept in the heretic folder there. For the full game, Heretic: Shadow of the Serpent Riders (from Steam or GOG), copy its heretic.wad into the folder: it is taken before the shareware one.

The keys are Doom's (the arrows, Ctrl to fire, Space to open, Shift to run, Alt to strafe, Esc for the menu), with 1 to 7 for the weapons, [ and ] to choose an artifact and Enter to use it, Page Up, Insert and Home to fly with the Wings of Wrath, Page Down, Delete and End to look up, down and ahead, and Tab for the map. Ctrl-C goes back to MMBasic.


Hexen
Heretic's sequel: choose to be a fighter, a cleric or a mage, and cross hubs of linked levels whose switches and puzzles change the levels around them. It is Chocolate Hexen through frank-idtech1, by the same author, at 25 frames a second in the demo's timedemo, with its sound effects.

DRIVE "B:" : CHDIR "/Hexen"
RUN "hexen.app"

Its game data is not in the zip: copy a hexen.wad into B:/Hexen, either the full game's (Hexen: Beyond Heretic, from Steam or GOG) or the 4-level demo's. The demo is a free download, idstuff/hexen/hexndemo.zip in the idgames archive (www.doomworld.com/idgames), but it carries no licence to pass it on, so it is not included. Hexen needs OPTION RESOLUTION 640x480, takes about 15 seconds to start, and keeps its settings and saved games in the idtech1 folder there. The keys are Heretic's, with / to jump and 1 to 4 for the weapons.

Neither game has music: the PicoMite has no FM synthesiser.


Licences and source
curl is under its own MIT-style licence, with Mbed TLS and zlib; Heretic and Hexen are under the GNU GPL, as Chocolate Doom and Raven's source are. Their licences are in the zip's licences folder, and their source is in the firmware's repository (apps/curl, apps/heretic, apps/hexen), which fetches curl, frank-heretic and frank-idtech1 at the commits named there. The game data is copyright Raven Software and id Software. Thanks to Mikhail Matveev (rh1tech) for the RP2350 ports of both games, and to the curl, Chocolate Doom and doomgeneric projects.
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 1217
Posted: 11:34am 03 Dec 2026
Copy link to clipboard 
Print this post

Thank you very much!!!

Frank
 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 1217
Posted: 07:49pm 03 Dec 2026
Copy link to clipboard 
Print this post

@matherp:

I just tried HERETIC. It's too bad the background music isn't playing!

Unfortunately, the keyboard layout isn't the original one. Normally, you can run faster by holding down the SHIFT key - but now you just stop!
Looking up usually works with Page Up, and looking down with Page Down. Here, “Remove” is for looking down, and Page Down is for looking up. I haven't figured out how to move sideways yet.

Frank
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12322
Posted: 10:55pm 03 Dec 2026
Copy link to clipboard 
Print this post

  Quote  Unfortunately, the keyboard layout isn't the original one.

PC3 or PicoCalc? On the PicoCalc the keyboard limits keyboard usage but the PC3 should be correct. If not I'll fix
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026