OK, time for a new version of OPIND. Lots and lots of bugs fixed, mainly in the location, display and editing of index file extension headers, and file headers in general.
Also added some new features. Suzuran from the Usagi Discord suggested adding a CLEAR and FILL block capability. I added that capability, although with a different syntax than he suggested. Thanks for the suggestion, Suzuran.
ZILCH - puts all 0's in the Current Block (the word clear was already used for clearing bits in the index file bitmap).
ZILCH BLOCK 123 - puts all zeroes in block 123, and writes it to disk
FILL WITH 123 - FILLS Current Block with byte 123.
FILL BLOCK 123 WITH 321 - fills block 123 with value 321 and writes to disk
I also changed the command input prompt, from Yes?> to one that displays the current input radix, HEX>, DEC> or OCT>. This was done because it's easy to forget what the input radix is currently set to, and getting it wrong can cause some real damage.
Here it is...
It's assembled and built the same as before
>MAC OPIND=OPIND
>TKB OPIND/PR:0=OPIND