OSBYTE &A4

From BeebWiki
Revision as of 14:23, 20 July 2009 by Jgharston (talk) (moved OSBYTE A4 to OSBYTE &A4)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OSBYTE &A4 (164) - Check Processor Type

   X and Y point to the code to check
   If the value at offset &06 is not a language ROM the error 'This is not a
   language' is raised
   If the value at offset &06 (bits 0..3) is not 6502 code or BASIC then the 
   error 'I cannot run this code' is raised. Other processors should check
   for their appropriate CPU value in bits 0..3.

See Also

Jgharston 22:17, 26 May 2009 (UTC)