pitlog
Member
Hi;
I'm running CP/M under altair-z80 on a raspberry pi zero-w, accessed via putty. It runs great, and I have a very large collection of software.
I'm in the process of building a BDOS library using Mac-80, Link-80 and Lib-80 and keep getting an "undefined global" error when linking against the still very small library. I have a set of printed docs (from the Fortran distribution) and have read them carefully to no avail. These are reference docs, though, and don't provide any working examples of what I'm trying to do. I am declaring the library calls "external" in the main program and "global" in the library source.
Have any of you seen a tutorial on how to use this stuff, or just examples of building and using a library?
Happy to upload my small programs and the commands I'm using to assemble, build the library, and link if I have to.
Cheers,
Tom
I'm running CP/M under altair-z80 on a raspberry pi zero-w, accessed via putty. It runs great, and I have a very large collection of software.
I'm in the process of building a BDOS library using Mac-80, Link-80 and Lib-80 and keep getting an "undefined global" error when linking against the still very small library. I have a set of printed docs (from the Fortran distribution) and have read them carefully to no avail. These are reference docs, though, and don't provide any working examples of what I'm trying to do. I am declaring the library calls "external" in the main program and "global" in the library source.
Have any of you seen a tutorial on how to use this stuff, or just examples of building and using a library?
Happy to upload my small programs and the commands I'm using to assemble, build the library, and link if I have to.
Cheers,
Tom