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

Re: help decoding address fields



jonnosan <jonnosan@gmail.com> wrote:
> I am looking to extend my dsk parsing code to deal with .nib images.
> I'm having some problems trying to understand how the nibble encoding
> works.

Some C++ code for sector decoding and encoding:

http://ciderpress.cvs.sourceforge.net/ciderpress/CiderPress/diskimg/Nibble.cpp?revision=1.1.1.1&view=markup

See DiskImg::DecodeAddr() and the ConvFrom44() inline function declared in
the header file:

http://ciderpress.cvs.sourceforge.net/ciderpress/CiderPress/diskimg/DiskImg.h?revision=1.1.1.1&view=markup


These were created by figuring out what the DOS 3.2/3.3 RWTS routines did.

-- 
Send mail to fadden@fadden.com (Andy McFadden) - http://www.fadden.com/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/