====== lCDebug image for use with pcjs.org ====== 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: - Load https://www.pcjs.org/configs/pcx86/machine/compaq/deskpro386/vga/2048kb/machine.xml - Input Enter twice to skip the date and time prompts - In the first dropdown, select drive "B:" - In the second dropdown scroll all the way down to "Remote Disk" - Next to the second dropdown press the "Load" button - A popup reading "Enter the URL of a remote disk image." displays - Enter the address: https://pushbx.org/ecm/test/20220819/bcdebug.img - Press "OK" - Switch the shell to drive B: by inputting the command ''B:'' - Try a ''dir'' command to display the diskette contents - Enter ''lcdebug'' command - Have fun! ===== It can be booted as well ===== 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: - Load the machine, eg from https://www.pcjs.org/software/pcx86/sys/dos/microsoft/6.22/ - Insert the image for drive A: (as above) - Press the "Ctrl-Alt-Del" button - Wait for it to load - The included Script for lDebug (.sld) file will make lCDebug try to connect to serial I/O on the COM2 port. Wait fifteen seconds for it to give up. - Have fun! {{tag>ldebug pcjs}} ~~DISCUSSION~~