; Listing generated by Microsoft (R) Optimizing Compiler Version 15.00.21022.08 

	TITLE	c:\Develop\DScaler423a\DScaler\CX2388xCard_H3D.cpp
	.686P
	.XMM
	include listing.inc
	.model	flat

INCLUDELIB OLDNAMES

PUBLIC	??_C@_1CA@CIMCFMG@?$AAS?$AAA?$AAA?$AA7?$AA1?$AA1?$AA8?$AA_?$AAH?$AA3?$AAD?$AA?4?$AAt?$AAx?$AAt?$AA?$AA@ ; `string'
PUBLIC	??_C@_1BC@BBFMIGPD@?$AAF?$AAP?$AAG?$AAA?$AA?4?$AAt?$AAx?$AAt?$AA?$AA@ ; `string'
PUBLIC	??_C@_1BG@LGAFEOJB@?$AA?$CF?$AA0?$AA6?$AAx?$AA?7?$AA?$CF?$AA0?$AA2?$AAx?$AA?6?$AA?$AA@ ; `string'
;	COMDAT ??_C@_1BG@LGAFEOJB@?$AA?$CF?$AA0?$AA6?$AAx?$AA?7?$AA?$CF?$AA0?$AA2?$AAx?$AA?6?$AA?$AA@
CONST	SEGMENT
??_C@_1BG@LGAFEOJB@?$AA?$CF?$AA0?$AA6?$AAx?$AA?7?$AA?$CF?$AA0?$AA2?$AAx?$AA?6?$AA?$AA@ DB '%'
	DB	00H, '0', 00H, '6', 00H, 'x', 00H, 09H, 00H, '%', 00H, '0', 00H
	DB	'2', 00H, 'x', 00H, 0aH, 00H, 00H, 00H	; `string'
CONST	ENDS
;	COMDAT ??_C@_1BC@BBFMIGPD@?$AAF?$AAP?$AAG?$AAA?$AA?4?$AAt?$AAx?$AAt?$AA?$AA@
CONST	SEGMENT
??_C@_1BC@BBFMIGPD@?$AAF?$AAP?$AAG?$AAA?$AA?4?$AAt?$AAx?$AAt?$AA?$AA@ DB 'F'
	DB	00H, 'P', 00H, 'G', 00H, 'A', 00H, '.', 00H, 't', 00H, 'x', 00H
	DB	't', 00H, 00H, 00H				; `string'
CONST	ENDS
;	COMDAT ??_C@_1CA@CIMCFMG@?$AAS?$AAA?$AAA?$AA7?$AA1?$AA1?$AA8?$AA_?$AAH?$AA3?$AAD?$AA?4?$AAt?$AAx?$AAt?$AA?$AA@
CONST	SEGMENT
??_C@_1CA@CIMCFMG@?$AAS?$AAA?$AAA?$AA7?$AA1?$AA1?$AA8?$AA_?$AAH?$AA3?$AAD?$AA?4?$AAt?$AAx?$AAt?$AA?$AA@ DB 'S'
	DB	00H, 'A', 00H, 'A', 00H, '7', 00H, '1', 00H, '1', 00H, '8', 00H
	DB	'_', 00H, 'H', 00H, '3', 00H, 'D', 00H, '.', 00H, 't', 00H, 'x'
	DB	00H, 't', 00H, 00H, 00H			; `string'
PUBLIC	?SetH3DSaturationV@CCX2388xCard@@AAEXE@Z	; CCX2388xCard::SetH3DSaturationV
; Function compile flags: /Odtp
; File c:\develop\dscaler423a\dscaler\cx2388xcard_h3d.cpp
;	COMDAT ?SetH3DSaturationV@CCX2388xCard@@AAEXE@Z
_TEXT	SEGMENT
_this$ = -4						; size = 4
_NotUsed$ = 8						; size = 1
?SetH3DSaturationV@CCX2388xCard@@AAEXE@Z PROC		; CCX2388xCard::SetH3DSaturationV, COMDAT
; _this$ = ecx

; 479  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	51		 push	 ecx
  00004	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 480  :     // we'll do nothing with this but it needs to be here
; 481  : }

  00007	8b e5		 mov	 esp, ebp
  00009	5d		 pop	 ebp
  0000a	c2 04 00	 ret	 4
?SetH3DSaturationV@CCX2388xCard@@AAEXE@Z ENDP		; CCX2388xCard::SetH3DSaturationV
PUBLIC	?SetSharpness@CCX2388xCard@@QAEXD@Z		; CCX2388xCard::SetSharpness
; Function compile flags: /Odtp
;	COMDAT ?SetSharpness@CCX2388xCard@@QAEXD@Z
_TEXT	SEGMENT
_this$ = -8						; size = 4
_LuminaceControl$145409 = -1				; size = 1
_Sharpness$ = 8						; size = 1
?SetSharpness@CCX2388xCard@@QAEXD@Z PROC		; CCX2388xCard::SetSharpness, COMDAT
; _this$ = ecx

; 484  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 08	 sub	 esp, 8
  00006	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 485  :     // had better check that we've been initilaized here as
; 486  :     // this is a public function
; 487  :     if(m_SAA7118.IsValid())

  00009	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0000c	83 c1 78	 add	 ecx, 120		; 00000078H
  0000f	e8 00 00 00 00	 call	 ?IsValid@?$SmartPtr@VCSAA7118@@@@QBEHXZ ; SmartPtr<CSAA7118>::IsValid
  00014	85 c0		 test	 eax, eax
  00016	74 45		 je	 SHORT $LN2@SetSharpne

; 488  :     {
; 489  :         // get existing sharpness and set luma comb filter
; 490  :         BYTE LuminaceControl = m_SAA7118->GetRegister(0x09) & 0xF0;

  00018	6a 09		 push	 9
  0001a	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0001d	83 c1 78	 add	 ecx, 120		; 00000078H
  00020	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00025	8b c8		 mov	 ecx, eax
  00027	e8 00 00 00 00	 call	 ?GetRegister@CSAA7118@@QAEEE@Z ; CSAA7118::GetRegister
  0002c	0f b6 c0	 movzx	 eax, al
  0002f	25 f0 00 00 00	 and	 eax, 240		; 000000f0H
  00034	88 45 ff	 mov	 BYTE PTR _LuminaceControl$145409[ebp], al

; 491  :         LuminaceControl |= (BYTE)Sharpness;

  00037	0f b6 4d 08	 movzx	 ecx, BYTE PTR _Sharpness$[ebp]
  0003b	0f b6 55 ff	 movzx	 edx, BYTE PTR _LuminaceControl$145409[ebp]
  0003f	0b d1		 or	 edx, ecx
  00041	88 55 ff	 mov	 BYTE PTR _LuminaceControl$145409[ebp], dl

; 492  :         m_SAA7118->SetRegister(0x09, LuminaceControl);

  00044	0f b6 45 ff	 movzx	 eax, BYTE PTR _LuminaceControl$145409[ebp]
  00048	50		 push	 eax
  00049	6a 09		 push	 9
  0004b	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  0004e	83 c1 78	 add	 ecx, 120		; 00000078H
  00051	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00056	8b c8		 mov	 ecx, eax
  00058	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister
$LN2@SetSharpne:

; 493  :     }
; 494  : }

  0005d	8b e5		 mov	 esp, ebp
  0005f	5d		 pop	 ebp
  00060	c2 04 00	 ret	 4
?SetSharpness@CCX2388xCard@@QAEXD@Z ENDP		; CCX2388xCard::SetSharpness
_TEXT	ENDS
PUBLIC	?SetH3DHue@CCX2388xCard@@AAEXE@Z		; CCX2388xCard::SetH3DHue
; Function compile flags: /Odtp
;	COMDAT ?SetH3DHue@CCX2388xCard@@AAEXE@Z
_TEXT	SEGMENT
tv65 = -8						; size = 4
_this$ = -4						; size = 4
_Hue$ = 8						; size = 1
?SetH3DHue@CCX2388xCard@@AAEXE@Z PROC			; CCX2388xCard::SetH3DHue, COMDAT
; _this$ = ecx

; 433  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 08	 sub	 esp, 8
  00006	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 434  :     switch(m_CurrentInput)

  00009	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  0000c	8b 88 b0 00 00
	00		 mov	 ecx, DWORD PTR [eax+176]
  00012	89 4d f8	 mov	 DWORD PTR tv65[ebp], ecx
  00015	83 7d f8 02	 cmp	 DWORD PTR tv65[ebp], 2
  00019	74 10		 je	 SHORT $LN2@SetH3DHue
  0001b	83 7d f8 03	 cmp	 DWORD PTR tv65[ebp], 3
  0001f	7e 21		 jle	 SHORT $LN6@SetH3DHue
  00021	83 7d f8 07	 cmp	 DWORD PTR tv65[ebp], 7
  00025	7e 04		 jle	 SHORT $LN2@SetH3DHue
  00027	eb 19		 jmp	 SHORT $LN6@SetH3DHue

; 435  :     {
; 436  :     case H3D_COMPONENT:
; 437  :     case H3D_RGsB:
; 438  :         break;

  00029	eb 17		 jmp	 SHORT $LN6@SetH3DHue
$LN2@SetH3DHue:

; 439  :     case H3D_SVIDEO:
; 440  :     case H3D_COMPOSITE1:
; 441  :     case H3D_COMPOSITE2:
; 442  :     case H3D_COMPOSITE3:
; 443  :     case H3D_COMPOSITE4:
; 444  :         m_SAA7118->SetHue(Hue);

  0002b	0f b6 55 08	 movzx	 edx, BYTE PTR _Hue$[ebp]
  0002f	52		 push	 edx
  00030	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00033	83 c1 78	 add	 ecx, 120		; 00000078H
  00036	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0003b	8b c8		 mov	 ecx, eax
  0003d	e8 00 00 00 00	 call	 ?SetHue@CSAA7118@@QAEXE@Z ; CSAA7118::SetHue
$LN6@SetH3DHue:

; 445  :         break;
; 446  :     case H3D_SDI:
; 447  :     case H3D_PDI:
; 448  :     default:
; 449  :         break;
; 450  :     }
; 451  : }

  00042	8b e5		 mov	 esp, ebp
  00044	5d		 pop	 ebp
  00045	c2 04 00	 ret	 4
?SetH3DHue@CCX2388xCard@@AAEXE@Z ENDP			; CCX2388xCard::SetH3DHue
PUBLIC	?SetFLIFilmDetect@CCX2388xCard@@QAEXH@Z		; CCX2388xCard::SetFLIFilmDetect
; Function compile flags: /Odtp
;	COMDAT ?SetFLIFilmDetect@CCX2388xCard@@QAEXH@Z
_TEXT	SEGMENT
tv70 = -12						; size = 4
_this$ = -8						; size = 4
_Buffer$ = -4						; size = 3
_FLIFilmDetect$ = 8					; size = 4
?SetFLIFilmDetect@CCX2388xCard@@QAEXH@Z PROC		; CCX2388xCard::SetFLIFilmDetect, COMDAT
; _this$ = ecx

; 497  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 0c	 sub	 esp, 12			; 0000000cH
  00006	89 4d f8	 mov	 DWORD PTR _this$[ebp], ecx

; 498  :     BYTE Buffer[3] = {0xE2, 0x05, 0x0a};

  00009	c6 45 fc e2	 mov	 BYTE PTR _Buffer$[ebp], 226 ; 000000e2H
  0000d	c6 45 fd 05	 mov	 BYTE PTR _Buffer$[ebp+1], 5
  00011	c6 45 fe 0a	 mov	 BYTE PTR _Buffer$[ebp+2], 10 ; 0000000aH

; 499  :     if(FLIFilmDetect)

  00015	83 7d 08 00	 cmp	 DWORD PTR _FLIFilmDetect$[ebp], 0
  00019	74 04		 je	 SHORT $LN1@SetFLIFilm

; 500  :     {
; 501  :         Buffer[2] = 0x0e;

  0001b	c6 45 fe 0e	 mov	 BYTE PTR _Buffer$[ebp+2], 14 ; 0000000eH
$LN1@SetFLIFilm:

; 502  :     }
; 503  :     m_I2CBus->Write(Buffer, 3);

  0001f	8b 4d f8	 mov	 ecx, DWORD PTR _this$[ebp]
  00022	83 c1 68	 add	 ecx, 104		; 00000068H
  00025	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCI2CBus@@@@QBEPAVCI2CBus@@XZ ; SmartPtr<CI2CBus>::operator->
  0002a	89 45 f4	 mov	 DWORD PTR tv70[ebp], eax
  0002d	6a 03		 push	 3
  0002f	8d 45 fc	 lea	 eax, DWORD PTR _Buffer$[ebp]
  00032	50		 push	 eax
  00033	8b 4d f4	 mov	 ecx, DWORD PTR tv70[ebp]
  00036	8b 11		 mov	 edx, DWORD PTR [ecx]
  00038	8b 4d f4	 mov	 ecx, DWORD PTR tv70[ebp]
  0003b	8b 42 0c	 mov	 eax, DWORD PTR [edx+12]
  0003e	ff d0		 call	 eax

; 504  : }

  00040	8b e5		 mov	 esp, ebp
  00042	5d		 pop	 ebp
  00043	c2 04 00	 ret	 4
