	dc.l $00000000,	EntryPoint,	ErrorTrap,	ErrorTrap	;00
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;10
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;20
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;30
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;40
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;50
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;60
	dc.l HInt,	ErrorTrap,	VInt,		ErrorTrap	;70
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;80
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;90
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;A0
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;B0
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;C0
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;D0
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;E0
	dc.l ErrorTrap,	ErrorTrap,	ErrorTrap,	ErrorTrap	;F0

check_sum equ	$0000
;------------------------------------------------------------------------
	dc.b	'SEGA GENESIS    '	;100
	dc.b	'(C)T-xx 2008.06 '	;110 release year.month
	dc.b	'VDP Sample Statu'	;120 Japan title
	dc.b	's Register      '	;130
	dc.b	'                '	;140
	dc.b	'VDP Sample Statu'	;150 US title
	dc.b	's Register      '	;160
	dc.b	'                '	;170
	dc.b	'GM T-XXXXXX XX'  	;180 product #, version
	dc.w	check_sum         	;18E check sum
	dc.b	'J               '	;190 controller
	dc.l	$00000000,$0007ffff,$00ff0000,$00ffffff		;1A0
	dc.b	'                '	;1B0
	dc.b	'                '	;1C0
	dc.b	'                '	;1D0
	dc.b	'                '	;1E0
	dc.b	'JUE             '	;1F0


ErrorTrap:
	jmp	ErrorTrap
HInt:
VInt:
	rte

EntryPoint:
	movea.l #$C00004,A0

	move.w #$8004,$C00004	;Set the undocumented bit to enabled
	move.w #$8144,$C00004	;Enable display/Mode 5/V28
;	move.w #$814C,$C00004	;Enable display/Mode 5/V30
	move.w #$8C00,$C00004	;H32
;	move.w #$8C81,$C00004	;H40

LoopPoint:
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0

	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	move.l (A0),D0
	bra.w LoopPoint	;6000FE00
	dc.l 00000000
