RE: IBM Scientific Subroutine Package (was Re: SIMH .tap file 7 track?)

2017-07-12 Thread Dave Wade via cctalk
Randy,
 To be pedantic, it never was ASCII it was EBCDIC. I would use the VTAPUTILS
from:-

https://sourceforge.net/projects/vtapeutils/

to convert it to".sws" format and then  read it on Hercules in an OS of
choice.

Dave

> -Original Message-
> From: cctalk [mailto:cctalk-boun...@classiccmp.org] On Behalf Of Randy
> Dawson via cctalk
> Sent: 11 July 2017 23:31
> To: Chuck Guzis <ccl...@sydex.com>; General Discussion: On-Topic and Off-
> Topic Posts <cctalk@classiccmp.org>
> Subject: IBM Scientific Subroutine Package (was Re: SIMH .tap file 7
track?)
> 
> Hi Chuck,
> 
> 
> Maybe you can answer a related question to the conversion of IBM 360 .tap
> files.
> 
> 
> I see the IBM FORTRAN Scientific Subroutine Package on Bitsavers in .tap
> format:
> 
> 
> http://bitsavers.trailing-edge.com/bits/IBM/360/360A_CM-
> 03X_Scientific_Subr_Pkg.zip
> 
> 
> How do I read/convert this back into the ASCII files?
> 
> 
> Thanks,
> 
> 
> Randy
> 
> 
> 
> From: cctalk <cctalk-boun...@classiccmp.org> on behalf of Chuck Guzis via
> cctalk <cctalk@classiccmp.org>
> Sent: Tuesday, July 11, 2017 3:10 PM
> To: CCtalk
> Subject: SIMH .tap file 7 track?
> 
> This is one that I haven't seen addressed.
> 
> If I'm reading a 7-track tape and writing a SIMH .tap file, what's the
custom?
> 6 bits per 8-bit byte, right-justified (i.e. 2 high bits zero-filled)?
> 
> Just wondering if there's a convention established for this.
> 
> --Chuck




Re: IBM Scientific Subroutine Package (was Re: SIMH .tap file 7 track?)

2017-07-11 Thread Randy Dawson via cctalk
Thanks Al.


I did not have the insight to look in the decus library.  This is exactly what 
I wanted.


Randy



From: cctalk <cctalk-boun...@classiccmp.org> on behalf of Al Kossow via cctalk 
<cctalk@classiccmp.org>
Sent: Tuesday, July 11, 2017 3:44 PM
To: cctalk@classiccmp.org
Subject: Re: IBM Scientific Subroutine Package (was Re: SIMH .tap file 7 track?)



On 7/11/17 3:36 PM, Al Kossow via cctalk wrote:
>
> On 7/11/17 3:31 PM, Randy Dawson via cctalk wrote:
>> Hi Chuck,
>>
>>
>> Maybe you can answer a related question to the conversion of IBM 360 .tap 
>> files.
>>
>>
>> I see the IBM FORTRAN Scientific Subroutine Package on Bitsavers in .tap 
>> format:
>>
>>
>> http://bitsavers.trailing-edge.com/bits/IBM/360/360A_CM-03X_Scientific_Subr_Pkg.zip
>>
>>
>> How do I read/convert this back into the ASCII files?
>>
>
> it appears to be a stream of 3200 byte records, in EBCDIC
> so convert the .tap records to a byte stream, convert the character set, and 
> add a newline
> every 80 characters
>
>

this is how it starts

C   TALL  10
C ..TALL  20
C   TALL  30
CSUBROUTINE TALLY   TALL  40
C   TALL  50
CPURPOSETALL  60
C   CALCULATE TOTAL, MEAN, STANDARD DEVIATION, MINIMUM, MAXIMUM TALL  70
C   FOR EACH VARIABLE IN A SET (OR A SUBSET) OF OBSERVATIONSTALL  80
C   TALL  90
CUSAGE  TALL 100
C   CALL TALLY(A,S,TOTAL,AVER,SD,VMIN,VMAX,NO,NV)   TALL 110
C   TALL 120
CDESCRIPTION OF PARAMETERS  TALL 130
C   A - OBSERVATION MATRIX, NO BY NVTALL 140
C   S - INPUT VECTOR INDICATING SUBSET OF A. ONLY THOSE TALL 150
C   OBSERVATIONS WITH A NON-ZERO S(J) ARE CONSIDERED.   TALL 160
C   VECTOR LENGTH IS NO.TALL 170
C   TOTAL - OUTPUT VECTOR OF TOTALS OF EACH VARIABLE. VECTORTALL 180
C   LENGTH IS NV.   TALL 190