?SetFLIFilmDetect@CCX2388xCard@@QAEXH@Z ENDP		; CCX2388xCard::SetFLIFilmDetect
PUBLIC	?H3DSetFormat@CCX2388xCard@@AAEXHW4eVideoFormat@@H@Z ; CCX2388xCard::H3DSetFormat
; Function compile flags: /Odtp
;	COMDAT ?H3DSetFormat@CCX2388xCard@@AAEXHW4eVideoFormat@@H@Z
_TEXT	SEGMENT
tv251 = -28						; size = 4
tv238 = -24						; size = 4
_this$ = -20						; size = 4
_i$145354 = -16						; size = 4
_test$145350 = -11					; size = 1
_ChrominanceGainControl$ = -10				; size = 1
_LuminaceControl$ = -9					; size = 1
_hFile$ = -8						; size = 4
_ChrominanceControl$ = -2				; size = 1
_ChrominanceControl2$ = -1				; size = 1
_nInput$ = 8						; size = 4
_TVFormat$ = 12						; size = 4
_IsProgressive$ = 16					; size = 4
?H3DSetFormat@CCX2388xCard@@AAEXHW4eVideoFormat@@H@Z PROC ; CCX2388xCard::H3DSetFormat, COMDAT
; _this$ = ecx

; 208  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 1c	 sub	 esp, 28			; 0000001cH
  00006	89 4d ec	 mov	 DWORD PTR _this$[ebp], ecx

; 209  :     BYTE ChrominanceControl(0x81);

  00009	c6 45 fe 81	 mov	 BYTE PTR _ChrominanceControl$[ebp], 129 ; 00000081H

; 210  :     BYTE ChrominanceControl2(0x00);

  0000d	c6 45 ff 00	 mov	 BYTE PTR _ChrominanceControl2$[ebp], 0

; 211  :     BYTE ChrominanceGainControl(0x2A);

  00011	c6 45 f6 2a	 mov	 BYTE PTR _ChrominanceGainControl$[ebp], 42 ; 0000002aH

; 212  :     BYTE LuminaceControl;
; 213  : 
; 214  :     // get existing sharpness and set luma comb filter
; 215  :     LuminaceControl = (m_SAA7118->GetRegister(0x09) & 0x0F) | 0x40;

  00015	6a 09		 push	 9
  00017	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  0001a	83 c1 78	 add	 ecx, 120		; 00000078H
  0001d	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00022	8b c8		 mov	 ecx, eax
  00024	e8 00 00 00 00	 call	 ?GetRegister@CSAA7118@@QAEEE@Z ; CSAA7118::GetRegister
  00029	0f b6 c0	 movzx	 eax, al
  0002c	83 e0 0f	 and	 eax, 15			; 0000000fH
  0002f	83 c8 40	 or	 eax, 64			; 00000040H
  00032	88 45 f7	 mov	 BYTE PTR _LuminaceControl$[ebp], al

; 216  : 
; 217  :     if(GetTVFormat(TVFormat)->wCropHeight == 576)

  00035	8b 4d 0c	 mov	 ecx, DWORD PTR _TVFormat$[ebp]
  00038	51		 push	 ecx
  00039	e8 00 00 00 00	 call	 ?GetTVFormat@@YAPAUTTVFormat@@W4eVideoFormat@@@Z ; GetTVFormat
  0003e	83 c4 04	 add	 esp, 4
  00041	0f b7 10	 movzx	 edx, WORD PTR [eax]
  00044	81 fa 40 02 00
	00		 cmp	 edx, 576		; 00000240H
  0004a	0f 85 d9 00 00
	00		 jne	 $LN23@H3DSetForm

; 218  :     {
; 219  :         m_SAA7118->SetRegister(0x5A, 0x03);

  00050	6a 03		 push	 3
  00052	6a 5a		 push	 90			; 0000005aH
  00054	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00057	83 c1 78	 add	 ecx, 120		; 00000078H
  0005a	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0005f	8b c8		 mov	 ecx, eax
  00061	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 220  :         m_SAA7118->SetRegister(0x5B, 0x03);

  00066	6a 03		 push	 3
  00068	6a 5b		 push	 91			; 0000005bH
  0006a	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  0006d	83 c1 78	 add	 ecx, 120		; 00000078H
  00070	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00075	8b c8		 mov	 ecx, eax
  00077	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 221  :         WriteByte(0x390007, 0xc8);

  0007c	68 c8 00 00 00	 push	 200			; 000000c8H
  00081	68 07 00 39 00	 push	 3735559			; 00390007H
  00086	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00089	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 222  : 
; 223  :         m_SAA7118->SetRegister(0x98,0x0d); // vertical input offset

  0008e	6a 0d		 push	 13			; 0000000dH
  00090	68 98 00 00 00	 push	 152			; 00000098H
  00095	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00098	83 c1 78	 add	 ecx, 120		; 00000078H
  0009b	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  000a0	8b c8		 mov	 ecx, eax
  000a2	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 224  :         m_SAA7118->SetRegister(0x99,0x00);

  000a7	6a 00		 push	 0
  000a9	68 99 00 00 00	 push	 153			; 00000099H
  000ae	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  000b1	83 c1 78	 add	 ecx, 120		; 00000078H
  000b4	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  000b9	8b c8		 mov	 ecx, eax
  000bb	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 225  : 
; 226  :         m_SAA7118->SetRegister(0x9A, 0x28);

  000c0	6a 28		 push	 40			; 00000028H
  000c2	68 9a 00 00 00	 push	 154			; 0000009aH
  000c7	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  000ca	83 c1 78	 add	 ecx, 120		; 00000078H
  000cd	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  000d2	8b c8		 mov	 ecx, eax
  000d4	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 227  :         m_SAA7118->SetRegister(0x9B, 0x01);

  000d9	6a 01		 push	 1
  000db	68 9b 00 00 00	 push	 155			; 0000009bH
  000e0	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  000e3	83 c1 78	 add	 ecx, 120		; 00000078H
  000e6	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  000eb	8b c8		 mov	 ecx, eax
  000ed	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 228  :         m_SAA7118->SetRegister(0x9E, 0x28);

  000f2	6a 28		 push	 40			; 00000028H
  000f4	68 9e 00 00 00	 push	 158			; 0000009eH
  000f9	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  000fc	83 c1 78	 add	 ecx, 120		; 00000078H
  000ff	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00104	8b c8		 mov	 ecx, eax
  00106	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 229  :         m_SAA7118->SetRegister(0x9F, 0x01);

  0010b	6a 01		 push	 1
  0010d	68 9f 00 00 00	 push	 159			; 0000009fH
  00112	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00115	83 c1 78	 add	 ecx, 120		; 00000078H
  00118	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0011d	8b c8		 mov	 ecx, eax
  0011f	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 230  :     }
; 231  :     else

  00124	e9 da 00 00 00	 jmp	 $LN22@H3DSetForm
$LN23@H3DSetForm:

; 232  :     {
; 233  :         m_SAA7118->SetRegister(0x5A, 0x06);

  00129	6a 06		 push	 6
  0012b	6a 5a		 push	 90			; 0000005aH
  0012d	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00130	83 c1 78	 add	 ecx, 120		; 00000078H
  00133	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00138	8b c8		 mov	 ecx, eax
  0013a	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 234  :         m_SAA7118->SetRegister(0x5B, 0x83);

  0013f	68 83 00 00 00	 push	 131			; 00000083H
  00144	6a 5b		 push	 91			; 0000005bH
  00146	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00149	83 c1 78	 add	 ecx, 120		; 00000078H
  0014c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00151	8b c8		 mov	 ecx, eax
  00153	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 235  :         WriteByte(0x390007, 0x50);

  00158	6a 50		 push	 80			; 00000050H
  0015a	68 07 00 39 00	 push	 3735559			; 00390007H
  0015f	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00162	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 236  : 
; 237  :         m_SAA7118->SetRegister(0x98,0x0a); // vertical input offset

  00167	6a 0a		 push	 10			; 0000000aH
  00169	68 98 00 00 00	 push	 152			; 00000098H
  0016e	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00171	83 c1 78	 add	 ecx, 120		; 00000078H
  00174	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00179	8b c8		 mov	 ecx, eax
  0017b	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 238  :         m_SAA7118->SetRegister(0x99,0x00);

  00180	6a 00		 push	 0
  00182	68 99 00 00 00	 push	 153			; 00000099H
  00187	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  0018a	83 c1 78	 add	 ecx, 120		; 00000078H
  0018d	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00192	8b c8		 mov	 ecx, eax
  00194	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 239  : 
; 240  :         m_SAA7118->SetRegister(0x9A, 0xf6);

  00199	68 f6 00 00 00	 push	 246			; 000000f6H
  0019e	68 9a 00 00 00	 push	 154			; 0000009aH
  001a3	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  001a6	83 c1 78	 add	 ecx, 120		; 00000078H
  001a9	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  001ae	8b c8		 mov	 ecx, eax
  001b0	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 241  :         m_SAA7118->SetRegister(0x9B, 0x00);

  001b5	6a 00		 push	 0
  001b7	68 9b 00 00 00	 push	 155			; 0000009bH
  001bc	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  001bf	83 c1 78	 add	 ecx, 120		; 00000078H
  001c2	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  001c7	8b c8		 mov	 ecx, eax
  001c9	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 242  :         m_SAA7118->SetRegister(0x9E, 0xf6);

  001ce	68 f6 00 00 00	 push	 246			; 000000f6H
  001d3	68 9e 00 00 00	 push	 158			; 0000009eH
  001d8	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  001db	83 c1 78	 add	 ecx, 120		; 00000078H
  001de	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  001e3	8b c8		 mov	 ecx, eax
  001e5	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 243  :         m_SAA7118->SetRegister(0x9F, 0x00);

  001ea	6a 00		 push	 0
  001ec	68 9f 00 00 00	 push	 159			; 0000009fH
  001f1	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  001f4	83 c1 78	 add	 ecx, 120		; 00000078H
  001f7	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  001fc	8b c8		 mov	 ecx, eax
  001fe	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister
$LN22@H3DSetForm:

; 244  :     }
; 245  : 
; 246  :     m_SAA7118->SetRegister(0x80, 0x10);

  00203	6a 10		 push	 16			; 00000010H
  00205	68 80 00 00 00	 push	 128			; 00000080H
  0020a	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  0020d	83 c1 78	 add	 ecx, 120		; 00000078H
  00210	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00215	8b c8		 mov	 ecx, eax
  00217	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 247  :     m_SAA7118->SetRegister(0x91, 0x08);

  0021c	6a 08		 push	 8
  0021e	68 91 00 00 00	 push	 145			; 00000091H
  00223	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00226	83 c1 78	 add	 ecx, 120		; 00000078H
  00229	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0022e	8b c8		 mov	 ecx, eax
  00230	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 248  :     m_SAA7118->SetRegister(0x92, 0x10);

  00235	6a 10		 push	 16			; 00000010H
  00237	68 92 00 00 00	 push	 146			; 00000092H
  0023c	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  0023f	83 c1 78	 add	 ecx, 120		; 00000078H
  00242	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00247	8b c8		 mov	 ecx, eax
  00249	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 249  : 
; 250  : 
; 251  :     switch(nInput)

  0024e	8b 45 08	 mov	 eax, DWORD PTR _nInput$[ebp]
  00251	89 45 e8	 mov	 DWORD PTR tv238[ebp], eax
  00254	83 7d e8 08	 cmp	 DWORD PTR tv238[ebp], 8
  00258	0f 87 00 01 00
	00		 ja	 $LN20@H3DSetForm
  0025e	8b 4d e8	 mov	 ecx, DWORD PTR tv238[ebp]
  00261	0f b6 91 00 00
	00 00		 movzx	 edx, BYTE PTR $LN26@H3DSetForm[ecx]
  00268	ff 24 95 00 00
	00 00		 jmp	 DWORD PTR $LN28@H3DSetForm[edx*4]
$LN19@H3DSetForm:

; 252  :     {
; 253  :     case H3D_COMPONENT:
; 254  :     case H3D_RGsB:
; 255  :     case H3D_SDI:
; 256  :     case H3D_PDI:
; 257  :         // doesn't really matter for these inputs
; 258  :         // but we'll set the default
; 259  :         ChrominanceControl = 0x89;

  0026f	c6 45 fe 89	 mov	 BYTE PTR _ChrominanceControl$[ebp], 137 ; 00000089H

; 260  :         m_SAA7118->SetRegister(0x29, 0x40);

  00273	6a 40		 push	 64			; 00000040H
  00275	6a 29		 push	 41			; 00000029H
  00277	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  0027a	83 c1 78	 add	 ecx, 120		; 00000078H
  0027d	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00282	8b c8		 mov	 ecx, eax
  00284	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 261  :         break;

  00289	e9 d0 00 00 00	 jmp	 $LN20@H3DSetForm
$LN18@H3DSetForm:

; 262  :     case H3D_SVIDEO:
; 263  :     case H3D_COMPOSITE1:
; 264  :     case H3D_COMPOSITE2:
; 265  :     case H3D_COMPOSITE3:
; 266  :     case H3D_COMPOSITE4:
; 267  :         m_SAA7118->SetRegister(0x29, 0x00);

  0028e	6a 00		 push	 0
  00290	6a 29		 push	 41			; 00000029H
  00292	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00295	83 c1 78	 add	 ecx, 120		; 00000078H
  00298	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0029d	8b c8		 mov	 ecx, eax
  0029f	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 268  :         switch(TVFormat)

  002a4	8b 45 0c	 mov	 eax, DWORD PTR _TVFormat$[ebp]
  002a7	89 45 e4	 mov	 DWORD PTR tv251[ebp], eax
  002aa	83 7d e4 13	 cmp	 DWORD PTR tv251[ebp], 19 ; 00000013H
  002ae	0f 87 96 00 00
	00		 ja	 $LN8@H3DSetForm
  002b4	8b 4d e4	 mov	 ecx, DWORD PTR tv251[ebp]
  002b7	0f b6 91 00 00
	00 00		 movzx	 edx, BYTE PTR $LN27@H3DSetForm[ecx]
  002be	ff 24 95 00 00
	00 00		 jmp	 DWORD PTR $LN29@H3DSetForm[edx*4]
$LN15@H3DSetForm:

; 269  :         {
; 270  :         case VIDEOFORMAT_PAL_M:
; 271  :             ChrominanceControl |= 3 << 4;

  002c5	0f b6 45 fe	 movzx	 eax, BYTE PTR _ChrominanceControl$[ebp]
  002c9	83 c8 30	 or	 eax, 48			; 00000030H
  002cc	88 45 fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], al

; 272  :             ChrominanceControl2 = 0x06;

  002cf	c6 45 ff 06	 mov	 BYTE PTR _ChrominanceControl2$[ebp], 6

; 273  :             break;

  002d3	e9 86 00 00 00	 jmp	 $LN20@H3DSetForm
$LN14@H3DSetForm:

; 274  :         case VIDEOFORMAT_PAL_60:
; 275  :             ChrominanceControl |= 1 << 4;

  002d8	0f b6 4d fe	 movzx	 ecx, BYTE PTR _ChrominanceControl$[ebp]
  002dc	83 c9 10	 or	 ecx, 16			; 00000010H
  002df	88 4d fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], cl

