Re: [Simh] NetBSD5.0.2

2010-09-03 Thread Jason Stevens
>
>
> Was this with or without the other vax idle patch (correcting interaction
> with console and other background polling events) already applied?
>
> Peter
>
>
Great news, OSX is now idling at 15-20%.. It's certainly an improvement.
 I'll up a patch that combines the regression (OLDVMS) and includes the
vaxidle patch.
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-09-03 Thread Jason Stevens
>
> Was this with or without the other vax idle patch (correcting interaction
> with console and other background polling events) already applied?
>
> Peter
>
>
No, I'll go ahead and try mixing all of them together
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Peter Svensson
On Fri, 3 Sep 2010, Jason Stevens wrote:

> Well getting back to the start of the thread, what I've done here is
> regressed the idle code to include an "OLDVMS" option which set the idle
> timings and hook to the old pre 3.8-1 levels, allowing things like 4.2 BSD,
> and other BSD's to idle correctly.
> 
> Note that this is *FAR* from tested, as I just built it under MinGW and
> booted up the NetBSD 5.0.2 miniroot, and as soon as it's done it's thing
> it'll idle on my laptop (windows 7 , x64) at 0%
> 
> The patch is here:
> 
> https://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/regressed-vax-idle.zip/download
> 
> Although I can verify that it seems to 'work' right on windows, when I
> compile the same patch on OSX I get 50% cpu utilization
> 
> Oh well I guess it's worth something.

Was this with or without the other vax idle patch (correcting interaction 
with console and other background polling events) already applied?

Peter

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Jason Stevens
Well getting back to the start of the thread, what I've done here is
regressed the idle code to include an "OLDVMS" option which set the idle
timings and hook to the old pre 3.8-1 levels, allowing things like 4.2 BSD,
and other BSD's to idle correctly.

Note that this is *FAR* from tested, as I just built it under MinGW and
booted up the NetBSD 5.0.2 miniroot, and as soon as it's done it's thing
it'll idle on my laptop (windows 7 , x64) at 0%

The patch is here:

https://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/regressed-vax-idle.zip/download

Although I can verify that it seems to 'work' right on windows, when I
compile the same patch on OSX I get 50% cpu utilization

Oh well I guess it's worth something.
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Nigel Horne
Got it!  I didn't realise that the NETBSD in the set cpu idle command 
had to be in upper-case.  I "set cpu idle=NetBSD" and of course that 
failed.  When I changed to "set cpu idle=NETBSD" is started to work.


Thanks for you patience and help (incidentally I worked it out by 
looking at the source code and spotted it does a strcmp not strcasecmp).


For what it's worth, I now have both NetBSD3.1/vax and NetBSD5.0.2/vax 
working under Simh.


-Nigel

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
n...@bandsman.co.uk http://www.bandsman.co.uk

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Jason Stevens
the patch doesn't look overly complex, let me manually re-enter it

On Thu, Sep 2, 2010 at 6:58 AM, Nigel Horne  wrote:

>  On 02/09/10 11:55, Jason Stevens wrote:
>
> I get the impression you should unzip with the -a flag to put the patch in
> your native CR/LF format.
>
>
> That doesn't help:
>
> n...@packard:~/Download/foo$ unzip -a ../simh_vax_cpu_idle.zip
> Archive:  ../simh_vax_cpu_idle.zip
>   inflating: simh_vax_cpu_idle.diff  [text]
> n...@packard:~/Download/foo$ cd
> n...@packard:~$ cd src/simhv38-1/
>
> n...@packard:~/src/simhv38-1$ patch <
> /home/njh/Download/foo/simh_vax_cpu_idle.diff
> patching file vax_cpu.c
> patch:  malformed patch at line 13:
>
>
>
>
> On Thu, Sep 2, 2010 at 6:51 AM, Nigel Horne  wrote:
>
>> On 02/09/10 11:14, Jason Stevens wrote:
>>
>>> The direct link is here:
>>>
>>>
>>>
>>> http://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/simh_vax_cpu_idle.zip/download
>>>
>>
>>  I tried that, but the patch fails:
>>
>> n...@packard:~/src/simhv38-1$ patch <
>> /home/njh/Download/foo/simh_vax_cpu_idle.diff
>> (Stripping trailing CRs from patch.)
>> patching file vax_cpu.c
>> Hunk #1 FAILED at 3088.
>> Hunk #2 FAILED at 3399.
>> 2 out of 2 hunks FAILED -- saving rejects to file vax_cpu.c.rej
>>
>>
>>
>
> --
> Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
> NJH Music, ICQ#20252325, twitter: @nigelhorne
> n...@bandsman.co.uk http://www.bandsman.co.uk
>
>
> ___
> Simh mailing list
> Simh@trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Nigel Horne

