I was initially running 'ipc-daemon2' within Cygwin to enable the MIT-SHM extension to work properly; this caused x64 to crash with the "Bad system call" message. After finding out that you were not using ipc-daemon2 I re-ran x64 with XWin.exe running in multi-window mode and it seemed to work fine. In fact, here is a screenshot:
http://msu.edu/~huntharo/vice-20040311-2150.png
Since I cannot reproduce the crash, I think I must ask you to search your machine for some really old copies of cygwin1.dll. I am not sure what else could be causing this to work on my machine but to fail on yours.
I made a package for VICE that installed to /usr instead of /usr/local... you should be able to install it and see if if fixes your problems... if it does, it won't tell us much. :) To install my package, copy and paste the following mirror URL into Cygwin's setup.exe and click the 'Add' button, then select VICE from that mirror:
http://www.egr.msu.edu/~huntharo/cygwin/
If you install my package, make sure that you are pointing to the correct 'x64' before you run it. Might be best to run '/usr/bin/x64' explicitly.
My output from VICE's 'x64' is below.
Harold
======================================================================== Xlib: extension "MIT-SHM" missing on display "127.0.0.1:0.0". *** VICE Version 1.14 ***
Welcome to x64, the free portable C64 Emulator.
Current VICE team members: A. Boose, D. Lem, T. Biczo, A. Dehmel, T. Bretz, A. Matthies, M. Pottendorfer, M. Brenner, S. Trikaliotis.
This is free software with ABSOLUTELY NO WARRANTY. See the "About VICE" command for more info.
X11: Found 24bit/TrueColor visual. X11: Using private colormap. Video: Warning - The MITSHM extension is not supported on this display. Loading system file `/usr/lib/vice/C64/kernal'. C64MEM: Kernal rev #3. Loading system file `/usr/lib/vice/C64/basic'. Loading system file `/usr/lib/vice/C64/chargen'. Loading system file `/usr/lib/vice/PRINTER/mps803'. Palette: Loading palette `/usr/lib/vice/PRINTER/mps803.vpl'. Loading system file `/usr/lib/vice/PRINTER/nl10-cbm'. Palette: Loading palette `/usr/lib/vice/PRINTER/mps803.vpl'. NL10: Printer driver initialized. Loading system file `/usr/lib/vice/DRIVES/dos1541'. Loading system file `/usr/lib/vice/DRIVES/d1541II'. Loading system file `/usr/lib/vice/DRIVES/dos1570'. Loading system file `/usr/lib/vice/DRIVES/dos1571'. Loading system file `/usr/lib/vice/DRIVES/d1571cr'. Loading system file `/usr/lib/vice/DRIVES/dos1581'. Loading system file `/usr/lib/vice/DRIVES/dos2031'. Loading system file `/usr/lib/vice/DRIVES/dos2040'. Loading system file `/usr/lib/vice/DRIVES/dos3040'. Loading system file `/usr/lib/vice/DRIVES/dos4040'. Loading system file `/usr/lib/vice/DRIVES/dos1001'. Drive: Finished loading ROM images. X11Video: Successfully initialized without shared memory. X11Video: Warning - Performance will be poor. X11Video: Successfully initialized without shared memory. X11Video: Warning - Performance will be poor. Keyboard: Loading keymap `/usr/lib/vice/C64/x11_sym.vkm'. Main CPU: starting at ($FFFC). Main CPU: RESET. Drive 8: RESET. Drive 8: RESET.
Exiting...
========================================================================
[EMAIL PROTECTED] wrote:
Strange, I never got that "Bad system call" message, and I could not find it anywhere in VICE's sources. Is that a Cygwin message? The crash I get is reproducible. Maybe I can send you my version of x64.exe complete with gdb debugging info?
This is what I do.
$ export DISPLAY=:0
[EMAIL PROTECTED] /cygdrive/d/Profiles/afg036.DS.000/vice-1.14/src $ ./x64