; 276  :             ChrominanceControl2 = 0x06;

  002e2	c6 45 ff 06	 mov	 BYTE PTR _ChrominanceControl2$[ebp], 6

; 277  :             break;

  002e6	eb 76		 jmp	 SHORT $LN20@H3DSetForm
$LN13@H3DSetForm:

; 278  :         case VIDEOFORMAT_NTSC_50:
; 279  :             ChrominanceControl |= 1 << 4;

  002e8	0f b6 55 fe	 movzx	 edx, BYTE PTR _ChrominanceControl$[ebp]
  002ec	83 ca 10	 or	 edx, 16			; 00000010H
  002ef	88 55 fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], dl

; 280  :             ChrominanceControl |= 1 << 3;

  002f2	0f b6 45 fe	 movzx	 eax, BYTE PTR _ChrominanceControl$[ebp]
  002f6	83 c8 08	 or	 eax, 8
  002f9	88 45 fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], al

; 281  :             ChrominanceControl2 = 0x0E;

  002fc	c6 45 ff 0e	 mov	 BYTE PTR _ChrominanceControl2$[ebp], 14 ; 0000000eH

; 282  :             break;

  00300	eb 5c		 jmp	 SHORT $LN20@H3DSetForm
$LN12@H3DSetForm:

; 283  :         case VIDEOFORMAT_PAL_N_COMBO:
; 284  :             ChrominanceControl |= 2 << 4;

  00302	0f b6 4d fe	 movzx	 ecx, BYTE PTR _ChrominanceControl$[ebp]
  00306	83 c9 20	 or	 ecx, 32			; 00000020H
  00309	88 4d fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], cl

; 285  :             ChrominanceControl2 = 0x06;

  0030c	c6 45 ff 06	 mov	 BYTE PTR _ChrominanceControl2$[ebp], 6

; 286  :             break;

  00310	eb 4c		 jmp	 SHORT $LN20@H3DSetForm
$LN11@H3DSetForm:

; 287  :         case VIDEOFORMAT_SECAM_B:
; 288  :         case VIDEOFORMAT_SECAM_D:
; 289  :         case VIDEOFORMAT_SECAM_G:
; 290  :         case VIDEOFORMAT_SECAM_H:
; 291  :         case VIDEOFORMAT_SECAM_K:
; 292  :         case VIDEOFORMAT_SECAM_K1:
; 293  :         case VIDEOFORMAT_SECAM_L:
; 294  :         case VIDEOFORMAT_SECAM_L1:
; 295  :             ChrominanceControl = 0xD0;

  00312	c6 45 fe d0	 mov	 BYTE PTR _ChrominanceControl$[ebp], 208 ; 000000d0H

; 296  :             ChrominanceControl2 = 0x00;

  00316	c6 45 ff 00	 mov	 BYTE PTR _ChrominanceControl2$[ebp], 0

; 297  :             ChrominanceGainControl = 0x80;

  0031a	c6 45 f6 80	 mov	 BYTE PTR _ChrominanceGainControl$[ebp], 128 ; 00000080H

; 298  :             LuminaceControl = 0x1B;

  0031e	c6 45 f7 1b	 mov	 BYTE PTR _LuminaceControl$[ebp], 27 ; 0000001bH

; 299  :             break;

  00322	eb 3a		 jmp	 SHORT $LN20@H3DSetForm
$LN10@H3DSetForm:

; 300  :         case VIDEOFORMAT_NTSC_M_Japan:
; 301  :             ChrominanceControl |= 4 << 4;

  00324	0f b6 55 fe	 movzx	 edx, BYTE PTR _ChrominanceControl$[ebp]
  00328	83 ca 40	 or	 edx, 64			; 00000040H
  0032b	88 55 fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], dl

; 302  :             ChrominanceControl |= 1 << 3;

  0032e	0f b6 45 fe	 movzx	 eax, BYTE PTR _ChrominanceControl$[ebp]
  00332	83 c8 08	 or	 eax, 8
  00335	88 45 fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], al

; 303  :             ChrominanceControl2 = 0x0E;

  00338	c6 45 ff 0e	 mov	 BYTE PTR _ChrominanceControl2$[ebp], 14 ; 0000000eH

; 304  :             break;

  0033c	eb 20		 jmp	 SHORT $LN20@H3DSetForm
$LN9@H3DSetForm:

; 305  :         case VIDEOFORMAT_PAL_B:
; 306  :         case VIDEOFORMAT_PAL_D:
; 307  :         case VIDEOFORMAT_PAL_G:
; 308  :         case VIDEOFORMAT_PAL_H:
; 309  :         case VIDEOFORMAT_PAL_I:
; 310  :             ChrominanceControl |= 0 << 4;

  0033e	8a 4d fe	 mov	 cl, BYTE PTR _ChrominanceControl$[ebp]
  00341	88 4d fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], cl

; 311  :             ChrominanceControl2 = 0x06;

  00344	c6 45 ff 06	 mov	 BYTE PTR _ChrominanceControl2$[ebp], 6

; 312  :             break;

  00348	eb 14		 jmp	 SHORT $LN20@H3DSetForm
$LN8@H3DSetForm:

; 313  :         case VIDEOFORMAT_NTSC_M:
; 314  :         default:
; 315  :             ChrominanceControl |= 0 << 4;

  0034a	8a 55 fe	 mov	 dl, BYTE PTR _ChrominanceControl$[ebp]
  0034d	88 55 fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], dl

; 316  :             ChrominanceControl |= 1 << 3;

  00350	0f b6 45 fe	 movzx	 eax, BYTE PTR _ChrominanceControl$[ebp]
  00354	83 c8 08	 or	 eax, 8
  00357	88 45 fe	 mov	 BYTE PTR _ChrominanceControl$[ebp], al

; 317  :             ChrominanceControl2 = 0x0E;

  0035a	c6 45 ff 0e	 mov	 BYTE PTR _ChrominanceControl2$[ebp], 14 ; 0000000eH
$LN20@H3DSetForm:

; 318  :             break;
; 319  :         }
; 320  :         break;
; 321  :     }
; 322  : 
; 323  :     if(nInput == H3D_SVIDEO)

  0035e	83 7d 08 02	 cmp	 DWORD PTR _nInput$[ebp], 2
  00362	75 0d		 jne	 SHORT $LN7@H3DSetForm

; 324  :     {
; 325  :         LuminaceControl |= 0x80;

  00364	0f b6 4d f7	 movzx	 ecx, BYTE PTR _LuminaceControl$[ebp]
  00368	81 c9 80 00 00
	00		 or	 ecx, 128		; 00000080H
  0036e	88 4d f7	 mov	 BYTE PTR _LuminaceControl$[ebp], cl
$LN7@H3DSetForm:

; 326  :     }
; 327  : 
; 328  :     m_SAA7118->SetRegister(0x09, LuminaceControl);

  00371	0f b6 55 f7	 movzx	 edx, BYTE PTR _LuminaceControl$[ebp]
  00375	52		 push	 edx
  00376	6a 09		 push	 9
  00378	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  0037b	83 c1 78	 add	 ecx, 120		; 00000078H
  0037e	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00383	8b c8		 mov	 ecx, eax
  00385	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 329  :     m_SAA7118->SetRegister(0x0E, ChrominanceControl);

  0038a	0f b6 45 fe	 movzx	 eax, BYTE PTR _ChrominanceControl$[ebp]
  0038e	50		 push	 eax
  0038f	6a 0e		 push	 14			; 0000000eH
  00391	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00394	83 c1 78	 add	 ecx, 120		; 00000078H
  00397	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0039c	8b c8		 mov	 ecx, eax
  0039e	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 330  :     m_SAA7118->SetRegister(0x0F, ChrominanceGainControl);

  003a3	0f b6 4d f6	 movzx	 ecx, BYTE PTR _ChrominanceGainControl$[ebp]
  003a7	51		 push	 ecx
  003a8	6a 0f		 push	 15			; 0000000fH
  003aa	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  003ad	83 c1 78	 add	 ecx, 120		; 00000078H
  003b0	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  003b5	8b c8		 mov	 ecx, eax
  003b7	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 331  :     m_SAA7118->SetRegister(0x10, ChrominanceControl2);

  003bc	0f b6 55 ff	 movzx	 edx, BYTE PTR _ChrominanceControl2$[ebp]
  003c0	52		 push	 edx
  003c1	6a 10		 push	 16			; 00000010H
  003c3	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  003c6	83 c1 78	 add	 ecx, 120		; 00000078H
  003c9	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  003ce	8b c8		 mov	 ecx, eax
  003d0	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 332  : 
; 333  :     if(IsProgressive)

  003d5	83 7d 10 00	 cmp	 DWORD PTR _IsProgressive$[ebp], 0
  003d9	74 60		 je	 SHORT $LN6@H3DSetForm

; 334  :     {
; 335  :         WriteByte(0x390005, 0xca);

  003db	68 ca 00 00 00	 push	 202			; 000000caH
  003e0	68 05 00 39 00	 push	 3735557			; 00390005H
  003e5	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  003e8	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 336  :         WriteByte(0x390008, 0x12);

  003ed	6a 12		 push	 18			; 00000012H
  003ef	68 08 00 39 00	 push	 3735560			; 00390008H
  003f4	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  003f7	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 337  :         WriteByte(0x39000a, 0x7e);

  003fc	6a 7e		 push	 126			; 0000007eH
  003fe	68 0a 00 39 00	 push	 3735562			; 0039000aH
  00403	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00406	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 338  :         WriteByte(0x39000e, 0x10);

  0040b	6a 10		 push	 16			; 00000010H
  0040d	68 0e 00 39 00	 push	 3735566			; 0039000eH
  00412	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00415	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 339  :         WriteByte(0x39000f, 0x02);

  0041a	6a 02		 push	 2
  0041c	68 0f 00 39 00	 push	 3735567			; 0039000fH
  00421	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00424	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 340  :         BYTE test = ReadByte(0x39000f);

  00429	68 0f 00 39 00	 push	 3735567			; 0039000fH
  0042e	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00431	e8 00 00 00 00	 call	 ?ReadByte@CPCICard@@QAEEK@Z ; CPCICard::ReadByte
  00436	88 45 f5	 mov	 BYTE PTR _test$145350[ebp], al

; 341  :     }
; 342  :     else

  00439	eb 3f		 jmp	 SHORT $LN5@H3DSetForm
$LN6@H3DSetForm:

; 343  :     {
; 344  :         WriteByte(0x390005, 0x8a);

  0043b	68 8a 00 00 00	 push	 138			; 0000008aH
  00440	68 05 00 39 00	 push	 3735557			; 00390005H
  00445	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00448	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 345  :         WriteByte(0x390008, 0x13);

  0044d	6a 13		 push	 19			; 00000013H
  0044f	68 08 00 39 00	 push	 3735560			; 00390008H
  00454	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00457	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 346  :         WriteByte(0x39000e, 0x00);

  0045c	6a 00		 push	 0
  0045e	68 0e 00 39 00	 push	 3735566			; 0039000eH
  00463	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00466	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 347  :         WriteByte(0x39000f, 0x01);

  0046b	6a 01		 push	 1
  0046d	68 0f 00 39 00	 push	 3735567			; 0039000fH
  00472	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00475	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte
$LN5@H3DSetForm:

; 348  :     }
; 349  : 
; 350  :     // reset the scaler
; 351  :     m_SAA7118->SetRegister(0x88,0x00);

  0047a	6a 00		 push	 0
  0047c	68 88 00 00 00	 push	 136			; 00000088H
  00481	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  00484	83 c1 78	 add	 ecx, 120		; 00000078H
  00487	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0048c	8b c8		 mov	 ecx, eax
  0048e	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 352  :     m_SAA7118->SetRegister(0x88,0x20);

  00493	6a 20		 push	 32			; 00000020H
  00495	68 88 00 00 00	 push	 136			; 00000088H
  0049a	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  0049d	83 c1 78	 add	 ecx, 120		; 00000078H
  004a0	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  004a5	8b c8		 mov	 ecx, eax
  004a7	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 353  : 
; 354  :     FILE* hFile = _tfopen(_T("FPGA.txt"), _T("w"));

  004ac	68 00 00 00 00	 push	 OFFSET ??_C@_13CIFDLIMG@?$AAw?$AA?$AA@
  004b1	68 00 00 00 00	 push	 OFFSET ??_C@_1BC@BBFMIGPD@?$AAF?$AAP?$AAG?$AAA?$AA?4?$AAt?$AAx?$AAt?$AA?$AA@
  004b6	e8 00 00 00 00	 call	 __wfopen
  004bb	83 c4 08	 add	 esp, 8
  004be	89 45 f8	 mov	 DWORD PTR _hFile$[ebp], eax

