Sam Coupe Scrapbook

Technical Section
- MasterDOS Hook Codes

Information provided by: Frode Tennebo

MasterDOS provides hook (command) codes which enable the machine code programmer to use the DOS's facilities without having to return to or call SAM BASIC.

If an error occurs, MasterDOS puts an error number into the A register; otherwise the A register will be zero.

The Hook Codes currently available are: