Re: PDOS/390 on real hardware

2019-03-19 Thread Paul Gilmartin
On Tue, 19 Mar 2019 19:15:37 +, Seymour J Metz wrote:

>What translation of ASCII C-A through C-Z does PDOS/390 assume?
> 
These are (mostly) consistently defined in ASCII<->EBCDIC translations.
The notable exceptions are Ctl-J and NL/NEL.

>
>From: Paul Edwards 
>Sent: Monday, March 18, 2019 5:28 PM
>On Mon, 18 Mar 2019 16:22:53 -0500, Paul Edwards
>
>>A terminal that conforms to ANSI X3.64
>>if all references to ASCII were replaced
>>with EBCDIC.
>
>And also the control characters like ctrl-x
>and ctrl-c and ctrl-s that are typed need to
>go through to the operating system and
>mainframe application to be processed so
>that micro-emacs can work.

--gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: PDOS/390 on real hardware

2019-03-19 Thread Paul Edwards
On Tue, 19 Mar 2019 19:15:37 +, Seymour J Metz  wrote:

>What translation of ASCII C-A through C-Z does PDOS/390 assume?

PDOS/390 just passes that through to the
application, but the applications are
expecting this:

static unsigned char atoe[256] = {
"\x00\x01\x02\x03\x37\x2D\x2E\x2F\x16\x05\x15\x0B\x0C\x0D\x0E\x0F"
"\x10\x11\x12\x13\x3C\x3D\x32\x26\x18\x19\x3F\x27\x1C\x1D\x1E\x1F"


Also I needed to add this table to micro-emacs:

static char mapctlbuf[256] = {
0x00, 'A' , 'B' , 'C' , 0x00, 'I' , 0x00, 0x00,
0x00, 0x00, 0x00, 'K' , 'L' , 'M' , 'N' , 'O' ,
'P' , 'Q' , 'R' , 'S' , 0x00, 'J' , 'H' , 0x00,
'X' , 'Y' , 0x00, 0x00, '\\', ']' , '^' , '_' ,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 'W' , '[' ,
0x00, 0x00, 0x00, 0x00, 0x00, 'E' , 'F' , 'G' ,
0x00, 0x00, 'V' , 0x00, 0x00, 0x00, 0x00, 'D' ,
0x00, 0x00, 0x00, 0x00, 'T' , 'U' , 0x00, 'Z' ,
};

plus another one to reverse it.

BFN. Paul.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: PDOS/390 on real hardware

2019-03-19 Thread Seymour J Metz
What translation of ASCII C-A through C-Z does PDOS/390 assume?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Paul Edwards 
Sent: Monday, March 18, 2019 5:28 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: PDOS/390 on real hardware

On Mon, 18 Mar 2019 16:22:53 -0500, Paul Edwards  wrote:

>A terminal that conforms to ANSI X3.64
>if all references to ASCII were replaced
>with EBCDIC.

And also the control characters like ctrl-x
and ctrl-c and ctrl-s that are typed need to
go through to the operating system and
mainframe application to be processed so
that micro-emacs can work.

BFN. Paul.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: PDOS/390 on real hardware

2019-03-18 Thread Paul Edwards
Sorry for the excessive posts.

I forgot to mention that PDOS/390 is
designed to run (some) MVS load modules.

BFN. Paul.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: PDOS/390 on real hardware

2019-03-18 Thread Paul Edwards
On Mon, 18 Mar 2019 16:22:53 -0500, Paul Edwards  wrote:

>A terminal that conforms to ANSI X3.64
>if all references to ASCII were replaced
>with EBCDIC.

And also the control characters like ctrl-x
and ctrl-c and ctrl-s that are typed need to
go through to the operating system and
mainframe application to be processed so
that micro-emacs can work.

BFN. Paul.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: PDOS/390 on real hardware

2019-03-18 Thread Paul Edwards
On Mon, 18 Mar 2019 21:17:10 +, Seymour J Metz  wrote:

>WTF is an "EBCDIC ANSI terminal"? ANSI X3.64 specifies ASCII. Do you mean SCS, 
>which is very different?

A terminal that conforms to ANSI X3.64
if all references to ASCII were replaced
with EBCDIC.

BFN. Paul.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: PDOS/390 on real hardware

2019-03-18 Thread Seymour J Metz
WTF is an "EBCDIC ANSI terminal"? ANSI X3.64 specifies ASCII. Do you mean SCS, 
which is very different?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of 
Paul Edwards 
Sent: Monday, March 18, 2019 5:00 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: PDOS/390 on real hardware

I have developed a S/390 (and S/370) operating
system called PDOS, source code here:

https://secure-web.cisco.com/1Q2gYYvIVQWj_-OeoEByM1flrLikH_I3GiZzbNZuvMVspk0VjyLcVUoHvls-yTB80ZR85iDOhI602-OfwCCBOSV2_66cIqgLHzCTjVj4qPAL_VYea_5RXER9iUTcqYf8gvnfspFHeSKexuR3RyAMxwm5GxxBEiZ4zeOUkKBfTW3uLnzkShQuCI6GHPRxD0EylDvJhfmlqWGH-rPh-h1VOnTQhzbJ8pxkJB1yFynfeqze4HHlqQmM9z-ciXHft-HAGVI_5SRM1weH3ooAVkpA4FrHn_m_iFZRKGuwb9_9MbPi6LyFsFCF6cU1AWw3KL5O4KQG5JiE1HZXPLZUxy6dBF5qg5c-OQvf240PpDjwXTL85DTBxixRnFxJ0rnxSzx1A79dzUbvyk4ffwOA-SbQ87Ud3hN-4_xbLkiIF9wuAdcktHAFsIT3I1IPKs09DXioo8_kO_3tVWeelp0yKFlyltA/https%3A%2F%2Fsourceforge.net%2Fp%2Fpdos%2Fgitcode%2Fci%2Fmaster%2Ftree%2Fs370%2Fpdos.c

It works fine under Hercules, but I was
wondering if anyone wanted to try it out
on real hardware. It IPLs from a 3390
(or I can put it on other disk types) and
can talk to a 3270 (it will also talk to
3215 or an EBCDIC ANSI terminal).

I have a secondary question. I would like
to have a PC emulate an EBCDIC ANSI
terminal so that micro-emacs (included
on the PDOS disk) can operate. Does
anyone have the ability to connect the
PC to the mainframe in such a manner?
Currently to run micro-emacs I need to
use a modified Hercules and telnet.

Thanks. Paul.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: PDOS/390 on real hardware

2019-03-18 Thread Paul Edwards
I forgot to mention that since it is S/390,
not z/Arch, it will need any processor
from z13 back to S/370 XA. It only uses
instructions contained in S/370 XA.

Also, by "EBCDIC ANSI" terminal I mean
something that will handle an ESC [ 2 J
in EBCDIC instead of ASCII as a command
to clear the screen. The PC that does the
EBCDIC ANSI emulation would need to
send keys up to the mainframe in bursts
instead of waiting for the user to hit enter.
So it may be necessary for the PC to
emulate a controller too.

BFN. Paul.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


PDOS/390 on real hardware

2019-03-18 Thread Paul Edwards
I have developed a S/390 (and S/370) operating
system called PDOS, source code here:

https://sourceforge.net/p/pdos/gitcode/ci/master/tree/s370/pdos.c

It works fine under Hercules, but I was
wondering if anyone wanted to try it out
on real hardware. It IPLs from a 3390
(or I can put it on other disk types) and
can talk to a 3270 (it will also talk to
3215 or an EBCDIC ANSI terminal).

I have a secondary question. I would like
to have a PC emulate an EBCDIC ANSI
terminal so that micro-emacs (included
on the PDOS disk) can operate. Does
anyone have the ability to connect the
PC to the mainframe in such a manner?
Currently to run micro-emacs I need to
use a modified Hercules and telnet.

Thanks. Paul.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN