RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Service_International 9

Programmer's Reference Manuals
» Part 16 – Service Calls
» Service_International
» Service_International 9

Service_International 9

(Service &43)
Entry
R1 67 (&43)
R2 9
R3 Country number
R4 Pointer to buffer
R5 Length of buffer
Exit
R1 0 to claim service, else preserved
R2 Preserved
R3 Preserved
R4 Preserved
R5 Number of characters put into buffer, or preserved if not recognised

Use

This service converts a country number to the 2 letter abbreviation specified in ISO3166-1. Conventionally, this is the country’s top level domain name.

Notes

The UK uses ‘uk’ in preference to its allocated ‘gb’ abbreviation.

If a module provides additional countries it should check this service – if the number matches one provided by the module it should claim this service.

See also

  • Service Calls
  • Service_International
  • Territory Numbers
Created on January 27, 2012 21:37:59 by Sprow (202)? (91.85.34.252)
Edit | Views: Print | Source | Linked from: Service_International

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
  • Export
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys