<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 1: Saving "lock&amp;fuse" lockbits are inverted</title><link href="https://sourceforge.net/p/ispprogrammer/bugs/1/" rel="alternate"/><link href="https://sourceforge.net/p/ispprogrammer/bugs/1/feed.atom" rel="self"/><id>https://sourceforge.net/p/ispprogrammer/bugs/1/</id><updated>2009-12-09T11:26:09Z</updated><subtitle>Recent changes to 1: Saving "lock&amp;fuse" lockbits are inverted</subtitle><entry><title>Saving "lock&amp;fuse" lockbits are inverted</title><link href="https://sourceforge.net/p/ispprogrammer/bugs/1/" rel="alternate"/><published>2009-12-09T11:26:09Z</published><updated>2009-12-09T11:26:09Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net70262060a90d5ff583bb50635957f72e7dba44a2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When saving a lock &amp;amp; fuse file lock bits are inverted (i.e. no check means 0xFF but 0x00 is saved). So when loaded again, checks are thus inverted (all checked).&lt;br /&gt;
I already have found a solution:&lt;br /&gt;
file fusewnd.pas, line 425, action : remove the XOR; line should read: LockHexLabel.Caption := '0x' + IntToHex (GetLockBitsVal, 2);&lt;br /&gt;
file fusewnd.pas, line 259, action : add a NOT; line should read:       if not c.Checked then&lt;br /&gt;
this way it works...&lt;br /&gt;
Regards, Valerio&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>