Live data from Hacker News

Minecraft mod that runs RISC-V Linux

curseforge.com

1–10 of 35 posts

Re: Minecraft mod that runs RISC-V Linux

#5

These mods are what I always want when I play minecraft.

I have good memories of writing lua scripts for controllers for industrial mods. It feels good to watch the little virtual machine run. Plus if I screw up I don't actually blow anything real up.

Re: Minecraft mod that runs RISC-V Linux

#6
I've been working on speeding up floating point calculations for the RISC-V emulator used by this mod. The trouble is Java doesn't have full IEEE 754 support, specifically features like rounding rules and exceptions. So to support these in the emulator, floating point calculations are done in software.

Re: Minecraft mod that runs RISC-V Linux

#7

I've been working on speeding up floating point calculations for the RISC-V emulator used by this mod. The trouble is Java doesn't have full IEEE 754 support, specifically features like rounding rules and exceptions. So to support these in the emulator, floating point calculations are done in software.

With OPenComputer on 1.7.10 we call out to a compiler .so library for the Lua interpreter which I assume could do floating poin correctly.

Re: Minecraft mod that runs RISC-V Linux

#9

Can someone provide a how-to on installing/using curseforge without getting involved with 0verw0lf?

Basic instructions:

1. Download the mod and its dependencies from Curseforge (should be 3 JAR files: oc2[1], sedna[2] and markdown_manual[3])

2. Install MultiMC[4], run it and sign into your Minecraft/Microsoft account

3. Click the Add Instance button in the toolbar and choose Vanilla version 1.18.1, give it a name if you like and click OK

4. Click Edit Instance in the sidebar for the new instance

5. Click Install Forge on the right sidebar and select the latest version

6. Select Loader mods in the left sidebar

7. Click Add on the right and select the three JAR files you downloaded in step 1

8. Click Launch down the bottom

Usually it's simpler to install mods with MultiMC if they're already in a modpack, but these mods don't appear to be in one currently.

[1] https://www.curseforge.com/minecraft/mc-mods/oc2/files

[2] https://www.curseforge.com/minecraft/mc-mods/sedna/files

[3] https://www.curseforge.com/minecraft/mc-mods/markdownmanual/...

[4] https://multimc.org/

Re: Minecraft mod that runs RISC-V Linux

#10
post #4

Is it limited to up to 6 memory-mapped redstone signals? I think it would be cool if we can manipulate a matrix of redstone lamps as a large display.

In the original open computers the limiting factor was the interface between the mod block and the outside world, 6 sides on that block correspond to 6 signals. For a large array as proposed you can network many mod blocks together behind the display, giving you access to many more "sides" to emit signals from.

Whether that's made it into this variant is unclear, I haven't messed around with it. In theory it should be possible though.

Post reply on HN