On 02/09/10 11:55, Jason Stevens wrote:
I get the impression you should unzip with the -a flag to put the 
patch in your native CR/LF format.


That doesn't help:

n...@packard:~/Download/foo$ unzip -a ../simh_vax_cpu_idle.zip
Archive:  ../simh_vax_cpu_idle.zip
  inflating: simh_vax_cpu_idle.diff  [text]
n...@packard:~/Download/foo$ cd
n...@packard:~$ cd src/simhv38-1/
n...@packard:~/src/simhv38-1$ patch < 
/home/njh/Download/foo/simh_vax_cpu_idle.diff

patching file vax_cpu.c
patch:  malformed patch at line 13:





On Thu, Sep 2, 2010 at 6:51 AM, Nigel Horne > wrote:


On 02/09/10 11:14, Jason Stevens wrote:

The direct link is here:



http://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/simh_vax_cpu_idle.zip/download


I tried that, but the patch fails:

n...@packard:~/src/simhv38-1$ patch <
/home/njh/Download/foo/simh_vax_cpu_idle.diff
(Stripping trailing CRs from patch.)
patching file vax_cpu.c
Hunk #1 FAILED at 3088.
Hunk #2 FAILED at 3399.
2 out of 2 hunks FAILED -- saving rejects to file vax_cpu.c.rej





--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
n...@bandsman.co.uk http://www.bandsman.co.uk

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Jason Stevens
I get the impression you should unzip with the -a flag to put the patch in
your native CR/LF format.

On Thu, Sep 2, 2010 at 6:51 AM, Nigel Horne  wrote:

