[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] NewbieMiNT



On Wed, Feb 16, 2000 at 03:39:10PM +0100, Jo-Even.Skarstein@gjensidige.no wrote:

> I'm about to finish the installer for "NewbieMiNT 1.0" these days, the only
> thing left is to detect the machine it runs on (in order to install the
> correct kernel automatically). Can anybody tell me the value of the
> _MCH-cookie on the Milan and Hades? And is this cookie changed in any way on

 .if MILAN
	globl	pcibios_cookie
	move.l	#'_VDO',(a0)+
	move.l	#$00040000,(a0)+	; Milan video
	move.l	#'_MCH',(a0)+
	move.l	#$00040000,(a0)+	; Milan machine
	move.l	#'_MIL',(a0)+
	move.l	#$00000001,(a0)+	; Milan ID cookie
	move.l	#'_PCI',(a0)+
	move.l	#pcibios_cookie,(a0)+	; PCI BIOS cookie (pcibios.s)
	move.l	#'MNAM',(a0)+		; machine name cookie
	move.l	#milan_machine_txt,(a0)+
	DATA
milan_machine_txt:
	dc.b	"Milan",0
	TEXT
 .else

cu
Michael
-- 
Michael Schwingen, Ahornstrasse 36, 52074 Aachen