1962, vulgar or working pronunciation of hoy a call or shout to attract attention (compare ahoy).
Entries linking to oi
ahoy interj.
also a hoy, 1751, from a (probably merely a preliminary sound) + hoy, a nautical call used in hauling. The original form of the greeting seems to have been ho, the ship ahoy!