u/Routine_Working_9754

Image 1 — I made a simple interpreted programming language/VM as an educational project. It also has an emulated in-console display and am actively working on it still
Image 2 — I made a simple interpreted programming language/VM as an educational project. It also has an emulated in-console display and am actively working on it still

I made a simple interpreted programming language/VM as an educational project. It also has an emulated in-console display and am actively working on it still

I started working on this around 3 days ago to learn how programming languages and virtual machines work. As of now there's a bunch of opcodes, and am still actively working on everything. It is written in C, and the virtual machine has a variable resolution framebuffer. Am working in Termux so when the terminal is scaled down to the smallest size, I've managed to fit a max resolution of 78x39.

I also need to implement and instruction pointer and conditional JUMP instructions as well as assembly-liken labels. I intend on also adding an MMU so that the VM programs can have memory that can be protected, read-only and so on. Here are a few images of the programs.

The GitHub is here: https://github.com/ShadowPlasma2009/qrtz

u/Routine_Working_9754 — 5 days ago

How to compile Linux Kernel 3.7?

I've been trying to compile Linux Kernel 3.7. However, I was going to compile it in a Podman Debian Wheezy container with the archived repositories added so the modern GCC tool chain doesn't interfere, which it was doing previously. But I just keep getting so many errors, so if anyone knows a working build flow that you could provide me with would be great. I've been on on it for a whole day now.

reddit.com
u/Routine_Working_9754 — 1 month ago
▲ 0 r/termux

Yo check this out phornhub orange termux

I haven't modified the rest of the color pallete and I probably should but I was feeling lazy

u/Routine_Working_9754 — 2 months ago
▲ 2 r/termux

Gradle is a freaking pain to work with. Please help.

I have been trying to setup a manual environment for developing Android apps on my tablet. Nvim is setup with language servers, and I have all the necessary SDKs installed.

The only problem is gradle keeps pulling an x86_64 version of aapt2. So I did some research and found that the following tag:

android.aapt2FromMavenOverride=/path/to/your/own/aapt2

Make it use an explicit aapt2 binary

I used the aapt2 from Termux's android-tools.

BUT THATS DOING NOTHING. It always keeps trying to execute an x86 aapt2 from some obscure cache directory.

If someone knows a solution, please help. I'll provide whatever info you need. I've been trying to fix this for the past 5 hours now.

reddit.com
u/Routine_Working_9754 — 2 months ago
▲ 2 r/termux

Issue with QEMU (both headless and non-headless)

So I've been trying to use QEMU with a Debian qcow2 image, but every single time, regardless of whether it's headless or not, gives me this error.

CANNOT LINK EXECUTABLE "qemu-system-x86_64": cannot locate symbol "fdt_setprop" referenced by "/data/data/com.termux/files/usr/bin/qemu-system-x86_64"...

Help me if you know about this issue please

reddit.com
u/Routine_Working_9754 — 3 months ago