Difference between revisions of "OSBYTE &A4"

From BeebWiki
Jump to: navigation, search
m (1 revision)
m (1 revision)
(No difference)

Revision as of 01:13, 8 March 2015

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)