If you want to write “new” software for your old LGP-30, try this:
The cross assembler is written in Python. The pre-built executable in the dist subdirectory runs under Windows. You can rebuild from source for Linux. The docs subdirectory contains a pretty good manual, and the demo_programs subdirectory contains assembly code examples, of which the helloworld program showcases the cross assembler best.
You can convert the cross assembled binaries to LGP-30 tape format using this:
To complete this suite, there is also an LGP-30 simulator, also written in Python, complete with good documentation and some LGP-30 programs. But note that this program only runs under Windows:
Earlier this year I released a web-based emulator for the General Precision LGP-21 in concert with the restoration of an LGP-21 by David Lovett on the Usagi Electric YouTube channel. The emulator is designed to be cycle-accurate and run at the speed of a real LGP-21 – which is really slow.
You can run the emulator directly from its hosting site at the first link above or download the source from its GitHub repository and run it under another web server. Only a minimal web server is needed, but the emulator must be loaded over HTTP. Once loaded, it does not use the web server further. See the wiki for details.
As part of the restoration project, Rhys Weatherly wrote a Python-based cross assembler and emulator for the LGP-21, along with some sample programs, which are available on GitHub. Bill Kuker also wrote some new programs for the LGP-21, including an implementation of the Mandelbrot set, which are available on GitHub as well.
A number of legacy paper-tape software images are available from bitsavers.org and the Technikum29 Museum. Jürgen Müller has created an FPGA replica of the LGP-21 and has links to some documents and software on his web site.
Most instructions for the LGP-21 are the same as for the LGP-30, although a few LGP-21 instructions have additional variants. The I/O instructions work differently, however, and will require conversion between the two machines. LGP-21 I/O is simpler than that for the LGP-30, but still very primitive.