Testing j2me SDK Win XP QEMU VM via VNC in Termux Android.
Why? Because I love coding on phone, and I want to write stuff for old phones on new phones.
#foss #windows #abandonware #j2me #java #programming #android #termux #necromancy #deviations #insanity ...
Conclusions so far:
1. The less I/O in QEMU on Android - the better.
2. Use smallest possible apps with least possible processes.
3. Use dedicated small tools over all-in-one IDEs and stuff like that.
4. All I need is to compile, maybe occasionally check on accurate emulator. Actual testing can be done on host at proper speed and actual hardware.
5. WordPad is love.
Also here is a boring video about how the struggle is real when you have no hardware virtualization: https://youtu.be/f8JNIGBqSZQ?si=1Emye4mvicTiGNTi
Finetuned I/O.
Host-guest: files are packed into .iso and mounted as CD.
Guets-host: files are written to virual USB stick and unpacked on the host:
mcopy -i vm_shared_out.img -s -n ::/ /vm_shared_out/
genisoimage -o vm_shared_in.iso -V "CD" -r -J /vm_shared_in/
This is pretty fast, works both ways, quite secure, requires no internet, works with many files at once. Perfect for code sync and compilation.
QEMU args for the above are like this:
-usb -device usb-tablet -device usb-storage,drive=usbdrive,removable=on \
-cdrom "vm_shared_in.iso" \
-drive file="vm_shared_out.img",if=none,format=raw,id=usbdrive