	.386p
	ifndef	??version
?debug	macro
	endm
publicdll macro	name
	public	name
	endm
	endif
	?debug	V 300h
	?debug	S "WAVDEMO.CPP"
	?debug	C E92C747D3A0B57415644454D4F2E435050
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E972A3413919433A5C424333315C494E434C554445325C4249544D+
	?debug	C 41502E48
	?debug	C E91A56CA3417433A5C424333315C494E434C554445325C49434F4E+
	?debug	C 2E48
	?debug	C E9D271443916433A5C424333315C494E434C554445325C4749462E+
	?debug	C 48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C5354444C49+
	?debug	C 422E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C5F44454653+
	?debug	C 2E48
	?debug	C E94019CA1815433A5C424333315C494E434C5544455C444F532E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C535444494F+
	?debug	C 2E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C5F4E46494C+
	?debug	C 452E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C434F4E494F+
	?debug	C 2E48
	?debug	C E94019CA181B433A5C424333315C494E434C5544455C5359535C5C+
	?debug	C 535441542E48
	?debug	C E98881753917433A5C424333315C494E434C554445325C4A504547+
	?debug	C 2E48
	?debug	C E9E94C7C4F1A433A5C424333315C494E434C554445325C50524956+
	?debug	C 4154452E48
	?debug	C E9E258824F1A433A5C424333315C494E434C554445325C4D594652+
	?debug	C 414D452E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C5354444C49+
	?debug	C 422E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C535444494F+
	?debug	C 2E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C42494F532E+
	?debug	C 48
	?debug	C E94019CA1814433A5C424333315C494E434C5544455C494F2E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C434F4E494F+
	?debug	C 2E48
	?debug	C E94019CA181A433A5C424333315C494E434C5544455C4752415048+
	?debug	C 4943532E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C414C4C4F43+
	?debug	C 2E48
	?debug	C E94019CA1815433A5C424333315C494E434C5544455C4449522E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C535452494E+
	?debug	C 472E48
	?debug	C E94019CA1815433A5C424333315C494E434C5544455C444F532E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C54494D452E+
	?debug	C 48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C4D4154482E+
	?debug	C 48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C4D414C4C4F+
	?debug	C 432E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C414C4C4F43+
	?debug	C 2E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E97762234018433A5C424333315C494E434C554445325C4D4F5553+
	?debug	C 452E48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E93851453A17433A5C424333315C494E434C554445325C464F4E54+
	?debug	C 2E48
	?debug	C E9654661411B433A5C424333315C494E434C554445325C48474C47+
	?debug	C 505249542E48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E9BC5039391B433A5C424333315C494E434C554445325C52454749+
	?debug	C 535445522E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E9D353E23A1A433A5C424333315C494E434C554445325C4C495354+
	?debug	C 494E472E48
	?debug	C E9D353E23A1A433A5C424333315C494E434C554445325C4C495354+
	?debug	C 494E472E48
	?debug	C E9D4A5D9401B433A5C424333315C494E434C554445325C53564741+
	?debug	C 5F4445562E48
	?debug	C E98950FD3E17433A5C424333315C494E434C554445325C56424533+
	?debug	C 2E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E9DA89FB4619433A5C424333315C494E434C554445325C4B45524E+
	?debug	C 454C2E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C54494D452E+
	?debug	C 48
	?debug	C E9C76B384F18433A5C424333315C494E434C554445325C47524150+
	?debug	C 482E48
	?debug	C E9F8B829451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554332E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E9A454E23A1A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554352E48
	?debug	C E92DAB29451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554342E48
	?debug	C E9F8B829451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554332E48
	?debug	C E92258714F1A433A5C424333315C494E434C554445325C4E45574D+
	?debug	C 4154482E48
	?debug	C E9A8548B4319433A5C424333315C494E434C554445325C53504C49+
	?debug	C 4E452E48
	?debug	C E91D51E23A19433A5C424333315C494E434C554445325C57495A41+
	?debug	C 52442E48
	?debug	C E92258714F1A433A5C424333315C494E434C554445325C4E45574D+
	?debug	C 4154482E48
WAVDEMO_TEXT	segment byte public use16 'CODE'
WAVDEMO_TEXT	ends
DGROUP	group	_DATA,_BSS
	assume	cs:WAVDEMO_TEXT,ds:DGROUP
_DATA	segment word public use16 'DATA'
d@	label	byte
d@w	label	word
_DATA	ends
_BSS	segment word public use16 'BSS'
b@	label	byte
b@w	label	word
_BSS	ends
_DATA	segment word public use16 'DATA'
_bLocalDraw	label	word
	db	0
	db	0
_DATA	ends
_BSS	segment word public use16 'BSS'
_pfAfxTorqueWave	label	dword
	db	640 dup (?)
_BSS	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
	assume	cs:WAVDEMO_TEXT
@InitData$qv	proc	far
	mov	dword ptr DGROUP:_pfAfxTorqueWave,large 0
	mov	dword ptr DGROUP:_pfAfxTorqueWave+80,large 04557D000h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+160,large 03CA3D70Ah
	mov	dword ptr DGROUP:_pfAfxTorqueWave+240,large 0
	mov	dword ptr DGROUP:_pfAfxTorqueWave+560,large 0
	mov	dword ptr DGROUP:_pfAfxTorqueWave+4,large 0427347AEh
	mov	dword ptr DGROUP:_pfAfxTorqueWave+84,large 045150000h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+164,large 03D23D70Ah
	mov	dword ptr DGROUP:_pfAfxTorqueWave+244,large 03E0F5C29h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+564,large 03F0BC6A8h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+8,large 04244CCCDh
	mov	dword ptr DGROUP:_pfAfxTorqueWave+88,large 044D84000h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+168,large 03D75C28Fh
	mov	dword ptr DGROUP:_pfAfxTorqueWave+248,large 03E23D70Ah
	mov	dword ptr DGROUP:_pfAfxTorqueWave+568,large 03F6147AEh
	mov	dword ptr DGROUP:_pfAfxTorqueWave+12,large 0
	mov	dword ptr DGROUP:_pfAfxTorqueWave+92,large 0
	mov	dword ptr DGROUP:_pfAfxTorqueWave+172,large 03DCCCCCDh
	mov	dword ptr DGROUP:_pfAfxTorqueWave+252,large 0
	mov	dword ptr DGROUP:_pfAfxTorqueWave+572,large 03FDEF9DBh
	mov	dword ptr DGROUP:_pfAfxTorqueWave+16,large 04232CCCDh
	mov	dword ptr DGROUP:_pfAfxTorqueWave+96,large 0453F3000h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+176,large 03CED9168h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+256,large 03D8F5C29h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+576,large 03E4CCCCDh
	mov	dword ptr DGROUP:_pfAfxTorqueWave+20,large 04216B852h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+100,large 0448A4000h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+180,large 03D9AD42Ch
	mov	dword ptr DGROUP:_pfAfxTorqueWave+260,large 03E051EB8h
	mov	dword ptr DGROUP:_pfAfxTorqueWave+580,large 03F99999Ah
	ret	
@InitData$qv	endp
WAVDEMO_TEXT	ends
_BSS	segment word public use16 'BSS'
_fsAfxData	label	dword
	db	16384 dup (?)
_wsAfxData1	label	word
	db	2048 dup (?)
_wsAfxData2	label	word
	db	2048 dup (?)
_BSS	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
	assume	cs:WAVDEMO_TEXT
@OnIdle_GraphDemoDialog$qn7CObject	proc	far
	enter	52,0
	push	si
	push	di
	mov	eax,dword ptr [bp+6]
	mov	dword ptr [bp-4],eax
	push	23001
	push	dword ptr [bp-4]
	call	far ptr @CObject@ObjectFromID$qui
	add	sp,6
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	push	23002
	push	dword ptr [bp-4]
	call	far ptr @CObject@ObjectFromID$qui
	add	sp,6
	mov	word ptr [bp-10],dx
	mov	word ptr [bp-12],ax
	lea	ax,word ptr [bp-20]
	push	ss
	push	ax
	push	dword ptr [bp-8]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@GetWaveRect$qv
	add	sp,4
	push	dx
	push	ax
	mov	cx,8
	call	far ptr F_SCOPY@
	lea	ax,word ptr [bp-28]
	push	ss
	push	ax
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@GetWaveRect$qv
	add	sp,4
	push	dx
	push	ax
	mov	cx,8
	call	far ptr F_SCOPY@
	mov	ax,word ptr [bp-14]
	add	ax,-19
	mov	word ptr [bp-30],ax
	mov	ax,word ptr [bp-16]
	sub	ax,word ptr [bp-20]
	add	ax,-4
	mov	word ptr [bp-32],ax
	mov	ax,word ptr [bp-22]
	add	ax,-19
	mov	word ptr [bp-34],ax
	mov	ax,word ptr [bp-24]
	sub	ax,word ptr [bp-28]
	add	ax,-4
	mov	word ptr [bp-36],ax
	push	12
	call	far ptr @SetColor$qi
	pop	cx
	push	1
	call	far ptr @SetWriteMode$qi
	pop	cx
	xor	si,si
	jmp	@2@422
@2@58:
	cmp	word ptr DGROUP:_bLocalDraw,0
	jne	short @2@114
	or	si,si
	jne short	@@52
	jmp	@2@394
@@52:
@2@114:
	mov	di,word ptr [bp-20]
	add	di,2
	mov	word ptr [bp-38],ds
	mov	word ptr [bp-40],offset DGROUP:_wsAfxData1
	mov	word ptr [bp-42],0
	jmp	short @2@310
@2@142:
	cmp	word ptr [bp-42],0
	jne	short @2@198
	les	bx,dword ptr [bp-40]
	mov	ax,word ptr es:[bx]
	shr	ax,5
	mov	dx,word ptr [bp-30]
	sub	dx,ax
	push	dx
	push	di
	call	far ptr @MoveTo$qii
	jmp	short @2@226
