	format	MS COFF
	extrn	___bb_appstub_appstub
	extrn	___bb_audio_audio
	extrn	___bb_bank_bank
	extrn	___bb_bankstream_bankstream
	extrn	___bb_basic_basic
	extrn	___bb_blitz_blitz
	extrn	___bb_bmploader_bmploader
	extrn	___bb_cocoamaxgui_cocoamaxgui
	extrn	___bb_d3d7max2d_d3d7max2d
	extrn	___bb_eventqueue_eventqueue
	extrn	___bb_fltkmaxgui_fltkmaxgui
	extrn	___bb_freeaudioaudio_freeaudioaudio
	extrn	___bb_freejoy_freejoy
	extrn	___bb_freeprocess_freeprocess
	extrn	___bb_freetypefont_freetypefont
	extrn	___bb_glew_glew
	extrn	___bb_gnet_gnet
	extrn	___bb_jpgloader_jpgloader
	extrn	___bb_macos_macos
	extrn	___bb_maxgui_maxgui
	extrn	___bb_maxutil_maxutil
	extrn	___bb_oggloader_oggloader
	extrn	___bb_pngloader_pngloader
	extrn	___bb_retro_retro
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_timer_timer
	extrn	___bb_wavloader_wavloader
	extrn	___bb_win32maxgui_win32maxgui
	extrn	_bbEnd
	extrn	_bbStringClass
	extrn	_brl_graphics_EndGraphics
	extrn	_brl_graphics_Flip
	extrn	_brl_graphics_Graphics
	extrn	_brl_max2d_Cls
	extrn	_brl_max2d_DrawLine
	extrn	_brl_max2d_DrawText
	extrn	_brl_max2d_GrabPixmap
	extrn	_brl_max2d_LoadImageFont
	extrn	_brl_max2d_SetColor
	extrn	_brl_max2d_SetImageFont
	extrn	_brl_pngloader_SavePixmapPNG
	extrn	_brl_polledinput_WaitKey
	public	__bb_main
	public	_bb_DrawKey
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	cmp	dword [_78],0
	je	_79
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_79:
	mov	dword [_78],1
	call	___bb_blitz_blitz
	call	___bb_appstub_appstub
	call	___bb_audio_audio
	call	___bb_bank_bank
	call	___bb_bankstream_bankstream
	call	___bb_basic_basic
	call	___bb_bmploader_bmploader
	call	___bb_cocoamaxgui_cocoamaxgui
	call	___bb_d3d7max2d_d3d7max2d
	call	___bb_eventqueue_eventqueue
	call	___bb_fltkmaxgui_fltkmaxgui
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_freetypefont_freetypefont
	call	___bb_gnet_gnet
	call	___bb_jpgloader_jpgloader
	call	___bb_maxgui_maxgui
	call	___bb_maxutil_maxutil
	call	___bb_oggloader_oggloader
	call	___bb_pngloader_pngloader
	call	___bb_retro_retro
	call	___bb_tgaloader_tgaloader
	call	___bb_timer_timer
	call	___bb_wavloader_wavloader
	call	___bb_win32maxgui_win32maxgui
	call	___bb_freejoy_freejoy
	call	___bb_freeprocess_freeprocess
	call	___bb_glew_glew
	call	___bb_macos_macos
	push	0
	push	60
	push	0
	push	192
	push	256
	call	_brl_graphics_Graphics
	add	esp,20
	push	4
	push	8
	push	_19
	call	_brl_max2d_LoadImageFont
	add	esp,12
	push	eax
	call	_brl_max2d_SetImageFont
	add	esp,4
	call	_brl_max2d_Cls
	push	255
	push	255
	push	255
	call	_brl_max2d_SetColor
	add	esp,12
	mov	ebx,0
	jmp	_75
_22:
	push	1
	push	1120927744
	mov	eax,ebx
	imul	eax,26
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	0
	mov	eax,ebx
	imul	eax,26
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_max2d_DrawLine
	add	esp,20
_20:
	add	ebx,1
_75:
	cmp	ebx,10
	jle	_22
_21:
	push	1
	push	1120927744
	push	1132396544
	push	0
	push	1132396544
	call	_brl_max2d_DrawLine
	add	esp,20
	mov	ebx,0
	jmp	_77
_25:
	push	1
	mov	eax,ebx
	imul	eax,26
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	1132462080
	mov	eax,ebx
	imul	eax,26
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	0
	call	_brl_max2d_DrawLine
	add	esp,20