which matches
http://pdp-10.trailing-edge.com/decuslib10-02/01/43,50145/tally.ssp.html



Re: IBM Scientific Subroutine Package (was Re: SIMH .tap file 7 track?)

2017-07-11 Thread Al Kossow via cctalk


On 7/11/17 3:36 PM, Al Kossow via cctalk wrote:
> 
> On 7/11/17 3:31 PM, Randy Dawson via cctalk wrote:
>> Hi Chuck,
>>
>>
>> Maybe you can answer a related question to the conversion of IBM 360 .tap 
>> files.
>>
>>
>> I see the IBM FORTRAN Scientific Subroutine Package on Bitsavers in .tap 
>> format:
>>
>>
>> http://bitsavers.trailing-edge.com/bits/IBM/360/360A_CM-03X_Scientific_Subr_Pkg.zip
>>
>>
>> How do I read/convert this back into the ASCII files?
>>
> 
> it appears to be a stream of 3200 byte records, in EBCDIC
> so convert the .tap records to a byte stream, convert the character set, and 
> add a newline
> every 80 characters
> 
> 

this is how it starts

C   TALL  10
C ..TALL  20
C   TALL  30
CSUBROUTINE TALLY   TALL  40
C   TALL  50
CPURPOSETALL  60
C   CALCULATE TOTAL, MEAN, STANDARD DEVIATION, MINIMUM, MAXIMUM TALL  70
C   FOR EACH VARIABLE IN A SET (OR A SUBSET) OF OBSERVATIONSTALL  80
C   TALL  90
CUSAGE  TALL 100
C   CALL TALLY(A,S,TOTAL,AVER,SD,VMIN,VMAX,NO,NV)   TALL 110
C   TALL 120
CDESCRIPTION OF PARAMETERS  TALL 130
C   A - OBSERVATION MATRIX, NO BY NVTALL 140
C   S - INPUT VECTOR INDICATING SUBSET OF A. ONLY THOSE TALL 150
C   OBSERVATIONS WITH A NON-ZERO S(J) ARE CONSIDERED.   TALL 160
C   VECTOR LENGTH IS NO.TALL 170
C   TOTAL - OUTPUT VECTOR OF TOTALS OF EACH VARIABLE. VECTORTALL 180
C   LENGTH IS NV.   TALL 190

which matches
http://pdp-10.trailing-edge.com/decuslib10-02/01/43,50145/tally.ssp.html



Re: IBM Scientific Subroutine Package (was Re: SIMH .tap file 7 track?)

2017-07-11 Thread Al Kossow via cctalk

On 7/11/17 3:31 PM, Randy Dawson via cctalk wrote:
> Hi Chuck,
> 
> 
> Maybe you can answer a related question to the conversion of IBM 360 .tap 
> files.
> 
> 
> I see the IBM FORTRAN Scientific Subroutine Package on Bitsavers in .tap 
> format:
> 
> 
> http://bitsavers.trailing-edge.com/bits/IBM/360/360A_CM-03X_Scientific_Subr_Pkg.zip
> 
> 
> How do I read/convert this back into the ASCII files?
> 

it appears to be a stream of 3200 byte records, in EBCDIC
so convert the .tap records to a byte stream, convert the character set, and 
add a newline
every 80 characters




IBM Scientific Subroutine Package (was Re: SIMH .tap file 7 track?)

2017-07-11 Thread Randy Dawson via cctalk
Hi Chuck,


Maybe you can answer a related question to the conversion of IBM 360 .tap files.


I see the IBM FORTRAN Scientific Subroutine Package on Bitsavers in .tap format:


http://bitsavers.trailing-edge.com/bits/IBM/360/360A_CM-03X_Scientific_Subr_Pkg.zip


How do I read/convert this back into the ASCII files?


Thanks,


Randy



From: cctalk  on behalf of Chuck Guzis via 
cctalk 
Sent: Tuesday, July 11, 2017 3:10 PM
To: CCtalk
Subject: SIMH .tap file 7 track?

This is one that I haven't seen addressed.

If I'm reading a 7-track tape and writing a SIMH .tap file, what's the
custom?  6 bits per 8-bit byte, right-justified (i.e. 2 high bits
zero-filled)?

Just wondering if there's a convention established for this.

--Chuck