Difference between revisions of "OSBYTE &A4"

From BeebWiki
Jump to: navigation, search
m (moved OSBYTE A4 to OSBYTE &A4)
 
m (1 revision)
(No difference)

Revision as of 23:58, 28 August 2013

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)