; 355  :     if(!hFile)

  004c1	83 7d f8 00	 cmp	 DWORD PTR _hFile$[ebp], 0
  004c5	75 02		 jne	 SHORT $LN4@H3DSetForm

; 356  :     {
; 357  :         return;

  004c7	eb 4e		 jmp	 SHORT $LN24@H3DSetForm
$LN4@H3DSetForm:

; 358  :     }
; 359  : 
; 360  :     for(DWORD i(0x390000); i <= 0x39000F; ++i)

  004c9	c7 45 f0 00 00
	39 00		 mov	 DWORD PTR _i$145354[ebp], 3735552 ; 00390000H
  004d0	eb 09		 jmp	 SHORT $LN3@H3DSetForm
$LN2@H3DSetForm:
  004d2	8b 45 f0	 mov	 eax, DWORD PTR _i$145354[ebp]
  004d5	83 c0 01	 add	 eax, 1
  004d8	89 45 f0	 mov	 DWORD PTR _i$145354[ebp], eax
$LN3@H3DSetForm:
  004db	81 7d f0 0f 00
	39 00		 cmp	 DWORD PTR _i$145354[ebp], 3735567 ; 0039000fH
  004e2	77 27		 ja	 SHORT $LN1@H3DSetForm

; 361  :     {
; 362  :         _ftprintf(hFile, _T("%06x\t%02x\n"), i, ReadByte(i));

  004e4	8b 4d f0	 mov	 ecx, DWORD PTR _i$145354[ebp]
  004e7	51		 push	 ecx
  004e8	8b 4d ec	 mov	 ecx, DWORD PTR _this$[ebp]
  004eb	e8 00 00 00 00	 call	 ?ReadByte@CPCICard@@QAEEK@Z ; CPCICard::ReadByte
  004f0	0f b6 d0	 movzx	 edx, al
  004f3	52		 push	 edx
  004f4	8b 45 f0	 mov	 eax, DWORD PTR _i$145354[ebp]
  004f7	50		 push	 eax
  004f8	68 00 00 00 00	 push	 OFFSET ??_C@_1BG@LGAFEOJB@?$AA?$CF?$AA0?$AA6?$AAx?$AA?7?$AA?$CF?$AA0?$AA2?$AAx?$AA?6?$AA?$AA@
  004fd	8b 4d f8	 mov	 ecx, DWORD PTR _hFile$[ebp]
  00500	51		 push	 ecx
  00501	e8 00 00 00 00	 call	 _fwprintf
  00506	83 c4 10	 add	 esp, 16			; 00000010H

; 363  :     }

  00509	eb c7		 jmp	 SHORT $LN2@H3DSetForm
$LN1@H3DSetForm:

; 364  : 
; 365  :     fclose(hFile);

  0050b	8b 55 f8	 mov	 edx, DWORD PTR _hFile$[ebp]
  0050e	52		 push	 edx
  0050f	e8 00 00 00 00	 call	 _fclose
  00514	83 c4 04	 add	 esp, 4
$LN24@H3DSetForm:

; 366  : 
; 367  : }

  00517	8b e5		 mov	 esp, ebp
  00519	5d		 pop	 ebp
  0051a	c2 0c 00	 ret	 12			; 0000000cH
  0051d	8d 49 00	 npad	 3
$LN28@H3DSetForm:
  00520	00 00 00 00	 DD	 $LN19@H3DSetForm
  00524	00 00 00 00	 DD	 $LN18@H3DSetForm
$LN26@H3DSetForm:
  00528	00		 DB	 0
  00529	00		 DB	 0
  0052a	01		 DB	 1
  0052b	00		 DB	 0
  0052c	01		 DB	 1
  0052d	01		 DB	 1
  0052e	01		 DB	 1
  0052f	01		 DB	 1
  00530	00		 DB	 0
  00531	8d 49 00	 npad	 3
$LN29@H3DSetForm:
  00534	00 00 00 00	 DD	 $LN9@H3DSetForm
  00538	00 00 00 00	 DD	 $LN15@H3DSetForm
  0053c	00 00 00 00	 DD	 $LN14@H3DSetForm
  00540	00 00 00 00	 DD	 $LN12@H3DSetForm
  00544	00 00 00 00	 DD	 $LN11@H3DSetForm
  00548	00 00 00 00	 DD	 $LN10@H3DSetForm
  0054c	00 00 00 00	 DD	 $LN13@H3DSetForm
  00550	00 00 00 00	 DD	 $LN8@H3DSetForm
$LN27@H3DSetForm:
  00554	00		 DB	 0
  00555	00		 DB	 0
  00556	00		 DB	 0
  00557	00		 DB	 0
  00558	00		 DB	 0
  00559	01		 DB	 1
  0055a	07		 DB	 7
  0055b	02		 DB	 2
  0055c	03		 DB	 3
  0055d	04		 DB	 4
  0055e	04		 DB	 4
  0055f	04		 DB	 4
  00560	04		 DB	 4
  00561	04		 DB	 4
  00562	04		 DB	 4
  00563	04		 DB	 4
  00564	04		 DB	 4
  00565	07		 DB	 7
  00566	05		 DB	 5
  00567	06		 DB	 6
?H3DSetFormat@CCX2388xCard@@AAEXHW4eVideoFormat@@H@Z ENDP ; CCX2388xCard::H3DSetFormat
_TEXT	ENDS
PUBLIC	?InitH3D@CCX2388xCard@@AAEXXZ			; CCX2388xCard::InitH3D
;	COMDAT xdata$x
xdata$x	SEGMENT
__unwindtable$?InitH3D@CCX2388xCard@@AAEXXZ DD 0ffffffffH
	DD	FLAT:__unwindfunclet$?InitH3D@CCX2388xCard@@AAEXXZ$0
__ehfuncinfo$?InitH3D@CCX2388xCard@@AAEXXZ DD 019930522H
	DD	01H
	DD	FLAT:__unwindtable$?InitH3D@CCX2388xCard@@AAEXXZ
	DD	2 DUP(00H)
	DD	2 DUP(00H)
	DD	00H
	DD	00H
; Function compile flags: /Odtp
xdata$x	ENDS
;	COMDAT ?InitH3D@CCX2388xCard@@AAEXXZ
_TEXT	SEGMENT
tv74 = -40						; size = 4
_this$ = -36						; size = 4
$T348552 = -32						; size = 4
$T348551 = -28						; size = 4
_j$145297 = -21						; size = 1
_hFile$ = -20						; size = 4
_i$ = -16						; size = 4
__$EHRec$ = -12						; size = 12
?InitH3D@CCX2388xCard@@AAEXXZ PROC			; CCX2388xCard::InitH3D, COMDAT
; _this$ = ecx

; 52   : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	6a ff		 push	 -1
  00005	68 00 00 00 00	 push	 __ehhandler$?InitH3D@CCX2388xCard@@AAEXXZ
  0000a	64 a1 00 00 00
	00		 mov	 eax, DWORD PTR fs:0
  00010	50		 push	 eax
  00011	83 ec 1c	 sub	 esp, 28			; 0000001cH
  00014	a1 00 00 00 00	 mov	 eax, DWORD PTR ___security_cookie
  00019	33 c5		 xor	 eax, ebp
  0001b	50		 push	 eax
  0001c	8d 45 f4	 lea	 eax, DWORD PTR __$EHRec$[ebp]
  0001f	64 a3 00 00 00
	00		 mov	 DWORD PTR fs:0, eax
  00025	89 4d dc	 mov	 DWORD PTR _this$[ebp], ecx

; 53   :     m_SAA7118 = new CSAA7118();

  00028	6a 0c		 push	 12			; 0000000cH
  0002a	e8 00 00 00 00	 call	 ??2@YAPAXI@Z		; operator new
  0002f	83 c4 04	 add	 esp, 4
  00032	89 45 e0	 mov	 DWORD PTR $T348552[ebp], eax
  00035	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR __$EHRec$[ebp+8], 0
  0003c	83 7d e0 00	 cmp	 DWORD PTR $T348552[ebp], 0
  00040	74 0d		 je	 SHORT $LN14@InitH3D
  00042	8b 4d e0	 mov	 ecx, DWORD PTR $T348552[ebp]
  00045	e8 00 00 00 00	 call	 ??0CSAA7118@@QAE@XZ	; CSAA7118::CSAA7118
  0004a	89 45 d8	 mov	 DWORD PTR tv74[ebp], eax
  0004d	eb 07		 jmp	 SHORT $LN15@InitH3D
$LN14@InitH3D:
  0004f	c7 45 d8 00 00
	00 00		 mov	 DWORD PTR tv74[ebp], 0
$LN15@InitH3D:
  00056	8b 45 d8	 mov	 eax, DWORD PTR tv74[ebp]
  00059	89 45 e4	 mov	 DWORD PTR $T348551[ebp], eax
  0005c	c7 45 fc ff ff
	ff ff		 mov	 DWORD PTR __$EHRec$[ebp+8], -1
  00063	8b 4d e4	 mov	 ecx, DWORD PTR $T348551[ebp]
  00066	51		 push	 ecx
  00067	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0006a	83 c1 78	 add	 ecx, 120		; 00000078H
  0006d	e8 00 00 00 00	 call	 ??4?$SmartPtr@VCSAA7118@@@@QAEAAV0@PAVCSAA7118@@@Z ; SmartPtr<CSAA7118>::operator=

; 54   : 
; 55   :     m_SAA7118->SetI2CBus(m_I2CBus.GetRawPointer());

  00072	6a 00		 push	 0
  00074	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00077	83 c1 68	 add	 ecx, 104		; 00000068H
  0007a	e8 00 00 00 00	 call	 ?GetRawPointer@?$SmartPtr@VCI2CBus@@@@QBEPAVCI2CBus@@XZ ; SmartPtr<CI2CBus>::GetRawPointer
  0007f	50		 push	 eax
  00080	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00083	83 c1 78	 add	 ecx, 120		; 00000078H
  00086	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0008b	8b c8		 mov	 ecx, eax
  0008d	e8 00 00 00 00	 call	 ?SetI2CBus@CI2CDevice@@QAEXPAVCI2CBus@@E@Z ; CI2CDevice::SetI2CBus

; 56   : 
; 57   :     if(m_SAA7118->GetVersion() > 0)

  00092	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00095	83 c1 78	 add	 ecx, 120		; 00000078H
  00098	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0009d	8b c8		 mov	 ecx, eax
  0009f	e8 00 00 00 00	 call	 ?GetVersion@CSAA7118@@QAEEXZ ; CSAA7118::GetVersion
  000a4	0f b6 d0	 movzx	 edx, al
  000a7	85 d2		 test	 edx, edx
  000a9	7e 17		 jle	 SHORT $LN11@InitH3D

; 58   :     {
; 59   :         m_SAA7118->DumpSettings(_T("SAA7118_H3D.txt"));

  000ab	68 00 00 00 00	 push	 OFFSET ??_C@_1CA@CIMCFMG@?$AAS?$AAA?$AAA?$AA7?$AA1?$AA1?$AA8?$AA_?$AAH?$AA3?$AAD?$AA?4?$AAt?$AAx?$AAt?$AA?$AA@
  000b0	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  000b3	83 c1 78	 add	 ecx, 120		; 00000078H
  000b6	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  000bb	8b c8		 mov	 ecx, eax
  000bd	e8 00 00 00 00	 call	 ?DumpSettings@CSAA7118@@QAEXPB_W@Z ; CSAA7118::DumpSettings
$LN11@InitH3D:

; 60   :     }
; 61   : 
; 62   :     FILE* hFile = _tfopen(_T("FPGA.txt"), _T("w"));

  000c2	68 00 00 00 00	 push	 OFFSET ??_C@_13CIFDLIMG@?$AAw?$AA?$AA@
  000c7	68 00 00 00 00	 push	 OFFSET ??_C@_1BC@BBFMIGPD@?$AAF?$AAP?$AAG?$AAA?$AA?4?$AAt?$AAx?$AAt?$AA?$AA@
  000cc	e8 00 00 00 00	 call	 __wfopen
  000d1	83 c4 08	 add	 esp, 8
  000d4	89 45 ec	 mov	 DWORD PTR _hFile$[ebp], eax

; 63   :     if(!hFile)

  000d7	83 7d ec 00	 cmp	 DWORD PTR _hFile$[ebp], 0
  000db	75 05		 jne	 SHORT $LN10@InitH3D

; 64   :     {
; 65   :         return;

  000dd	e9 bd 06 00 00	 jmp	 $LN12@InitH3D
$LN10@InitH3D:

; 66   :     }
; 67   : 
; 68   :     DWORD i;
; 69   :     for(i = 0x390000; i <= 0x39000F; ++i)

  000e2	c7 45 f0 00 00
	39 00		 mov	 DWORD PTR _i$[ebp], 3735552 ; 00390000H
  000e9	eb 09		 jmp	 SHORT $LN9@InitH3D
$LN8@InitH3D:
  000eb	8b 45 f0	 mov	 eax, DWORD PTR _i$[ebp]
  000ee	83 c0 01	 add	 eax, 1
  000f1	89 45 f0	 mov	 DWORD PTR _i$[ebp], eax
$LN9@InitH3D:
  000f4	81 7d f0 0f 00
	39 00		 cmp	 DWORD PTR _i$[ebp], 3735567 ; 0039000fH
  000fb	77 27		 ja	 SHORT $LN7@InitH3D

; 70   :     {
; 71   :         _ftprintf(hFile, _T("%06x\t%02x\n"), i, ReadByte(i));

  000fd	8b 4d f0	 mov	 ecx, DWORD PTR _i$[ebp]
  00100	51		 push	 ecx
  00101	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00104	e8 00 00 00 00	 call	 ?ReadByte@CPCICard@@QAEEK@Z ; CPCICard::ReadByte
  00109	0f b6 d0	 movzx	 edx, al
  0010c	52		 push	 edx
  0010d	8b 45 f0	 mov	 eax, DWORD PTR _i$[ebp]
  00110	50		 push	 eax
  00111	68 00 00 00 00	 push	 OFFSET ??_C@_1BG@LGAFEOJB@?$AA?$CF?$AA0?$AA6?$AAx?$AA?7?$AA?$CF?$AA0?$AA2?$AAx?$AA?6?$AA?$AA@
  00116	8b 4d ec	 mov	 ecx, DWORD PTR _hFile$[ebp]
  00119	51		 push	 ecx
  0011a	e8 00 00 00 00	 call	 _fwprintf
  0011f	83 c4 10	 add	 esp, 16			; 00000010H

; 72   :     }

  00122	eb c7		 jmp	 SHORT $LN8@InitH3D
$LN7@InitH3D:

; 73   :     for(i = 0x39000d; i <= 0x390FFd; i += 0x10)

  00124	c7 45 f0 0d 00
	39 00		 mov	 DWORD PTR _i$[ebp], 3735565 ; 0039000dH
  0012b	eb 09		 jmp	 SHORT $LN6@InitH3D
$LN5@InitH3D:
  0012d	8b 55 f0	 mov	 edx, DWORD PTR _i$[ebp]
  00130	83 c2 10	 add	 edx, 16			; 00000010H
  00133	89 55 f0	 mov	 DWORD PTR _i$[ebp], edx
$LN6@InitH3D:
  00136	81 7d f0 fd 0f
	39 00		 cmp	 DWORD PTR _i$[ebp], 3739645 ; 00390ffdH
  0013d	77 27		 ja	 SHORT $LN4@InitH3D

; 74   :     {
; 75   :         _ftprintf(hFile, _T("%06x\t%02x\n"), i, ReadByte(i));

  0013f	8b 45 f0	 mov	 eax, DWORD PTR _i$[ebp]
  00142	50		 push	 eax
  00143	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00146	e8 00 00 00 00	 call	 ?ReadByte@CPCICard@@QAEEK@Z ; CPCICard::ReadByte
  0014b	0f b6 c8	 movzx	 ecx, al
  0014e	51		 push	 ecx
  0014f	8b 55 f0	 mov	 edx, DWORD PTR _i$[ebp]
  00152	52		 push	 edx
  00153	68 00 00 00 00	 push	 OFFSET ??_C@_1BG@LGAFEOJB@?$AA?$CF?$AA0?$AA6?$AAx?$AA?7?$AA?$CF?$AA0?$AA2?$AAx?$AA?6?$AA?$AA@
  00158	8b 45 ec	 mov	 eax, DWORD PTR _hFile$[ebp]
  0015b	50		 push	 eax
  0015c	e8 00 00 00 00	 call	 _fwprintf
  00161	83 c4 10	 add	 esp, 16			; 00000010H

; 76   :     }

  00164	eb c7		 jmp	 SHORT $LN5@InitH3D
$LN4@InitH3D:

; 77   : 
; 78   :     fclose(hFile);

  00166	8b 4d ec	 mov	 ecx, DWORD PTR _hFile$[ebp]
  00169	51		 push	 ecx
  0016a	e8 00 00 00 00	 call	 _fclose
  0016f	83 c4 04	 add	 esp, 4

; 79   : 
; 80   :     m_SAA7118->SetRegister(0x01, 0x47);

  00172	6a 47		 push	 71			; 00000047H
  00174	6a 01		 push	 1
  00176	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00179	83 c1 78	 add	 ecx, 120		; 00000078H
  0017c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00181	8b c8		 mov	 ecx, eax
  00183	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 81   :     m_SAA7118->SetRegister(0x03, 0x20);

  00188	6a 20		 push	 32			; 00000020H
  0018a	6a 03		 push	 3
  0018c	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0018f	83 c1 78	 add	 ecx, 120		; 00000078H
  00192	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00197	8b c8		 mov	 ecx, eax
  00199	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 82   :     m_SAA7118->SetRegister(0x04, 0x90);

  0019e	68 90 00 00 00	 push	 144			; 00000090H
  001a3	6a 04		 push	 4
  001a5	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  001a8	83 c1 78	 add	 ecx, 120		; 00000078H
  001ab	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  001b0	8b c8		 mov	 ecx, eax
  001b2	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 83   :     m_SAA7118->SetRegister(0x05, 0x90);

  001b7	68 90 00 00 00	 push	 144			; 00000090H
  001bc	6a 05		 push	 5
  001be	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  001c1	83 c1 78	 add	 ecx, 120		; 00000078H
  001c4	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  001c9	8b c8		 mov	 ecx, eax
  001cb	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 84   :     m_SAA7118->SetRegister(0x06, 0xeb);

  001d0	68 eb 00 00 00	 push	 235			; 000000ebH
  001d5	6a 06		 push	 6
  001d7	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  001da	83 c1 78	 add	 ecx, 120		; 00000078H
  001dd	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  001e2	8b c8		 mov	 ecx, eax
  001e4	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 85   :     m_SAA7118->SetRegister(0x07, 0xe0);

  001e9	68 e0 00 00 00	 push	 224			; 000000e0H
  001ee	6a 07		 push	 7
  001f0	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  001f3	83 c1 78	 add	 ecx, 120		; 00000078H
  001f6	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  001fb	8b c8		 mov	 ecx, eax
  001fd	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 86   :     m_SAA7118->SetRegister(0x08, 0xb8);

  00202	68 b8 00 00 00	 push	 184			; 000000b8H
  00207	6a 08		 push	 8
  00209	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0020c	83 c1 78	 add	 ecx, 120		; 00000078H
  0020f	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00214	8b c8		 mov	 ecx, eax
  00216	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 87   :     m_SAA7118->SetRegister(0x11, 0x00);

  0021b	6a 00		 push	 0
  0021d	6a 11		 push	 17			; 00000011H
  0021f	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00222	83 c1 78	 add	 ecx, 120		; 00000078H
  00225	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0022a	8b c8		 mov	 ecx, eax
  0022c	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 88   :     m_SAA7118->SetRegister(0x12, 0x00);

  00231	6a 00		 push	 0
  00233	6a 12		 push	 18			; 00000012H
  00235	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00238	83 c1 78	 add	 ecx, 120		; 00000078H
  0023b	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00240	8b c8		 mov	 ecx, eax
  00242	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 89   :     m_SAA7118->SetRegister(0x13, 0x00);

  00247	6a 00		 push	 0
  00249	6a 13		 push	 19			; 00000013H
  0024b	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0024e	83 c1 78	 add	 ecx, 120		; 00000078H
  00251	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00256	8b c8		 mov	 ecx, eax
  00258	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 90   :     m_SAA7118->SetRegister(0x14, 0x00);

  0025d	6a 00		 push	 0
  0025f	6a 14		 push	 20			; 00000014H
  00261	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00264	83 c1 78	 add	 ecx, 120		; 00000078H
  00267	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0026c	8b c8		 mov	 ecx, eax
  0026e	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 91   :     m_SAA7118->SetRegister(0x15, 0x11);

  00273	6a 11		 push	 17			; 00000011H
  00275	6a 15		 push	 21			; 00000015H
  00277	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0027a	83 c1 78	 add	 ecx, 120		; 00000078H
  0027d	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00282	8b c8		 mov	 ecx, eax
  00284	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 92   :     m_SAA7118->SetRegister(0x16, 0xfe);

  00289	68 fe 00 00 00	 push	 254			; 000000feH
  0028e	6a 16		 push	 22			; 00000016H
  00290	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00293	83 c1 78	 add	 ecx, 120		; 00000078H
  00296	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0029b	8b c8		 mov	 ecx, eax
  0029d	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 93   :     m_SAA7118->SetRegister(0x17, 0xc0);

  002a2	68 c0 00 00 00	 push	 192			; 000000c0H
  002a7	6a 17		 push	 23			; 00000017H
  002a9	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  002ac	83 c1 78	 add	 ecx, 120		; 00000078H
  002af	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  002b4	8b c8		 mov	 ecx, eax
  002b6	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 94   :     m_SAA7118->SetRegister(0x18, 0x40);

  002bb	6a 40		 push	 64			; 00000040H
  002bd	6a 18		 push	 24			; 00000018H
  002bf	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  002c2	83 c1 78	 add	 ecx, 120		; 00000078H
  002c5	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  002ca	8b c8		 mov	 ecx, eax
  002cc	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 95   :     m_SAA7118->SetRegister(0x19, 0x80);

  002d1	68 80 00 00 00	 push	 128			; 00000080H
  002d6	6a 19		 push	 25			; 00000019H
  002d8	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  002db	83 c1 78	 add	 ecx, 120		; 00000078H
  002de	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  002e3	8b c8		 mov	 ecx, eax
  002e5	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 96   : 
; 97   :     m_SAA7118->SetRegister(0x23, 0x00);

  002ea	6a 00		 push	 0
  002ec	6a 23		 push	 35			; 00000023H
  002ee	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  002f1	83 c1 78	 add	 ecx, 120		; 00000078H
  002f4	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  002f9	8b c8		 mov	 ecx, eax
  002fb	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 98   :     m_SAA7118->SetRegister(0x24, 0x90);

  00300	68 90 00 00 00	 push	 144			; 00000090H
  00305	6a 24		 push	 36			; 00000024H
  00307	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0030a	83 c1 78	 add	 ecx, 120		; 00000078H
  0030d	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00312	8b c8		 mov	 ecx, eax
  00314	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 99   :     m_SAA7118->SetRegister(0x25, 0x90);

  00319	68 90 00 00 00	 push	 144			; 00000090H
  0031e	6a 25		 push	 37			; 00000025H
  00320	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00323	83 c1 78	 add	 ecx, 120		; 00000078H
  00326	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0032b	8b c8		 mov	 ecx, eax
  0032d	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 100  :     m_SAA7118->SetRegister(0x29, 0x00);

  00332	6a 00		 push	 0
  00334	6a 29		 push	 41			; 00000029H
  00336	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00339	83 c1 78	 add	 ecx, 120		; 00000078H
  0033c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00341	8b c8		 mov	 ecx, eax
  00343	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 101  :     m_SAA7118->SetRegister(0x2D, 0x00);

  00348	6a 00		 push	 0
  0034a	6a 2d		 push	 45			; 0000002dH
  0034c	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0034f	83 c1 78	 add	 ecx, 120		; 00000078H
  00352	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00357	8b c8		 mov	 ecx, eax
  00359	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 102  :     m_SAA7118->SetRegister(0x2E, 0x00);

  0035e	6a 00		 push	 0
  00360	6a 2e		 push	 46			; 0000002eH
  00362	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00365	83 c1 78	 add	 ecx, 120		; 00000078H
  00368	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0036d	8b c8		 mov	 ecx, eax
  0036f	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 103  :     m_SAA7118->SetRegister(0x2F, 0x00);

  00374	6a 00		 push	 0
  00376	6a 2f		 push	 47			; 0000002fH
  00378	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0037b	83 c1 78	 add	 ecx, 120		; 00000078H
  0037e	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00383	8b c8		 mov	 ecx, eax
  00385	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 104  : 
; 105  :     m_SAA7118->SetRegister(0x40, 0x40);

  0038a	6a 40		 push	 64			; 00000040H
  0038c	6a 40		 push	 64			; 00000040H
  0038e	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00391	83 c1 78	 add	 ecx, 120		; 00000078H
  00394	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00399	8b c8		 mov	 ecx, eax
  0039b	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 106  :     for(BYTE j(0x41); j <= 0x57; ++j)

  003a0	c6 45 eb 41	 mov	 BYTE PTR _j$145297[ebp], 65 ; 00000041H
  003a4	eb 09		 jmp	 SHORT $LN3@InitH3D
$LN2@InitH3D:
  003a6	8a 55 eb	 mov	 dl, BYTE PTR _j$145297[ebp]
  003a9	80 c2 01	 add	 dl, 1
  003ac	88 55 eb	 mov	 BYTE PTR _j$145297[ebp], dl
$LN3@InitH3D:
  003af	0f b6 45 eb	 movzx	 eax, BYTE PTR _j$145297[ebp]
  003b3	83 f8 57	 cmp	 eax, 87			; 00000057H
  003b6	7f 1e		 jg	 SHORT $LN1@InitH3D

; 107  :     {
; 108  :         m_SAA7118->SetRegister(j, 0xFF);

  003b8	68 ff 00 00 00	 push	 255			; 000000ffH
  003bd	0f b6 4d eb	 movzx	 ecx, BYTE PTR _j$145297[ebp]
  003c1	51		 push	 ecx
  003c2	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  003c5	83 c1 78	 add	 ecx, 120		; 00000078H
  003c8	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  003cd	8b c8		 mov	 ecx, eax
  003cf	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 109  :     }

  003d4	eb d0		 jmp	 SHORT $LN2@InitH3D
$LN1@InitH3D:

; 110  :     m_SAA7118->SetRegister(0x58, 0x00);

  003d6	6a 00		 push	 0
  003d8	6a 58		 push	 88			; 00000058H
  003da	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  003dd	83 c1 78	 add	 ecx, 120		; 00000078H
  003e0	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  003e5	8b c8		 mov	 ecx, eax
  003e7	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 111  :     m_SAA7118->SetRegister(0x59, 0x00);

  003ec	6a 00		 push	 0
  003ee	6a 59		 push	 89			; 00000059H
  003f0	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  003f3	83 c1 78	 add	 ecx, 120		; 00000078H
  003f6	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  003fb	8b c8		 mov	 ecx, eax
  003fd	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 112  :     m_SAA7118->SetRegister(0x5C, 0x00);

  00402	6a 00		 push	 0
  00404	6a 5c		 push	 92			; 0000005cH
  00406	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00409	83 c1 78	 add	 ecx, 120		; 00000078H
  0040c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00411	8b c8		 mov	 ecx, eax
  00413	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 113  :     m_SAA7118->SetRegister(0x5D, 0x00);

  00418	6a 00		 push	 0
  0041a	6a 5d		 push	 93			; 0000005dH
  0041c	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0041f	83 c1 78	 add	 ecx, 120		; 00000078H
  00422	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00427	8b c8		 mov	 ecx, eax
  00429	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 114  :     m_SAA7118->SetRegister(0x5E, 0x00);

  0042e	6a 00		 push	 0
  00430	6a 5e		 push	 94			; 0000005eH
  00432	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00435	83 c1 78	 add	 ecx, 120		; 00000078H
  00438	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0043d	8b c8		 mov	 ecx, eax
  0043f	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 115  :     m_SAA7118->SetRegister(0x5F, 0x00);

  00444	6a 00		 push	 0
  00446	6a 5f		 push	 95			; 0000005fH
  00448	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0044b	83 c1 78	 add	 ecx, 120		; 00000078H
  0044e	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00453	8b c8		 mov	 ecx, eax
  00455	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 116  : 
; 117  :     // 2
; 118  :     // stop the scaler
; 119  :     m_SAA7118->SetRegister(0x88,0x00);

  0045a	6a 00		 push	 0
  0045c	68 88 00 00 00	 push	 136			; 00000088H
  00461	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00464	83 c1 78	 add	 ecx, 120		; 00000078H
  00467	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0046c	8b c8		 mov	 ecx, eax
  0046e	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 120  :     m_SAA7118->SetRegister(0x83,0x00); // Xport Output Disable (i.e. Enable Input)

  00473	6a 00		 push	 0
  00475	68 83 00 00 00	 push	 131			; 00000083H
  0047a	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0047d	83 c1 78	 add	 ecx, 120		; 00000078H
  00480	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00485	8b c8		 mov	 ecx, eax
  00487	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 121  : 
; 122  :     m_SAA7118->SetRegister(0x84,0x00);

  0048c	6a 00		 push	 0
  0048e	68 84 00 00 00	 push	 132			; 00000084H
  00493	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00496	83 c1 78	 add	 ecx, 120		; 00000078H
  00499	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0049e	8b c8		 mov	 ecx, eax
  004a0	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 123  :     m_SAA7118->SetRegister(0x85,0x00);

  004a5	6a 00		 push	 0
  004a7	68 85 00 00 00	 push	 133			; 00000085H
  004ac	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  004af	83 c1 78	 add	 ecx, 120		; 00000078H
  004b2	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  004b7	8b c8		 mov	 ecx, eax
  004b9	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 124  :     m_SAA7118->SetRegister(0x86,0x40);

  004be	6a 40		 push	 64			; 00000040H
  004c0	68 86 00 00 00	 push	 134			; 00000086H
  004c5	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  004c8	83 c1 78	 add	 ecx, 120		; 00000078H
  004cb	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  004d0	8b c8		 mov	 ecx, eax
  004d2	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 125  :     m_SAA7118->SetRegister(0x87,0x01);

  004d7	6a 01		 push	 1
  004d9	68 87 00 00 00	 push	 135			; 00000087H
  004de	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  004e1	83 c1 78	 add	 ecx, 120		; 00000078H
  004e4	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  004e9	8b c8		 mov	 ecx, eax
  004eb	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 126  : 
; 127  :     m_SAA7118->SetRegister(0x90,0x00);

  004f0	6a 00		 push	 0
  004f2	68 90 00 00 00	 push	 144			; 00000090H
  004f7	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  004fa	83 c1 78	 add	 ecx, 120		; 00000078H
  004fd	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00502	8b c8		 mov	 ecx, eax
  00504	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 128  : 
; 129  :     m_SAA7118->SetRegister(0x93,0x80);

  00509	68 80 00 00 00	 push	 128			; 00000080H
  0050e	68 93 00 00 00	 push	 147			; 00000093H
  00513	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00516	83 c1 78	 add	 ecx, 120		; 00000078H
  00519	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0051e	8b c8		 mov	 ecx, eax
  00520	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 130  : 
; 131  :     /* Acquisition Window Settings */
; 132  :     m_SAA7118->SetRegister(0x94,0x00); // horizontal input offset, min >= 2

  00525	6a 00		 push	 0
  00527	68 94 00 00 00	 push	 148			; 00000094H
  0052c	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0052f	83 c1 78	 add	 ecx, 120		; 00000078H
  00532	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00537	8b c8		 mov	 ecx, eax
  00539	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 133  :     m_SAA7118->SetRegister(0x95,0x00);

  0053e	6a 00		 push	 0
  00540	68 95 00 00 00	 push	 149			; 00000095H
  00545	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00548	83 c1 78	 add	 ecx, 120		; 00000078H
  0054b	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00550	8b c8		 mov	 ecx, eax
  00552	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 134  :     m_SAA7118->SetRegister(0x96,0xd0); // horizontal input window length = 720

  00557	68 d0 00 00 00	 push	 208			; 000000d0H
  0055c	68 96 00 00 00	 push	 150			; 00000096H
  00561	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00564	83 c1 78	 add	 ecx, 120		; 00000078H
  00567	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0056c	8b c8		 mov	 ecx, eax
  0056e	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 135  :     m_SAA7118->SetRegister(0x97,0x02);

  00573	6a 02		 push	 2
  00575	68 97 00 00 00	 push	 151			; 00000097H
  0057a	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0057d	83 c1 78	 add	 ecx, 120		; 00000078H
  00580	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00585	8b c8		 mov	 ecx, eax
  00587	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 136  : 
; 137  :     m_SAA7118->SetRegister(0x9c,0xd0); // horizontal output window length = 720

  0058c	68 d0 00 00 00	 push	 208			; 000000d0H
  00591	68 9c 00 00 00	 push	 156			; 0000009cH
  00596	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00599	83 c1 78	 add	 ecx, 120		; 00000078H
  0059c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  005a1	8b c8		 mov	 ecx, eax
  005a3	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 138  :     m_SAA7118->SetRegister(0x9d,0x02);

  005a8	6a 02		 push	 2
  005aa	68 9d 00 00 00	 push	 157			; 0000009dH
  005af	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  005b2	83 c1 78	 add	 ecx, 120		; 00000078H
  005b5	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  005ba	8b c8		 mov	 ecx, eax
  005bc	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 139  : 
; 140  :     /* Scaler Settings */
; 141  :     m_SAA7118->SetRegister(0xa0,0x1); // hori prescaling

  005c1	6a 01		 push	 1
  005c3	68 a0 00 00 00	 push	 160			; 000000a0H
  005c8	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  005cb	83 c1 78	 add	 ecx, 120		; 00000078H
  005ce	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  005d3	8b c8		 mov	 ecx, eax
  005d5	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 142  :     m_SAA7118->SetRegister(0xa1,0x00);

  005da	6a 00		 push	 0
  005dc	68 a1 00 00 00	 push	 161			; 000000a1H
  005e1	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  005e4	83 c1 78	 add	 ecx, 120		; 00000078H
  005e7	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  005ec	8b c8		 mov	 ecx, eax
  005ee	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 143  :     m_SAA7118->SetRegister(0xa2,0x00);

  005f3	6a 00		 push	 0
  005f5	68 a2 00 00 00	 push	 162			; 000000a2H
  005fa	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  005fd	83 c1 78	 add	 ecx, 120		; 00000078H
  00600	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00605	8b c8		 mov	 ecx, eax
  00607	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 144  :     m_SAA7118->SetRegister(0xa4,0x80);//Register A Brightness(Lumin)

  0060c	68 80 00 00 00	 push	 128			; 00000080H
  00611	68 a4 00 00 00	 push	 164			; 000000a4H
  00616	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00619	83 c1 78	 add	 ecx, 120		; 00000078H
  0061c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00621	8b c8		 mov	 ecx, eax
  00623	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 145  :     m_SAA7118->SetRegister(0xa5,0x40);//Register A Contrast(Lumin)

  00628	6a 40		 push	 64			; 00000040H
  0062a	68 a5 00 00 00	 push	 165			; 000000a5H
  0062f	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00632	83 c1 78	 add	 ecx, 120		; 00000078H
  00635	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0063a	8b c8		 mov	 ecx, eax
  0063c	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 146  :     m_SAA7118->SetRegister(0xa6,0x40);//Register A Saturation(Chromin)

  00641	6a 40		 push	 64			; 00000040H
  00643	68 a6 00 00 00	 push	 166			; 000000a6H
  00648	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0064b	83 c1 78	 add	 ecx, 120		; 00000078H
  0064e	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00653	8b c8		 mov	 ecx, eax
  00655	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 147  :     m_SAA7118->SetRegister(0xa8,0x00);

  0065a	6a 00		 push	 0
  0065c	68 a8 00 00 00	 push	 168			; 000000a8H
  00661	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00664	83 c1 78	 add	 ecx, 120		; 00000078H
  00667	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0066c	8b c8		 mov	 ecx, eax
  0066e	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 148  :     m_SAA7118->SetRegister(0xa9,0x04);

  00673	6a 04		 push	 4
  00675	68 a9 00 00 00	 push	 169			; 000000a9H
  0067a	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0067d	83 c1 78	 add	 ecx, 120		; 00000078H
  00680	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00685	8b c8		 mov	 ecx, eax
  00687	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 149  :     m_SAA7118->SetRegister(0xaa,0x20);

  0068c	6a 20		 push	 32			; 00000020H
  0068e	68 aa 00 00 00	 push	 170			; 000000aaH
  00693	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00696	83 c1 78	 add	 ecx, 120		; 00000078H
  00699	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0069e	8b c8		 mov	 ecx, eax
  006a0	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 150  :     m_SAA7118->SetRegister(0xac,0x00);

  006a5	6a 00		 push	 0
  006a7	68 ac 00 00 00	 push	 172			; 000000acH
  006ac	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  006af	83 c1 78	 add	 ecx, 120		; 00000078H
  006b2	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  006b7	8b c8		 mov	 ecx, eax
  006b9	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 151  :     m_SAA7118->SetRegister(0xad,0x02);

  006be	6a 02		 push	 2
  006c0	68 ad 00 00 00	 push	 173			; 000000adH
  006c5	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  006c8	83 c1 78	 add	 ecx, 120		; 00000078H
  006cb	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  006d0	8b c8		 mov	 ecx, eax
  006d2	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 152  :     m_SAA7118->SetRegister(0xae,0x00);

  006d7	6a 00		 push	 0
  006d9	68 ae 00 00 00	 push	 174			; 000000aeH
  006de	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  006e1	83 c1 78	 add	 ecx, 120		; 00000078H
  006e4	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  006e9	8b c8		 mov	 ecx, eax
  006eb	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 153  :     m_SAA7118->SetRegister(0xb0,0x00);

  006f0	6a 00		 push	 0
  006f2	68 b0 00 00 00	 push	 176			; 000000b0H
  006f7	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  006fa	83 c1 78	 add	 ecx, 120		; 00000078H
  006fd	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00702	8b c8		 mov	 ecx, eax
  00704	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 154  :     m_SAA7118->SetRegister(0xb1,0x04);

  00709	6a 04		 push	 4
  0070b	68 b1 00 00 00	 push	 177			; 000000b1H
  00710	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00713	83 c1 78	 add	 ecx, 120		; 00000078H
  00716	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0071b	8b c8		 mov	 ecx, eax
  0071d	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 155  :     m_SAA7118->SetRegister(0xb2,0x00);

  00722	6a 00		 push	 0
  00724	68 b2 00 00 00	 push	 178			; 000000b2H
  00729	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0072c	83 c1 78	 add	 ecx, 120		; 00000078H
  0072f	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00734	8b c8		 mov	 ecx, eax
  00736	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 156  :     m_SAA7118->SetRegister(0xb3,0x04);

  0073b	6a 04		 push	 4
  0073d	68 b3 00 00 00	 push	 179			; 000000b3H
  00742	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00745	83 c1 78	 add	 ecx, 120		; 00000078H
  00748	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0074d	8b c8		 mov	 ecx, eax
  0074f	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 157  :     m_SAA7118->SetRegister(0xb4,0x00);

  00754	6a 00		 push	 0
  00756	68 b4 00 00 00	 push	 180			; 000000b4H
  0075b	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  0075e	83 c1 78	 add	 ecx, 120		; 00000078H
  00761	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00766	8b c8		 mov	 ecx, eax
  00768	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 158  : 
; 159  :     m_SAA7118->SetRegister(0xb8,0x00);

  0076d	6a 00		 push	 0
  0076f	68 b8 00 00 00	 push	 184			; 000000b8H
  00774	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00777	83 c1 78	 add	 ecx, 120		; 00000078H
  0077a	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0077f	8b c8		 mov	 ecx, eax
  00781	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 160  :     m_SAA7118->SetRegister(0xbc,0x00);

  00786	6a 00		 push	 0
  00788	68 bc 00 00 00	 push	 188			; 000000bcH
  0078d	8b 4d dc	 mov	 ecx, DWORD PTR _this$[ebp]
  00790	83 c1 78	 add	 ecx, 120		; 00000078H
  00793	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00798	8b c8		 mov	 ecx, eax
  0079a	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister
$LN12@InitH3D:

; 161  : 
; 162  : }

  0079f	8b 4d f4	 mov	 ecx, DWORD PTR __$EHRec$[ebp]
  007a2	64 89 0d 00 00
	00 00		 mov	 DWORD PTR fs:0, ecx
  007a9	59		 pop	 ecx
  007aa	8b e5		 mov	 esp, ebp
  007ac	5d		 pop	 ebp
  007ad	c3		 ret	 0
