//					FR Family SOFTUNE cpcom V65L04
	.program	"fr_osdc"
	.library	"lib911.lib"
	._LANGUAGE	C_FR20, N, U, F
	._FILE	"D:\morioka\CQ\if2008\fr_graphic_0807\osd_graphic_release\graphic_sample\program\fr_osdc.c", 0
	._FILE	"D:\morioka\CQ\if2008\fr_graphic_0807\osd_graphic_release\graphic_sample\program\hatsune.h", 1
	._FILE	".\io\MB91310\_frdef.h", 2
	._FILE	".\io\MB91310\_r91310.h", 3
	._FILE	".\io\MB91310\_mb91310.h", 4
	._FILE	".\io\MB91310\_fr.h", 5
	._BTYPE	0x80000001, 1
	._BTYPE	0x80000002, 1
	._BTYPE	0x80000003, 2
	._BTYPE	0x80000004, 2
	._BTYPE	0x80000005, 4
	._BTYPE	0x80000006, 4
	._BTYPE	0x80000007, 4
	._BTYPE	0x80000008, 4
	._BTYPE	0x80000009, 1
	._BTYPE	0x8000000a, 2
	._BTYPE	0x8000000b, 4
	._BTYPE	0x8000000c, 8
	._BTYPE	0x8000000d, 8
	._BTYPE	0x8000000e, 1
	._BTYPE	0x8000000f, 0
	._BTYPE	0x80000010, 8
	._BTYPE	0x80000011, 8
	.global	_IO_PDR0
	.global	_IO_PDR1
	.global	_IO_PDR2
	.global	_IO_PDR3
	.global	_IO_PDR4
	.global	_IO_PDR5
	.global	_IO_PDR6
	.global	_IO_PDR7
	.global	_IO_ADCT
	.global	_IO_ADCH
	.global	_IO_ADAT0
	.global	_IO_ADAT1
	.global	_IO_ADAT2
	.global	_IO_ADAT3
	.global	_IO_ADAT4
	.global	_IO_ADAT5
	.global	_IO_ADAT6
	.global	_IO_ADAT7
	.global	_IO_ADAT8
	.global	_IO_ADAT9
	.global	_IO_EIRR
	.global	_IO_ENIR
	.global	_IO_ELVR
	.global	_IO_DICR
	.global	_IO_HRCL
	.global	_IO_TMRLR0
	.global	_IO_TMR0
	.global	_IO_TMCSR0
	.global	_IO_TMRLR1
	.global	_IO_TMR1
	.global	_IO_TMCSR1
	.global	_IO_TMRLR2
	.global	_IO_TMR2
	.global	_IO_TMCSR2
	.global	_IO_SSR0
	.global	_IO_SIDR0
	.global	_IO_SCR0
	.global	_IO_SMR0
	.global	_IO_UTIM0
	.global	_IO_DRCL0
	.global	_IO_UTIMC0
	.global	_IO_SSR1
	.global	_IO_SIDR1
	.global	_IO_SCR1
	.global	_IO_SMR1
	.global	_IO_UTIM1
	.global	_IO_DRCL1
	.global	_IO_UTIMC1
	.global	_IO_SSR2
	.global	_IO_SIDR2
	.global	_IO_SCR2
	.global	_IO_SMR2
	.global	_IO_UTIM2
	.global	_IO_DRCL2
	.global	_IO_UTIMC2
	.global	_IO_SSR3
	.global	_IO_SIDR3
	.global	_IO_SCR3
	.global	_IO_SMR3
	.global	_IO_UTIM3
	.global	_IO_DRCL3
	.global	_IO_UTIMC3
	.global	_IO_SSR4
	.global	_IO_SIDR4
	.global	_IO_SCR4
	.global	_IO_SMR4
	.global	_IO_UTIM4
	.global	_IO_DRCL4
	.global	_IO_UTIMC4
	.global	_IO_PWCC
	.global	_IO_PWCD
	.global	_IO_IBCR0
	.global	_IO_IBSR0
	.global	_IO_ITBA0
	.global	_IO_ITMK0
	.global	_IO_ISMK0
	.global	_IO_ISBA0
	.global	_IO_IDAR0
	.global	_IO_ICCR0
	.global	_IO_IDBL0
	.global	_IO_IBCR1
	.global	_IO_IBSR1
	.global	_IO_ITBA1
	.global	_IO_ITMK1
	.global	_IO_ISMK1
	.global	_IO_ISBA1
	.global	_IO_IDAR1
	.global	_IO_ICCR1
	.global	_IO_IDBL1
	.global	_IO_IBCR2
	.global	_IO_IBSR2
	.global	_IO_ITBA2
	.global	_IO_ITMK2
	.global	_IO_ISMK2
	.global	_IO_ISBA2
	.global	_IO_IDAR2
	.global	_IO_ICCR2
	.global	_IO_IDBL2
	.global	_IO_IBCR3
	.global	_IO_IBSR3
	.global	_IO_ITBA3
	.global	_IO_ITMK3
	.global	_IO_ISMK3
	.global	_IO_ISBA3
	.global	_IO_IDAR3
	.global	_IO_ICCR3
	.global	_IO_IDBL3
	.global	_IO_T0LPCR
	.global	_IO_T0CCR
	.global	_IO_T0TCR
	.global	_IO_T0R
	.global	_IO_T0DRR
	.global	_IO_T0CRR
	.global	_IO_T1LPCR
	.global	_IO_T1CCR
	.global	_IO_T1TCR
	.global	_IO_T1R
	.global	_IO_T1DRR
	.global	_IO_T1CRR
	.global	_IO_T2LPCR
	.global	_IO_T2CCR
	.global	_IO_T2TCR
	.global	_IO_T2R
	.global	_IO_T2DRR
	.global	_IO_T2CRR
	.global	_IO_T3LPCR
	.global	_IO_T3CCR
	.global	_IO_T3TCR
	.global	_IO_T3R
	.global	_IO_T3DRR
	.global	_IO_T3CRR
	.global	_IO_PTMR0
	.global	_IO_PCSR0
	.global	_IO_PDUT0
	.global	_IO_PCN0
	.global	_IO_PTMR1
	.global	_IO_PCSR1
	.global	_IO_PDUT1
	.global	_IO_PCN1
	.global	_IO_PTMR2
	.global	_IO_PCSR2
	.global	_IO_PDUT2
	.global	_IO_PCN2
	.global	_IO_PTMR3
	.global	_IO_PCSR3
	.global	_IO_PDUT3
	.global	_IO_PCN3
	.global	_IO_DMACA0
	.global	_IO_DMACB0
	.global	_IO_DMACA1
	.global	_IO_DMACB1
	.global	_IO_DMACA2
	.global	_IO_DMACB2
	.global	_IO_DMACA3
	.global	_IO_DMACB3
	.global	_IO_DMACA4
	.global	_IO_DMACB4
	.global	_IO_DMACR
	.global	_IO_BSD0
	.global	_IO_BSD1
	.global	_IO_BSDC
	.global	_IO_BSRR
	.global	_IO_PORT
	.global	_IO_ICR
	.global	_IO_CLK
	.global	_IO_WPCR
	.global	_IO_OSCR
	.global	_IO_EBUS
	.global	_IO_MODR
	.global	_IO_DMAD
	.global	_IO_FLCR
	.global	_IO_FLWC
	.global	_IO_USBH
	.global	_IO_USBF
	.global	_IO_MEMS
	.global	_IO_OSDC
	.section	DATA, DATA, align=4
	.global	_v_count
	.align	4
_v_count:
	.res.b	4
	.global	_fill_flag
_fill_flag:
	.res.b	4
_cursor_y:
	.res.b	4
_cursor_x:
	.res.b	4
	.global	_strlen
	.section	CODE, CODE, align=2
	.global	_osdc_init
	._SYMBOL	"osdc_init", F, 0x8000000f, E, "_osdc_init", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 46
_osdc_init:
L_69:
	ST	RP,@-SP
	ENTER	#8
	STM	(R8,R9,R10)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 24
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000005, A, -4
L_70:				// Pred: L_69
	._LINE	0, 48
	._LINE	0, 52
	LDI:32	#_IO_OSDC+40,R0
	LDI	#0,R10
	STH	R10,@R0	; _IO_OSDC
	._LINE	0, 53
	LDI:32	#_IO_OSDC+42,R0
	LDI	#1344,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 54
	LDI:32	#_IO_OSDC+44,R0
	LDI	#171,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 56
	LDI:32	#_IO_OSDC+92,R0
	LDI	#17,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 57
	LDI:32	#_IO_OSDC+94,R0
	LDI	#23,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 59
	LDI:32	#_IO_OSDC+48,R0
	STH	R10,@R0	; _IO_OSDC
	._LINE	0, 61
	LDI:32	#_IO_OSDC+38,R0
	LDI	#64,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 63
	LDI	#1,R0
	LDI:32	#_IO_OSDC+58,R12
	ORH	R0,@R12
	._LINE	0, 64
	LDI	#4,R0
	ORH	R0,@R12
	._LINE	0, 66
	LDI:32	#_IO_OSDC+50,R8
	LDI	#34,R9
	STH	R9,@R8	; _IO_OSDC
	._LINE	0, 67
	LDI:32	#_IO_OSDC+52,R0
	LDI	#768,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 68
	LDI:32	#_IO_OSDC+54,R0
	LDI	#175,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 69
	LDI:32	#_IO_OSDC+56,R0
	LDI	#1177,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 71
	LDI:32	#_IO_OSDC+14,R1
	LDI	#8,R0
	STH	R0,@R1	; _IO_OSDC
	._LINE	0, 72
	LDI:32	#_IO_OSDC+16,R1
	STH	R0,@R1	; _IO_OSDC
	._LINE	1, 2
	LDI:32	#_IO_OSDC+60,R0
	LDI	#1911,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 3
	LDI:32	#_IO_OSDC+62,R0
	LDI	#1126,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 4
	LDI:32	#_IO_OSDC+64,R0
	LDI	#273,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 5
	LDI:32	#_IO_OSDC+66,R0
	LSL	#1,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 6
	LDI:32	#_IO_OSDC+68,R0
	LDI	#1382,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 7
	LDI:32	#_IO_OSDC+70,R0
	LDI	#51,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 8
	LDI:32	#_IO_OSDC+72,R0
	LDI	#324,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 9
	LDI:32	#_IO_OSDC+74,R0
	LDI	#597,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 10
	LDI:32	#_IO_OSDC+76,R0
	LDI	#853,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 11
	LDI:32	#_IO_OSDC+78,R0
	LDI	#68,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 12
	LDI:32	#_IO_OSDC+80,R0
	LDI	#819,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 13
	LDI:32	#_IO_OSDC+82,R0
	LDI	#69,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 14
	LDI:32	#_IO_OSDC+84,R0
	LDI	#1655,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 15
	LDI:32	#_IO_OSDC+86,R0
	LDI	#1910,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 16
	LDI:32	#_IO_OSDC+88,R0
	LDI	#1621,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	1, 17
	LDI:32	#_IO_OSDC+90,R0
	LDI	#1556,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 80
	LDI:32	#_IO_OSDC+18,R0
	LDI	#119,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 83
	LDI:32	#_IO_OSDC+26,R0
	STH	R10,@R0	; _IO_OSDC
	._LINE	0, 86
	LDI:32	#_IO_OSDC+20,R0
	STH	R10,@R0	; _IO_OSDC
	._LINE	0, 88
	LDI:32	#_IO_OSDC+12,R0
	LDI	#208,R1
	STH	R1,@R0	; _IO_OSDC
	._LINE	0, 91
	LDI:32	#_IO_OSDC+22,R0
	STH	R10,@R0	; _IO_OSDC
	._LINE	0, 93
L_71:				// Pred: L_70
	._LINE	0, 93
	LDI	#0,R12
	ST	R12,@(FP,-4)	; _i
	LD	@(FP,-4),R12	; _i
	CMP	#15,R12
	BGT32	L_75,R12
L_72:				// Pred: L_71
	._LINE	0, 93
	LDI:32	#_IO_OSDC+6,R8
	LDI:32	#_IO_OSDC+8,R9
L_73:				// Pred: L_74 L_72
	._LINE	0, 93
	._LINE	0, 94
	LD	@(FP,-4),R5	; _i
	LDI	#0,R4
	CALL32	_set_cursor,R12
	._LINE	0, 95
	LDI	#0,R0
	STH	R0,@R8	; _IO_OSDC
	._LINE	0, 96
	LDI	#4096,R0
	STH	R0,@R9	; _IO_OSDC
	._LINE	0, 97
	LD	@(FP,-4),R12	; _i
	ADDN	#1,R12
	ST	R12,@(FP,-4)	; _i
L_74:				// Pred: L_73
	._LINE	0, 93
	LD	@(FP,-4),R12	; _i
	CMP	#15,R12
	BLE32	L_73,R12
L_75:				// Pred: L_74 L_71
	._LINE	0, 99
	CALL32	_clearscreen,R12
	._LINE	0, 102
	LDI	#65407,R0
	LDI:32	#_IO_OSDC+10,R12
	ANDH	R0,@R12
	._LINE	0, 103
	LDI	#65471,R0
	ANDH	R0,@R12
	._LINE	0, 104
	LDI	#65503,R0
	ANDH	R0,@R12
	._LINE	0, 105
	LDI	#16,R0
	ORH	R0,@R12
	._LINE	0, 107
	LDI:32	#_IO_OSDC+24,R0
	STH	R10,@R0	; _IO_OSDC
L_76:				// Pred: L_75
	._LINE	0, 107
	._CONFIG	E
	._LINE	0, 109
	LDM	(R8,R9,R10)
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_set_cursor
	._SYMBOL	"set_cursor", F, 0x8000000f, E, "_set_cursor", F
	._FPARAM	S, 2, F
	._SYMBOL	"x", P, 0x80000005, A, 8
	._SYMBOL	"y", P, 0x80000005, A, 12
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 114
_set_cursor:
L_27:
	STM	(R4,R5)
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_28:				// Pred: L_27
	._LINE	0, 116
	LD	@(FP,8),R12	; _x
	LDI:32	#_cursor_x,R1
	ST	R12,@R1	; _cursor_x
	._LINE	0, 117
	LD	@(FP,12),R0	; _y
	LDI:32	#_cursor_y,R12
	ST	R0,@R12	; _cursor_y
	._LINE	0, 118
	LD	@R12,R0	; _cursor_y
	LSL	#8,R0
	LD	@R1,R12	; _cursor_x
	OR	R12,R0
	LDI:32	#_IO_OSDC,R1
	STH	R0,@R1	; _IO_OSDC
L_29:				// Pred: L_28
	._LINE	0, 118
	._CONFIG	E
	._LINE	0, 119
	LEAVE
	LD	@SP+,RP
	ADDSP	#8
	RET
	._CONFIG	E
	.global	_clearscreen
	._SYMBOL	"clearscreen", F, 0x8000000f, E, "_clearscreen", F
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 124
_clearscreen:
L_78:
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 16
	._CONFIG	S, B
L_79:				// Pred: L_78
	._LINE	0, 126
	LDI:32	#_fill_flag,R0
	LDI	#1,R12
	ST	R12,@R0	; _fill_flag
	._LINE	0, 127
	LDI:32	#_IO_OSDC,R1
	LDI	#32768,R2
	STH	R2,@R1	; _IO_OSDC
	._LINE	0, 130
	LDI:32	#_IO_OSDC+2,R1
	LDI	#0,R2
	STH	R2,@R1	; _IO_OSDC
	._LINE	0, 131
	LDI:32	#_IO_OSDC+4,R1
	LDI	#32,R2
	STH	R2,@R1	; _IO_OSDC
	._LINE	0, 132
L_80:				// Pred: L_79
	._LINE	0, 132
	LD	@R0,R12	; _fill_flag
	CMP	#0,R12
	BEQ32	L_84,R12
L_81:				// Pred: L_80
	._LINE	0, 132
L_82:				// Pred: L_83 L_81
	._LINE	0, 132
	._LINE	0, 132
L_83:				// Pred: L_82
	._LINE	0, 132
	LD	@R0,R12	; _fill_flag
	CMP	#0,R12
	BNE32	L_82,R12
L_110:				// Pred: L_83
	._LINE	0, 133
L_84:				// Pred: L_110 L_80
	._LINE	0, 133
	LDI	#0,R4
	LDI	#0,R5
	CALL32	_set_cursor,R12
L_85:				// Pred: L_84
	._LINE	0, 133
	._CONFIG	E
	._LINE	0, 134
	LEAVE
	LD	@SP+,RP
	RET
	._CONFIG	E
	.global	_disp_str
	._SYMBOL	"disp_str", F, 0x8000000f, E, "_disp_str", F
	._FPARAM	S, 1, F
	._SYMBOL	"str_code", P, 0x80000002, A, 8
	._POINTER	1
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 139
_disp_str:
L_87:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#12
	STM	(R8,R9,R10)
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 48
	._CONFIG	S, B
	._SYMBOL	"i", V, 0x80000005, A, -8
	._SYMBOL	"j", V, 0x80000005, A, -4
L_88:				// Pred: L_87
	._LINE	0, 141
	._LINE	0, 142
	LD	@(FP,8),R4	; _str_code
	CALL32	_strlen,R12
	ST	R4,@(FP,-4)	; _j
	._LINE	0, 143
L_89:				// Pred: L_88
	._LINE	0, 143
	LDI	#0,R12
	ST	R12,@(FP,-8)	; _i
	LD	@(FP,-8),R0	; _i
	LD	@(FP,-4),R12	; _j
	CMP	R12,R0
	BGE32	L_98,R12
L_90:				// Pred: L_89
	._LINE	0, 143
	LDI:32	#_IO_OSDC+4,R10
	LDI:32	#_cursor_y,R8
	LDI:32	#_cursor_x,R9
L_91:				// Pred: L_96 L_90
	._LINE	0, 143
	._LINE	0, 144
	LD	@(FP,8),R12	; _str_code
	LDUB	@R12,R5
	CMP	#13,R5
	BEQ32	L_92,R12
L_108:				// Pred: L_91
	._LINE	0, 144
	CMP	#10,R5
	BEQ32	L_93,R12
L_109:				// Pred: L_108
	._LINE	0, 144
	BRA32	L_94,R12
L_92:				// Pred: L_91
	._LINE	0, 146
	LDI	#0,R12
	ST	R12,@R9	; _cursor_x
	._LINE	0, 146
	LD	@R9,R4	; _cursor_x
	LD	@R8,R5	; _cursor_y
	CALL32	_set_cursor,R12
	BRA32	L_95,R12
L_93:				// Pred: L_108
	._LINE	0, 148
	LD	@R8,R12	; _cursor_y
	ADDN	#1,R12
	ST	R12,@R8	; _cursor_y
	._LINE	0, 148
	LD	@R9,R4	; _cursor_x
	LD	@R8,R5	; _cursor_y
	CALL32	_set_cursor,R12
	BRA32	L_95,R12
L_94:				// Pred: L_109
	._LINE	0, 150
	LD	@(FP,8),R12	; _str_code
	LDUB	@R12,R0
	STH	R0,@R10	; _IO_OSDC
	._LINE	0, 151
L_95:				// Pred: L_94 L_93 L_92
	._LINE	0, 152
	LD	@(FP,8),R12	; _str_code
	ADDN	#1,R12
	ST	R12,@(FP,8)	; _str_code
	._LINE	0, 153
	LD	@(FP,-8),R12	; _i
	ADDN	#1,R12
	ST	R12,@(FP,-8)	; _i
L_96:				// Pred: L_95
	._LINE	0, 143
	LD	@(FP,-8),R0	; _i
	LD	@(FP,-4),R12	; _j
	CMP	R12,R0
	BLT32	L_91,R12
L_97:				// Pred: L_96
	._LINE	0, 153
