View Single Post
Old 20 October 2016, 00:10   #3
Registered User
Join Date: Aug 2004
Posts: 2,829
DOS is opened in the initialisation routine. If open fails probably the filesystem won't work. Elsewhere in the code it reads dl_Root from DosBase then references rn_Info from that, returning a pointer to di_DevInfo. The subroutine which does that is called from several places.

On Kickstart 1.0 the call to the "new" OpenLibrary (-$228) will probably fall through to the jump for GetCC. On Kickstart 27.6 it will probably fall through to the jump for RawDoFmt.

It should be very easy to patch; just change -$228 to -$198 for OpenLibrary->OldOpenLibrary. And bypass the requester routine if on a pre-1.0 Kickstart. Those Kickstarts are probably crashy enough already...
mark_k is offline  
Page generated in 0.08565 seconds with 9 queries