|
|
|
|
|
by dmeybohm
1529 days ago
|
|
I wrote a utility to copy small files from Linux -> DOS over a LapLink cable. https://github.com/dmeybohm/ppcopy I used it to fix a Windows 98 laptop that wasn't booting all the way to Windows. The would boot to a DOS prompt only, there was no CD-ROM driver, and I only had a Windows 98 install CD. So, there was no to re-install Windows to fix it. So I wrote the assembly copier for the parallel port. I think it was about 200-500 bytes. Then I used dos DEBUG.EXE to write the hexadecimal code for the program into memory and then write the .COM program to disk. Surprisingly, I didn't make any mistakes (or any that mattered...) and it worked the first time. I had also done a checksum in the copy program in case I screwed it up. But it took about an hour to write the program into DOS debug.exe. |
|
Anyway, was there a chance you posted that story to Reddit or somewhere else previously? I'm sure I've read it before.