> On 02/09/10 11:14, Jason Stevens wrote:
>
>> The direct link is here:
>>
>>
>>
>> http://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/simh_vax_cpu_idle.zip/download
>>
>
> I tried that, but the patch fails:
>
> n...@packard:~/src/simhv38-1$ patch <
> /home/njh/Download/foo/simh_vax_cpu_idle.diff
> (Stripping trailing CRs from patch.)
> patching file vax_cpu.c
> Hunk #1 FAILED at 3088.
> Hunk #2 FAILED at 3399.
> 2 out of 2 hunks FAILED -- saving rejects to file vax_cpu.c.rej
>
>
> -Nigel
>
> --
> Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor,
> Typesetter.
> NJH Music, ICQ#20252325, twitter: @nigelhorne
> n...@bandsman.co.uk http://www.bandsman.co.uk
>
> ___
> Simh mailing list
> Simh@trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Jason Stevens
I've been maintaining the sourceforge stuff... And I've been collecting
patches from people or posts, and putting them on the site, as before that
I've been providing builds for anyone outside of the linux/win32
environments.. (speaking of which work FINALLY got me some OSX access so
I'll be updating with some 10.6.3 binaries...!).

Send me what you have, and I'll add it to the sourceforge page.

On Thu, Sep 2, 2010 at 6:43 AM, Rick Murphy  wrote:

> At 06:14 AM 9/2/2010, Jason Stevens wrote:
>
>> The direct link is here:
>>
>>
>> <
>> http://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/simh_vax_cpu_idle.zip/download
>> >
>> http://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/simh_vax_cpu_idle.zip/download
>>
>>
>> I've placed all that I can in the 'browse all files'
>>
>
> I have a question - is there ever going to be another official SIMH
> release, or is just going to be unofficial patches from here on?
>
> I supplied Bob a set of corrections for the PDP8/FPP8A simulation code back
> in April of 2009, under the assumption that it'd show up in a 3.8-2 sometime
> but there's been no new releases since then. There's also nothing on the
> SIMH webpage pointing to the Source Forge project.
>
> I'm sorry if I missed the history (apparently my mail server was blocking
> mail from this list due to some spam-blocking reason that I've now stopped,
> but what's going on with SIMH? Do I submit my patches to the sourceforge
> project now, and if so how do I do that?
> Thanks,
>-Rick
>
>
> ___
> Simh mailing list
> Simh@trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Nigel Horne

On 02/09/10 11:14, Jason Stevens wrote:

The direct link is here:


http://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/simh_vax_cpu_idle.zip/download


I tried that, but the patch fails:

n...@packard:~/src/simhv38-1$ patch < 
/home/njh/Download/foo/simh_vax_cpu_idle.diff

(Stripping trailing CRs from patch.)
patching file vax_cpu.c
Hunk #1 FAILED at 3088.
Hunk #2 FAILED at 3399.
2 out of 2 hunks FAILED -- saving rejects to file vax_cpu.c.rej

-Nigel

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
n...@bandsman.co.uk http://www.bandsman.co.uk

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Rick Murphy

At 06:14 AM 9/2/2010, Jason Stevens wrote:

The direct link is here:


http://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/simh_vax_cpu_idle.zip/download

I've placed all that I can in the 'browse all files'


I have a question - is there ever going to be another official SIMH 
release, or is just going to be unofficial patches from here on?


I supplied Bob a set of corrections for the PDP8/FPP8A simulation code 
back in April of 2009, under the assumption that it'd show up in a 
3.8-2 sometime but there's been no new releases since then. There's 
also nothing on the SIMH webpage pointing to the Source Forge project.


I'm sorry if I missed the history (apparently my mail server was 
blocking mail from this list due to some spam-blocking reason that I've 
now stopped, but what's going on with SIMH? Do I submit my patches to 
the sourceforge project now, and if so how do I do that?

Thanks,
-Rick

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Jason Stevens
The direct link is here:


http://sourceforge.net/projects/simh/files/Unofficial%20Patches/3.8.1/simh_vax_cpu_idle.zip/download

I've placed all that I can in the 'browse all files'


On Thu, Sep 2, 2010 at 3:43 AM, Nigel Horne  wrote:

> Peter,
>
>  I can't get the idle detection to work - Simh hogs the CPU.  I am using
>>> "set
>>> cpu idle=netbsd".
>>>
>>>
>>>
>> Try the simh_vax_cpu_idle patch I wrote. It is on sourceforge under the
>> "unofficial patches" folder.
>>
>>
> Thanks for the idea.  I looked and couldn't find it.  Please could you
> supply the information I need to find the patch?  I looked at
> https://sourceforge.net/projects/simh/ and then did a "Code->Browse CVS".
> There are a lot of directories there - which one contains your "unofficial
> patches"?
>
>  Peter
>>
>>
> -Nigel
>
> --
> Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor,
> Typesetter.
> NJH Music, ICQ#20252325, twitter: @nigelhorne
> n...@bandsman.co.uk http://www.bandsman.co.uk
>
> ___
> Simh mailing list
> Simh@trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-09-02 Thread Nigel Horne

Peter,

I can't get the idle detection to work - Simh hogs the CPU.  I am using "set
cpu idle=netbsd".

 

Try the simh_vax_cpu_idle patch I wrote. It is on sourceforge under the
"unofficial patches" folder.
   
Thanks for the idea.  I looked and couldn't find it.  Please could you 
supply the information I need to find the patch?  I looked at 
https://sourceforge.net/projects/simh/ and then did a "Code->Browse 
CVS". There are a lot of directories there - which one contains your 
"unofficial patches"?



Peter
   

-Nigel

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
n...@bandsman.co.uk http://www.bandsman.co.uk

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] NetBSD5.0.2

2010-08-27 Thread Nigel Horne



Are you using the networked version?

Networked version of what: Simh or NetBSD?  What do you mean by 
"networked version"?


I did and had no problems whatsoever until I had to choose the 
installation drive, but I figured that out fairly easily with a bit of 
trial and error.  If you finally get to that point and need help let 
me know.




As mentioned yesterday, doing an upgrade, rather than a re-installation, 
fixed it.


--- On *Wed, 8/25/10, Nigel Horne //* wrote:


From: Nigel Horne 
Subject: [Simh] NetBSD5.0.2
To: simh@trailing-edge.com
Date: Wednesday, August 25, 2010, 9:41 AM

