Guys,
Purely out of interest, how would I diassemble a DEC C routine on VAX/VMS? Can I use DEBUG to do this?
For example, I have the following code:
#include <stdio.h>
#include <string.h>
void main(int argc, char **argv) {
char to[32];
strcpy(to, "Hello World!\n");
printf(to);
}
If I use
BUBBLE$ cc/list/machine_code strcpy.c
I get the following:
1 1267 strcpy(to, "Hello World!\n");
D6 AF 9F 0027 pushab $CODE
D8 AD 9F 002A pushab -40(fp)
00000000* EF 02 FB 002D calls #2,DECC$STRCPY
Note that the call to DECC$STRCPY is listed, but not the code in the routine.
I'm interested in how some of the C library routines are implemented at a machine code level from an academic point of view.
Regards, Mark.
Phone V1 on VMS was a hack from the VMS MAIL utility by Paul
Agnostopolis (sp?).
Trivia question time... What other X1/T1/V1 VMS Layered Product came
from VMS MAIL?
-Steve
-----Original Message-----
From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On
Behalf Of Paul Koning
Sent: Saturday, March 12, 2011 17:52
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] Network status
It may have been the other way around. There were a number of DECnet
applications that started on VMS; Notes is one such. I don't remember
Phone anywhere other than VMS -- so I can't be sure about the time line
for that one.
paul
On Mar 12, 2011, at 2:15 AM, <hvlems at zonnet.nl> wrote:
Phone is available on RSX-11. So it is safe to assume that the VMS
version got ported from RSX-11. Which dates Phone somewhere in the mid
70's, right?
Coming from punched cards and papertape anything on a screen seems
modern :-) Hans ------Origineel bericht------ Van:Bob Armstrong
Afzender:owner-hecnet at Update.UU.SE
Aan: hecnet at Update.UU.SE
Beantwoorden:hecnet at Update.UU.SE
Onderwerp: RE: [HECnet] Network status
Verzonden: 11 maart 2011 17:23
Want any hosts added to the phone directory?
No, I actually prefer email. I'm not really into the this whole
chat/texting/instant messaging/tweeting thing. Guess I'm just old
fashioned.
But then I wouldn't be here on this list if I wasn't :-)
Bob
Verzonden vanaf mijn draadloze BlackBerry(r)-toestel
It may have been the other way around. There were a number of DECnet applications that started on VMS; Notes is one such. I don't remember Phone anywhere other than VMS -- so I can't be sure about the time line for that one.
paul
On Mar 12, 2011, at 2:15 AM, <hvlems at zonnet.nl> wrote:
Phone is available on RSX-11. So it is safe to assume that the VMS version got ported from RSX-11. Which dates Phone somewhere in the mid 70's, right?
Coming from punched cards and papertape anything on a screen seems modern :-)
Hans
------Origineel bericht------
Van:Bob Armstrong
Afzender:owner-hecnet at Update.UU.SE
Aan: hecnet at Update.UU.SE
Beantwoorden:hecnet at Update.UU.SE
Onderwerp: RE: [HECnet] Network status
Verzonden: 11 maart 2011 17:23
Want any hosts added to the phone directory?
No, I actually prefer email. I'm not really into the this whole
chat/texting/instant messaging/tweeting thing. Guess I'm just old
fashioned.
But then I wouldn't be here on this list if I wasn't :-)
Bob
Verzonden vanaf mijn draadloze BlackBerry -toestel
On 2011-03-12 08:15, hvlems at zonnet.nl wrote:
Phone is available on RSX-11. So it is safe to assume that the VMS version got ported from RSX-11. Which dates Phone somewhere in the mid 70's, right?
Coming from punched cards and papertape anything on a screen seems modern :-)
No, I think you got that backwards.
PHONE for RSX only exists for RSX-11M-PLUS, and it's pretty buggy and limited compared to the VMS version. I would suspect the RSX version was just a quick hack to get something phone-like to also run on RSX.
Btw, PHONE also exists for TOPS-20.
Also, I believe DECnet functionality, and PHONE as such, didn't come about until a bit later than VMS got started, so by that time, very little got ported from RSX to VMS. I would suspect PHONE to be around 80 or so. RSX and VMS was pretty much independent development by then.
Johnny
Hans
------Origineel bericht------
Van:Bob Armstrong
Afzender:owner-hecnet at Update.UU.SE
Aan: hecnet at Update.UU.SE
Beantwoorden:hecnet at Update.UU.SE
Onderwerp: RE: [HECnet] Network status
Verzonden: 11 maart 2011 17:23
Want any hosts added to the phone directory?
No, I actually prefer email. I'm not really into the this whole
chat/texting/instant messaging/tweeting thing. Guess I'm just old
fashioned.
But then I wouldn't be here on this list if I wasn't :-)
Bob
Verzonden vanaf mijn draadloze BlackBerry -toestel
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
Phone is available on RSX-11. So it is safe to assume that the VMS version got ported from RSX-11. Which dates Phone somewhere in the mid 70's, right?
Coming from punched cards and papertape anything on a screen seems modern :-)
Hans
------Origineel bericht------
Van:Bob Armstrong
Afzender:owner-hecnet at Update.UU.SE
Aan: hecnet at Update.UU.SE
Beantwoorden:hecnet at Update.UU.SE
Onderwerp: RE: [HECnet] Network status
Verzonden: 11 maart 2011 17:23
Want any hosts added to the phone directory?
No, I actually prefer email. I'm not really into the this whole
chat/texting/instant messaging/tweeting thing. Guess I'm just old
fashioned.
But then I wouldn't be here on this list if I wasn't :-)
Bob
Verzonden vanaf mijn draadloze BlackBerry -toestel
Maybe it's the web-enabled directory that's the thing.. :)
But it's pretty Web 0.2, nothing fancy.
Sampsa
On 11 Mar 2011, at 23:38, John Wilson wrote:
I love that you can say that about something that's from the 1970s
(right? early 80s at least, and of course there were similar things
on other systems well before PHONE). It's STILL too newfangled!
John Wilson
D Bit
From: "Bob Armstrong" <bob at jfcl.com>
Want any hosts added to the phone directory?
No, I actually prefer email. I'm not really into the this whole
chat/texting/instant messaging/tweeting thing. Guess I'm just old
fashioned.
I love that you can say that about something that's from the 1970s
(right? early 80s at least, and of course there were similar things
on other systems well before PHONE). It's STILL too newfangled!
John Wilson
D Bit
Want any hosts added to the phone directory?
No, I actually prefer email. I'm not really into the this whole
chat/texting/instant messaging/tweeting thing. Guess I'm just old
fashioned.
But then I wouldn't be here on this list if I wasn't :-)
Bob