_TEXT	ENDS
;	COMDAT text$x
text$x	SEGMENT
__unwindfunclet$?InitH3D@CCX2388xCard@@AAEXXZ$0:
  00000	8b 45 e0	 mov	 eax, DWORD PTR $T348552[ebp]
  00003	50		 push	 eax
  00004	e8 00 00 00 00	 call	 ??3@YAXPAX@Z		; operator delete
  00009	59		 pop	 ecx
  0000a	c3		 ret	 0
__ehhandler$?InitH3D@CCX2388xCard@@AAEXXZ:
  0000b	8b 54 24 08	 mov	 edx, DWORD PTR [esp+8]
  0000f	8d 42 0c	 lea	 eax, DWORD PTR [edx+12]
  00012	8b 4a e0	 mov	 ecx, DWORD PTR [edx-32]
  00015	33 c8		 xor	 ecx, eax
  00017	e8 00 00 00 00	 call	 @__security_check_cookie@4
  0001c	b8 00 00 00 00	 mov	 eax, OFFSET __ehfuncinfo$?InitH3D@CCX2388xCard@@AAEXXZ
  00021	e9 00 00 00 00	 jmp	 ___CxxFrameHandler3
text$x	ENDS
?InitH3D@CCX2388xCard@@AAEXXZ ENDP			; CCX2388xCard::InitH3D
PUBLIC	?SetH3DSaturationU@CCX2388xCard@@AAEXE@Z	; CCX2388xCard::SetH3DSaturationU
; Function compile flags: /Odtp
;	COMDAT ?SetH3DSaturationU@CCX2388xCard@@AAEXE@Z
_TEXT	SEGMENT
tv65 = -8						; size = 4
_this$ = -4						; size = 4
_Saturation$ = 8					; size = 1
?SetH3DSaturationU@CCX2388xCard@@AAEXE@Z PROC		; CCX2388xCard::SetH3DSaturationU, COMDAT
; _this$ = ecx

; 454  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 08	 sub	 esp, 8
  00006	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 455  :     switch(m_CurrentInput)

  00009	8b 45 fc	 mov	 eax, DWORD PTR _this$[ebp]
  0000c	8b 88 b0 00 00
	00		 mov	 ecx, DWORD PTR [eax+176]
  00012	89 4d f8	 mov	 DWORD PTR tv65[ebp], ecx
  00015	83 7d f8 07	 cmp	 DWORD PTR tv65[ebp], 7
  00019	77 5d		 ja	 SHORT $LN1@SetH3DSatu
  0001b	8b 55 f8	 mov	 edx, DWORD PTR tv65[ebp]
  0001e	0f b6 82 00 00
	00 00		 movzx	 eax, BYTE PTR $LN8@SetH3DSatu[edx]
  00025	ff 24 85 00 00
	00 00		 jmp	 DWORD PTR $LN9@SetH3DSatu[eax*4]
$LN3@SetH3DSatu:

; 456  :     {
; 457  :     case H3D_COMPONENT:
; 458  :     case H3D_RGsB:
; 459  :         m_SAA7118->SetComponentSaturation(Saturation);

  0002c	0f b6 4d 08	 movzx	 ecx, BYTE PTR _Saturation$[ebp]
  00030	51		 push	 ecx
  00031	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00034	83 c1 78	 add	 ecx, 120		; 00000078H
  00037	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0003c	8b c8		 mov	 ecx, eax
  0003e	e8 00 00 00 00	 call	 ?SetComponentSaturation@CSAA7118@@QAEXE@Z ; CSAA7118::SetComponentSaturation

; 460  :         SetVIPSaturation(0x80);

  00043	68 80 00 00 00	 push	 128			; 00000080H
  00048	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0004b	e8 00 00 00 00	 call	 ?SetVIPSaturation@CCX2388xCard@@AAEXE@Z ; CCX2388xCard::SetVIPSaturation

; 461  :         break;

  00050	eb 33		 jmp	 SHORT $LN6@SetH3DSatu
$LN2@SetH3DSatu:

; 462  :     case H3D_SVIDEO:
; 463  :     case H3D_COMPOSITE1:
; 464  :     case H3D_COMPOSITE2:
; 465  :     case H3D_COMPOSITE3:
; 466  :     case H3D_COMPOSITE4:
; 467  :         m_SAA7118->SetSaturation(Saturation);

  00052	0f b6 55 08	 movzx	 edx, BYTE PTR _Saturation$[ebp]
  00056	52		 push	 edx
  00057	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0005a	83 c1 78	 add	 ecx, 120		; 00000078H
  0005d	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00062	8b c8		 mov	 ecx, eax
  00064	e8 00 00 00 00	 call	 ?SetSaturation@CSAA7118@@QAEXE@Z ; CSAA7118::SetSaturation

; 468  :         SetVIPSaturation(0x80);

  00069	68 80 00 00 00	 push	 128			; 00000080H
  0006e	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00071	e8 00 00 00 00	 call	 ?SetVIPSaturation@CCX2388xCard@@AAEXE@Z ; CCX2388xCard::SetVIPSaturation

; 469  :         break;

  00076	eb 0d		 jmp	 SHORT $LN6@SetH3DSatu
$LN1@SetH3DSatu:

; 470  :     case H3D_SDI:
; 471  :     case H3D_PDI:
; 472  :     default:
; 473  :         SetVIPSaturation(Saturation);

  00078	0f b6 45 08	 movzx	 eax, BYTE PTR _Saturation$[ebp]
  0007c	50		 push	 eax
  0007d	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00080	e8 00 00 00 00	 call	 ?SetVIPSaturation@CCX2388xCard@@AAEXE@Z ; CCX2388xCard::SetVIPSaturation
$LN6@SetH3DSatu:

; 474  :         break;
; 475  :     }
; 476  : }

  00085	8b e5		 mov	 esp, ebp
  00087	5d		 pop	 ebp
  00088	c2 04 00	 ret	 4
  0008b	90		 npad	 1
$LN9@SetH3DSatu:
  0008c	00 00 00 00	 DD	 $LN3@SetH3DSatu
  00090	00 00 00 00	 DD	 $LN2@SetH3DSatu
  00094	00 00 00 00	 DD	 $LN1@SetH3DSatu
$LN8@SetH3DSatu:
  00098	00		 DB	 0
  00099	00		 DB	 0
  0009a	01		 DB	 1
  0009b	02		 DB	 2
  0009c	01		 DB	 1
  0009d	01		 DB	 1
  0009e	01		 DB	 1
  0009f	01		 DB	 1
?SetH3DSaturationU@CCX2388xCard@@AAEXE@Z ENDP		; CCX2388xCard::SetH3DSaturationU
_TEXT	ENDS
PUBLIC	?SetH3DContrastBrightness@CCX2388xCard@@AAEXEE@Z ; CCX2388xCard::SetH3DContrastBrightness
; Function compile flags: /Odtp
;	COMDAT ?SetH3DContrastBrightness@CCX2388xCard@@AAEXEE@Z
_TEXT	SEGMENT
tv65 = -16						; size = 4
_this$ = -12						; size = 4
_NewBrightness$145373 = -8				; size = 4
_NewBrightness$145368 = -4				; size = 4
_Contrast$ = 8						; size = 1
_Brightness$ = 12					; size = 1
?SetH3DContrastBrightness@CCX2388xCard@@AAEXEE@Z PROC	; CCX2388xCard::SetH3DContrastBrightness, COMDAT
; _this$ = ecx

; 371  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 10	 sub	 esp, 16			; 00000010H
  00006	89 4d f4	 mov	 DWORD PTR _this$[ebp], ecx

; 372  :     switch(m_CurrentInput)

  00009	8b 45 f4	 mov	 eax, DWORD PTR _this$[ebp]
  0000c	8b 88 b0 00 00
	00		 mov	 ecx, DWORD PTR [eax+176]
  00012	89 4d f0	 mov	 DWORD PTR tv65[ebp], ecx
  00015	83 7d f0 07	 cmp	 DWORD PTR tv65[ebp], 7
  00019	0f 87 00 01 00
	00		 ja	 $LN1@SetH3DCont
  0001f	8b 55 f0	 mov	 edx, DWORD PTR tv65[ebp]
  00022	0f b6 82 00 00
	00 00		 movzx	 eax, BYTE PTR $LN12@SetH3DCont[edx]
  00029	ff 24 85 00 00
	00 00		 jmp	 DWORD PTR $LN13@SetH3DCont[eax*4]
$LN7@SetH3DCont:

; 373  :     {
; 374  :     case H3D_COMPONENT:
; 375  :     case H3D_RGsB:
; 376  :         {
; 377  :             // The SAA7118 has really wierd brighness and contrast
; 378  :             // this messing about below makes the settings similar in
; 379  :             // operation to the bt848 which means that the calibration code
; 380  :             // may work properly
; 381  : 
; 382  :             int NewBrightness = (Brightness - 128) + Contrast;

  00030	0f b6 4d 0c	 movzx	 ecx, BYTE PTR _Brightness$[ebp]
  00034	0f b6 55 08	 movzx	 edx, BYTE PTR _Contrast$[ebp]
  00038	8d 44 11 80	 lea	 eax, DWORD PTR [ecx+edx-128]
  0003c	89 45 fc	 mov	 DWORD PTR _NewBrightness$145368[ebp], eax

; 383  :             if(NewBrightness < 0)

  0003f	83 7d fc 00	 cmp	 DWORD PTR _NewBrightness$145368[ebp], 0
  00043	7d 07		 jge	 SHORT $LN6@SetH3DCont

; 384  :             {
; 385  :                 NewBrightness = 0;

  00045	c7 45 fc 00 00
	00 00		 mov	 DWORD PTR _NewBrightness$145368[ebp], 0
$LN6@SetH3DCont:

; 386  :             }
; 387  :             if(NewBrightness > 255)

  0004c	81 7d fc ff 00
	00 00		 cmp	 DWORD PTR _NewBrightness$145368[ebp], 255 ; 000000ffH
  00053	7e 07		 jle	 SHORT $LN5@SetH3DCont

; 388  :             {
; 389  :                 NewBrightness = 255;

  00055	c7 45 fc ff 00
	00 00		 mov	 DWORD PTR _NewBrightness$145368[ebp], 255 ; 000000ffH
$LN5@SetH3DCont:

; 390  :             }
; 391  :             m_SAA7118->SetComponentBrightness((BYTE)NewBrightness);

  0005c	0f b6 4d fc	 movzx	 ecx, BYTE PTR _NewBrightness$145368[ebp]
  00060	51		 push	 ecx
  00061	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  00064	83 c1 78	 add	 ecx, 120		; 00000078H
  00067	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  0006c	8b c8		 mov	 ecx, eax
  0006e	e8 00 00 00 00	 call	 ?SetComponentBrightness@CSAA7118@@QAEXE@Z ; CSAA7118::SetComponentBrightness

; 392  :             SetVIPBrightness(0x80);

  00073	68 80 00 00 00	 push	 128			; 00000080H
  00078	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  0007b	e8 00 00 00 00	 call	 ?SetVIPBrightness@CCX2388xCard@@AAEXE@Z ; CCX2388xCard::SetVIPBrightness

; 393  :             m_SAA7118->SetComponentContrast(Contrast);

  00080	0f b6 55 08	 movzx	 edx, BYTE PTR _Contrast$[ebp]
  00084	52		 push	 edx
  00085	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  00088	83 c1 78	 add	 ecx, 120		; 00000078H
  0008b	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00090	8b c8		 mov	 ecx, eax
  00092	e8 00 00 00 00	 call	 ?SetComponentContrast@CSAA7118@@QAEXE@Z ; CSAA7118::SetComponentContrast

; 394  :             SetVIPContrast(0x80);

  00097	68 80 00 00 00	 push	 128			; 00000080H
  0009c	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  0009f	e8 00 00 00 00	 call	 ?SetVIPContrast@CCX2388xCard@@AAEXE@Z ; CCX2388xCard::SetVIPContrast

; 395  :         }
; 396  :        break;

  000a4	e9 90 00 00 00	 jmp	 $LN10@SetH3DCont
$LN4@SetH3DCont:

; 397  :     case H3D_SVIDEO:
; 398  :     case H3D_COMPOSITE1:
; 399  :     case H3D_COMPOSITE2:
; 400  :     case H3D_COMPOSITE3:
; 401  :     case H3D_COMPOSITE4:
; 402  :         {
; 403  :             // The SAA7118 has really wierd brighness and contrast
; 404  :             // this messing about below makes the settings similar in
; 405  :             // operation to the bt848 which means that the calibration code
; 406  :             // may work properly
; 407  : 
; 408  :             int NewBrightness = (Brightness - 128) + Contrast;

  000a9	0f b6 45 0c	 movzx	 eax, BYTE PTR _Brightness$[ebp]
  000ad	0f b6 4d 08	 movzx	 ecx, BYTE PTR _Contrast$[ebp]
  000b1	8d 54 08 80	 lea	 edx, DWORD PTR [eax+ecx-128]
  000b5	89 55 f8	 mov	 DWORD PTR _NewBrightness$145373[ebp], edx

; 409  :             if(NewBrightness < 0)

  000b8	83 7d f8 00	 cmp	 DWORD PTR _NewBrightness$145373[ebp], 0
  000bc	7d 07		 jge	 SHORT $LN3@SetH3DCont

; 410  :             {
; 411  :                 NewBrightness = 0;

  000be	c7 45 f8 00 00
	00 00		 mov	 DWORD PTR _NewBrightness$145373[ebp], 0
$LN3@SetH3DCont:

; 412  :             }
; 413  :             if(NewBrightness > 255)

  000c5	81 7d f8 ff 00
	00 00		 cmp	 DWORD PTR _NewBrightness$145373[ebp], 255 ; 000000ffH
  000cc	7e 07		 jle	 SHORT $LN2@SetH3DCont

; 414  :             {
; 415  :                 NewBrightness = 255;

  000ce	c7 45 f8 ff 00
	00 00		 mov	 DWORD PTR _NewBrightness$145373[ebp], 255 ; 000000ffH
$LN2@SetH3DCont:

; 416  :             }
; 417  :             m_SAA7118->SetBrightness((BYTE)NewBrightness);

  000d5	0f b6 45 f8	 movzx	 eax, BYTE PTR _NewBrightness$145373[ebp]
  000d9	50		 push	 eax
  000da	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  000dd	83 c1 78	 add	 ecx, 120		; 00000078H
  000e0	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  000e5	8b c8		 mov	 ecx, eax
  000e7	e8 00 00 00 00	 call	 ?SetBrightness@CSAA7118@@QAEXE@Z ; CSAA7118::SetBrightness

; 418  :             SetVIPBrightness(0x80);

  000ec	68 80 00 00 00	 push	 128			; 00000080H
  000f1	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  000f4	e8 00 00 00 00	 call	 ?SetVIPBrightness@CCX2388xCard@@AAEXE@Z ; CCX2388xCard::SetVIPBrightness

; 419  :             m_SAA7118->SetContrast(Contrast);

  000f9	0f b6 4d 08	 movzx	 ecx, BYTE PTR _Contrast$[ebp]
  000fd	51		 push	 ecx
  000fe	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  00101	83 c1 78	 add	 ecx, 120		; 00000078H
  00104	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00109	8b c8		 mov	 ecx, eax
  0010b	e8 00 00 00 00	 call	 ?SetContrast@CSAA7118@@QAEXE@Z ; CSAA7118::SetContrast

; 420  :             SetVIPContrast(0x80);

  00110	68 80 00 00 00	 push	 128			; 00000080H
  00115	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  00118	e8 00 00 00 00	 call	 ?SetVIPContrast@CCX2388xCard@@AAEXE@Z ; CCX2388xCard::SetVIPContrast

; 421  :         }
; 422  :         break;

  0011d	eb 1a		 jmp	 SHORT $LN10@SetH3DCont
$LN1@SetH3DCont:

; 423  :     case H3D_SDI:
; 424  :     case H3D_PDI:
; 425  :     default:
; 426  :         SetVIPBrightness(Brightness);

  0011f	0f b6 55 0c	 movzx	 edx, BYTE PTR _Brightness$[ebp]
  00123	52		 push	 edx
  00124	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  00127	e8 00 00 00 00	 call	 ?SetVIPBrightness@CCX2388xCard@@AAEXE@Z ; CCX2388xCard::SetVIPBrightness

; 427  :         SetVIPContrast(Contrast);

  0012c	0f b6 45 08	 movzx	 eax, BYTE PTR _Contrast$[ebp]
  00130	50		 push	 eax
  00131	8b 4d f4	 mov	 ecx, DWORD PTR _this$[ebp]
  00134	e8 00 00 00 00	 call	 ?SetVIPContrast@CCX2388xCard@@AAEXE@Z ; CCX2388xCard::SetVIPContrast
$LN10@SetH3DCont:

; 428  :         break;
; 429  :     }
; 430  : }

  00139	8b e5		 mov	 esp, ebp
  0013b	5d		 pop	 ebp
  0013c	c2 08 00	 ret	 8
  0013f	90		 npad	 1
