Go to advanced search

by ejolson
Mon Nov 29, 2021 6:47 am
Forum: General
Topic: BBC BASIC on the Raspberry Pi Pico?
Replies: 1047
Views: 49623

Re: BBC BASIC on the Raspberry Pi Pico?

While it's weird that adding one character to a comment changes the speed on the Pico so much, given the smaller memory in the Pico, my opinion is the speed trade-off is worth it. In particular, unaligned accesses were by design to save memory and that's still important on the Pico. It is only vari...
by ejolson
Mon Nov 29, 2021 6:25 am
Forum: General programming discussion
Topic: Advent of Code
Replies: 340
Views: 38985

Re: Advent of Code

Fortunately, I have another Pico in case the first is still working on that 2015 puzzle. Since one candle on the wreath already lit, I decided to load BBC Basic on the second Pico and test it with the day 5 puzzle from 2015, just in case the other Pico is still busy when the 2021 puzzles start. Thi...
by ejolson
Mon Nov 29, 2021 1:49 am
Forum: Off topic discussion
Topic: More RPT floatation rumours
Replies: 3
Views: 204

Re: More RPT floatation rumours

The thing that concerns me most about a future floatation is the potential impact of for profit business suits getting on the board let alone getting a controling interest. Or evene a significant number of profit/dividend driven shareholders. The accountants who control IBM have been monetising mar...
by ejolson
Sun Nov 28, 2021 8:41 pm
Forum: General programming discussion
Topic: Advent of Code
Replies: 340
Views: 38985

Re: Advent of Code

The Pico is still running but hasn't produced the answer to part 2 yet. I had some difficulties with the desktop PC to which the Pico is connected. The window manager crashed and killed picocom. It seems I was able to reconnect the USB serial device without restarting the program, so hopefully the ...
by ejolson
Sun Nov 28, 2021 6:07 pm
Forum: HATs and other add-ons
Topic: Raspberry Pi Zero Ethernet LAN
Replies: 11
Views: 233

Re: Raspberry Pi Zero Ethernet LAN

Is there a hat for the Raspberry Pi Zero that adds Ethernet LAN but doesn't use the USB port? I don't know of a HAT but it is possible to add ethernet via SPI: https://www.raspberrypi-spy.co.uk/2020/05/adding-ethernet-to-a-pi-zero/ Don't expect more than 10Mbps though. I fixed the link by adding a ...
by ejolson
Sun Nov 28, 2021 5:42 pm
Forum: HATs and other add-ons
Topic: Raspberry Pi Zero Ethernet LAN
Replies: 11
Views: 233

Re: Raspberry Pi Zero Ethernet LAN

aBUGSworstnightmare wrote:
Sun Nov 28, 2021 5:36 pm
What's wrong with that https://www.waveshare.com/product/eth-usb-hub-hat.htm

Don't ask me if Zero 2W is supported
It obviously consumes the existing USB port on the Pi Zero.
by ejolson
Sun Nov 28, 2021 4:59 pm
Forum: Other
Topic: Raspberry Pi OS or another Distribution for a systemd free server?
Replies: 28
Views: 4509

Re: Raspberry Pi OS or another Distribution for a systemd free server?

Hi there, i am Gladdle and currently i have a Banana Pi with Linux Gentoo as a small Home Server (Smart Home, Samba Fileserver, NextCloud, jDownloader without frontend, Apache for my own WebSites,...) . But now i got a new Raspberry Pi 4 with 8GB RAM . Because of a few reasons i don't want to use G...
by ejolson
Sun Nov 28, 2021 4:42 pm
Forum: General
Topic: BBC BASIC on the Raspberry Pi Pico?
Replies: 1047
Views: 49623

Re: BBC BASIC on the Raspberry Pi Pico?

even for processors which can do unaligned access in hardware there must be a performance hit when doing so. Not significantly (on x86 anyway, which is all I know about). I agree most x86 based systems seem engineered so that unaligned memory accesses are as fast as aligned ones. While it's weird t...
by ejolson
Sat Nov 27, 2021 8:54 pm
Forum: Raspberry Pi OS
Topic: Which distros?
Replies: 4
Views: 151

Re: Which distros?

Where can I find which distros work with my Rasbderry Pi 4? I would really like to run Zorin on it. I don''t know how to load it if it will run on Rasberry. no Void Linux has a full set of images for ARMv6, ARMv7 and ARMv8 Raspberry Pi computers. I'm currently running it on a Pi Zero. More informat...
by ejolson
Sat Nov 27, 2021 8:28 pm
Forum: General
Topic: BBC BASIC on the Raspberry Pi Pico?
Replies: 1047
Views: 49623

Re: BBC BASIC on the Raspberry Pi Pico?

This quote is only referring to how string variables are stored in memory. The address returned by the ^ operator is the full 64-bit address. I've replied to this query at the Introduction to BBC BASIC thread. Although I am subscribed to email notifications for this topic, I am not receiving them (...
by ejolson
Sat Nov 27, 2021 5:03 pm
Forum: General discussion
Topic: Pi tablet using Android tablet (no, not the same old question)
Replies: 44
Views: 3160

Re: Pi tablet using Android tablet (no, not the same old question)

My point is, though I agree with you completely, disposable as this society has become, it still bothers me to throw away even the cheaply-made modern tech that DOES still work. It's not about afforability, it's about waste. Why should I (or anyone) throw away usable parts because they can't be use...
by ejolson
Sat Nov 27, 2021 3:51 pm
Forum: General discussion
Topic: Should I buy a Raspberry Pi 4 8gb model or not?
Replies: 10
Views: 402

Re: Should I buy a Raspberry Pi 4 8gb model or not?

Last question and I am dont :) . Does Twister OS support 64bit for the 8gb version? Just went to twisters website and the download page only lists 32bit versions which surprises me, or maybe twister will someday or eventually make a 64bit version From the Twister OS website FAQ: “ Is Twister OS a 6...
by ejolson
Sat Nov 27, 2021 7:24 am
Forum: Gaming
Topic: Eureka DOOM Editor - Open Source Linux DOOM Engine Map Editor PT. IV
Replies: 1
Views: 118

Re: Eureka DOOM Editor - Open Source Linux DOOM Engine Map Editor PT. IV

Moonmarch wrote:
Sat Nov 27, 2021 3:30 am
This will conclude the Eureka DOOM Editor - Open Source Linux DOOM Engine Map Editor PT. IV build guide.
I like this post. Thanks for taking the time to describe how everything works.
by ejolson
Fri Nov 26, 2021 6:49 pm
Forum: SDK
Topic: Visual Studio Code VSC - RPi400
Replies: 3
Views: 159

Re: Visual Studio Code VSC - RPi400

