public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca1b11f
)
dragon-nx-32: tidy up machine identification
author
Alan Cox
<alan@linux.intel.com>
Wed, 3 Jun 2015 22:15:17 +0000
(23:15 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 3 Jun 2015 22:15:17 +0000
(23:15 +0100)
Confirmed COCO and COCO3 idents
Kernel/platform-dragon-nx32/crt0.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-dragon-nx32/crt0.s
b/Kernel/platform-dragon-nx32/crt0.s
index
24501b2
..
43c09bc
100644
(file)
--- 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 #0x
50 ; COCO3
+ cmpb #0x
31 ; 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