Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #5497

CP/M COBOL for the Apple ][ - Please Help

Newsgroups comp.sys.apple2.programmer
Date 2020-04-16 07:33 -0700
Message-ID <21343fcf-e1d8-4ce8-88fc-dd159339fc99@googlegroups.com> (permalink)
Subject CP/M COBOL for the Apple ][ - Please Help
From m.omalley.au@gmail.com

Show all headers | View raw


Tracked down CP/M COBOL, got it loaded under AppleWin, but having trouble compiling programs.

CP/M COBOL comes on 2 disk images:
* CPM_COBOL-80_A.dsk
* CPM_COBOL-80_B.dsk

Disk A: contains: linker (L80.com), Macro assembler (M80.com), cross reference map creator (CREF80.com) and includes 2 cobol source files: SQUAREO.cob and CRTest.cob.

Disk B: contains the cobol compiler (COBOL.COM) and 4 overlay (OVR) files.

This setup brings back memories of the MS-DOS tools I used to compile programs (especially Fortran and COBOL) back in the early 1980's.  Everything looks complete.

Assume I need to run COBOL.COM to compile the COB source file to generate some kind of REL file, and then L80 linker to create a COM file.  (Not sure how the Macro Assembler M80 fits into the chain yet, but it's got to be before before the linker, L80).

Nothing I have tried so far is working ...  here's some of the commands I have tried just for the COBOL.com:

A>B:COBOL A:SQUAREO.cob
?command error
COBOL-80 v4.01 3-Oct-80  Copyright 1979,80 Microsoft
*

A>B:COBOL A:SQUAREO
(same result as above)

B:
B>COBOL A:SQUAREO
(same result as above)

B>COBOL A:SQUAREO.cob
(same result as above)

I've tracked down user manual (Microsoft_COBOL-80_1978.pdf) and had a good read of the relevant parts, but the compile and link examples are for Fortran not COBOL (in a COBOL manual !!).

Can anyone shed light on what I need to do ?

TIA,

Moose
Moose's Software Valley (since July, 1996)

Back to comp.sys.apple2.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

CP/M COBOL for the Apple ][ - Please Help m.omalley.au@gmail.com - 2020-04-16 07:33 -0700
  Re: CP/M COBOL for the Apple ][ - Please Help James Davis <JPD.Enterprises@outlook.com> - 2020-04-17 00:33 -0700
    Re: CP/M COBOL for the Apple ][ - Please Help James Davis <JPD.Enterprises@outlook.com> - 2020-04-17 00:43 -0700
      Re: CP/M COBOL for the Apple ][ - Please Help James Davis <JPD.Enterprises@outlook.com> - 2020-04-17 00:46 -0700
        Re: CP/M COBOL for the Apple ][ - Please Help m.omalley.au@gmail.com - 2020-04-17 03:17 -0700
    Re: CP/M COBOL for the Apple ][ - Please Help m.omalley.au@gmail.com - 2020-04-17 03:19 -0700
      Re: CP/M COBOL for the Apple ][ - Please Help gids.rs@sasktel.net - 2020-04-17 11:28 -0700
        Re: CP/M COBOL for the Apple ][ - Please Help awanderin <awanderin@gmail.com> - 2020-04-17 17:30 -0600
          Re: CP/M COBOL for the Apple ][ - Please Help Antoine Vignau <ntn.vignau@gmail.com> - 2020-04-17 18:55 -0700
        Re: CP/M COBOL for the Apple ][ - Please Help m.omalley.au@gmail.com - 2020-04-22 06:12 -0700
  Re: CP/M COBOL for the Apple ][ - Please Help djay <geewilly@netzero.net> - 2020-04-27 16:16 -0700
    Re: CP/M COBOL for the Apple ][ - Please Help djay <geewilly@netzero.net> - 2020-04-27 16:49 -0700
      Re: CP/M COBOL for the Apple ][ - Please Help m.omalley.au@gmail.com - 2020-05-02 05:57 -0700
  Re: CP/M COBOL for the Apple ][ - Please Help gids.rs@sasktel.net - 2020-04-28 12:09 -0700
    Re: CP/M COBOL for the Apple ][ - Please Help gids.rs@sasktel.net - 2020-04-28 12:34 -0700
      Re: CP/M COBOL for the Apple ][ - Please Help m.omalley.au@gmail.com - 2020-05-02 05:37 -0700

csiph-web