WQX NC1020 Simulator, DevTerm edition

Work in progress :wink:

Quick Demo:


What is this?


WQX, aka 文曲星, is an e-Dict lineup produced by Taiwan company GGV, which was popular in China 20 years ago. While kids today have their shiny new toys, the charm of WQX remains unique: a low-power, monochrome display (4-level grayscale can be achieved with some pwm-like display hacking), 6502-based portable console with GVBasic and 6502 assembly access.

(Plus, you tell mom and dad it’s for study purposes. :slight_smile: )

NC1020 is the first model featuring rechargeable battery, IrDA and credit-card style metal body. It is superseded by NC2000, NC2600 and NC3000, and then the history faded out in the sea of TFT display phones, portable game consoles, mp3/mp4 players…


Which DevTerm core is this tested on? I don’t think it is possible to install SDL on the R01, for example (but I’m willing to be corrected!)

I’m running A06, but I think R01 should be able to handle a 6502 simulator ok.
What’s the blocking issue for running SDL? AFAIK SDL can run with or without GPU acceleration, and with or even without X11.

Yes, I thought so to, and I should have been more precise. The problem I did have was package dependencies when trying to install libsdl2-dev for the Ubuntu build for R01, but I’m looking at it now, and I think now that some of the other issues have been ironed out (i.e. stick with Jammy and don’t allow Dev to be switched to Kinetic), it might work better. I’ll have to try a bit more… I’ve been very careful about upgrading packages as I broke the install several times when I first got the DevTerm!

I’ve been very careful about upgrading packages as I broke the install several times when I first got the DevTerm!

Offtopic suggestion: small root, large home, beam over snapshots with tar to your main computer :slight_smile:

Also heard about this (brave new world!) story of RISC-V x ZFS: ZFS on a single core RISC-V hardware with 512MB | Hacker News
With that you’ll never worry about a broken rootfs caused by software update again.

1 Like

It turns out that I was confusing the packages that were causing conflicts - looks like libgbm is the problem, not libsdl…

I was trying to follow these instructions to build LowResNX and I had thought that libsdl was a blocker. I am actually able to install libsdl2-dev just fine, but…

cpi@devterm-R01:~/lowres-nx/platform/Linux$ sudo apt install libdrm-dev libgbm-dev
[sudo] password for cpi:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libegl-mesa0 : Depends: libgbm1 (= 22.0.0-0ubuntu2) but 22.0.1-1ubuntu2.1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Anyway… back to the original topic - I have now built this on the R01 - I had to install libsdl2 and libsdl2-image of course, but it compiles and links now!

1 Like