chain.c: change file/sect/hand area handling logic, add 'hptr' option
commitb7aa5fbdee4d97c9a91a6ec04e073b2486bbd3db
authorMichal Soltys <soltys@ziu.info>
Sat, 21 Aug 2010 17:33:42 +0000 (21 19:33 +0200)
committerMichal Soltys <soltys@ziu.info>
Tue, 28 Sep 2010 07:32:52 +0000 (28 09:32 +0200)
tree24dbee2bb8023b2724621f61fe5fe6d4c7f9094a
parentda7f1f1f5ad7a20fec025299d10acc9376bf7f90
chain.c: change file/sect/hand area handling logic, add 'hptr' option

The logic behind file/sect/hand area handling is more flexible
now. Furthermore, a user can explicitly control where ds:si/ds:bp
should point during chainloading.

Other misc. changes:

- registry setup is more conservative
- 'if' style

Signed-off-by: Michal Soltys <soltys@ziu.info>
com32/chain/chain.c