I haven’t dont any serious programming since I decided to drop XCode/Swift. I’ve been spending time getting up to speed with XOJO and Pico-8 again. I should come up with a project or two…
Time to try some ROM emulation. The first step is to sniff the ROM enable/disable states and the currently selected upper ROM.
The code for this is, again, simple. It tests the I/O address for the ROM select IO port, and also the gate array IO port. If it's the gate array it tests the register select bits of the data and extracts the two ROM disable bits.
Question for microcontroller C++ nerds. When creating an instance of a hardware class (e.g. The display) is there any real advantage to creating via a pointer: ClassName* myvar() versus creating a scoped instance (which is global to the program): ClassName myvar()
#coding #pico #rpi-pico #raspberrypipico #dev #cpp
Todays #RP2350B school of hard knocks learning experience:
The RP2350B has 48 GPIOs but a PIO can only address a contiguous block of 32 GPIOs. You can set the base pin on the PIO to either pin 0 (default) or pin 16.
With pin 16 as base GPIO numbers are relative to the base ... unless they aren't. So the call to pio_gpio_init uses global numbering whilst the calls to sm_config use the based numbering.
Boy the #Pico Gods are shinning on me today. The two PIOs I wrote yesterday are working flawlessly and talking to each other like a charm. Today's interrupt plumbing and test code is purring like a cat.
A weird syntax quirk on PIOs on the RP2350. An IRQ number can be absolute, relative to the current SM number on the same PIO, or an absolute value on the previous or next PIO (ie. relative to the PIO number).
The SM relative indicator has to go after the IRQ number, the PIO relative indicator has to go before the IRQ number.
REL dates from RP2040, PREV and NEXT are new on the RP2350.
That looks like a good start to the weekend.
On another project using an RP2350B I couldn't get the USB terminal to connect. I've no idea if it was the hardware or a config issue. But this is working off the bat, so config is good, hardware is good and soldering is good :)
I have been in some exhilarating conversations over the past few days about additional ways to use the sound sensors on the #PICO bubble chamber experiment. While these ideas may ultimately be dead ends, it is exciting to engage with colleagues across the collaboration in trying some new (crazy?) ideas.
I love going up alleys to see if they are blind.
PicoMix By NuSan : Pico-8 Cartdriges Pack just released as a FREE DLC on Steam.
All pico-8 cartdriges from the collection
Read, study, edit, tweak the code. Add anything you like and have fun in the Pico-8 software itself.
#pico-8 #indiedev #steam
https://store.steampowered.com/app/3502330/PicoMix_By_NuSan__Pico8_Cartdriges_Pack/
No TinyGlobo this year at #FOSDEM ? That was fun to watch https://www.youtube.com/watch?v=yiX-U753VNw
»#XRStreaming Takes Steps Forward with #PICO Integration of #NVIDIA #GeforceNOW.« https://www.xrtoday.com/virtual-reality/xr-streaming-takes-steps-forward-with-pico-integration-of-nvidia-geforce-now/?Metaver.se #Metaverse #VirtualWorlds #VR #AR #MR
It's published! My guide to getting set up and developing in C++ on the Pico using the #Pimoroni examples as a starting point. https://github.com/Footleg/rpi-pico/tree/main/pico-cpp
It wasn't as straight forward as if should be. Maybe some #Cpp #RaspberryPi #Pico developers out there can explain why I needed to install a separate arm compiler to make this work?
If you are searching for an alternative to the Meta Quest VR headsets, maybe Pico could be something for you.
Personally I have no experience with their products, but I have heard a lot of good things about them.
The 50€ #olimex #Gatemate board is a great value.
https://www.olimex.com/Products/FPGA/GateMate/
The extension boards make it a very viable choice.
https://github.com/intergalaktik/Extension_Boards_for_Olimex_GateMate
@olimex #fpga #ECP5 #pico-ice
Blog | #MDZG (Markdown Zen Garden)
#Tutorial: Create your #blog with MDZG on #Neocities
https://monastic.neocities.org/blog/2024/tutorial_blog_with_mdzg/
#MDZG (Markdown Zen Garden)
The idea is really simple but works:
https://monastic.neocities.org/
@b0rk I think it was #drupal, or #joomla before that.
I also built a rather unwieldy thing on top of #wikka wiki, which seemed like a good idea at the time.
And #pico, for which I extended multilingual support.
I later tried to rebuild an existing site in #Jekyll but it did not turn out well with user acceptance.
This was all volunteering for NGOs.
All of these (and a #MAMP installation) and tinkering let me learn how the systems were out together and how to adjust them for my needs.
Coming soon..
Pi Pico based, emulated Z80, CPM machine kit, running RomWBW, with support for the RomWBW front panel and SPO256AL2 Speech synth.
Runs RomWBW images from an SD CARD compatible with the RC2014 SD card module.
128K Ram, and all 512K ROM binaries, and disks from WBW.
Software is Open source