GAME ID CODES (CARTRIDGE ID NUMBERS)
------------------------------------
These codes can be determined from the xband OS to see which patch needs to be loaded from the rom into the sram (into fred)
so the game can be run properly.

39677bdb        NBA(r) JAM(tm) [rev2]

4d1c4e1d	Super Street Fighter II(tm)

8f6b9f70        NHL(r) Hockey '95(tm)

c4cddf0c        Mortal Kombat(tm) II

e30c296e        NBA(r) JAM(tm) [rev1]


Code to get ID from sega game cartridge
---------------------------------------

cartidstart:	equ	$180
cartidend:	equ	$190

	lea	cartidstart.w,a0
	lea	cartidend.w,a1
skip1:	cmpi.b	#'-',(a0)+
	beq.s	foundminus
	cmpa.l	a1,a0
	bcs.s	skip1
foundminus:	cmpi.b	#'0',(a0)+
	beq.s	foundminus
	subq	#1,a0
	moveq	#0,d7
	moveq	#16,d7
getdigits:	moveq	#0,d0
	move.b	(a0)+,d0
	subi.b	#'0',d0
	bcs.s	gotdigits
	cmpi.b	#10,d0
	bcc.s	gotdigits
	lsl.l	d6,d0
	or.l	d0,d7
	subq	#4,d6
	bra.s	getdigits
gotdigits:
        jsr     (dial modem code or wait for call)



The xband modem contains 64K of battery backed RAM (in the rest of this
document, RAM always refers to this) and 512K of ROM (ROM always refers to
this). These both can appear within the 4 megabyte address space of the
Genesis. The CARTRIDGE can also appear in this space. The xband modem contains
the FRED chip and this is responsible for all the memory mapping functions
of the modem.
