Re: [ES40-developers] SCSI support for OpenVMS has arrived
Status: Alpha
Brought to you by:
iamcamiel
From: brian w. <bdw...@in...> - 2008-02-16 16:58:38
|
Here's a patch which lets it build on Unix Index: Sym53C810.cpp =================================================================== RCS file: /cvsroot/es40/es40/src/Sym53C810.cpp,v retrieving revision 1.2 diff -u -r1.2 Sym53C810.cpp --- Sym53C810.cpp 16 Feb 2008 13:17:48 -0000 1.2 +++ Sym53C810.cpp 16 Feb 2008 16:35:35 -0000 @@ -278,7 +278,7 @@ #define PT state.per_target[GET_DEST()] #define PTD get_disk(0,GET_DEST()) -u32 sym_cfg_data[64] = { +u32 sym810_cfg_data[64] = { /*00*/ 0x00011000, // CFID: vendor + device /*04*/ 0x02000001, // CFCS: command + status /*08*/ 0x01000001, // CFRV: class + revision @@ -300,7 +300,7 @@ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; -u32 sym_cfg_mask[64] = { +u32 sym810_cfg_mask[64] = { /*00*/ 0x00000000, // CFID: vendor + device /*04*/ 0x00000157, // CFCS: command + status /*08*/ 0x00000000, // CFRV: class + revision @@ -329,7 +329,7 @@ CSym53C810::CSym53C810(CConfigurator * cfg, CSystem * c, int pcibus, int pcidev) : CDiskController(cfg,c,pcibus,pcidev,1,7) { - add_function(0,sym_cfg_data, sym_cfg_mask); + add_function(0,sym810_cfg_data, sym810_cfg_mask); ResetPCI(); Index: Makefile =================================================================== RCS file: /cvsroot/es40/es40/src/Makefile,v retrieving revision 1.23 diff -u -r1.23 Makefile --- Makefile 16 Feb 2008 13:00:15 -0000 1.23 +++ Makefile 16 Feb 2008 16:35:35 -0000 @@ -196,6 +196,7 @@ es40_debug.o \ Flash.o \ FloppyController.o \ + Keyboard.o \ lockstep.o \ NewIde.o \ PCIDevice.o \ @@ -206,6 +207,7 @@ Serial.o \ StdAfx.o \ Sym53C895.o \ + Sym53C810.o \ SystemComponent.o \ System.o \ TraceEngine.o \ On Sat, 2008-02-16 at 14:19 +0100, Camiel Vanderhoeven wrote: > Hi Again, > > I haven't been able to get my hands on a KZPCA yet, (some of you had > suggestions who to ask, I'm pursuing those leads now) but in the > meantime, I took a good look at the KZPAA card I do have. It's a > 53C810-based card, which is fairly similar to the 53C895. The good > news is that this card does not have any firmware. Due to the > similarities with the 53C895 it turned out to be not that hard to come > up with a working emulation. I just successfully booted OpenVMS off an > emulated SCSI disk. > > I've committed the new code to the CVS repository. It will also be in > the next release. You'll need to change your config file, replace > 53c895 with 53c810, and all scsi-disks should be in the 0.0 - 0.6 > range (sorry, no wide scsi on this card). > > Camiel. > > On Feb 15, 2008 11:54 AM, Camiel Vanderhoeven <iam...@gm...> wrote: > > Hello everyone, > > > > First, a piece of good news: Eduardo Marcello Serrat has found the > > cause of the bugcheck in the SCSI driver. That means we're getting > > closer to working SCSI disks on the emulator running OpenVMS. > > > > Now the bad news, to complete the emulation of the SCSI card, we need > > an image of the firmware ROM on a true DEC 3X-KZPCA-AA SCSI > > controller. > > > > If I could get my hands on a real 3X-KZPCA-AA card, I could probably > > manage to extract the contents of the ROM to create an image. > > > > If any of you happen to have one of these cards, could you let me > > know? They are identifyable by the main chip, which is either "NCR > > 53C985", "LSI Logic 53C895" or "Symbios 53C895". There are also > > versions of this card that won't work with OpenVMS, so please check > > that first. If you have this card, it would be very useful if you > > could create an image of the PCI option ROM, or if you'd be willing to > > part with the card (for a while) so I can extract the image. > > > > Thanks, > > > > Camiel. > > > > P.S. Apologies to those who receive this e-mail twice, but I found > > this important enough to send to both the developers and the > > announcements list. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers |