[Simh] Throttling the vax

Hittner, David T. david.hittner at ngc.com
Mon Apr 24 10:44:09 EDT 2006


Norman,

I would agree with you about coding in BLISS or MACRO if the code were
to be public *VAX* source, say on the FREEWARE CD.

However, it will be a customized part of the *SIMH* software collection.
The SIMH project is in C, and our collective group expertise is in C.

Seriously, even less programmers know MACRO and BLISS than FORTRAN,
making the general maintainability of the code even worse than FORTRAN.
There's nothing wrong with writing code for the VAX in the
platform-supported FORTRAN - however, we want to strive for general
maintainability and consistancy of the codebase for the SIMH community.

Dave


> -----Original Message-----
> From: Norman Lastovica [mailto:norman.lastovica at oracle.com] 
> Sent: Monday, April 24, 2006 10:01 AM
> To: Hittner, David T.; Villy.Madsen at shaw.ca
> Cc: simh mailing list
> Subject: RE: [Simh] Throttling the vax
> 
> I would have to argue that the VAX side code ought to be 
> either BLISS or MACRO.  Both are free.  I'd be happy to help 
> out in the coding if needed.
> 
> > -----Original Message-----
> > From: simh-bounces at trailing-edge.com
> > [mailto:simh-bounces at trailing-edge.com]On Behalf Of 
> Hittner, David T.
> > Sent: Monday, April 24, 2006 7:57 AM
> > To: Villy.Madsen at shaw.ca
> > Cc: simh mailing list
> > Subject: Re: [Simh] Throttling the vax
> > 
> > 
> > I suspect most people who run a SIMH VAX will be interested 
> in the code.
> > I know I would be happy to stop my laptop from howling when the VAX 
> > starts up and the laptop kicks up the fan.
> > 
> > Please check the big/little-ended-ness of your code if 
> you'd like to 
> > see it get back into the codebase.
> > 
> > You might look at redoing the VAX code side in C instead of 
> in FORTRAN.
> > Since you admit that the code may not be the most robust, it would 
> > facilitate later programmers to be able to work with C, 
> which they are 
> > already mostly familiar with if they do any work with SIMH, C++, or 
> > Java. UnFORTunately, FORTRAN is a dying art. ;-)
> > 
> > Dave
> > 
> > > -----Original Message-----
> > > From: simh-bounces at trailing-edge.com 
> > > [mailto:simh-bounces at trailing-edge.com] On Behalf Of Villy Madsen
> > > Sent: Sunday, April 23, 2006 12:55 PM
> > > To: 'simh mailing list'
> > > Subject: [Simh] Throttling the vax
> > > 
> > > Greetings All
> > > 
> > > well I have some code that does the job.
> > > 
> > > I am not guaranteeing that it looks nice - but it does work..
> > > 
> > > It'll throttle up within a second or two of the load 
> coming on, and 
> > > then gradually throttle down over the next 10 to 15 seconds.
> > > 
> > > It uses a DN device driver to control a routine in 
> VAX_CPU, a Sleep 
> > > routine in SCP.C (because I kept getting an error when I tried to 
> > > include window.h in VAX_CPU, and a fortran routine that runs as a 
> > > batch job on the vax - talking to the DN CSR to pass info to the 
> > > simulator.
> > > 
> > > The batch routine wakes up once a second to check the CPU 
> > > itilization..
> > > 
> > > I don't know how low this thing goes - because I don't trust the 
> > > meter on my W/98 box..
> > > 
> > > Villy
> > > 
> > > 
> > > Any one interested.
> > > 
> > > 
> > > 
> > > 
> > > Villy Madsen
> > > www.members.shaw.ca/villy.madsen
> > > 
> > > 
> > > _______________________________________________
> > > Simh mailing list
> > > Simh at trailing-edge.com
> > > http://mailman.trailing-edge.com/mailman/listinfo/simh
> > > 
> > _______________________________________________
> > Simh mailing list
> > Simh at trailing-edge.com
> > http://mailman.trailing-edge.com/mailman/listinfo/simh
> > 
> 
> 



More information about the Simh mailing list