Hello hello I thought some timings might be helpful click the icon to application loaded 15 Seconds click the icon to finish of first Cmake pass 30 seconds Cmake icon left tool bar -> cmake: project outline -> Build all projects [down arrow with four dots in an open box] 5 seconds Icon [down arrow ...
by ejolson
Fri Nov 26, 2021 6:41 pm
Forum: Troubleshooting
Topic: bullseye won't boot on rpi 4 1 GB
Replies: 19
Views: 606

Re: bullseye won't boot on rpi 4 1 GB

Just to gather another data point I burned a microSD with Ubuntu server 21.10. That booted and the console worked fine, I could log in with keyboard/mouse on the HDMI display. I installed packages for gnome desktop using instructions at https://phoenixnap.com/kb/how-to-install-a-gui-on-ubuntu , reb...
by ejolson
Fri Nov 26, 2021 5:39 pm
Forum: C/C++
Topic: Why no warning?
Replies: 46
Views: 1794

Re: Why no warning?

"int to float" always gives reasonable results. The least significant few bits might get dropped if the number is large, but it will still be sensible. An extreme example: INT64_MAX (92233720368547758 07 ) gets converted to 9.2233720368547758e+18 which is very close. Not only is it close,...
by ejolson
Fri Nov 26, 2021 3:26 am
Forum: General
Topic: Who uses 2 cores?
Replies: 15
Views: 550

Re: Who uses 2 cores?

DarkElvenAngel wrote:
Fri Nov 26, 2021 12:50 am
My project PT52 uses two cores. One core for the video processing and one for the rest of the system.
This is the same for the VGA version of BBC Basic for the Pico. The second core pretty much has to run flat out just to manage the video refresh.
by ejolson
Fri Nov 26, 2021 1:40 am
Forum: Other programming languages
Topic: Introduction to BBC BASIC
Replies: 810
Views: 154490

Re: Introduction to BBC BASIC

I've released version 1.26a of BBC BASIC for SDL 2.0 - the cross-platform programming language for Windows, MacOS, Linux, Raspberry Pi OS, Android, iOS and in-browser. Thanks for continuing to work on BBC Basic. It would seem the implementation of the MD5 hash on Rosetta Code doesn't work on 64-bit...
by ejolson
Fri Nov 26, 2021 1:28 am
Forum: General programming discussion
Topic: Advent of Code
Replies: 340
Views: 38985

Re: Advent of Code

Then how about this Basic version: https://hackaday.com/2021/11/24/picomite-gives-your-pico-a-basic-with-all-the-features/ That Basic for the Pico is also interesting, especially for its hardware support. It would appear the MD5 routine I copied from Rosetta Code employed some pointer magic to brea...
by ejolson
Thu Nov 25, 2021 4:20 pm
Forum: General discussion
Topic: Unable to find Raspberry Pi 4B for sale anywhere. Why?
Replies: 32
Views: 1016

Re: Unable to find Raspberry Pi 4B for sale anywhere. Why?

Then stop concern trolling over it! I'm not concern trolling, only interested in all the different Raspberry Pi computers and how they work. My personal opinion is that this little computer provides an opportunity for learning many things. On one hand I understand a vendor wants a parts is parts in...
by ejolson
Thu Nov 25, 2021 12:05 am
Forum: General discussion
Topic: Unable to find Raspberry Pi 4B for sale anywhere. Why?
Replies: 32
Views: 1016

Re: Unable to find Raspberry Pi 4B for sale anywhere. Why?

Has anyone checked whether there are measurable performance differences between Pi computers with the Micron RAM versus whatever was substituted? Why would there be ? All RAMs are made to specific speeds and the SoC then programmed to access the RAM at that speed. Unless RPT substituted a slower RA...
by ejolson
Wed Nov 24, 2021 10:05 pm
Forum: General
Topic: BBC BASIC on the Raspberry Pi Pico?
Replies: 1047
Views: 49623

Re: BBC BASIC on the Raspberry Pi Pico?

I wonder why that code immediately causes a segfault on the x86 BBC Basic interpreter. I've started to suspect there is a 32-bit assumption made in the MD5 routine I pasted from Rosetta Code. The line 760 w%(i%) = !(!^message$ + 64*chunk% + 4*i%) looks suspicious to me. At the same time, since Rose...
by ejolson
Wed Nov 24, 2021 5:44 pm
Forum: General discussion
Topic: Unable to find Raspberry Pi 4B for sale anywhere. Why?
Replies: 32
Views: 1016

Re: Unable to find Raspberry Pi 4B for sale anywhere. Why?

I would say the exact opposite. The reason we don't proclaim steppings from the roof top is entirely to prevent the need to understand, and make it easier for all involved. The man on the street has no need to know what stepping the chip is on, because it makes no difference. How many people out th...
by ejolson
Wed Nov 24, 2021 5:39 pm
Forum: General discussion
Topic: Unable to find Raspberry Pi 4B for sale anywhere. Why?
Replies: 32
Views: 1016

Re: Unable to find Raspberry Pi 4B for sale anywhere. Why?

I fully agree that it's unreasonable to ask a reseller to rip open packaging in search of a particular stepping for a customer. How would they then sell the resulting open-box stock they're left with? Given the OKdo branding on the boxes I have, it's clear some retailers are the ones putting them i...
by ejolson
Wed Nov 24, 2021 5:14 pm
Forum: General
Topic: BBC BASIC on the Raspberry Pi Pico?
Replies: 1047
Views: 49623

Re: BBC BASIC on the Raspberry Pi Pico?

I wonder why that code immediately causes a segfault on the x86 BBC Basic interpreter. I've started to suspect there is a 32-bit assumption made in the MD5 routine I pasted from Rosetta Code. The line 760 w%(i%) = !(!^message$ + 64*chunk% + 4*i%) looks suspicious to me. At the same time, since Rose...

Go to advanced search