Last week I chanced upon your ES40 project and was quite surprised that you have gone that far! Congratulations to all of you guys for the fantastic work.
I have in my rack 2 AlphaServer 1000A that run legacy applications. They are not important enough to guarantee upgrading, but on the other hand sufficiently important to require keeping spare parts for these. Therefore I was looking at your ES40 as a very elegant solution to get rid of that cumbersome hardware while getting more speed and hardware reliability in the bargain.
I have used Charon VAX for another more important project a few years back and it was worthwhile. But at that time I remembered having not found anything else which could measure up to that Charon VAX. Hence again my surprise that you have blossomed so fast within a year!
Therefore the last few days I have been trying out the various builds and compilations. It was exciting seeing that emulator booting up that fast (less than 1 second on a Windows XP, Dell Optiplex 755 platform). Nevertheless I need help on the following:
1. The bootup didn't complete, there was no error, the two PuTTYs showed up as well as the GUI screen. The console itself showed that the last steps were:
- arbitration from CPU 0
- number of mouse buttons = 5
- IME disabled
- Sim client size (113, 400) != stretched size (18,400)!
dimension update x=9 y=400 fontheight=7 fontwidth=9 bpp=8
2. The Ethernet could not be activated, es40.cfg referred to "\Device\NPF_(F266..." and I could not figure out how to populate that subdirectory.
3. A more minor problem, the GUI screen shrunk to a thin window and could not be expanded back to its normal size.
Note that I made an image of the Alphaserver disk the following way, in case someone faces a similar problem of finding an alternate way to extract data from the Alphaserver running VMS:
A. use Backup to create an image on the Alphaserver (after making sufficient free disk space to store it!)
B. Install the software Reflection for Unix and Digital from the WRQ company (version 6 and 7 are known to work) and transfer the image file over to the PC.
Well I appreciate very much if you can spare your time giving some guidelines on resolving the above points.
Regards,
Viet
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when my es40 starts up, inbetween the two, cpu arbitration happens and after the "Sim client size" line I get a couple of lines starting with "cirrus"... and vgabios starts up. see above.
what did you change in es40.cfg ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your reply and review. BTW I have read all your other posts and these gave me a good scope on this project as well as very useful tips.
Here is the current status:
> 2. The Ethernet could not be activated...
I followed an instruction posted somewhere else in this forum which recommended letting the application prompt for the ethernet card, and that worked well, by selecting NIC card #2 the application found all needed files and proceeded happily to the next step.
> 3. A more minor problem, the GUI screen shrunk to a thin window...
Thanks for detailing the expected behavior for this screen, so I should not be worried about it for the moment.
> 1. The bootup didn't complete, there was no error...
No improvement on this front. A fresh install was done on a different platform just to eliminate any side effect from all the previous downloads/install/un-install/re-compilations of ES40 as well as the CPU and O/S. The new platform is a Dell PowerEdge 2950 with Windows Server 2003 Standard Edition SP2.
(A quick note to any new reader who plans to install ES40 for the first time, and in alignment with other posts on this subject, my fresh installation consisted in:
A. download and install the ES40 software;
B. download the PuTTY.exe and copy it to a newly created directory C:\Program Files\PuTTY;
C. Download and install the PocoFoundation software version 1.3.3;
D. Download and install Microsoft Visual C++ 2008 Express).
Then the es40-cfg.exe was run to create the es40.cfg. All default values were taken except for the first one regarding the GUI, where all three options of None, Win32 and SLP were tried.
The result after this fresh installation was the same as before, i.e. the console stopped with no error and no display of "Plex86/bochs VGABios... " nor "cirrus"...
At this point I am not sure whether it's still inside the gui_win32.cpp module or it's already completed that module and was going to the next one. I have seen a similar behavior when skipping the installation of PuTTY.exe (in step B. above) and then the software just came to that point and hanged there without any error message.
Anyway my knowledge of the Visual Studio is not good enough to embark yet into the debug mode and try to figure out what was holding it up. Maybe I will dive in during this week-end instead of circling around this exciting project of mine that I want to have rolling. (-:
Any suggestion on what should be looked into next?
Regarding the physical disk image, yes a copy was made and transferred to PC and it will be tried to see if it can boot up. There is a fairly high chance that it would. A few years back I have transferred a disk the same way to have it run on the Charon VAX. The Reflection software from WRQ was very good, I used it mainly for its ability to transfer files back and forth to the Alphaserver VMS, and daily backed up the VMS data to the PC where there were plenty of disk space. The files got transferred without losing their integrity and attributes and could be transferred back to the Alphaserver and were still recognized by VMS. Transfer speed was pretty decent too, 1GB took an hour or two.
Please reply as soon as possible to keep me busy during the week-end! (-:
Regards,
Viet
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
apart from MSVC++ 2008 redistributable (if you use the binary build from latest snapshot) and PocoFoundation, you also need
to download/install SDL and WinPcap.
maybe that's it?
p.s.: are you using 32 or 64 bit version of es40?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You were right on the SDL and WinPcap, they also need to be downloaded and installed.
Today the CVS versions for 32 bit as well as the libraries were downloaded and installed anew in their most basic configuration, i.e accepting all the default values for es40.cfg. All the versions (with and without network and SDL etc.) were tried and they basically all stopped at the same point.
It looks like I was missing a key point or a key ingredient but I could not figure out which one.
My attempt at re-compiling and debugging had not progressed far. The compilation was successful once but then other changes were made and I was unable later on to go back to that same setup, was getting again a bunch of LNK2005 errors at link time.
Is there any key difference between the 32 and 64 bit version as far as you know, i.e. would I have more success trying the 64-bit?
Regards,
Viet
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the latest shnapshot (CVS) i386 (32 bit) binary under w2k sp4. there shouldn't be any functional differences between 32 and 64 bit versions of es40.
except that the latter should run faster, I guess, since the C compiler can use the so called amd64 bit instructions directly and doesn't need to emulate them (in order to emulate the 64 bit alpha instructions) via C run-time system with i386 32 bit instructions.
if you have a PC with 64 bit capabilities, try the amd64 binary of es40.
are there any error messages in the log window of es40? did it find the disk images you specified in es40.cfg?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. In fact when running the stable build 1.8, the last line of the DOS log window displays the running clock ticks and program counter. Is that what it's supposed to display if everything goes well? If that's the case the next step is to find out why the console window stays narrow instead of expanding to its proper size and displaying the console messages and prompts.
2. There was no other error message in the log window and all the disk images were found. On the other hand these were empty disks created with "autocreate_size". I am assuming that the console prompt would show up regardless, to arrive up to the point where it prompts for the boot device.
Attached is the log display of build 1.8 running on default es40.cfg, do you mind checking through for any oddity? (it was captured to text hence the last few lines were the running clock ticks and program counter).
Regards,
Viet
**======================================================================**
|| ES40 emulator ||
|| Version 0.18 ||
|| ||
|| Copyright (C) 2007-2008 by the ES40 Emulator Project ||
|| Website: http://sourceforge.net/projects/es40 ||
|| E-mail : camiel@camicom.com ||
|| ||
|| This program is free software; you can redistribute it and/or ||
|| modify it under the terms of the GNU General Public License ||
|| as published by the Free Software Foundation; either version 2 ||
|| of the License, or (at your option) any later version. ||
**======================================================================**
%GUI-I-INS: Installing win32 module as the ES40 GUI
sys0(tsunami): $Id: System.cpp,v 1.68 2008/03/04 19:05:21 iamcamiel Exp $
sys0(tsunami): $Id: DPR.cpp,v 1.16 2008/02/29 10:23:09 iamcamiel Exp $
sys0(tsunami): $Id: Flash.cpp,v 1.15 2007/12/30 15:10:22 iamcamiel Exp $
cpu0(ev68cb): $Id: AlphaCPU.cpp,v 1.71 2008/03/04 19:05:21 iamcamiel Exp $
serial0(serial): Waiting for connection on port 21264.
serial0(serial): $Id: Serial.cpp,v 1.39 2008/03/02 09:42:52 iamcamiel Exp $
serial1(serial): Waiting for connection on port 21265.
serial1(serial): $Id: Serial.cpp,v 1.39 2008/03/02 09:42:52 iamcamiel Exp $
%IDE-I-INIT: New IDE emulator initialized.
pci0.15(ali_ide).disk0.0(file): Mounted file img\disk0.img, 4096000 512-byte blocks, 5120/16/50.
%VGA-I-ROMSIZE: ROM is 38400 bytes.
Desktop Window dimensions: 1280 x 1024
Number of Mouse Buttons = 5
IME disabled
pci0.1(cirrus): $Id: Cirrus.cpp,v 1.14 2008/02/27 12:04:21 iamcamiel Exp $
pci0.7(ali): $Id: AliM1543C.cpp,v 1.60 2008/02/27 12:04:19 iamcamiel Exp $
kbc: $Id: Keyboard.cpp,v 1.4 2008/02/29 10:23:09 iamcamiel Exp $
dma: $Id: DMA.cpp,v 1.2 2008/02/26 15:43:47 iamcamiel Exp $
pci0.19(ali_usb): $Id: AliM1543C_usb.cpp,v 1.5 2008/02/27 12:04:20 iamcamiel Exp $
%SYS-I-READROM: Reading decompressed ROM image from rom\decompressed.rom.
Sim client size(113, 400) != stretched size(18, 400)!
%SYM-I-PATCHROM: Patching ROM for speed.
%SYS-I-ROMLOADED: ROM Image loaded successfully!
flash: 2097156 bytes restored.
%FLS-I-RESTST: Flash state restored from rom\flash.rom
dimension update x=9 y=400 fontheight=17 fontwidth=9 bpp=8
dpr: 16384 bytes restored.
%DPR-I-RESTST: DPR state restored from rom\dpr.rom
0 | 0000000000013591
1 | 000000000000defd
2 | 000000000000e225
3 | 000000000000dea5
4 | 000000000000e1cd
5 | 000000000000de4d
...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the stable version shows program counter; the cvs version does not. below is my log for i386 cvs version until vgabios starts up; please see the differences:
**======================================================================**
|| ES40 emulator ||
|| Version 0.18+ ||
|| ||
|| Copyright (C) 2007-2008 by the ES40 Emulator Project ||
|| Website: http://sourceforge.net/projects/es40 ||
|| E-mail : [censored against spam] ||
|| ||
|| This program is free software; you can redistribute it and/or ||
|| modify it under the terms of the GNU General Public License ||
|| as published by the Free Software Foundation; either version 2 ||
|| of the License, or (at your option) any later version. ||
**======================================================================**
pci0.4(dec21143): Choose a network adapter to connect to:
1. \Device\NPF_GenericDialupAdapter
(Adapter for generic dialup and VPN capture)
2. \Device\NPF_{B7E0BD0C-DF86-47FB-9317-EE7FC4317F13}
(Realtek RTL8029(AS) Ethernet Adapt)
3. \Device\NPF_{07A00F9B-2E04-4331-BC03-4C92E3B07397}
(Realtek RTL8029(AS) Ethernet Adapt)
4. \Device\NPF_{E2070205-7BBB-464B-8F50-97E8D38BFEB1}
(WAN (PPP/SLIP) Interface)
%NIC-Q-NICNO: Enter the interface number (1-4):pci0.4(dec21143): MAC defaulted to 08-00-2B-E5-40-00
pci0.4(dec21143): $Id: DEC21143.cpp,v 1.35 2008/03/26 19:11:01 iamcamiel Exp $
serial0(serial): Waiting for connection on port 21264.
serial0(serial): $Id: Serial.cpp,v 1.48 2008/03/31 19:13:28 iamcamiel Exp $
serial1(serial): Waiting for connection on port 21265.
serial1(serial): $Id: Serial.cpp,v 1.48 2008/03/31 19:13:28 iamcamiel Exp $
%SYS-I-READROM: Reading decompressed ROM image from rom\decompressed.rom.
%SYM-I-PATCHROM: Patching ROM for speed.
%SYS-I-ROMLOADED: ROM Image loaded successfully!
Start threads: cpu0 ali kbd ide0 ide1 cirrus nic srl0 srl1Desktop Window dimensions: 1024 x 768
Number of Mouse Buttons = 3
Arbitration 0000000000010000 from CPU 0 (@13e39)... won 0000000800010000
Arbitration clear from CPU 0 (@13f55).
Arbitration 0000000000010000 from CPU 0 (@13351)... won 0000000800010000
Arbitration clear from CPU 0 (@133b9).
Arbitration 0000000000010000 from CPU 0 (@13351)... won 0000000800010000
Arbitration clear from CPU 0 (@133b9).
Arbitration 0000000000010000 from CPU 0 (@13351)... won 0000000800010000
Arbitration clear from CPU 0 (@133b9).
IME disabled
Sim client size(102, 400) != stretched size(18, 400)!
dimension update x=9 y=400 fontheight=17 fontwidth=9 bpp=8
cirrus: VGABios $Id: vgabios.c,v 1.66 2006/07/10 07:47:51 vruppert Exp $
cirrus: VBE Bios $Id: vbe.c,v 1.58 2006/08/19 09:39:43 vruppert Exp $
...
p.s.: my best guess is, maybe you have too many (5) mouse buttons ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
p.s.: you can capture the log by starting es40 in dos window (CMD) using
es40 >x.txt
you'll see nothing on the screen.
I hit 2<ret> blindly for the network query and then to exit es40 (and in order to close the log file x.txt), I closed the vga window which appends a few more error message lines into log file. I deleted these errors at the end in the above log.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have these files in the rom directory (don't know if all are needed each time; guess the cl67srmrom.exe file is used only when es40 runs for the first time without rom files available and generates the rom files for subsequent use.)
The link for the ROM directory in fact has a more recent c167srmrom.exe dated 05.03.2007 while the one included in the build was dated 12.06.2006 as seen in the above printout. Both versions were tried and they didn't make any difference.
Indeed the DPR.ROM was created when running ES40 for the first time if it didn't exist already.
The number of buttons on the mouse depended on which option was selected while generating the es40.cfg file, so far the values of 2, 3 and 5 have been observed.
Based on your data I am going to re-install on W2K SP4 so as to compare the log, that may help flush out the problem. The software was installed so far on 3 different computers, all of them XP or Server 2003. The installation was easy enough except for the lengthy Visual Studio C++ 2008 Express but it will be skipped and the Visual C++ Redistributable will be used instead.
Thanks for your interest in the progress of my project! :-)
Regards,
Viet
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The es40 was set up on (yet) another platform, this time a W2K Pro running on AMD. After installing several patches to try to make the VC++ Redistributable work, I finally went back to the simpler installation of the full Visual Studio C++ 2008 Express. This new setup for the emulator didn't go any further than the other ones.
Hence I would like to try out with your .cfg. In particular I saw that your mouse has 3 buttons while all the combinations of the .cfg files I have been using only gave either 2 or 5 buttons. So your .cfg may contain other successful setups that I should copy.
Regards,
Viet
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
no problem, here's my es40.cfg. I didn't do anything related to mouse buttons. I cut out most comments below to facilitate seeing a tree in the forest.
Thanks for providing the config file. I modified the disk names then ran it but it still stopped before displaying data to the console. The number of mouse buttons showed as 5 even after substituting a generic Dell mouse to the more fancy Logitech trackball. This point may be irrelevant but so far not much else different was found.
Can you have a look at the attached log file and see if you can spot anything odd?
Regards, Viet
**======================================================================**
|| ES40 emulator ||
|| Version 0.18+ ||
|| ||
|| Copyright (C) 2007-2008 by the ES40 Emulator Project ||
|| Website: http://sourceforge.net/projects/es40 ||
|| E-mail : camiel@camicom.com ||
|| ||
|| This program is free software; you can redistribute it and/or ||
|| modify it under the terms of the GNU General Public License ||
|| as published by the Free Software Foundation; either version 2 ||
|| of the License, or (at your option) any later version. ||
**======================================================================**
pci0.4(dec21143): Choose a network adapter to connect to:
1. \Device\NPF_GenericDialupAdapter
(Adapter for generic dialup and VPN capture)
2. \Device\NPF_{E0CE5164-9D37-477A-B848-3D8F0AE11974}
(Intel(R) 82566DM-2 Gigabit Network Connection)
%NIC-Q-NICNO: Enter the interface number (1-2):pci0.4(dec21143): MAC defaulted to 08-00-2B-E5-40-00
pci0.4(dec21143): $Id: DEC21143.cpp,v 1.35 2008/03/26 19:11:01 iamcamiel Exp $
serial0(serial): Waiting for connection on port 21264.
serial0(serial): $Id: Serial.cpp,v 1.48 2008/03/31 19:13:28 iamcamiel Exp $
serial1(serial): Waiting for connection on port 21265.
serial1(serial): $Id: Serial.cpp,v 1.48 2008/03/31 19:13:28 iamcamiel Exp $
%SYS-I-READROM: Reading decompressed ROM image from rom\decompressed.rom.
%SYM-I-PATCHROM: Patching ROM for speed.
%SYS-I-ROMLOADED: ROM Image loaded successfully!
Start threads: cpu0 ali kbd ide0 ide1 cirrus nic srl0 srl1Desktop Window dimensions: 1024 x 768
Number of Mouse Buttons = 5
Arbitration 0000000000010000 from CPU 0 (@13e39)... won 0000000800010000
Arbitration clear from CPU 0 (@13f55).
IME disabled
Sim client size(113, 400) != stretched size(18, 400)!
dimension update x=9 y=400 fontheight=17 fontwidth=9 bpp=8
===== HERE CONTROL C TO INTERRUPT PROGRAM
Exception in Cirrus thread: Graceful exit: Window closed, exiting!: ..\gui\gui_win32.cpp, line 577.
Emulator Failure: Threading error: Cirrus thread has died: ..\Cirrus.cpp, line 518
Stop threads: cpu0 ali kbd ide0 ide1 cirrus nic srl0 srl1
Freeing memory in use by system...
pci0.15(ali_ide).disk0.0(file): Closing file.
pci0.15(ali_ide).disk0.1(file): Closing file.
CPacketQueue(rx_queue): highwater=0, lost=0
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sorry for my late reply, I keep watching this forum by email notification but the last one from sourceforge went automagically into the spam folder and I just found it by luck.
as soon as cirrus should come up, your emulator hangs. try to contact vruppert (or Camiel) or maybe try a config without vgabios.
the top of the log looks identical but your log doesn't continue with
last thing I heard from Camiel a couple of weeks ago was that he was busy with a new project (at work), and that he'll continue to further develop es40 soon. I propose to write him directly and ask for advice. you find his email is on his website http://camicom.com/
I hope you post the solution to your problem in this forum soon.
good luck!
best regards,
/scrutinizer/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
did you try the no_SDL (Simple DirectMedia Layer; A cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device.) version?
1. if you kept some older hardware, why not make a clone of your harddisk, e.g., with www.xxclone.com and try to run es40 an older PC processor (mine is a intel P3 under w2k sp4).
2. you might also want to try version 018 instead of the latest es40 snapshot cvs version. (v018 was compiled/linked differently since it didn't need the ms c++ runtime binary distributable.)
3. I wanted to buy a new pc with quadcore cpu to run, e.g., es40 faster. Is somebody out there who could tell me which processor/opsys runs the 64 bit latest cvs version, please? thank you!
best regards
/scrutinizer/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Camiel et al.,
Last week I chanced upon your ES40 project and was quite surprised that you have gone that far! Congratulations to all of you guys for the fantastic work.
I have in my rack 2 AlphaServer 1000A that run legacy applications. They are not important enough to guarantee upgrading, but on the other hand sufficiently important to require keeping spare parts for these. Therefore I was looking at your ES40 as a very elegant solution to get rid of that cumbersome hardware while getting more speed and hardware reliability in the bargain.
I have used Charon VAX for another more important project a few years back and it was worthwhile. But at that time I remembered having not found anything else which could measure up to that Charon VAX. Hence again my surprise that you have blossomed so fast within a year!
Therefore the last few days I have been trying out the various builds and compilations. It was exciting seeing that emulator booting up that fast (less than 1 second on a Windows XP, Dell Optiplex 755 platform). Nevertheless I need help on the following:
1. The bootup didn't complete, there was no error, the two PuTTYs showed up as well as the GUI screen. The console itself showed that the last steps were:
- arbitration from CPU 0
- number of mouse buttons = 5
- IME disabled
- Sim client size (113, 400) != stretched size (18,400)!
dimension update x=9 y=400 fontheight=7 fontwidth=9 bpp=8
2. The Ethernet could not be activated, es40.cfg referred to "\Device\NPF_(F266..." and I could not figure out how to populate that subdirectory.
3. A more minor problem, the GUI screen shrunk to a thin window and could not be expanded back to its normal size.
Note that I made an image of the Alphaserver disk the following way, in case someone faces a similar problem of finding an alternate way to extract data from the Alphaserver running VMS:
A. use Backup to create an image on the Alphaserver (after making sufficient free disk space to store it!)
B. Install the software Reflection for Unix and Digital from the WRQ company (version 6 and 7 are known to work) and transfer the image file over to the PC.
Well I appreciate very much if you can spare your time giving some guidelines on resolving the above points.
Regards,
Viet
did you make a physical(!) disk image backup, transfered it and try to boot this image directly?
> 3. A more minor problem, the GUI screen shrunk to a thin window and could not be expanded back to its normal size.
an empty black window higher than wide?
if yes, this is only temporarily during startup of es40. it changes to regular size shortly afterwards, first with black background with
Plex86/bochs VGABios...
and then with blue background when the es40 srm console starts up.
> - IME disabled
> - Sim client size (113, 400) != stretched size (18,400)!
when my es40 starts up, inbetween the two, cpu arbitration happens and after the "Sim client size" line I get a couple of lines starting with "cirrus"... and vgabios starts up. see above.
what did you change in es40.cfg ?
Dear scruty,
Thank you for your reply and review. BTW I have read all your other posts and these gave me a good scope on this project as well as very useful tips.
Here is the current status:
> 2. The Ethernet could not be activated...
I followed an instruction posted somewhere else in this forum which recommended letting the application prompt for the ethernet card, and that worked well, by selecting NIC card #2 the application found all needed files and proceeded happily to the next step.
> 3. A more minor problem, the GUI screen shrunk to a thin window...
Thanks for detailing the expected behavior for this screen, so I should not be worried about it for the moment.
> 1. The bootup didn't complete, there was no error...
No improvement on this front. A fresh install was done on a different platform just to eliminate any side effect from all the previous downloads/install/un-install/re-compilations of ES40 as well as the CPU and O/S. The new platform is a Dell PowerEdge 2950 with Windows Server 2003 Standard Edition SP2.
(A quick note to any new reader who plans to install ES40 for the first time, and in alignment with other posts on this subject, my fresh installation consisted in:
A. download and install the ES40 software;
B. download the PuTTY.exe and copy it to a newly created directory C:\Program Files\PuTTY;
C. Download and install the PocoFoundation software version 1.3.3;
D. Download and install Microsoft Visual C++ 2008 Express).
Then the es40-cfg.exe was run to create the es40.cfg. All default values were taken except for the first one regarding the GUI, where all three options of None, Win32 and SLP were tried.
The result after this fresh installation was the same as before, i.e. the console stopped with no error and no display of "Plex86/bochs VGABios... " nor "cirrus"...
At this point I am not sure whether it's still inside the gui_win32.cpp module or it's already completed that module and was going to the next one. I have seen a similar behavior when skipping the installation of PuTTY.exe (in step B. above) and then the software just came to that point and hanged there without any error message.
Anyway my knowledge of the Visual Studio is not good enough to embark yet into the debug mode and try to figure out what was holding it up. Maybe I will dive in during this week-end instead of circling around this exciting project of mine that I want to have rolling. (-:
Any suggestion on what should be looked into next?
Regarding the physical disk image, yes a copy was made and transferred to PC and it will be tried to see if it can boot up. There is a fairly high chance that it would. A few years back I have transferred a disk the same way to have it run on the Charon VAX. The Reflection software from WRQ was very good, I used it mainly for its ability to transfer files back and forth to the Alphaserver VMS, and daily backed up the VMS data to the PC where there were plenty of disk space. The files got transferred without losing their integrity and attributes and could be transferred back to the Alphaserver and were still recognized by VMS. Transfer speed was pretty decent too, 1GB took an hour or two.
Please reply as soon as possible to keep me busy during the week-end! (-:
Regards,
Viet
sorry for the delay, I was away the week-end.
apart from MSVC++ 2008 redistributable (if you use the binary build from latest snapshot) and PocoFoundation, you also need
to download/install SDL and WinPcap.
maybe that's it?
p.s.: are you using 32 or 64 bit version of es40?
Dear scruty,
Thank you for your reply.
You were right on the SDL and WinPcap, they also need to be downloaded and installed.
Today the CVS versions for 32 bit as well as the libraries were downloaded and installed anew in their most basic configuration, i.e accepting all the default values for es40.cfg. All the versions (with and without network and SDL etc.) were tried and they basically all stopped at the same point.
It looks like I was missing a key point or a key ingredient but I could not figure out which one.
My attempt at re-compiling and debugging had not progressed far. The compilation was successful once but then other changes were made and I was unable later on to go back to that same setup, was getting again a bunch of LNK2005 errors at link time.
Is there any key difference between the 32 and 64 bit version as far as you know, i.e. would I have more success trying the 64-bit?
Regards,
Viet
I downloaded the latest shnapshot (CVS) i386 (32 bit) binary under w2k sp4. there shouldn't be any functional differences between 32 and 64 bit versions of es40.
except that the latter should run faster, I guess, since the C compiler can use the so called amd64 bit instructions directly and doesn't need to emulate them (in order to emulate the 64 bit alpha instructions) via C run-time system with i386 32 bit instructions.
if you have a PC with 64 bit capabilities, try the amd64 binary of es40.
are there any error messages in the log window of es40? did it find the disk images you specified in es40.cfg?
Dear scruty,
Thank you for the data.
1. In fact when running the stable build 1.8, the last line of the DOS log window displays the running clock ticks and program counter. Is that what it's supposed to display if everything goes well? If that's the case the next step is to find out why the console window stays narrow instead of expanding to its proper size and displaying the console messages and prompts.
2. There was no other error message in the log window and all the disk images were found. On the other hand these were empty disks created with "autocreate_size". I am assuming that the console prompt would show up regardless, to arrive up to the point where it prompts for the boot device.
Attached is the log display of build 1.8 running on default es40.cfg, do you mind checking through for any oddity? (it was captured to text hence the last few lines were the running clock ticks and program counter).
Regards,
Viet
**======================================================================**
|| ES40 emulator ||
|| Version 0.18 ||
|| ||
|| Copyright (C) 2007-2008 by the ES40 Emulator Project ||
|| Website: http://sourceforge.net/projects/es40 ||
|| E-mail : camiel@camicom.com ||
|| ||
|| This program is free software; you can redistribute it and/or ||
|| modify it under the terms of the GNU General Public License ||
|| as published by the Free Software Foundation; either version 2 ||
|| of the License, or (at your option) any later version. ||
**======================================================================**
%GUI-I-INS: Installing win32 module as the ES40 GUI
sys0(tsunami): $Id: System.cpp,v 1.68 2008/03/04 19:05:21 iamcamiel Exp $
sys0(tsunami): $Id: DPR.cpp,v 1.16 2008/02/29 10:23:09 iamcamiel Exp $
sys0(tsunami): $Id: Flash.cpp,v 1.15 2007/12/30 15:10:22 iamcamiel Exp $
cpu0(ev68cb): $Id: AlphaCPU.cpp,v 1.71 2008/03/04 19:05:21 iamcamiel Exp $
serial0(serial): Waiting for connection on port 21264.
serial0(serial): $Id: Serial.cpp,v 1.39 2008/03/02 09:42:52 iamcamiel Exp $
serial1(serial): Waiting for connection on port 21265.
serial1(serial): $Id: Serial.cpp,v 1.39 2008/03/02 09:42:52 iamcamiel Exp $
%IDE-I-INIT: New IDE emulator initialized.
pci0.15(ali_ide).disk0.0(file): Mounted file img\disk0.img, 4096000 512-byte blocks, 5120/16/50.
%VGA-I-ROMSIZE: ROM is 38400 bytes.
Desktop Window dimensions: 1280 x 1024
Number of Mouse Buttons = 5
IME disabled
pci0.1(cirrus): $Id: Cirrus.cpp,v 1.14 2008/02/27 12:04:21 iamcamiel Exp $
pci0.7(ali): $Id: AliM1543C.cpp,v 1.60 2008/02/27 12:04:19 iamcamiel Exp $
kbc: $Id: Keyboard.cpp,v 1.4 2008/02/29 10:23:09 iamcamiel Exp $
dma: $Id: DMA.cpp,v 1.2 2008/02/26 15:43:47 iamcamiel Exp $
pci0.19(ali_usb): $Id: AliM1543C_usb.cpp,v 1.5 2008/02/27 12:04:20 iamcamiel Exp $
%SYS-I-READROM: Reading decompressed ROM image from rom\decompressed.rom.
Sim client size(113, 400) != stretched size(18, 400)!
%SYM-I-PATCHROM: Patching ROM for speed.
%SYS-I-ROMLOADED: ROM Image loaded successfully!
flash: 2097156 bytes restored.
%FLS-I-RESTST: Flash state restored from rom\flash.rom
dimension update x=9 y=400 fontheight=17 fontwidth=9 bpp=8
dpr: 16384 bytes restored.
%DPR-I-RESTST: DPR state restored from rom\dpr.rom
0 | 0000000000013591
1 | 000000000000defd
2 | 000000000000e225
3 | 000000000000dea5
4 | 000000000000e1cd
5 | 000000000000de4d
...
the stable version shows program counter; the cvs version does not. below is my log for i386 cvs version until vgabios starts up; please see the differences:
**======================================================================**
|| ES40 emulator ||
|| Version 0.18+ ||
|| ||
|| Copyright (C) 2007-2008 by the ES40 Emulator Project ||
|| Website: http://sourceforge.net/projects/es40 ||
|| E-mail : [censored against spam] ||
|| ||
|| This program is free software; you can redistribute it and/or ||
|| modify it under the terms of the GNU General Public License ||
|| as published by the Free Software Foundation; either version 2 ||
|| of the License, or (at your option) any later version. ||
**======================================================================**
%GUI-I-INS: Installing win32 module as the ES40 GUI
sys0(tsunami): $Id: System.cpp,v 1.76 2008/04/29 07:37:54 iamcamiel Exp $
flash: 2097156 bytes restored.
%FLS-I-RESTST: Flash state restored from rom\flash.rom
sys0(tsunami): $Id: Flash.cpp,v 1.19 2008/03/24 22:11:50 iamcamiel Exp $
dma: $Id: DMA.cpp,v 1.9 2008/04/29 09:24:52 iamcamiel Exp $
pci0.15(ali_ide).disk0.0(file): Mounted file c:\es40img\disk00.img, 4096000 512-byte blocks, 5120/16/50.
pci0.15(ali_ide).disk0.1(file): Mounted file c:\es40img\uDISK1.img, 4096000 512-byte blocks, 5120/16/50.
pci0.19(ali_usb): $Id: AliM1543C_usb.cpp,v 1.6 2008/03/14 15:30:50 iamcamiel Exp $
dpr: 16384 bytes restored.
%DPR-I-RESTST: DPR state restored from rom\dpr.rom
sys0(tsunami): $Id: DPR.cpp,v 1.22 2008/04/09 12:59:42 iamcamiel Exp $
cpu0(ev68cb)(0): $Id: AlphaCPU.cpp,v 1.79 2008/03/26 19:06:49 iamcamiel Exp $
pci0.7(ali): $Id: AliM1543C.cpp,v 1.65 2008/03/14 15:30:50 iamcamiel Exp $
kbc: $Id: Keyboard.cpp,v 1.9 2008/03/16 11:22:08 iamcamiel Exp $
%IDE-I-INIT: New IDE emulator initialized.
pci0.2(cirrus): $Id: Cirrus.cpp,v 1.22 2008/04/13 16:04:52 iamcamiel Exp $
pci0.4(dec21143): Choose a network adapter to connect to:
1. \Device\NPF_GenericDialupAdapter
(Adapter for generic dialup and VPN capture)
2. \Device\NPF_{B7E0BD0C-DF86-47FB-9317-EE7FC4317F13}
(Realtek RTL8029(AS) Ethernet Adapt)
3. \Device\NPF_{07A00F9B-2E04-4331-BC03-4C92E3B07397}
(Realtek RTL8029(AS) Ethernet Adapt)
4. \Device\NPF_{E2070205-7BBB-464B-8F50-97E8D38BFEB1}
(WAN (PPP/SLIP) Interface)
%NIC-Q-NICNO: Enter the interface number (1-4):pci0.4(dec21143): MAC defaulted to 08-00-2B-E5-40-00
pci0.4(dec21143): $Id: DEC21143.cpp,v 1.35 2008/03/26 19:11:01 iamcamiel Exp $
serial0(serial): Waiting for connection on port 21264.
serial0(serial): $Id: Serial.cpp,v 1.48 2008/03/31 19:13:28 iamcamiel Exp $
serial1(serial): Waiting for connection on port 21265.
serial1(serial): $Id: Serial.cpp,v 1.48 2008/03/31 19:13:28 iamcamiel Exp $
%SYS-I-READROM: Reading decompressed ROM image from rom\decompressed.rom.
%SYM-I-PATCHROM: Patching ROM for speed.
%SYS-I-ROMLOADED: ROM Image loaded successfully!
Start threads: cpu0 ali kbd ide0 ide1 cirrus nic srl0 srl1Desktop Window dimensions: 1024 x 768
Number of Mouse Buttons = 3
Arbitration 0000000000010000 from CPU 0 (@13e39)... won 0000000800010000
Arbitration clear from CPU 0 (@13f55).
Arbitration 0000000000010000 from CPU 0 (@13351)... won 0000000800010000
Arbitration clear from CPU 0 (@133b9).
Arbitration 0000000000010000 from CPU 0 (@13351)... won 0000000800010000
Arbitration clear from CPU 0 (@133b9).
Arbitration 0000000000010000 from CPU 0 (@13351)... won 0000000800010000
Arbitration clear from CPU 0 (@133b9).
IME disabled
Sim client size(102, 400) != stretched size(18, 400)!
dimension update x=9 y=400 fontheight=17 fontwidth=9 bpp=8
cirrus: VGABios $Id: vgabios.c,v 1.66 2006/07/10 07:47:51 vruppert Exp $
cirrus: VBE Bios $Id: vbe.c,v 1.58 2006/08/19 09:39:43 vruppert Exp $
...
p.s.: my best guess is, maybe you have too many (5) mouse buttons ;)
p.s.: you can capture the log by starting es40 in dos window (CMD) using
es40 >x.txt
you'll see nothing on the screen.
I hit 2<ret> blindly for the network query and then to exit es40 (and in order to close the log file x.txt), I closed the vga window which appends a few more error message lines into log file. I deleted these errors at the end in the above log.
oh, I see what's your problem, you didn't make
rom\dpr.rom
available?
see
http://www.es40.org/Getting_the_firmware
I have these files in the rom directory (don't know if all are needed each time; guess the cl67srmrom.exe file is used only when es40 runs for the first time without rom files available and generates the rom files for subsequent use.)
12.06.2006 09:19 692.736 cl67srmrom.exe
26.07.2008 15:46 2.097.168 decompressed.rom
31.07.2008 10:35 16.396 dpr.rom
31.07.2008 10:35 2.097.168 flash.rom
04.12.2007 14:41 38.400 vgabios-0.6a.bin
04.12.2007 17:26 39.936 vgabios-0.6a.debug.bin
Dear scruty,
Thank you for the additional data.
The link for the ROM directory in fact has a more recent c167srmrom.exe dated 05.03.2007 while the one included in the build was dated 12.06.2006 as seen in the above printout. Both versions were tried and they didn't make any difference.
Indeed the DPR.ROM was created when running ES40 for the first time if it didn't exist already.
The number of buttons on the mouse depended on which option was selected while generating the es40.cfg file, so far the values of 2, 3 and 5 have been observed.
Based on your data I am going to re-install on W2K SP4 so as to compare the log, that may help flush out the problem. The software was installed so far on 3 different computers, all of them XP or Server 2003. The installation was easy enough except for the lengthy Visual Studio C++ 2008 Express but it will be skipped and the Visual C++ Redistributable will be used instead.
Thanks for your interest in the progress of my project! :-)
Regards,
Viet
Dear scruty,
Do you mind sending me your es40.cfg file?
The es40 was set up on (yet) another platform, this time a W2K Pro running on AMD. After installing several patches to try to make the VC++ Redistributable work, I finally went back to the simpler installation of the full Visual Studio C++ 2008 Express. This new setup for the emulator didn't go any further than the other ones.
Hence I would like to try out with your .cfg. In particular I saw that your mouse has 3 buttons while all the combinations of the .cfg files I have been using only gave either 2 or 5 buttons. So your .cfg may contain other successful setups that I should copy.
Regards,
Viet
Hello,
no problem, here's my es40.cfg. I didn't do anything related to mouse buttons. I cut out most comments below to facilitate seeing a tree in the forest.
===
gui = win32 {
keyboard.use_mapping = false;
keyboard.map = "sdl-pc-de.map";
}
sys0 = tsunami {
rom.srm = "rom\cl67srmrom.exe";
rom.decompressed = "rom\decompressed.rom";
rom.flash = "rom\flash.rom";
rom.dpr = "rom\dpr.rom";
memory.bits = 27;
cpu0 = ev68cb {
icache = true; // tried also "false" and that worked too
}
pci0.7 = ali {
mouse.enabled = true;
lpt.outfile = "lpt.out";
vga_console = true;
}
pci0.15 = ali_ide {
disk0.0 = file {
file = "c:\es40img\disk00.img";
serial_number = "VMS"; rev_number = "8.3"; model_number = "OpenVMS8.3";
read_only = false; cdrom = false; autocreate_size = 2000M;
}
disk0.1 = file {
file = "c:\es40img\uDISK1.img";
serial_number = "VMS1"; rev_number = "8.3"; model_number = "uDISK1";
read_only = false; cdrom = false; autocreate_size = 2000M;
}
// ramdisk: create a disk using a portion of host RAM
// disk1.0 = ramdisk { size = 256M; }
// disk1.1 = file{
// file = "c:\es40img\vms83_.iso"; // (undisker.com) iso capture of ovms [hobbyist] bin distribution
// read_only = true; cdrom = true; }
// disk1.1 = device {device ="\\.\CDROM0"; read_only = true; cdrom = true; }
}
pci0.19 = ali_usb {}
pci0.2 = cirrus { rom = "rom\vgabios-0.6a.debug.bin"; }
pci0.4 = dec21143 {
//mac = "08-00-2B-E5-40-00";
}
serial0 = serial {
action = """c:\Program Files\PuTTY\putty.exe"" telnet://localhost:21264";
}
serial1 = serial {
port = 21265;
action = """c:\Program Files\PuTTY\putty.exe"" telnet://localhost:21265";
}
}
===
Dear scruty,
Thanks for providing the config file. I modified the disk names then ran it but it still stopped before displaying data to the console. The number of mouse buttons showed as 5 even after substituting a generic Dell mouse to the more fancy Logitech trackball. This point may be irrelevant but so far not much else different was found.
Can you have a look at the attached log file and see if you can spot anything odd?
Regards, Viet
**======================================================================**
|| ES40 emulator ||
|| Version 0.18+ ||
|| ||
|| Copyright (C) 2007-2008 by the ES40 Emulator Project ||
|| Website: http://sourceforge.net/projects/es40 ||
|| E-mail : camiel@camicom.com ||
|| ||
|| This program is free software; you can redistribute it and/or ||
|| modify it under the terms of the GNU General Public License ||
|| as published by the Free Software Foundation; either version 2 ||
|| of the License, or (at your option) any later version. ||
**======================================================================**
%GUI-I-INS: Installing win32 module as the ES40 GUI
sys0(tsunami): $Id: System.cpp,v 1.76 2008/04/29 07:37:54 iamcamiel Exp $
flash: 2097156 bytes restored.
%FLS-I-RESTST: Flash state restored from rom\flash.rom
sys0(tsunami): $Id: Flash.cpp,v 1.19 2008/03/24 22:11:50 iamcamiel Exp $
dma: $Id: DMA.cpp,v 1.9 2008/04/29 09:24:52 iamcamiel Exp $
pci0.15(ali_ide).disk0.0(file): Mounted file img\disk0.img, 4096000 512-byte blocks, 5120/16/50.
pci0.15(ali_ide).disk0.1(file): Mounted file img\dka0.img, 4096000 512-byte blocks, 5120/16/50.
pci0.19(ali_usb): $Id: AliM1543C_usb.cpp,v 1.6 2008/03/14 15:30:50 iamcamiel Exp $
dpr: 16384 bytes restored.
%DPR-I-RESTST: DPR state restored from rom\dpr.rom
sys0(tsunami): $Id: DPR.cpp,v 1.22 2008/04/09 12:59:42 iamcamiel Exp $
cpu0(ev68cb)(0): $Id: AlphaCPU.cpp,v 1.79 2008/03/26 19:06:49 iamcamiel Exp $
pci0.7(ali): $Id: AliM1543C.cpp,v 1.65 2008/03/14 15:30:50 iamcamiel Exp $
kbc: $Id: Keyboard.cpp,v 1.9 2008/03/16 11:22:08 iamcamiel Exp $
%IDE-I-INIT: New IDE emulator initialized.
pci0.2(cirrus): $Id: Cirrus.cpp,v 1.22 2008/04/13 16:04:52 iamcamiel Exp $
pci0.4(dec21143): Choose a network adapter to connect to:
1. \Device\NPF_GenericDialupAdapter
(Adapter for generic dialup and VPN capture)
2. \Device\NPF_{E0CE5164-9D37-477A-B848-3D8F0AE11974}
(Intel(R) 82566DM-2 Gigabit Network Connection)
%NIC-Q-NICNO: Enter the interface number (1-2):pci0.4(dec21143): MAC defaulted to 08-00-2B-E5-40-00
pci0.4(dec21143): $Id: DEC21143.cpp,v 1.35 2008/03/26 19:11:01 iamcamiel Exp $
serial0(serial): Waiting for connection on port 21264.
serial0(serial): $Id: Serial.cpp,v 1.48 2008/03/31 19:13:28 iamcamiel Exp $
serial1(serial): Waiting for connection on port 21265.
serial1(serial): $Id: Serial.cpp,v 1.48 2008/03/31 19:13:28 iamcamiel Exp $
%SYS-I-READROM: Reading decompressed ROM image from rom\decompressed.rom.
%SYM-I-PATCHROM: Patching ROM for speed.
%SYS-I-ROMLOADED: ROM Image loaded successfully!
Start threads: cpu0 ali kbd ide0 ide1 cirrus nic srl0 srl1Desktop Window dimensions: 1024 x 768
Number of Mouse Buttons = 5
Arbitration 0000000000010000 from CPU 0 (@13e39)... won 0000000800010000
Arbitration clear from CPU 0 (@13f55).
IME disabled
Sim client size(113, 400) != stretched size(18, 400)!
dimension update x=9 y=400 fontheight=17 fontwidth=9 bpp=8
===== HERE CONTROL C TO INTERRUPT PROGRAM
Exception in Cirrus thread: Graceful exit: Window closed, exiting!: ..\gui\gui_win32.cpp, line 577.
Emulator Failure: Threading error: Cirrus thread has died: ..\Cirrus.cpp, line 518
Stop threads: cpu0 ali kbd ide0 ide1 cirrus nic srl0 srl1
Freeing memory in use by system...
pci0.15(ali_ide).disk0.0(file): Closing file.
pci0.15(ali_ide).disk0.1(file): Closing file.
CPacketQueue(rx_queue): highwater=0, lost=0
Hi,
sorry for my late reply, I keep watching this forum by email notification but the last one from sourceforge went automagically into the spam folder and I just found it by luck.
as soon as cirrus should come up, your emulator hangs. try to contact vruppert (or Camiel) or maybe try a config without vgabios.
the top of the log looks identical but your log doesn't continue with
cirrus: VGABios $Id: vgabios.c,v 1.66 2006/07/10 07:47:51 vruppert Exp $
cirrus: VBE Bios $Id: vbe.c,v 1.58 2006/08/19 09:39:43 vruppert Exp $
===
...
I don't believe it matters, but I have an old gforce2 mx/mx400 graphics adapter card in my w2k (sp4) pc.
next time I promise to reply quickly. sorry again! best regards,
Dear scruty,
Thank you for you reply and your help so far.
Dear Camiel,
We ran out of ideas. Please recommend what would be the next thing to check into. Thanks.
Hello,
last thing I heard from Camiel a couple of weeks ago was that he was busy with a new project (at work), and that he'll continue to further develop es40 soon. I propose to write him directly and ask for advice. you find his email is on his website http://camicom.com/
I hope you post the solution to your problem in this forum soon.
good luck!
best regards,
/scrutinizer/
did you try the no_SDL (Simple DirectMedia Layer; A cross-platform multimedia library designed to provide fast access to the graphics framebuffer and audio device.) version?
http://downloads.sourceforge.net/es40/es40_cvs_20080503_1030_win32_no_sdl_exe.zip?use_mirror=
Dear scruty,
Thanks for the insider's dope. An email was sent to Camiel to request his opinion on resolving this problem and I will post here any solution found.
The no_SDL version was tried yesterday but that didn't make any breakthrough.
I appreciate your help so far. You are very persistent on a problem when it's not resolving!
hello,
1. if you kept some older hardware, why not make a clone of your harddisk, e.g., with www.xxclone.com and try to run es40 an older PC processor (mine is a intel P3 under w2k sp4).
2. you might also want to try version 018 instead of the latest es40 snapshot cvs version. (v018 was compiled/linked differently since it didn't need the ms c++ runtime binary distributable.)
3. I wanted to buy a new pc with quadcore cpu to run, e.g., es40 faster. Is somebody out there who could tell me which processor/opsys runs the 64 bit latest cvs version, please? thank you!
best regards
/scrutinizer/