Why is ば in this sentence?


> そんなトコで何{なん} **ば** しよる。

I'm reading a manga and from the context of the pictures I think this sentence
reads, "What are you doing up there," but I have no idea what part ば plays.
The character speaks in a dialect so my confusion could be a result of that,
but any help would be much appreciated.![enter image description
here](https://i.stack.imgur.com/KVEMy.jpg)




[ば](https://dictionary.goo.ne.jp/leaf/dialect/3168/m1u/%E3%81%B0/) is the
accusative particle used in wide area of (northern, as I remember) Kyushu as
much as を in Standard Japanese. Etymologically it's from を + は contracted but
no longer ~~has~~ share the は sense in Standard Japanese, as we can see that
it's able to mark the question word ( _thanks to @user4092_ ).

> そんなトコで何ばしよる。

means

> そんなとこで何をしてる（んだ）。

or a bit more textbook-friendly,

> そんなところで何をしている（のだ）。




[ば](https://dictionary.goo.ne.jp/leaf/dialect/3168/m1u/%E3%81%B0/) is the
accusative particle used in wide area of (northern, as I remember) Kyushu as
much as を in Standard Japanese. Etymologically it's from を + は contracted but
no longer ~~has~~ share the は sense in Standard Japanese, as we can see that
it's able to mark the question word ( _thanks to @user4092_ ).

> そんなトコで何ばしよる。

means

> そんなとこで何をしてる（んだ）。

or a bit more textbook-friendly,

> そんなところで何をしている（のだ）。