$LN13@SetH3DCont:
  00140	00 00 00 00	 DD	 $LN7@SetH3DCont
  00144	00 00 00 00	 DD	 $LN4@SetH3DCont
  00148	00 00 00 00	 DD	 $LN1@SetH3DCont
$LN12@SetH3DCont:
  0014c	00		 DB	 0
  0014d	00		 DB	 0
  0014e	01		 DB	 1
  0014f	02		 DB	 2
  00150	01		 DB	 1
  00151	01		 DB	 1
  00152	01		 DB	 1
  00153	01		 DB	 1
?SetH3DContrastBrightness@CCX2388xCard@@AAEXEE@Z ENDP	; CCX2388xCard::SetH3DContrastBrightness
_TEXT	ENDS
PUBLIC	?H3DInputSelect@CCX2388xCard@@AAEXH@Z		; CCX2388xCard::H3DInputSelect
; Function compile flags: /Odtp
;	COMDAT ?H3DInputSelect@CCX2388xCard@@AAEXH@Z
_TEXT	SEGMENT
tv66 = -8						; size = 4
_this$ = -4						; size = 4
_nInput$ = 8						; size = 4
?H3DInputSelect@CCX2388xCard@@AAEXH@Z PROC		; CCX2388xCard::H3DInputSelect, COMDAT
; _this$ = ecx

; 165  : {

  00000	55		 push	 ebp
  00001	8b ec		 mov	 ebp, esp
  00003	83 ec 08	 sub	 esp, 8
  00006	89 4d fc	 mov	 DWORD PTR _this$[ebp], ecx

; 166  :     StandardInputSelect(nInput);

  00009	8b 45 08	 mov	 eax, DWORD PTR _nInput$[ebp]
  0000c	50		 push	 eax
  0000d	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00010	e8 00 00 00 00	 call	 ?StandardInputSelect@CCX2388xCard@@AAEXH@Z ; CCX2388xCard::StandardInputSelect

; 167  : 
; 168  :     switch(nInput)

  00015	8b 4d 08	 mov	 ecx, DWORD PTR _nInput$[ebp]
  00018	89 4d f8	 mov	 DWORD PTR tv66[ebp], ecx
  0001b	83 7d f8 08	 cmp	 DWORD PTR tv66[ebp], 8
  0001f	0f 87 7a 01 00
	00		 ja	 $LN12@H3DInputSe
  00025	8b 55 f8	 mov	 edx, DWORD PTR tv66[ebp]
  00028	ff 24 95 00 00
	00 00		 jmp	 DWORD PTR $LN14@H3DInputSe[edx*4]
$LN9@H3DInputSe:

; 169  :     {
; 170  :     case H3D_COMPONENT:
; 171  :         m_SAA7118->SetRegister(0x02, 0xef);

  0002f	68 ef 00 00 00	 push	 239			; 000000efH
  00034	6a 02		 push	 2
  00036	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00039	83 c1 78	 add	 ecx, 120		; 00000078H
  0003c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00041	8b c8		 mov	 ecx, eax
  00043	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 172  :         WriteByte(0x390002, 0x8f);

  00048	68 8f 00 00 00	 push	 143			; 0000008fH
  0004d	68 02 00 39 00	 push	 3735554			; 00390002H
  00052	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00055	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 173  :         break;

  0005a	e9 40 01 00 00	 jmp	 $LN12@H3DInputSe
$LN8@H3DInputSe:

; 174  :     case H3D_RGsB:
; 175  :         m_SAA7118->SetRegister(0x02, 0xff);

  0005f	68 ff 00 00 00	 push	 255			; 000000ffH
  00064	6a 02		 push	 2
  00066	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00069	83 c1 78	 add	 ecx, 120		; 00000078H
  0006c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00071	8b c8		 mov	 ecx, eax
  00073	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 176  :         WriteByte(0x390002, 0x8f);

  00078	68 8f 00 00 00	 push	 143			; 0000008fH
  0007d	68 02 00 39 00	 push	 3735554			; 00390002H
  00082	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00085	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 177  :         break;

  0008a	e9 10 01 00 00	 jmp	 $LN12@H3DInputSe
$LN7@H3DInputSe:

; 178  :     case H3D_SVIDEO:
; 179  :         m_SAA7118->SetRegister(0x02, 0xc8);

  0008f	68 c8 00 00 00	 push	 200			; 000000c8H
  00094	6a 02		 push	 2
  00096	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00099	83 c1 78	 add	 ecx, 120		; 00000078H
  0009c	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  000a1	8b c8		 mov	 ecx, eax
  000a3	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 180  :         WriteByte(0x390002, 0x8f);

  000a8	68 8f 00 00 00	 push	 143			; 0000008fH
  000ad	68 02 00 39 00	 push	 3735554			; 00390002H
  000b2	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  000b5	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 181  :         break;

  000ba	e9 e0 00 00 00	 jmp	 $LN12@H3DInputSe
$LN6@H3DInputSe:

; 182  :     case H3D_SDI:
; 183  :         WriteByte(0x390002, 0x97);

  000bf	68 97 00 00 00	 push	 151			; 00000097H
  000c4	68 02 00 39 00	 push	 3735554			; 00390002H
  000c9	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  000cc	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 184  :         break;

  000d1	e9 c9 00 00 00	 jmp	 $LN12@H3DInputSe
$LN5@H3DInputSe:

; 185  :     case H3D_COMPOSITE1:
; 186  :         m_SAA7118->SetRegister(0x02, 0xc5);

  000d6	68 c5 00 00 00	 push	 197			; 000000c5H
  000db	6a 02		 push	 2
  000dd	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  000e0	83 c1 78	 add	 ecx, 120		; 00000078H
  000e3	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  000e8	8b c8		 mov	 ecx, eax
  000ea	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 187  :         WriteByte(0x390002, 0x8f);

  000ef	68 8f 00 00 00	 push	 143			; 0000008fH
  000f4	68 02 00 39 00	 push	 3735554			; 00390002H
  000f9	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  000fc	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 188  :         break;

  00101	e9 99 00 00 00	 jmp	 $LN12@H3DInputSe
$LN4@H3DInputSe:

; 189  :     case H3D_COMPOSITE2:
; 190  :         m_SAA7118->SetRegister(0x02, 0xdf);

  00106	68 df 00 00 00	 push	 223			; 000000dfH
  0010b	6a 02		 push	 2
  0010d	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00110	83 c1 78	 add	 ecx, 120		; 00000078H
  00113	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00118	8b c8		 mov	 ecx, eax
  0011a	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 191  :         WriteByte(0x390002, 0x8f);

  0011f	68 8f 00 00 00	 push	 143			; 0000008fH
  00124	68 02 00 39 00	 push	 3735554			; 00390002H
  00129	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0012c	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 192  :         break;

  00131	eb 6c		 jmp	 SHORT $LN12@H3DInputSe
$LN3@H3DInputSe:

; 193  :     case H3D_COMPOSITE3:
; 194  :         m_SAA7118->SetRegister(0x02, 0xd5);

  00133	68 d5 00 00 00	 push	 213			; 000000d5H
  00138	6a 02		 push	 2
  0013a	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0013d	83 c1 78	 add	 ecx, 120		; 00000078H
  00140	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00145	8b c8		 mov	 ecx, eax
  00147	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 195  :         WriteByte(0x390002, 0x8f);

  0014c	68 8f 00 00 00	 push	 143			; 0000008fH
  00151	68 02 00 39 00	 push	 3735554			; 00390002H
  00156	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00159	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 196  :         break;

  0015e	eb 3f		 jmp	 SHORT $LN12@H3DInputSe
$LN2@H3DInputSe:

; 197  :     case H3D_COMPOSITE4:
; 198  :         m_SAA7118->SetRegister(0x02, 0xd0);

  00160	68 d0 00 00 00	 push	 208			; 000000d0H
  00165	6a 02		 push	 2
  00167	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0016a	83 c1 78	 add	 ecx, 120		; 00000078H
  0016d	e8 00 00 00 00	 call	 ??C?$SmartPtr@VCSAA7118@@@@QBEPAVCSAA7118@@XZ ; SmartPtr<CSAA7118>::operator->
  00172	8b c8		 mov	 ecx, eax
  00174	e8 00 00 00 00	 call	 ?SetRegister@CSAA7118@@QAEXEE@Z ; CSAA7118::SetRegister

; 199  :         WriteByte(0x390002, 0x8f);

  00179	68 8f 00 00 00	 push	 143			; 0000008fH
  0017e	68 02 00 39 00	 push	 3735554			; 00390002H
  00183	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  00186	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte

; 200  :         break;

  0018b	eb 12		 jmp	 SHORT $LN12@H3DInputSe
$LN1@H3DInputSe:

; 201  :     case H3D_PDI:
; 202  :         WriteByte(0x390002, 0x87);

  0018d	68 87 00 00 00	 push	 135			; 00000087H
  00192	68 02 00 39 00	 push	 3735554			; 00390002H
  00197	8b 4d fc	 mov	 ecx, DWORD PTR _this$[ebp]
  0019a	e8 00 00 00 00	 call	 ?WriteByte@CPCICard@@QAEXKE@Z ; CPCICard::WriteByte
$LN12@H3DInputSe:

; 203  :         break;
; 204  :     }
; 205  : }

  0019f	8b e5		 mov	 esp, ebp
  001a1	5d		 pop	 ebp
  001a2	c2 04 00	 ret	 4
  001a5	8d 49 00	 npad	 3
$LN14@H3DInputSe:
  001a8	00 00 00 00	 DD	 $LN9@H3DInputSe
  001ac	00 00 00 00	 DD	 $LN8@H3DInputSe
  001b0	00 00 00 00	 DD	 $LN7@H3DInputSe
  001b4	00 00 00 00	 DD	 $LN6@H3DInputSe
  001b8	00 00 00 00	 DD	 $LN5@H3DInputSe
  001bc	00 00 00 00	 DD	 $LN4@H3DInputSe
  001c0	00 00 00 00	 DD	 $LN3@H3DInputSe
  001c4	00 00 00 00	 DD	 $LN2@H3DInputSe
  001c8	00 00 00 00	 DD	 $LN1@H3DInputSe
?H3DInputSelect@CCX2388xCard@@AAEXH@Z ENDP		; CCX2388xCard::H3DInputSelect
END
