There's a good explanation at http://wellgot.ca/phonetic/preface-e.htm. ('Bopomo' doesn't throw up many useful sites. Here they just call it phonetic Chinese.)

The tones are indicated by the roman diacritics after the two-part Chinese phonetic character.