livingcomputermuseum / Darkstar

A Xerox Star 8010 Emulator
BSD 2-Clause "Simplified" License
211 stars 17 forks source link

Darkstar stuck booting ViewPoint on Linux #22

Open pamoroso opened 7 months ago

pamoroso commented 7 months ago

When I boot the ViewPoint 2.0 hard disk image from Darkstar on my Linux system via System > Start, the Star screeen area of Darkstar's window goes through a series of black and white graphical patterns.

Then the screen area goes black, the MP readout quickly alternates between the codes 0007 and 0032(?), nothing else seems to happen for at least 10-15 minutes, and CPU usage stays around 25%. I can't tell exactly what one of the codes is as they alternate too quickly. At this point the Darkstar window looks like this:

Screenshot 2024-01-30 17 57 08

I tried booting Interlisp-D Harmony with the same result, except the screen area's color stays the same as Darkstar's default window background color.

I installed DarkstarMono 1.1 under Crostini Linux on my 1.8 GHz Intel i7 ASUS Chromebox 3 with 16 GB RAM. Crostini is the Debian-based Linux (currently Bullseye on my system) container of ChromeOS. I also installed the dependencies mono-runtime (Mono JIT compiler version 6.8.0.105), libmono-system-windows-forms4.0-cil, and libpcap0.8.

pamoroso commented 7 months ago

I made some reproducible progress. If I carry out these steps:

  1. set the date to 1 Dec 1997
  2. reset
  3. set alternate boot to Rigid
  4. load ViewPoint hard disk image
  5. start

I get to this screen:

Screenshot 2024-01-30 20 44 36

Then I left-click the window and the mouse pointer is captured. But typing any character has no effect: Backspace, Del, and Ctrl-H don't delete the character 8 at the cursor and typing other keys does nothing. Although pressing either Alt key doesn't release the mouse, ChromeOS still gives me control over the mouse and lets me kill the Darkstar window.

pamoroso commented 7 months ago

If I launch Darkstar, reset the machine with System > Reset, and start it with System > Start, mouse and keyboard capture work as expected and I can release the input devices by pressing Alt.

The keyboard behavior I'm experiencing might be similar to issue #20.

pamoroso commented 7 months ago

I upgraded my Linux system from Debian Bullseye to Bookworm 12.4 and the issue persists: once Viewpoint is booted and the mouse captured the keyboard is unresponsive and the mouse can't be released from Darkstar.