mailto: blog -at- heyrick -dot- eu

Navi: Previous entry Display calendar Next entry
Switch to desktop version

FYI! Last read at 02:22 on 2024/04/30.

What a twat!

I put the rubbish out at the end of last week. Coming home on Friday evening, it was still there. What? Grrr!
I spent some time, while making dinner, working out how to phrase a strongly worded letter dripping with sarcasm that would probably go right over their heads.
I also noted that I pay €115 a year for the rubbish collection, which with being a tiny bin and now collected every two weeks, is around quarter of the collection capacity that I had back in say 2018 (when the bin was made smaller) and half what I had in 2021 (the collection was switched to fortnightly at the start of this year). And the amount I pay? Well, it's gone down by 4.96%. Whoo.
This is what happens when you have a private company with a sole mandate from the regional governance to provide a utility service, an increasingly less useful service (with plenty of mumble about the environment) without the corresponding drop in how much they charge.
I bet the price of fuel to put into the garbage trucks will be used as a convenient reason to jack up the prices next year.

Driving to work on Saturday morning, I noticed bins all around. Were they on strike? I hadn't read anything about that in the paper. The French, more or less, were not on strike (fuel worker protests aside) which is unheard of - this is France, somebody somewhere has to be waving a big CGT flag on any given Thursday.
Instead, Britain is on strike. That's unheard of. It's almost like the seventies.

Then I remembered. Tuesday was a public holiday, so the collections are all a day late.

Somehow, a facepalm emoji doesn't quite suffice does it?

 

Pasta and potatoes

I made spooky pasta for Samhain. Since there was still some left in the bag, I decided to cook up the rest for dinner.

Halloween pasta
Lidl Halloween pasta.

Since there was about 300g of dried pasta, that cooked up to be around a kilogram of edible pasta. Tossed in butter and lightly peppered. Lovely!

There were four shapes - spider, bat, pumpkin, and ghost. There were three colours of pasta. Normal yellow, a red (from tomato), and a sort of brownish (from black carrot).

Halloween pasta shapes
Lidl Halloween pasta, shapes and colours.

Last night while having a bath and passing my clothes through the washing machine, I had the halogen cooker on to bake two potatoes. Buttered, covered in grated cheddar…
...and it was unimpressive. The potatoes were mushy. Not bad, they just weren't a firm type. Being the type "Blanche" and sold as good for the oven, it's a shame as they were pleasingly large.

Cheesy spuds
Cheesy spuds.

I decided to have some fun with the macro lens.

Yellow mush wrapped in old leather?
Yellow mush wrapped in old leather?

Gaping chasm.
Gaping chasm. The air hole?

And since this final one looks like an oddly rendered landscape, it's only right that I paste in the little spacecraft from Zarch.

Shoot the...aliens?
Shoot the...aliens?

 

Lidl

I went to Lidl after work yesterday. I avoided the non-food stuff as it was leftover DIY things sewing things and lots of wooden toys. I guess it's good that they're making wooden toys. Perhaps better for the planet than my little plastic people. But, you know, COP27. How come the governments of the world have done practically bugger all in the past twenty six years? In fact, with the need to maintain ghost flights to keep open access to certain airports, and an ever increasing number of private jets (ones that pass over me tend to be Jersey to Madrid and Malaga to Farnborough), it seems to me that there are things that could be changed to make an immediate difference. I'm also extremely disturbed by the relentless push for electric cars. Partly because living rural, the average range of a small EV is not particularly useful. To put it into context, with a new battery, a Citroën Ami will just about get me to Châteaubriant and back. In other words, to my closest largish town. It's a one way trip to my prefecture (administrative) town.
But, mostly, I'm concerned about the amount of waste that will be generated by battery packs with a useful lifespan of 2-5 years (depending upon use). Aren't we greatly inconveniencing many people outside of major urban areas simply in order to swap one sort of pollution for another?

Anyway, walked around. Got some chicken burger things, that weird not-yoghurt, and some croissants. Then I discovered the in-store baker also makes cookies. Proper soft-in-the-middle bendy cookies, not those awful burnt offerings that seem so common around here.

Proper fresh cookies
Proper fresh cookies!

 

Warrior Nun

I'm sitting in the kitchen swipe-typing this on my tablet while waiting for a Betty Crocker Carrot Cake to finish cooking. I'm not at work, it's Armistice Day. Supposedly the war to end all wars. Tell that to Ukraine.
Once the cake is done, I'll go watch the new series of Warrior Nun. It's a weird concept that doesn't entirely take itself seriously (holy smoke trail, anybody?), and it's all the better for it.

 

RISC OS 64

Over on the RISC OS forum, there's discussion about creating a new 64 bit version of RISC OS in order that it provide a continuation of the OS we know and love.

