Page 5 of 6
Re: Patching IBM DOS 5 for the PCjr
Posted: Mon Aug 05, 2019 9:43 am
by Trixter
More details, such as what you've tried and what isn't working, is necessary to troubleshoot your issue.
Re: Patching IBM DOS 5 for the PCjr
Posted: Mon Aug 05, 2019 12:39 pm
by ZiggyTheHamster
What was happening is that it would hang, sometimes with graphic corruption, when it started to boot. I assumed it was just a boot loader issue, but it actually turned out that files on the disk were corrupted too. Something's not right with this CF card because another one works fine (I should have tried one earlier). Which is a shame, too, because this one was a SanDisk Ultra and was supposed to be highly recommended for use in retro systems, and the one that actually works is a trash class Toshiba CF card I picked up for $1.
Re: Patching IBM DOS 5 for the PCjr
Posted: Mon Aug 05, 2019 4:00 pm
by Trixter
Yeah, there are some combinations of CF cards + adapters that don't work, unfortunately. It's best to either use an industrial DOM 8GB or smaller, or just keep trying CF cards from different manufacturers, usually 2G or smaller.
Re: Patching IBM DOS 5 for the PCjr
Posted: Fri May 08, 2020 6:14 pm
by MattCarp
I’m curious, why wasn’t this a problem for pre version 5? Did earlier versions of DOS detect PCjr machines and use the value from 0415?
Re: Patching IBM DOS 5 for the PCjr
Posted: Thu Aug 13, 2020 7:29 pm
by vonhelmst
Does this also work for MS DOS 6.22?
I get an error after line D 1BF L27.
Tried with BOM, CF and 2.5 HD.
All recognized by JR-IDE BIOS.
When attempting to boot off C: it hangs at Starting MS DOS 6.22.
Thanks in advance for any assistance here.
Re: Patching IBM DOS 5 for the PCjr
Posted: Thu Aug 13, 2020 7:36 pm
by vonhelmst
I also tried the PatchDOS utility.
It succesfully patched my 5.25 6.22 boot disk and it does boot OS off floppy.
I get the following error when attemlting to patch the BOM, CF and 2.5 HD.
A fatal error has been encountered:
Boot sector read was not successful.
I did the boot sector patch, fdisk w.active part, format /s prior to the above.
Thanks again
Re: Patching IBM DOS 5 for the PCjr
Posted: Thu Aug 13, 2020 8:50 pm
by alanh
The only time I was able to successfully boot 6.22 is when I completely replaced the first 128K visible to the CPU with off-board memory and gave all the 128K on-board exclusively to the video gate array. But this isn't easy to do and breaks all sorts of software including the JR's own video BIOS. You can read more about the details in my long rant here:
viewtopic.php?f=1&t=1005#p7249
I think it has something to do with 6.22 requiring more initial memory than the 48 KB lower continuous before encountering the power-on mapping of the video frame buffer. If that is true, it might be possible to load 6.22 without my intrusive (and incompatible) mods by fixing up the BDA to show 736 KB memory and relocating the video frame buffer to +112 KB before the initial DOS entry point. You could do both in similar patch code that is posted here. Haven't tried and now my Jr is packed away for a while. The Amiga 2K needed the bench space!
Re: Patching IBM DOS 5 for the PCjr
Posted: Sun Aug 16, 2020 12:19 am
by vonhelmst
Update-
I was able to boot off 6.22 (both CF and 2.5 SSD) using my secondary system with JRExcellerator installed, PC memory mode enabled.
alanh, thank you for your reply.
Re: Patching IBM DOS 5 for the PCjr
Posted: Sun Dec 27, 2020 6:24 pm
by Brutman
I've posted detailed instructions on how to patch DOS 5 and above for the PCjr at
http://www.brutman.com/PCjr/docs/Patchi ... e_PCjr.pdf.
Re: Patching IBM DOS 5 for the PCjr
Posted: Thu Apr 07, 2022 3:21 am
by KLund1
I have read through the Mike's PDF's long process to patch 5.0. This patching is a lot of work. Many places for a simple typo that will kill the patch
Is there a place to download a copy of the already patched 5.0 disk image?
Or maybe batch file to automate the process?
Thanks