I have successfully installed and run NetBSD3.1 in the past using
simh's Vax emulator (version 38), but NetBSD5.0.2 eludes me (it's
about time I upgraded!).

I followed the instructions at
http://www.netbsd.org/ports/vax/emulator-howto.html, but I fell at the
final hurdle.  Upon typing "boot dua0:" the emulator halted.

Do you have any ideas?

Thanks!

">>>boot dua0:
(BOOT/R5:0 DUA0



  2..
-DUA0
  1..0..


HALT instruction, PC: 001005C2 (PUSHL #20)
sim>  "

Regards,

-Nigel Horne





--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
n...@bandsman.co.uk http://www.bandsman.co.uk

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-08-26 Thread Ray Jewhurst
Are you using the networked version?  I did and had no problems whatsoever 
until I had to choose the installation drive, but I figured that out fairly 
easily with a bit of trial and error.  If you finally get to that point and 
need help let me know.

--- On Wed, 8/25/10, Nigel Horne  wrote:

From: Nigel Horne 
Subject: [Simh] NetBSD5.0.2
To: simh@trailing-edge.com
Date: Wednesday, August 25, 2010, 9:41 AM

I have successfully installed and run NetBSD3.1 in the past using simh's Vax 
emulator (version 38), but NetBSD5.0.2 eludes me (it's about time I upgraded!).

I followed the instructions at
http://www.netbsd.org/ports/vax/emulator-howto.html, but I fell at the
final hurdle.  Upon typing "boot dua0:" the emulator halted.

Do you have any ideas?

Thanks!

">>>boot dua0:
(BOOT/R5:0 DUA0



  2..
-DUA0
  1..0..


HALT instruction, PC: 001005C2 (PUSHL #20)
sim>  "

Regards,

-Nigel Horne

-- Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, 
Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
n...@bandsman.co.uk http://www.bandsman.co.uk


___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh

Re: [Simh] NetBSD5.0.2

2010-08-26 Thread Peter Svensson
On Thu, 26 Aug 2010, Nigel Horne wrote:

> I can't get the idle detection to work - Simh hogs the CPU.  I am using "set
> cpu idle=netbsd".
> 

Try the simh_vax_cpu_idle patch I wrote. It is on sourceforge under the 
"unofficial patches" folder.

Peter

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] NetBSD5.0.2

2010-08-26 Thread Nigel Horne
I can't get the idle detection to work - Simh hogs the CPU.  I am using 
"set cpu idle=netbsd".


-Nigel

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
n...@bandsman.co.uk http://www.bandsman.co.uk

___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


Re: [Simh] NetBSD5.0.2

2010-08-25 Thread Nigel Horne

 Deborah,

Thank you for your message.

Are you giving the emulator enough memory? NetBSD is growing. "set cpu 512m"
I tried a different approach - I copied the hard disc image and tried an 
upgrade.  I had a few errors to do with groups, but basically it worked 
and I now have NetBSD/Vax 5.0.2 working.  I am hoping that Perl works 
better than it did running 3.1 - it kept core dumping on that (I have no 
idea if the problem was with Perl, the compiler that built Perl, with 
NetBSD, with Simh or any combination of the above).


I am running with 64MB of RAM to the guest VAX, perhaps I should up that.

Having said that, thanks so much for the boot script, I will give that a 
go and keep you informed


-Nigel
___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh


[Simh] NetBSD5.0.2

2010-08-25 Thread Nigel Horne
I have successfully installed and run NetBSD3.1 in the past using simh's 
Vax emulator (version 38), but NetBSD5.0.2 eludes me (it's about time I 
upgraded!).


I followed the instructions at
http://www.netbsd.org/ports/vax/emulator-howto.html, but I fell at the
final hurdle.  Upon typing "boot dua0:" the emulator halted.

Do you have any ideas?

Thanks!

">>>boot dua0:
(BOOT/R5:0 DUA0



  2..
-DUA0
  1..0..


HALT instruction, PC: 001005C2 (PUSHL #20)
sim>  "

Regards,

-Nigel Horne

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
n...@bandsman.co.uk http://www.bandsman.co.uk


___
Simh mailing list
Simh@trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh