blog:pushbx:2022:1111_lcdebug_image_for_use_with_pcjs.org
This is an old revision of the document!
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:
- 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
dircommand to display the diskette contents - Enter
lcdebugcommand - Have fun!
blog/pushbx/2022/1111_lcdebug_image_for_use_with_pcjs.org.1668193913.txt.gz · Last modified: by ecm

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