@2@198:
	les	bx,dword ptr [bp-40]
	mov	ax,word ptr es:[bx]
	shr	ax,5
	mov	dx,word ptr [bp-30]
	sub	dx,ax
	push	dx
	push	di
	call	far ptr @LineTo$qii
@2@226:
	add	sp,4
	add	di,3
	add	word ptr [bp-40],2
	add	word ptr [bp-42],3
@2@310:
	mov	ax,word ptr [bp-42]
	cmp	ax,word ptr [bp-32]
	jl	short @2@142
	or	si,si
	jne	short @2@394
	push	10
	push	ds
	push	offset DGROUP:_wsAfxData1
	push	ss
	lea	ax,word ptr [bp-52]
	push	ax
	call	far ptr __fmemcpy
	add	sp,10
	push	1990
	push	ds
	push	offset DGROUP:_wsAfxData1+10
	push	ds
	push	offset DGROUP:_wsAfxData1
	call	far ptr __fmemcpy
	add	sp,10
	push	10
	push	ss
	lea	ax,word ptr [bp-52]
	push	ax
	push	ds
	push	offset DGROUP:_wsAfxData1+1990
	call	far ptr __fmemcpy
	add	sp,10
@2@394:
	inc	si
@2@422:
	cmp	si,2
	jge short	@@53
	jmp	@2@58
@@53:
	xor	si,si
	jmp	@2@842
@2@478:
	cmp	word ptr DGROUP:_bLocalDraw,0
	jne	short @2@534
	or	si,si
	jne short	@@54
	jmp	@2@814
@@54:
@2@534:
	mov	di,word ptr [bp-28]
	add	di,2
	mov	word ptr [bp-38],ds
	mov	word ptr [bp-40],offset DGROUP:_wsAfxData2
	mov	word ptr [bp-42],0
	jmp	short @2@730
@2@562:
	cmp	word ptr [bp-42],0
	jne	short @2@618
	les	bx,dword ptr [bp-40]
	mov	ax,word ptr es:[bx]
	shr	ax,5
	mov	dx,word ptr [bp-34]
	sub	dx,ax
	push	dx
	push	di
	call	far ptr @MoveTo$qii
	jmp	short @2@646
@2@618:
	les	bx,dword ptr [bp-40]
	mov	ax,word ptr es:[bx]
	shr	ax,5
	mov	dx,word ptr [bp-34]
	sub	dx,ax
	push	dx
	push	di
	call	far ptr @LineTo$qii
@2@646:
	add	sp,4
	add	di,3
	add	word ptr [bp-40],2
	add	word ptr [bp-42],3
@2@730:
	mov	ax,word ptr [bp-42]
	cmp	ax,word ptr [bp-36]
	jl	short @2@562
	or	si,si
	jne	short @2@814
	push	10
	push	ds
	push	offset DGROUP:_wsAfxData2
	push	ss
	lea	ax,word ptr [bp-52]
	push	ax
	call	far ptr __fmemcpy
	add	sp,10
	push	1990
	push	ds
	push	offset DGROUP:_wsAfxData2+10
	push	ds
	push	offset DGROUP:_wsAfxData2
	call	far ptr __fmemcpy
	add	sp,10
	push	10
	push	ss
	lea	ax,word ptr [bp-52]
	push	ax
	push	ds
	push	offset DGROUP:_wsAfxData2+1990
	call	far ptr __fmemcpy
	add	sp,10
@2@814:
	inc	si
@2@842:
	cmp	si,2
	jge short	@@55
	jmp	@2@478
@@55:
	mov	word ptr DGROUP:_bLocalDraw,1
	push	0
	call	far ptr @SetWriteMode$qi
	pop	cx
	pop	di
	pop	si
	leave	
	ret	
@OnIdle_GraphDemoDialog$qn7CObject	endp
	assume	cs:WAVDEMO_TEXT
@OnTime_GraphDemoDialog$qn7CObject	proc	far
	enter	8,0
	mov	eax,dword ptr [bp+6]
	mov	dword ptr [bp-4],eax
	push	23001
	push	dword ptr [bp-4]
	call	far ptr @CObject@ObjectFromID$qui
	add	sp,6
	push	23002
	push	dword ptr [bp-4]
	call	far ptr @CObject@ObjectFromID$qui
	add	sp,6
	push	23003
	push	dword ptr [bp-4]
	call	far ptr @CObject@ObjectFromID$qui
	add	sp,6
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	push	1
	push	dx
	push	ax
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@DisplayHAndV$qi
	add	sp,6
	push	dword ptr [bp+6]
	push	cs
	call	near ptr @OnIdle_GraphDemoDialog$qn7CObject
	add	sp,4
	leave	
	ret	
@OnTime_GraphDemoDialog$qn7CObject	endp
	assume	cs:WAVDEMO_TEXT
@GraphDemoDialog$qv	proc	far
	enter	20,0
	push	si
	push	cs
	call	near ptr @InitData$qv
	mov	word ptr DGROUP:_bLocalDraw,0
	push	large 0
	call	far ptr @CDialog@$bctr$qv
	add	sp,4
	mov	word ptr [bp-2],dx
	mov	word ptr [bp-4],ax
	push	ds
	push	offset DGROUP:s@+1
	push	large 001E00280h
	push	large 0
	push	dx
	push	ax
	call	far ptr @CWindow@CreateWindow$qiiiinxzc
	add	sp,16
	push	dword ptr [bp-4]
	call	far ptr @CWindow@Center$qv
	add	sp,4
	push	seg @OnTime_GraphDemoDialog$qn7CObject
	push	offset @OnTime_GraphDemoDialog$qn7CObject
	push	dword ptr [bp-4]
	call	far ptr @@CWindow@SetTimeFc$qnqn7CObject$v
	add	sp,8
	push	large 0
	push	dword ptr [bp-4]
	call	far ptr @@CWindow@SetDrawFc$qnqn7CObject$v
	add	sp,8
	push	large 0
	push	dword ptr [bp-4]
	call	far ptr @@CWindow@SetHelpFc$qnqn7CObject$v
	add	sp,8
	push	large 0
	push	dword ptr [bp-4]
	call	far ptr @@CWindow@SetKeyboardFc$qnqn7CObject$i
	add	sp,8
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CCloseButton@$bctr$qn7CObject
	add	sp,8
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CButton@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	push	ds
	push	offset DGROUP:s@+12
	push	large 00019024Dh
	push	large 001B70013h
	push	dx
	push	ax
	call	far ptr @CObject@CreateObject$qiiiinxzc
	add	sp,16
	push	11776
	push	dword ptr [bp-8]
	call	far ptr @@CObject@SetShortcutKey$qui
	add	sp,6
	push	seg @ClickCancelButton$qn7CObject
	push	offset @ClickCancelButton$qn7CObject
	push	dword ptr [bp-8]
	call	far ptr @CObject@SetFc$qnqn7CObject$v
	add	sp,8
	push	7001
	push	dword ptr [bp-8]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CGraphWindow@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-10],dx
	mov	word ptr [bp-12],ax
	push	ds
	push	offset DGROUP:s@+22
	push	large 000C50135h
	push	large 000170004h
	push	dx
	push	ax
	call	far ptr @CGraphWindow@CreateObject$qiiiinxzc
	add	sp,16
	push	1
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCount$qi
	add	sp,6
	push	ds
	push	offset DGROUP:s@+23
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CGraphWave@SetCaption$qnzc
	add	sp,8
	push	ds
	push	offset DGROUP:s@+25
	push	0
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCaption$qinzc
	add	sp,10
	push	ds
	push	offset DGROUP:s@+27
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetUnitH$qnzc
	add	sp,8
	push	10
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetInternalCountX$qi
	add	sp,6
	push	10
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetInternalCountY$qi
	add	sp,6
	push	0
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetDotX$qi
	add	sp,6
	push	3
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetDotY$qi
	add	sp,6
	fld	dword ptr DGROUP:s@+28
	sub	sp,4
	fstp	dword ptr [bp-26]
	fldz	
	fwait	
	sub	sp,4
	fstp	dword ptr [bp-30]
	fwait	
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CGraphWave@SetRangeX$qff
	add	sp,12
	push	0
	fld	dword ptr DGROUP:s@+32
	sub	sp,4
	fstp	dword ptr [bp-28]
	fld	dword ptr DGROUP:s@+36
	sub	sp,4
	fstp	dword ptr [bp-32]
	push	0
	fwait	
	push	dword ptr [bp-12]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelY$qiffi
	add	sp,16
	push	23001
	push	dword ptr [bp-12]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CGraphWindow@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-14],dx
	mov	word ptr [bp-16],ax
	push	ds
	push	offset DGROUP:s@+40
	push	large 000C50135h
	push	large 00017013Fh
	push	dx
	push	ax
	call	far ptr @CGraphWindow@CreateObject$qiiiinxzc
	add	sp,16
	push	1
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCount$qi
	add	sp,6
	push	ds
	push	offset DGROUP:s@+41
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CGraphWave@SetCaption$qnzc
	add	sp,8
	push	ds
	push	offset DGROUP:s@+43
	push	0
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCaption$qinzc
	add	sp,10
	push	ds
	push	offset DGROUP:s@+45
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetUnitH$qnzc
	add	sp,8
	push	5
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetInternalCountX$qi
	add	sp,6
	push	10
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetInternalCountY$qi
	add	sp,6
	push	0
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetDotX$qi
	add	sp,6
	push	3
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetDotY$qi
	add	sp,6
	fld	dword ptr DGROUP:s@+28
	sub	sp,4
	fstp	dword ptr [bp-26]
	fldz	
	fwait	
	sub	sp,4
	fstp	dword ptr [bp-30]
	fwait	
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CGraphWave@SetRangeX$qff
	add	sp,12
	push	0
	fld	dword ptr DGROUP:s@+32
	sub	sp,4
	fstp	dword ptr [bp-28]
	fld	dword ptr DGROUP:s@+36
	sub	sp,4
	fstp	dword ptr [bp-32]
	push	0
	fwait	
	push	dword ptr [bp-16]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelY$qiffi
	add	sp,16
	push	23002
	push	dword ptr [bp-16]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	dword ptr [bp-4]
	push	large 0
	call	far ptr @CGraphWindow@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-18],dx
	mov	word ptr [bp-20],ax
	push	ds
	push	offset DGROUP:s@+48
	push	large 000C50270h
	push	large 000E70004h
	push	dx
	push	ax
	call	far ptr @CGraphWindow@CreateObject$qiiiinxzc
	add	sp,16
	push	1
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCount$qi
	add	sp,6
	push	ds
	push	offset DGROUP:s@+49
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CGraphWave@SetCaption$qnzc
	add	sp,8
	push	ds
	push	offset DGROUP:s@+51
	push	0
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCaption$qinzc
	add	sp,10
	push	ds
	push	offset DGROUP:s@+53
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetUnitH$qnzc
	add	sp,8
	push	10
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetInternalCountX$qi
	add	sp,6
	push	10
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetInternalCountY$qi
	add	sp,6
	push	0
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetDotX$qi
	add	sp,6
	push	3
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetDotY$qi
	add	sp,6
	fld	dword ptr DGROUP:s@+28
	sub	sp,4
	fstp	dword ptr [bp-26]
	fldz	
	fwait	
	sub	sp,4
	fstp	dword ptr [bp-30]
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CGraphWave@SetRangeX$qff
	add	sp,12
	push	0
	fld	dword ptr DGROUP:s@+32
	sub	sp,4
	fstp	dword ptr [bp-28]
	fld	dword ptr DGROUP:s@+36
	sub	sp,4
	fstp	dword ptr [bp-32]
	push	0
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelY$qiffi
	add	sp,16
	push	23003
	push	dword ptr [bp-20]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	4
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCount$qi
	add	sp,6
	push	0
	fld	dword ptr DGROUP:s@+56
	sub	sp,4
	fstp	dword ptr [bp-28]
	fldz	
	fwait	
	sub	sp,4
	fstp	dword ptr [bp-32]
	push	0
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelY$qiffi
	add	sp,16
	push	0
	fld	dword ptr DGROUP:s@+60
	sub	sp,4
	fstp	dword ptr [bp-28]
	fldz	
	fwait	
	sub	sp,4
	fstp	dword ptr [bp-32]
	push	1
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelY$qiffi
	add	sp,16
	push	0
	fld	dword ptr DGROUP:s@+64
	sub	sp,4
	fstp	dword ptr [bp-28]
	fldz	
	fwait	
	sub	sp,4
	fstp	dword ptr [bp-32]
	push	2
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelY$qiffi
	add	sp,16
	push	0
	fld1	
	sub	sp,4
	fstp	dword ptr [bp-28]
	fldz	
	fwait	
	sub	sp,4
	fstp	dword ptr [bp-32]
	push	3
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelY$qiffi
	add	sp,16
	push	ds
	push	offset DGROUP:s@+68
	push	0
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCaption$qinzc
	add	sp,10
	push	ds
	push	offset DGROUP:s@+75
	push	1
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCaption$qinzc
	add	sp,10
	push	ds
	push	offset DGROUP:s@+82
	push	2
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCaption$qinzc
	add	sp,10
	push	ds
	push	offset DGROUP:s@+87
	push	3
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetChannelCaption$qinzc
	add	sp,10
	fld	dword ptr DGROUP:s@+95
	sub	sp,4
	fstp	dword ptr [bp-26]
	fldz	
	fwait	
	sub	sp,4
	fstp	dword ptr [bp-30]
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CGraphWave@SetRangeX$qff
	add	sp,12
	push	2
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetDotX$qi
	add	sp,6
	push	5
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetInternalCountX$qi
	add	sp,6
	push	ds
	push	offset DGROUP:s@+99
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CGraphWave@SetCaption$qnzc
	add	sp,8
	fld	dword ptr DGROUP:s@+114
	sub	sp,4
	fstp	dword ptr [bp-26]
	fldz	
	fwait	
	sub	sp,4
	fstp	dword ptr [bp-30]
	push	1
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @@CGraphWave@SetLimitRangeX$qiff
	add	sp,14
	push	large 1
	push	dword ptr [bp-4]
	call	far ptr @CWindow@ShowWindow$qul
	add	sp,8
	push	large 000030002h
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetTorquegraphAttrib$qii
	add	sp,8
	push	large 00001000Fh
	push	large 6
	push	ds
	push	offset DGROUP:_pfAfxTorqueWave
	push	ds
	push	offset DGROUP:_pfAfxTorqueWave+560
	push	0
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@DrawWave$qinft2iiii
	add	sp,22
	push	large 000030001h
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetTorquegraphAttrib$qii
	add	sp,8
	push	large 00001000Eh
	push	large 6
	push	ds
	push	offset DGROUP:_pfAfxTorqueWave+80
	push	ds
	push	offset DGROUP:_pfAfxTorqueWave+560
	push	1
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@DrawWave$qinft2iiii
	add	sp,22
	push	large 000030001h
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetTorquegraphAttrib$qii
	add	sp,8
	push	large 000010005h
	push	large 6
	push	ds
	push	offset DGROUP:_pfAfxTorqueWave+160
	push	ds
	push	offset DGROUP:_pfAfxTorqueWave+560
	push	2
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@DrawWave$qinft2iiii
	add	sp,22
	push	large 000030002h
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@SetTorquegraphAttrib$qii
	add	sp,8
	push	large 000010004h
	push	large 6
	push	ds
	push	offset DGROUP:_pfAfxTorqueWave+240
	push	ds
	push	offset DGROUP:_pfAfxTorqueWave+560
	push	3
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@DrawWave$qinft2iiii
	add	sp,22
	xor	si,si
	jmp	@4@114
@4@58:
	push	large 00002000Fh
	push	2
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_pfAfxTorqueWave[bx]
	sub	sp,4
	fstp	dword ptr [bp-32]
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_pfAfxTorqueWave[bx+560]
	sub	sp,4
	fstp	dword ptr [bp-36]
	push	0
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@DrawDot$qiffiii
	add	sp,20
	push	large 14
	push	2
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_pfAfxTorqueWave[bx+80]
	sub	sp,4
	fstp	dword ptr [bp-32]
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_pfAfxTorqueWave[bx+560]
	sub	sp,4
	fstp	dword ptr [bp-36]
	push	1
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@DrawDot$qiffiii
	add	sp,20
	push	large 5
	push	2
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_pfAfxTorqueWave[bx+160]
	sub	sp,4
	fstp	dword ptr [bp-32]
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_pfAfxTorqueWave[bx+560]
	sub	sp,4
	fstp	dword ptr [bp-36]
	push	2
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@DrawDot$qiffiii
	add	sp,20
	push	large 000020004h
	push	2
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_pfAfxTorqueWave[bx+240]
	sub	sp,4
	fstp	dword ptr [bp-32]
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_pfAfxTorqueWave[bx+560]
	sub	sp,4
	fstp	dword ptr [bp-36]
	push	3
	fwait	
	push	dword ptr [bp-20]
	call	far ptr @CGraphWindow@GetGraphWave$qv
	add	sp,4
	push	dx
	push	ax
	call	far ptr @CTorqueGraph@DrawDot$qiffiii
	add	sp,20
	inc	si
@4@114:
	cmp	si,6
	jge short	@@56
	jmp	@4@58
@@56:
	push	0
	fld	dword ptr DGROUP:s@+118
	sub	sp,8
	fstp	qword ptr [bp-32]
	fld	dword ptr DGROUP:s@+122
	sub	sp,8
	fstp	qword ptr [bp-40]
	fldz	
	fwait	
	sub	sp,8
	fstp	qword ptr [bp-48]
	fld	dword ptr DGROUP:s@+126
	sub	sp,8
	fstp	qword ptr [bp-56]
	fld	dword ptr DGROUP:s@+122
	sub	sp,8
	fstp	qword ptr [bp-64]
	push	1000
	push	ds
	push	offset DGROUP:_fsAfxData
	fwait	
	call	far ptr @GetSinWave$qnfidddddi
	add	sp,48
	push	0
	fld	dword ptr DGROUP:s@+118
	sub	sp,8
	fstp	qword ptr [bp-32]
	fld	dword ptr DGROUP:s@+130
	sub	sp,8
	fstp	qword ptr [bp-40]
	fldz	
	fwait	
	sub	sp,8
	fstp	qword ptr [bp-48]
	fldz	
	fwait	
	sub	sp,8
	fstp	qword ptr [bp-56]
	fld	dword ptr DGROUP:s@+126
	sub	sp,8
	fstp	qword ptr [bp-64]
	fld	dword ptr DGROUP:s@+134
	sub	sp,8
	fstp	qword ptr [bp-72]
	push	1000
	push	ds
	push	offset DGROUP:_fsAfxData+4096
	fwait	
	call	far ptr @GetRectangleWave$qnfiddddddi
	add	sp,56
	xor	si,si
	jmp	short @4@226
@4@170:
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_fsAfxData[bx]
	call	far ptr F_FTOL@
	mov	bx,si
	shl	bx,1
	mov	word ptr DGROUP:_wsAfxData1[bx],ax
	mov	bx,si
	shl	bx,2
	fld	dword ptr DGROUP:_fsAfxData[bx+4096]
	call	far ptr F_FTOL@
	mov	bx,si
	shl	bx,1
	mov	word ptr DGROUP:_wsAfxData2[bx],ax
	inc	si
@4@226:
	cmp	si,1000
	jl	short @4@170
	push	dword ptr [bp-4]
	call	far ptr @CDialog@DoModal$qv
	add	sp,4
	cmp	dword ptr [bp-4],large 0
	je	short @4@310
	push	3
	push	dword ptr [bp-4]
	les	bx,dword ptr [bp-4]
	mov	bx,word ptr es:[bx]
	call	dword ptr [bx+44]
	add	sp,6
	jmp	short @4@310
@4@310:
	pop	si
	leave	
	ret	
@GraphDemoDialog$qv	endp
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CGraphWave@GetWaveRect$qv	segment	virtual
	assume	cs:@CGraphWave@GetWaveRect$qv
@@CGraphWave@GetWaveRect$qv	proc	far
	push	bp
	mov	bp,sp
	mov	dx,word ptr [bp+8]
	mov	ax,word ptr [bp+6]
	add	ax,8
	pop	bp
	ret	
@@CGraphWave@GetWaveRect$qv	endp
@CGraphWave@GetWaveRect$qv	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CWindow@SetTimeFc$qnqn7CObject$v	segment	virtual
	assume	cs:@CWindow@SetTimeFc$qnqn7CObject$v
@@CWindow@SetTimeFc$qnqn7CObject$v	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	eax,dword ptr [bp+10]
	mov	dword ptr es:[bx+288],eax
	pop	bp
	ret	
@@CWindow@SetTimeFc$qnqn7CObject$v	endp
@CWindow@SetTimeFc$qnqn7CObject$v	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CWindow@SetDrawFc$qnqn7CObject$v	segment	virtual
	assume	cs:@CWindow@SetDrawFc$qnqn7CObject$v
@@CWindow@SetDrawFc$qnqn7CObject$v	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	eax,dword ptr [bp+10]
	mov	dword ptr es:[bx+276],eax
	pop	bp
	ret	
@@CWindow@SetDrawFc$qnqn7CObject$v	endp
@CWindow@SetDrawFc$qnqn7CObject$v	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CWindow@SetHelpFc$qnqn7CObject$v	segment	virtual
	assume	cs:@CWindow@SetHelpFc$qnqn7CObject$v
@@CWindow@SetHelpFc$qnqn7CObject$v	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	eax,dword ptr [bp+10]
	mov	dword ptr es:[bx+268],eax
	pop	bp
	ret	
@@CWindow@SetHelpFc$qnqn7CObject$v	endp
@CWindow@SetHelpFc$qnqn7CObject$v	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CWindow@SetKeyboardFc$qnqn7CObject$i	segment	virtual
	assume	cs:@CWindow@SetKeyboardFc$qnqn7CObject$i
@@CWindow@SetKeyboardFc$qnqn7CObject$i	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	eax,dword ptr [bp+10]
	mov	dword ptr es:[bx+272],eax
	pop	bp
	ret	
@@CWindow@SetKeyboardFc$qnqn7CObject$i	endp
@CWindow@SetKeyboardFc$qnqn7CObject$i	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CObject@SetShortcutKey$qui	segment	virtual
	assume	cs:@CObject@SetShortcutKey$qui
@@CObject@SetShortcutKey$qui	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+36],ax
	pop	bp
	ret	
@@CObject@SetShortcutKey$qui	endp
@CObject@SetShortcutKey$qui	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CObject@SetID$qui	segment	virtual
	assume	cs:@CObject@SetID$qui
@@CObject@SetID$qui	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+38],ax
	pop	bp
	ret	
@@CObject@SetID$qui	endp
@CObject@SetID$qui	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CGraphWave@SetUnitH$qnzc	segment	virtual
	assume	cs:@CGraphWave@SetUnitH$qnzc
@@CGraphWave@SetUnitH$qnzc	proc	far
	push	bp
	mov	bp,sp
	push	dword ptr [bp+10]
	mov	ax,word ptr [bp+6]
	add	ax,76
	push	word ptr [bp+8]
	push	ax
	call	far ptr __fstrcpy
	add	sp,8
	pop	bp
	ret	
@@CGraphWave@SetUnitH$qnzc	endp
@CGraphWave@SetUnitH$qnzc	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CGraphWave@SetInternalCountX$qi	segment	virtual
	assume	cs:@CGraphWave@SetInternalCountX$qi
@@CGraphWave@SetInternalCountX$qi	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+124],ax
	pop	bp
	ret	
@@CGraphWave@SetInternalCountX$qi	endp
@CGraphWave@SetInternalCountX$qi	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CGraphWave@SetInternalCountY$qi	segment	virtual
	assume	cs:@CGraphWave@SetInternalCountY$qi
@@CGraphWave@SetInternalCountY$qi	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+126],ax
	pop	bp
	ret	
@@CGraphWave@SetInternalCountY$qi	endp
@CGraphWave@SetInternalCountY$qi	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CGraphWave@SetDotX$qi	segment	virtual
	assume	cs:@CGraphWave@SetDotX$qi
@@CGraphWave@SetDotX$qi	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+150],ax
	pop	bp
	ret	
@@CGraphWave@SetDotX$qi	endp
@CGraphWave@SetDotX$qi	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CGraphWave@SetDotY$qi	segment	virtual
	assume	cs:@CGraphWave@SetDotY$qi
@@CGraphWave@SetDotY$qi	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+152],ax
	pop	bp
	ret	
