Re: [Simh] PDP-11 linux cross-assembler
2.11BSD's assembler, written in C, could be ported to gcc with some mechanical effort to turn the old KR C to something that gcc only gripes about but will compile. -Original Message- From: simh-boun...@trailing-edge.com [mailto:simh-boun...@trailing-edge.com] On Behalf Of Jordi Guillaumes i Pons Sent: Thursday, July 19, 2012 9:15 AM To: simh@trailing-edge.com Subject: [Simh] PDP-11 linux cross-assembler Hello, I'm looking for a PDP-11 cross-assembler executable under linux/unix. I tried to generate a pdp11 target for gnu gas, but although the assembler seems to work, the linker does not understand the resulting object and aborts. My need (to speak about needing something in a hobbyist environment is always relative) is to be able to generate binary/absolute PDP11 machine code to be directly loaded in the simh simulator via the load command. A C cross-compiler would also be nice to have, but at this moment I'm focused in assembly code. Do you know about the existance of such a beast? (If there is no unix cross-compiler, my preferences would be, in order, VMS and Windows) ___ 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] PDP-11 linux cross-assembler
Richard Krebhiel (sp?) wrote a version of MACRO-11 in generic C. I thought it was part of the simh tools. I know it works under Windows - I'd be surprised if it didn't work (or couldn't easily be made to work) under Linux. Bob Armstrong -Original Message- From: simh-boun...@trailing-edge.com [mailto:simh-boun...@trailing-edge.com] On Behalf Of Shoppa, Tim Sent: Thursday, July 19, 2012 6:19 AM To: Jordi Guillaumes i Pons; simh@trailing-edge.com Subject: Re: [Simh] PDP-11 linux cross-assembler 2.11BSD's assembler, written in C, could be ported to gcc with some mechanical effort to turn the old KR C to something that gcc only gripes about but will compile. ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] Simh Digest, Vol 104, Issue 20
As far as I know, VAX/VMS comes with the PDP-11 Macro-11 assembler. It is on our (real) OpenVMS 6.2 system: BAKER TONGA dir sys$system:*mac*.* Directory SYS$COMMON:[SYSEXE] MACRO32.EXE;1209/210 15-MAY-1995 11:14:02.92 MACX_DECTERM.COM;4 3/719-JUL-1994 10:35:38.31 MACX_MODMAP.COM;9 16/216-OCT-1998 17:32:13.00 REMACP.EXE;1 14/21 15-MAY-1995 11:13:26.73 Total of 4 files, 242/259 blocks. Directory SYS$COMMON:[001054] MAC.EXE;1 96/983-MAY-1988 04:29:22.45 Total of 1 file, 96/98 blocks. Grand total of 2 directories, 5 files, 338/357 blocks. BAKER TONGA run sys$system:mac MAC Larry Baker US Geological Survey 650-329-5608 ba...@usgs.gov On 19 Jul 2012, at 9:00 AM, simh-requ...@trailing-edge.com wrote: -- Message: 1 Date: Thu, 19 Jul 2012 15:14:48 +0200 From: Jordi Guillaumes i Pons j...@jordi.guillaumes.name To: simh@trailing-edge.com Subject: [Simh] PDP-11 linux cross-assembler Message-ID: 50080848.7090...@jordi.guillaumes.name Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello, I'm looking for a PDP-11 cross-assembler executable under linux/unix. I tried to generate a pdp11 target for gnu gas, but although the assembler seems to work, the linker does not understand the resulting object and aborts. My need (to speak about needing something in a hobbyist environment is always relative) is to be able to generate binary/absolute PDP11 machine code to be directly loaded in the simh simulator via the load command. A C cross-compiler would also be nice to have, but at this moment I'm focused in assembly code. Do you know about the existance of such a beast? (If there is no unix cross-compiler, my preferences would be, in order, VMS and Windows) -- ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] PDP-11 linux cross-assembler
You could always use one of the research unix assemblers. If you use Warren Toomey's Apout tool you can run them directly from the command line in any modern unix. For example we used it to build the 1st ed unix kernel with it: http://code.google.com/p/unix-jun72/source/browse/trunk/build/Makefile see http://code.google.com/p/unix-jun72/source/browse/trunk/tools/apout/README The unix assemblers output machine code with a very small and simple header on the front of it. It would be very easy to write a program to parse the header, extract the bytes you want and spit out data suitable for loading. Or you can just leave the header on, since it's executable. On Thu, Jul 19, 2012 at 3:14 AM, Jordi Guillaumes i Pons j...@jordi.guillaumes.name wrote: Hello, I'm looking for a PDP-11 cross-assembler executable under linux/unix. I tried to generate a pdp11 target for gnu gas, but although the assembler seems to work, the linker does not understand the resulting object and aborts. My need (to speak about needing something in a hobbyist environment is always relative) is to be able to generate binary/absolute PDP11 machine code to be directly loaded in the simh simulator via the load command. A C cross-compiler would also be nice to have, but at this moment I'm focused in assembly code. Do you know about the existance of such a beast? (If there is no unix cross-compiler, my preferences would be, in order, VMS and Windows) ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh -- Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] PDP-11 linux cross-assembler
I got one copy in my hard disk of macro-11, plus the source code. It's dated in 2001 but I suppose you can locate it yet inside the SIMH Tools package. -- Saludos - Greetings - Freundliche Grüße - Salutations -- *Sergio Pedraja* twitter: @sergio_pedraja skype: Sergio Pedraja - No crea todo lo que ve, ni crea que está viéndolo todo 2012/7/19 Bob Armstrong b...@jfcl.com Richard Krebhiel (sp?) wrote a version of MACRO-11 in generic C. I thought it was part of the simh tools. I know it works under Windows - I'd be surprised if it didn't work (or couldn't easily be made to work) under Linux. Bob Armstrong -Original Message- From: simh-boun...@trailing-edge.com [mailto: simh-boun...@trailing-edge.com] On Behalf Of Shoppa, Tim Sent: Thursday, July 19, 2012 6:19 AM To: Jordi Guillaumes i Pons; simh@trailing-edge.com Subject: Re: [Simh] PDP-11 linux cross-assembler 2.11BSD's assembler, written in C, could be ported to gcc with some mechanical effort to turn the old KR C to something that gcc only gripes about but will compile. ___ 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] Data General - MV
You might be interested in knowing that I have an Eagle – an MV/8000 which can be seen at http://mv8000.org. /Tommie ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh
Re: [Simh] Simh Digest, Vol 104, Issue 20
Hello, From: Jordi Guillaumes i Pons j...@jordi.guillaumes.name I'm looking for a PDP-11 cross-assembler executable under linux/unix. I tried to generate a pdp11 target for gnu gas, but although the assembler seems to work, the linker does not understand the resulting object and aborts. My need (to speak about needing something in a hobbyist environment is always relative) is to be able to generate binary/absolute PDP11 machine code to be directly loaded in the simh simulator via the load command. A C cross-compiler would also be nice to have, but at this moment I'm focused in assembly code. Do you know about the existance of such a beast? You can use a cross-compiler toolchain from BKUNIX project: http://bkunix.svn.sourceforge.net/viewvc/bkunix/trunk/cross-devel/ It includes: as - ATT assembler ccom - Ritchie's C compiler mip, pcc - Johnson's portable C compiler cpp - C preprocessor c2 - optimizer for assembler output of C compilers cc - compiler front ends cc and pcc ld - linker, archiver, disassembler, and other a.out utilities crt - run time library for long and unsigned arithmetic ___ Regards, Serge Vakulenko ___ Simh mailing list Simh@trailing-edge.com http://mailman.trailing-edge.com/mailman/listinfo/simh