_23:
	add	ebx,1
_77:
	cmp	ebx,4
	jle	_25
_24:
	push	0
	push	0
	push	_26
	call	_bb_DrawKey
	add	esp,12
	push	0
	push	1
	push	_27
	call	_bb_DrawKey
	add	esp,12
	push	0
	push	2
	push	_28
	call	_bb_DrawKey
	add	esp,12
	push	0
	push	3
	push	_29
	call	_bb_DrawKey
	add	esp,12
	push	0
	push	4
	push	_30
	call	_bb_DrawKey
	add	esp,12
	push	0
	push	5
	push	_31
	call	_bb_DrawKey
	add	esp,12
	push	0
	push	6
	push	_32
	call	_bb_DrawKey
	add	esp,12
	push	0
	push	7
	push	_33
	call	_bb_DrawKey
	add	esp,12
	push	0
	push	8
	push	_34
	call	_bb_DrawKey
	add	esp,12
	push	0
	push	9
	push	_35
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	0
	push	_36
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	1
	push	_37
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	2
	push	_38
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	3
	push	_39
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	4
	push	_40
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	5
	push	_41
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	6
	push	_42
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	7
	push	_43
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	8
	push	_44
	call	_bb_DrawKey
	add	esp,12
	push	1
	push	9
	push	_45
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	0
	push	_46
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	1
	push	_47
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	2
	push	_48
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	3
	push	_49
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	4
	push	_50
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	5
	push	_51
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	6
	push	_52
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	7
	push	_53
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	8
	push	_54
	call	_bb_DrawKey
	add	esp,12
	push	2
	push	9
	push	_55
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	0
	push	_56
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	1
	push	_57
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	2
	push	_58
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	3
	push	_59
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	4
	push	_60
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	5
	push	_61
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	6
	push	_62
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	7
	push	_63
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	8
	push	_64
	call	_bb_DrawKey
	add	esp,12
	push	3
	push	9
	push	_65
	call	_bb_DrawKey
	add	esp,12
	push	5
	push	_66
	push	192
	push	256
	push	0
	push	0
	call	_brl_max2d_GrabPixmap
	add	esp,16
	push	eax
	call	_brl_pngloader_SavePixmapPNG
	add	esp,12
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
	call	_brl_polledinput_WaitKey
	call	_brl_graphics_EndGraphics
	call	_bbEnd
	mov	eax,0
_67:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_bb_DrawKey:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	mov	ecx,dword [ebp+8]
	mov	edx,dword [ebp+12]
	mov	eax,dword [ebp+16]
	imul	eax,26
	add	eax,4
	mov	dword [ebp+-4],eax
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	imul	edx,26
	add	edx,4
	mov	dword [ebp+-4],edx
	fild	dword [ebp+-4]
	sub	esp,4
	fstp	dword [esp]
	push	ecx
	call	_brl_max2d_DrawText
	add	esp,12
	mov	eax,0
_72:
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_78:
	dd	0
	align	4
_19:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	90,88,56,49,46,116,116,102
	align	4
_26:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	49
	align	4
_27:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	50
	align	4
_28:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	51
	align	4
_29:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	52
	align	4
_30:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	53
	align	4
_31:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	54
	align	4
_32:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	55
	align	4
_33:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	56
	align	4
_34:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	57
	align	4
_35:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	48
	align	4
_36:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	81
	align	4
_37:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	87
	align	4
_38:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	69
	align	4
_39:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	82
	align	4
_40:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	84
	align	4
_41:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	89
	align	4
_42:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	85
	align	4
_43:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	73
	align	4
_44:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	79
	align	4
_45:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	80
	align	4
_46:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	65
	align	4
_47:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	83
	align	4
_48:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	68
	align	4
_49:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	70
	align	4
_50:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	71
	align	4
_51:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	72
	align	4
_52:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	74
	align	4
_53:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	75
	align	4
_54:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	76
	align	4
_55:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	78,76
	align	4
_56:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	83,72
	align	4
_57:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	90
	align	4
_58:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	88
	align	4
_59:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	67
	align	4
_60:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	86
	align	4
_61:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	66
	align	4
_62:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	78
	align	4
_63:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	77
	align	4
_64:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	46
	align	4
_65:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	83,80
	align	4
_66:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	107,98,50,46,112,110,103
