@Ernest Bywater
The basic rule in the USA seems to be anything you create at work belongs to the boss unless you have a specific clause in your contract
Sort of, but not exactly. Technically it's only supposed to cover things that are related to your job duties.
However, it gets fuzzy around the edges because the rule has been gamed by unethical parties on both sides of the equation.
There are cases of corporate IT staff computer programmers using the employer's equipment and time that the employer is paying them to do the employer's work to write computer games that they fully intended to commercialize. Under US law, even without the copyright issue, this constitutes theft from the employer.
On the other end, there are less than ethical employers that have tried (usually unsuccessfully) to claim works that employees create on their own time and equipment which are clearly not job related. It should be noted that all of the cases of this that I have seen any details on have been failing companies that were either on the edge of bankruptcy or actively in bankruptcy court.
Take professional photography, if I contract and pay you to take photos the copyright belongs to me unless the contract says otherwise.
Not sure if you are saying that as being the case in Australia or the US.
That in fact is not the case in the US. The US work for hire doctrine only applies in the context of traditional employment. It would not apply in the case of a photographer working on a contract basis.
I am an IT contractor, I work as a full time salaried employee for a large contracting company. Technically, anything I create related to my job belongs to MY employer not the client unless the contract between my employer and the client specifies otherwise. In either case, it doesn't belong to me.
The client and my employer are both large corporations with dedicated legal staffs, so I don't spend a lot of time worrying about it.