[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Going about this the hard way, Two RWTS



Lyrical Nanoha wrote:
On Mon, 9 Jan 2006, Michael J. Mahon wrote:



Lyrical Nanoha wrote:

I've been trying to do some demuffin tricks with Castle Wolfenstein just for practice and for some reason the method in the docs doesn't work. So I'm going to have to go this brute-force and really don't know what I'm doing.

OK, here's the thing. I can use emu2 to put a binary program onto a scratch disk image I have. I need to figure out some way to relocate a DOS 3.2 (!) RWTS somewhere and do a sector-by-sector copy by reading with the native RWTS and writing with the relocated one...any idea how I could do this?


A common way to do this does not involve relocation at all--you just
swap the RWTSs in memory and run them where they expected to be!

If you swap/read track/swap/write track the swap time is quite
tolerable.


I figured out how to do that, but it still leaves me with the fact that I'm using DOS 3.1 and many of the memory locations are different. I even got this nonstandard DOS to read DOS 3.3 disks.

You'll need to swap the appropriate parameters, too.

This is a standard cracking trick, usually called a "swap controller"
when used in Super IOB (though it's geared to 3.3 and variants).

-michael

Music synthesis for 8-bit Apple II's!
Home page:  http://members.aol.com/MJMahon/

"The wastebasket is our most important design
tool--and it is seriously underused."