# TODO svshape offset concept
- svshape2 offs,yx,rmm,SVd,sk,mm
+ svshape2 offs,inv,yx,rmm,SVd,sk,mm
-| 0.5|6..9 |10|11.15 |16..20 | 21..25 | 25 | 26..31| name |
-| -- |---- |--| --- | ----- | ------ | -- | ------| -------- |
-|OPCD| offs|yx| rmm | SVd | 100/mm | sk | XO | svshape |
+| 0.5|6..8|9 |10|11.15 |16..20 | 21..25 | 25 | 26..31| name |
+| -- |----|---|--| --- | ----- | ------ | -- | ------| -------- |
+|OPCD|offs|inv|yx| rmm | SVd | 100/mm | sk | XO | svshape |
-* **offs** (4 bits) - unsigned offset
+* **offs** (3 bits) - unsigned offset
* **yx** (1 bit) - swap XY to YX
+* **inv** (1 bit) inverts X if yx=0, Y if yx=1
* **SVd** dimension size
* **rmm** REMAP mask
* **mm** mask mode
-* **sk** skip
+* **sk** (1 bit) skips 1st dimension if set
-| SVRM | Remap Mode description |
-| ------ | -----------------------|
-| 0b1000 | mm=0 |
-| 0b1001 | mm=1 |
-
- svindex SVG,rmm,SVd,ew,yx,mr,sk
-
-| 0.5|6.10 |11.15 |16.20 | 21..25 | 26..31| name | Form |
-| -- | -- | --- | ---- | ----------- | ------| -------- | ---- |
-|OPCD| SVG | rmm | SVd | ew/yx/mm/sk | XO | svindex | SVI-Form |
+Dimensions are calculated exactly as `svindex`. `rmm` and
+`mm` are as per `svindex`.