From: Alan Cox Date: Wed, 3 Jun 2015 22:15:17 +0000 (+0100) Subject: dragon-nx-32: tidy up machine identification X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ad2483214ab511f53b6453c2748b73754972cca4;p=FUZIX.git dragon-nx-32: tidy up machine identification Confirmed COCO and COCO3 idents --- diff --git a/Kernel/platform-dragon-nx32/crt0.s b/Kernel/platform-dragon-nx32/crt0.s index 24501b22..43c09bc7 100644 --- a/Kernel/platform-dragon-nx32/crt0.s +++ b/Kernel/platform-dragon-nx32/crt0.s @@ -33,9 +33,12 @@ bss_wipe: sta ,x+ cmpb #0x49 ; Dragon32 beq identified inca - cmpb #0x50 ; COCO3 + cmpb #0x31 ; COCO1/2 beq identified - inca ; Guess it's a COCO ? + inca + cmpb #0x32 ; COCO3 + beq identified + inca ; Beats me identified: sta _system_id ; what sort of a box are we ? jsr init_early