PS F:\Python\imd_cpmtools_vfii\cpmtools> python3 imd_cpmtools_vfii.py spdtab SBC548N_vector_ZCB_serialA_04_05.IMD --drive B --class 8 --step 0 --target system --out SBC548N_spdtabB8_bitstreamer_serialA_04_05.IMD --target all --skew auto                                                                                                                                                                                                                            
Found 3 SPDTAB table(s) (signature match).
#1: raw_off=0x03133  C=1 H=0  sec=7 +307 [system]
    A=0x83 (5", step=3)  B=0x83 (5", step=3)  C=0x83 (5", step=3)  D=0x83 (5", step=3)
#2: raw_off=0x3CAB3  C=26 H=1  sec=9 +179 [data]
    A=0x83 (5", step=3)  B=0x83 (5", step=3)  C=0x83 (5", step=3)  D=0x83 (5", step=3)
#3: raw_off=0x41AB3  C=29 H=0  sec=4 +179 [data]
    A=0x83 (5", step=3)  B=0x83 (5", step=3)  C=0x83 (5", step=3)  D=0x83 (5", step=3)

Patched at raw_off=0x03134  C=1 H=0  B: 0x83 (5", step=3) -> 0x00 (8", step=0) [system]
Patched at raw_off=0x3CAB4  C=26 H=1  B: 0x83 (5", step=3) -> 0x00 (8", step=0) [data]
Patched at raw_off=0x41AB4  C=29 H=0  B: 0x83 (5", step=3) -> 0x00 (8", step=0) [data]

Wrote SBC548N_spdtabB8_bitstreamer_serialA_04_05.IMD

Post-patch SPDTAB (first hit shown):
    A=0x83 (5", step=3)  B=0x00 (8", step=0)  C=0x83 (5", step=3)  D=0x83 (5", step=3)
PS F:\Python\imd_cpmtools_vfii\cpmtools> 
