It isn't the latest and greatest, but in August I uploaded an lCDebug diskette image to our server with the prerequisite .htaccess
file to allow pcjs.org to access it. The file is at https://pushbx.org/ecm/test/20220819/bcdebug.img
To allow pcjs.org to load from our server, a cross-site load needs to be enabled. This is the required .htaccess
file's contents (in the same directory):
Header add Access-Control-Allow-Origin "*" Header add Access-Control-Allow-Methods: "GET"
As an example:
B:
dir
command to display the diskette contentslcdebug
command
However, the COMPAQ machine that I used for the first example doesn't work with this particular image's lDOS boot sector loader, because its function 13.08 reports 000Fh (15) for the CHS geometry sectors (stored in word [ss:7C18h]
), even though the diskette actually needs 0012h (18) to properly load from it. The only fix for this on our part would be to build lDOS boot.asm without querying for geometry. (However, both iniload (unless built with -D_QUERY_GEOMETRY=0) and lDebug itself also will query for the geometry.) The ROM-BIOS should provide a way to configure this, though if this machine does allow this I do not know how to do it.
To boot it on a machine expecting 1440 KiB 90mm diskettes, do this:
Discussion
Actually, serial I/O can be made to work within booted or application lCDebug in pcjs.org as well. Open the PCjs Debugger; it will listen on the COM1 serial port. Enter the following commands to lDebug to use that port:
The KEEP prompt appears in the PCjs Debugger terminal window. Focus this window and input "KEEP" followed by Enter. Now you're controlling lDebug via serial I/O. (The PCjs Debugger window doesn't seem to support Carriage Return to reset the current line cursor position though.)
CR problem reported at https://github.com/jeffpar/pcjs/issues/56