@@CGraphWave@SetDotY$qi	endp
@CGraphWave@SetDotY$qi	ends
WAVDEMO_TEXT	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
@CGraphWave@SetLimitRangeX$qiff	segment	virtual
	assume	cs:@CGraphWave@SetLimitRangeX$qiff
@@CGraphWave@SetLimitRangeX$qiff	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+132],ax
	mov	eax,dword ptr [bp+12]
	mov	dword ptr es:[bx+134],eax
	mov	eax,dword ptr [bp+16]
	mov	dword ptr es:[bx+138],eax
	pop	bp
	ret	
@@CGraphWave@SetLimitRangeX$qiff	endp
	?debug	C E9
	?debug	C FA10010000
@CGraphWave@SetLimitRangeX$qiff	ends
WAVDEMO_TEXT	ends
_DATA	segment word public use16 'DATA'
s@	label	byte
	db	0
	db	202
	db	190
	db	178
	db	168
	db	198
	db	247
	db	209
	db	221
	db	202
	db	190
	db	0
	db	200
	db	161
	db	207
	db	251
	db	'('
	db	3
	db	'C'
	db	3
	db	')'
	db	0
	db	0
	db	' '
	db	0
	db	'A'
	db	0
	db	0
	db	0
	db	0
	db	' A'
	db	0
	db	0
	db	160
	db	'@'
	db	0
	db	0
	db	160
	db	192
	db	0
	db	' '
	db	0
	db	'A'
	db	0
	db	'Hz'
	db	0
	db	0
	db	' '
	db	0
	db	'A'
	db	0
	db	'Hz'
	db	0
	db	0
	db	0
	db	150
	db	'B'
	db	0
	db	192
	db	'ZE'
	db	205
	db	204
	db	204
	db	'=Eff(%)'
	db	0
	db	'N(RPM)'
	db	0
	db	'I(A)'
	db	0
	db	'Pout(W)'
	db	0
	db	0
	db	0
	db	0
	db	'@ TORQUE GRAPH '
	db	0
	db	160
	db	26
	db	223
	db	'?'
	db	0
	db	'PCF'
	db	0
	db	240
	db	255
	db	'D'
	db	0
	db	0
	db	250
	db	'C'
	db	0
	db	0
	db	0
	db	'?'
	db	0
	db	128
	db	'mE'
_DATA	ends
WAVDEMO_TEXT	segment byte public use16 'CODE'
WAVDEMO_TEXT	ends
	extrn	__turboFloat:word
	extrn	F_FTOL@:far
	public	@GraphDemoDialog$qv
	public	@OnTime_GraphDemoDialog$qn7CObject
	extrn	F_SCOPY@:far
	public	@OnIdle_GraphDemoDialog$qn7CObject
	public	_wsAfxData2
	public	_wsAfxData1
	public	_fsAfxData
	public	@InitData$qv
	public	_pfAfxTorqueWave
	public	_bLocalDraw
	extrn	@ClickCancelButton$qn7CObject:far
	extrn	@CGraphWindow@$bctr$qn7CObject:far
	extrn	@CGraphWindow@CreateObject$qiiiinxzc:far
	extrn	@CGraphWindow@GetGraphWave$qv:far
	extrn	@CCloseButton@$bctr$qn7CObject:far
	extrn	@CButton@$bctr$qn7CObject:far
	extrn	@CDialog@$bctr$qv:far
	extrn	@CDialog@DoModal$qv:far
	extrn	@CWindow@ShowWindow$qul:far
	extrn	@CWindow@Center$qv:far
	extrn	@CWindow@CreateWindow$qiiiinxzc:far
	extrn	@CObject@CreateObject$qiiiinxzc:far
	extrn	@CObject@ObjectFromID$qui:far
	extrn	@CObject@SetFc$qnqn7CObject$v:far
	extrn	@GetRectangleWave$qnfiddddddi:far
	extrn	@GetSinWave$qnfidddddi:far
	extrn	@CTorqueGraph@DisplayHAndV$qi:far
	extrn	@CTorqueGraph@DrawWave$qinft2iiii:far
	extrn	@CTorqueGraph@DrawDot$qiffiii:far
	extrn	@CTorqueGraph@SetTorquegraphAttrib$qii:far
	extrn	@CTorqueGraph@SetChannelCaption$qinzc:far
	extrn	@CTorqueGraph@SetChannelY$qiffi:far
	extrn	@CTorqueGraph@SetChannelCount$qi:far
	extrn	@CGraphWave@SetCaption$qnzc:far
	extrn	@CGraphWave@SetRangeX$qff:far
	extrn	@SetWriteMode$qi:far
	extrn	@SetColor$qi:far
	extrn	@MoveTo$qii:far
	extrn	@LineTo$qii:far
	extrn	__fstrcpy:far
	extrn	__fmemcpy:far
_pokeb	equ	pokeb
_poke	equ	poke
_peekb	equ	peekb
_peek	equ	peek
_atoi	equ	atoi
_abs	equ	abs
_s@	equ	s@
	end
