Hello,…
Newbie here.
I just made myself a port of RunCPM for the Picocalc (RP2040). Maybe someone else is interested by this work, so here it is : picocalc_runCPM
I just put together some other people’s work, so I didn’t do much, but if it doesn’t work, I probably broke it. Be indulgent 
Rgds
10 Likes
This is awesome! Thanks for sharing it!
2 Likes
just for your information: it works on rp2350w. Thanks for your contribution, it is funny to see such an old system on this device.
1 Like
Thank you all for the warm welcome and the kind messages !
Super cool! I’ll second the confirmation that it builds/works for the 2350 Pimoroni Pico 2W. Thanks for porting this!
1 Like
I just made a small upgrade :
https://github.com/theflynn49/picocalc_runCPM/releases/tag/v1.1a
Pico speed faster (to 200Mhz)
Supports BRK to some extent (returns to CP/M)
Supports XON/XOFF (to stop long DIRs and such)
Added BELL
Enjoy.
(edit: small version change)
3 Likes
Thanks to GitHub’s member rugosi we now have 80 columns, which is great for WordStar, and probably lots of other apps. First time ever someone makes a PR for a project of mine, it’s adorable 
It’s kind of a small font, I added a SETFONT utility for those like me in need of glasses.
Link here: picocalc_runCPM v1.2a
CP/M for ever 
[edit] the SETFONT stuff
4 Likes
Hello …
Here is my latest release : picocalc_runCPM v1.3 probably so for a little while.
I made the specifics of the picocalc (battery, lcd backlight and LCD backlight) available to CP/M I/O ports and added a two Z80 utilities to show how it works : BATTERY and LGHTCALC.
At boot, the battery level is also displayed.
CP/M rulez !
[Edit] I always make a boo boo somewhere. Please reload the uf2 file, I just made a small change, the full battery was 255% lol
3 Likes
I’ve never used CP/M before and while it seemingly installed with a hitch, I get the prompt:
Bdos Err on A: Select_
I’ve gone to the github and walked through the installation process but my ignorance of the OS has me at a stand still as soon as I power it on. Can you suggest any videos or links to learn more?
Get the A0.ZIP file here : runCPM disk A, and unzip it to your SD card root.
Rgds
2 Likes
Next step once you have the A: drive on line, go to this page : CPM Disks and get the N8VEM_DEMO DISK TOOLS.zip. You dont need everything in that zip file, but you can get the directories C,D,E,F from the subdir “TO_IMG” and copy them to the root of your SD card.
Once this is done, you can type (in runCPM) the command “C:” or “D:” to change drive and see what’s in them with the “DIR” command.
example type “E:” then “USER 3” to be in the turbo pascal disk.
CP/M is not very user friendly, you need to read the f*** manual to use it, it is to be found here : manual
2 Likes
That did the trick! Thank you. Reading the manual now…
Thanks. I was begging for this. So how do I get wordstar working?
If you installed the disks as I mentioned (from toolset click “download tool set”),
then in runCPM you enter :
USER 3
F:
WS
Thank you so much. I’m going to try to George RR Martin a book now.
I love this.
Thank you so much for this. I’ve actually used the Picocalc since there is now a real, but ancient, operating system for it. I look forward to exploring my Picocalc now. I had pretty much let the thing sit by my chair unused, but I think it’s a great, low-powered writing machine in its current form if I can play with Wordstar on it.
Thank you so much for the port to CP/M and the various things I can play with on here. I noticed there is Star Trek on this machine, although I have tried, without success, to figure out Star Trek on Linux, so it’s probably similar. But I actually want to make this machine work.
The uConsole had too short of battery life to take with me all the time and use without having to boot it up. The Picocalc instantly boots when you turn on the power. I wonder why computers back then seemed to be so fast and instantly turn on whereas modern computers take minutes to boot up. Obviously, modern computers are more complex, but what point is complexity when I simply want to open a word processor and type a document?
So again, I thank you for your hard work on this and am so happy this unit has become useful to me.
By the way, is there a way to use one of the USB ports to add an external keyboard while running CP/M? I don’t know whether or not it is possible. Is that a driver I need to write in CP/M or can I just connect a keyboard directly to the STEM 32 USB port?
2 Likes
@sail4sea : Wow. That’s a lot of compliements, thank you, but most of the credit should go to Marcello Dantas who wrote runCPM, and Blair Leduc, who wrote the picocalc framework. i just made some glue logic in between. I want to mention Guido Lehrwalder too, because I started this thing by butchering his work.
Regarding connecting a keyboard to the USB port, an usb keyboard driver needs to be found, which I don’t know of. The other possibility is to connect the picocalc to a computer running an USB serial port, and a VT100 emulator (this works in my ‘Runcpm_for_picomputer’ project, but that’s an Arduino environment, which includes this driver). With the pico-sdk and Blair’s framework, I don’t have an obvious access to this, so for now this is a dead end.
The connection to the serial port on the side (uart0) port is easier to use, as there is a driver for it in Blair’s framework, I used it as a debug port during dev. But this is kind of a mess to connect to (on a hardware basis I mean).
1 Like
I suppose I could hook up my serial terminal, built with another RP2040, to connect to a keyboard and terminal screen. That would have been my workaround to get 80 columns anyway. It would make the device less portable to drag around an LCD computer monitor. I shall try it when I get some time.
I also think I need to explore implementing a realtime clock like in the other threads. I’ll have to see how the runcpm community does that. I assume i2c or spi interface, but there may be specific hardware required or I may have to write c code.
I just made a new realase : picocalc_runCPM v1.4
This version has the USB serial port activated.
Highly experimental of course 
I hope that will fix some of @sail4sea problems.
About RTC, CPM 2.2 doesn’t support any clock as far as I know.
1 Like
I just got it up and running. Thank you for your efforts here.
1 Like