The rules are spelled out in the Motorcycling Australia Manual of Motorsport.
http://www.ma.org.au/index.php?id=1770They are a bit difficult to understand/confusing at times, so here's the basics:
There's categories for pre-60, pre-65, pre-70, pre-75, pre-78, pre-85 and pre-90 dirt bikes - they're all fairly self explanatory, although it's worth remembering that it's "
pre-xx" - so you need a 1977 or older model to be legal for the pre-78 class.
Evo is for bikes that have drum brakes, air cooling and non-linkage rear suspension,
regardless of date of manufacture - so a 2002 DT175 is a legal Evo bike. In reality, the majority of bikes in Evo are pre-82ish, so the class broadly represents that era.
The bike's age is defined by its newest major component. For example, a 1984 model fitted with 1988 suspension is not legal for pre-85 (but is legal for pre-90).
There's a degree of 'fat' in the rules, particularly at club level. If an otherwise legal bike happens to turn up with a later model rear hub (for example) it is highly unlikely that anyone will raise an eyebrow.
Similarly, there's a lot of ambiguity in the details of the rules, which will be debated endlessly on these forums... (chances are, this thread will become one of those endless debates). Don't worry about those details for now. The answer to your question is simple:
An 82 XR500 is a pre-85 bike. The 1980 engine doesn't change that.
Welcome aboard.