L_98:				// Pred: L_97 L_89
	._LINE	0, 153
	._CONFIG	E
	._LINE	0, 154
	LDM	(R8,R9,R10)
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	.global	_osdc_int
	._SYMBOL	"osdc_int", F, 0x8000000f, E, "_osdc_int", I
	._FPARAM	S, 0, F
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 159
_osdc_int:
L_51:
	STM	(R0,R1,R12)
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 16
	._CONFIG	S, B
L_52:				// Pred: L_51
	._LINE	0, 161
	LDI:20	#_IO_EIRR,R12
	BAND	#0xBF,@R12
	._LINE	0, 162
	LDI:32	#_IO_OSDC+58,R0
	LDUH	@R0,R1	; _IO_OSDC
	LSL	#21,R1
	LSR	#31,R1
	BEQ32	L_54,R12
L_53:				// Pred: L_52
	._LINE	0, 162
	._LINE	0, 163
	LDI	#64511,R12
	ANDH	R12,@R0
	._LINE	0, 164
	LDI:32	#_fill_flag,R12
	LDI	#0,R0
	ST	R0,@R12	; _fill_flag
	._LINE	0, 165
	BRA32	L_60,R12
L_54:				// Pred: L_52
	._LINE	0, 166
	LDUH	@R0,R1	; _IO_OSDC
	LSL	#23,R1
	LSR	#31,R1
	BEQ32	L_60,R12
L_56:				// Pred: L_54
	._LINE	0, 166
	._LINE	0, 167
	LDI	#65279,R12
	ANDH	R12,@R0
	._LINE	0, 168
	LDI:32	#_v_count,R0
	LD	@R0,R12	; _v_count
	CMP	#0,R12
	BLS32	L_60,R12
L_58:				// Pred: L_56
	._LINE	0, 168
	._LINE	0, 168
	LD	@R0,R12	; _v_count
	ADDN	#-1,R12
	ST	R12,@R0	; _v_count
	._LINE	0, 168
L_60:				// Pred: L_58 L_56 L_54 L_53
	._LINE	0, 169
	._CONFIG	E
	._LINE	0, 170
	LEAVE
	LD	@SP+,RP
	LDM	(R0,R1,R12)
	RETI
	._CONFIG	E
	.global	_v_wait
	._SYMBOL	"v_wait", F, 0x8000000f, E, "_v_wait", F
	._FPARAM	S, 1, F
	._SYMBOL	"vcnt", P, 0x80000006, A, 8
	._FPARAM	E
	._CONFIG	S, F, 1
	._LINE	0, 175
_v_wait:
L_100:
	ST	R4,@-SP
	ST	RP,@-SP
	ENTER	#4
;-------end_of_no_optimize_block
	._FUNCTION	"fp", "fp", 40
	._CONFIG	S, B
L_101:				// Pred: L_100
	._LINE	0, 177
	LD	@(FP,8),R12	; _vcnt
	LDI:32	#_v_count,R0
	ST	R12,@R0	; _v_count
	._LINE	0, 178
L_102:				// Pred: L_101
	._LINE	0, 178
	LD	@R0,R12	; _v_count
	CMP	#0,R12
	BEQ32	L_107,R12
L_103:				// Pred: L_102
	._LINE	0, 178
L_104:				// Pred: L_111 L_103
	._LINE	0, 178
	._LINE	0, 178
L_105:				// Pred: L_104
	._LINE	0, 178
	LD	@R0,R12	; _v_count
	CMP	#0,R12
	BEQ32	L_107,R12
L_111:				// Pred: L_105
	._LINE	0, 178
	BRA32	L_104,R12
L_107:				// Pred: L_105 L_102
	._LINE	0, 178
	._CONFIG	E
	._LINE	0, 179
	LEAVE
	LD	@SP+,RP
	ADDSP	#4
	RET
	._CONFIG	E
	._SYMBOL	"v_count", V, 0x80000006, E, "_v_count"
	._SYMBOL	"fill_flag", V, 0x80000006, E, "_fill_flag"
	._SYMBOL	"cursor_y", V, 0x80000005, S, "_cursor_y"
	._SYMBOL	"cursor_x", V, 0x80000005, S, "_cursor_x"
	.end	