This is, of course, quite impossible. Our future, to keep RISC OS more or less as it is, lies in a 32 bit emulation.

Why? Well two reasons. The first is that huge swathes of the OS are written in assembler. There wasn't much in the change between ARM26 of the old original days and ARM32 we use now. It was mostly around splitting the combined PC (current execution location) and PSR (status flags) into separate registers. This was necessary as the combined method only provided 26 bits for the execution address (hence why it is known as ARM26 even though it's a 32 bit processor) which means it can only cope with 64 megabytes - which was "loads" in the mid eighties when the ARM was designed. By taking the flags out, a full 32 bits are available for the execution address allowing direct access to 4 gigabytes.

The change to 64 bit is basically an entirely different processor. Load and store multiple registers isn't supported. Neither is conditional execution. There's a sort of conditional but it doesn't work like the ARM we're used to.

Secondly, the ARM32 registers look like this:

ARM32 registers
ARM32 registers (from arm.com).

There is a definition for a procedure calling standard (APCS) which is used by C programs, but is generally ignored by the OS that uses whatever registers necessary for the many SWI calls. Pretty much the only thing that can be relied upon is that if the V flag is set on exit, R0 will point to an error block.

For completeness, APCS defines that R0 to R3 (called a1-a4) can pass data and be trashed by the function called. Anything that won't fit that needs to be pushed to the stack. R4 to R9 (aka v1-v6) are guaranteed to be preserved. The rest are environment registers (R10/sl = stack limit, R11/fp = frame pointer, R12/ip = usually used as the stack chunk base, R13/sp = stack pointer, R14/lr = link register, R15/pc = program counter); but don't expect the OS itself to honour any of this as it predates APCS.

By contrast, here's what ARM64 (AArch64) looks like:

ARM64 registers
ARM64 registers (from arm.com).

The X registers are 64 bit. There's a copy set of W registers that are the lower 32 bits.
You'll notice that PC and SP and the PSR are all missing. They exist but they aren't general purpose registers. You cannot change PC by poking an address into it. Therefore this:

LDR PC, [PC, offset, LSL #2]
no longer works.
Instead, you'll have to do it in three instructions and a scrap register (taken from a quick Google search as I don't speak ARM64):
ADR X0, table
LDR X0, [X0, offset, LSL #3]
BR  X0

So, as you can understand, retaining the existing API is just not viable. Especially if the OS is going to be written in C or Rust or whatever. Anything that isn't another billion lines of assembler.
Which means none of the existing software will work.
Which means all the effort required to design and create a new updated secure 64 bit incarnation of RISC OS is, honestly, ludicrous.

This isn't negative thinking. It's cold hard reality and crossing fingers, squeezing eyes shut and wishing really really hard isn't going to change this.

I would love to see a new OS based upon the concepts of RISC OS but in a way appropriate for the twenty first century, written in a high level language so it can be ported to various different processors (like x86). But given that the Pi3 is now over six years old and we still have no support for the onboard WiFi and Bluetooth is a completely unknown concept to RISC OS, it's painfully clear that the dreams of a 64 bit rewrite are that - dreams. The only thing that's going to change this is cash, and a dose of madness given that Microsoft spaffed a shade under ten billion dollars and failed to make a dent in the mobile phone market dominated by Android and iStuff.

 

Carrot Cake

With cream cheese style icing (that's basically sugar, palm fat, water, more sugar, and a bunch of E numbers).
Between the layers? My own icing, basically icing sugar and milk.

Carrot Cake
Carrot Cake (Betty Crocker).

Just had a big piece and my blood sugar level is right up there with the noctilucent clouds. ☺

 

 

Your comments:

J.G.Harston, 12th November 2022, 17:01
"How come the governments of the world have done practically bugger all in the past twenty six years?" 
 
'Cos Governments. Instead look to non-government actors. 
26 years ago my car did 25mpg. Today my car does 55mpg. That's not doing nothing. 
In the last 26 years the price of solar panels have dropped something like 20-fold per kWhr output, about 100-fold since the 1970s. That's not doing nothing. 
Wind power is about 20 times cheaper than it was 26 years ago. That's not doing nothing. 
The UK's carbon dioxide emissions are half of what they were in 1990. That's not doing nothing. 
J.G.Harston, 12th November 2022, 17:23
I assisted with writing the in-built ARM64 assembler for C-coded BBC BASIC targetting ARM64 platforms. ARM64 is a Completely Different Processor. It's not ARM with extra bits, it's like 68000 vs 6502. Working out the assembler coding was like learning Czech after a lifetime of Spanish. 

Add a comment (v0.11) [help?]
Your name:

 
Your email (optional):

 
Validation:
Please type 63697 backwards.

 
Your comment:

 

Navi: Previous entry Display calendar Next entry
Switch to desktop version

Search:

See the rest of HeyRick :-)