#Silicon
39 messages · Page 1 of 1 (latest)
The bootloader currently weighs in at 764 bytes out of 4096.
I might be able to put some display subroutines in here.
If someone can RE that and spit out a project that produces the same file, I'd be impressed.
I suppose the next steps will be to code up the CPU stuff in the mod (my emulator already kind of works).
Would be fun to ship some bare bones version of Linux on this thing, but that is a pipe dream.
whats the gh for the emulator?
Nowhere near done yet, it's not uploaded.
Did you look at the binary or did you guess?
I guessed
damn, i was about to start a mod named silicon
Tada.
I'm going to make a system that allows you to provide a custom model for these.
Ill be sure to add my own silly little cpu lol
Add rust 🙏
If you want to write programs in Rust no one will stop you.
This is going to run RISC-V machine code out of the box with a BASIC interpreter and maybe more.
So all you need to do is compile Rust to RISC-V.
which people have already done for opencomputers 2
do you support everything needed for linux?
if not then I guess you could steal™ some stuff from OC2's RISC-V interpreter
It's still a WIP but hopefully.
Oops.
Better.
That isn't quite right.
Why reimplement stuff when you can just borrow it?
@Override
public void render(DrawContext context) {
context.getMatrices().translate(-x(), -y(), 0);
((HandledScreenAccessor) screen).invokeDrawSlot(context, slot);
}
java.util.NoSuchElementException
at java.base/java.util.ArrayDeque.getLast(ArrayDeque.java:413)
at net.minecraft.client.util.math.MatrixStack.push(MatrixStack.java:62)
at net.minecraft.client.gui.DrawContext.drawTooltip(DrawContext.java:642)
at net.minecraft.client.gui.DrawContext.drawTooltip(DrawContext.java:601)
at net.minecraft.client.gui.screen.ingame.HandledScreen.drawMouseoverTooltip(HandledScreen.java:178)
I am confused about this. .-.
