Page 1 of 1

X16 emulator runs horribly in Termux

Posted: Mon Aug 07, 2023 8:57 am
by Doubleshotgun
(Termux is a linux terminal/environment emulator for android https://github.com/termux/termux-app)

Any program (like Xixit for an example) performs slowly, corrupted sprites and audio and a big input delay.
Screenshot_2023-08-07-17-51-03-70.jpg
Screenshot_2023-08-07-17-51-03-70.jpg (278.06 KiB) Viewed 11394 times
Linux distro is Debian Bookworm 12. All of my settings for the emulator is set to default.

Re: X16 emulator runs horribly in Termux

Posted: Mon Aug 07, 2023 3:49 pm
by TomXP411
What hardware is this running on?

At first glance, I suspect the device simply doesn't have enough power to run the Android emulation + X16 emulator at full speed. The X16 emulator requires a lot of CPU, and mobile devices simply don't have enough CPU power to run the emulator at full speed.

I definitely would not expect it to run on a smartphone or tablet at anything better than half speed, and it also isn't going to do more than about half speed on Raspberry Pi or similar devices.

Re: X16 emulator runs horribly in Termux

Posted: Mon Aug 07, 2023 9:56 pm
by Doubleshotgun
Specs: https://www.oppo.com/au/smartphones/series-a/ax5s/specs
But my phone isn't that slow, right?

Re: X16 emulator runs horribly in Termux

Posted: Mon Aug 07, 2023 10:55 pm
by ahenry3068
I saw this at work today. I don't log on or post from work but I peek here from time to time.

My first thought was "Emulating x86.64 on ARM, then Emulating X16 65C02 on top of that...."
Its a wonder it works at all. !!!!


I don't know if anyone has forked a Native X16 Emulator for Android but it would be a lot better
option than this....

Re: X16 emulator runs horribly in Termux

Posted: Wed Aug 09, 2023 7:54 am
by mobluse
I believe that Termux doesn't emulate a CPU, but is native Linux on the phone CPU. I don't think it was mentioned which X16 binary release is run in Termux.

Re: X16 emulator runs horribly in Termux

Posted: Fri Aug 11, 2023 11:14 pm
by ahenry3068
I wasn't aware of an Android port of the Emulator.... I assumed emulation :(

Re: X16 emulator runs horribly in Termux

Posted: Fri Aug 11, 2023 11:15 pm
by ahenry3068
the Web Emulator works OK on my Samsung Tablet. But thats running on the Server. I assume its a minor modification of either the Linux or Windows Emulator.

Re: X16 emulator runs horribly in Termux

Posted: Sun Aug 13, 2023 7:33 am
by TomXP411
ahenry3068 wrote: Fri Aug 11, 2023 11:15 pm the Web Emulator works OK on my Samsung Tablet. But thats running on the Server. I assume its a minor modification of either the Linux or Windows Emulator.
The web emulator does not run on the server. Just like JavaScript, the WebAssembly code is retrieved from the server but runs on your device.

Re: X16 emulator runs horribly in Termux

Posted: Mon Aug 14, 2023 1:28 am
by ahenry3068
I'm neglecting my life lessons.

I ASSumed, it was on the server.

I'm always quite open to being wrong.