<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://medusa-sc.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Acid</id>
	<title>Medusa - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://medusa-sc.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Acid"/>
	<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Special:Contributions/Acid"/>
	<updated>2026-06-20T20:04:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Pinouts&amp;diff=96</id>
		<title>Pinouts</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Pinouts&amp;diff=96"/>
		<updated>2024-04-30T17:00:17Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Digital Input (DB9 - Rev B only) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SCART ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version&lt;br /&gt;
|-&lt;br /&gt;
| 1 || - || Audio Left&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Audio Right || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 4 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND || Audio Right&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Audio Left || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Video Blue || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || GND || Composite Video / Video Luma&lt;br /&gt;
|-&lt;br /&gt;
| 10 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 11 || Video Green || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 14 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 15 || Video Red / Chroma || Video Red / Chroma&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Blank (RGB detect) || Blank (RGB detect)&lt;br /&gt;
|-&lt;br /&gt;
| 17 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 18 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 19 || - || Video Green&lt;br /&gt;
|-&lt;br /&gt;
| 20 || Composite Video / Luma || Video Blue&lt;br /&gt;
|-&lt;br /&gt;
| 21 || GND || GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'not connected'&lt;br /&gt;
* Blank - when average voltage on this pin is higher than 0.3V Medusa switches to RGB mode&lt;br /&gt;
&lt;br /&gt;
== Digital Input (DB9 - Rev B only) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number &lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | MDA/Hercules mode &lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | EGA mode &lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | RGBI/CGA mode &lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | digital RGB mode (Sinclair QL)&lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | Apple IIC mode&lt;br /&gt;
|-&lt;br /&gt;
| 1 || GND || GND || GND || Pin 2 / GND || Pin 13 / GND&lt;br /&gt;
|-&lt;br /&gt;
| 2 || - || Red 0 || - || - || Pin 2 / (14MHz - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || Red 1 || Red || Pin 7 / Red || Pin 6 / LDPS&lt;br /&gt;
|-&lt;br /&gt;
| 4 || - || Green 1 || Green || Pin 6 / Green || Pin 11 / SEROUT&lt;br /&gt;
|-&lt;br /&gt;
| 5 || - || Blue 1 || Blue || Pin 8 / Blue || Pin 10 / GR&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Luma 1 || Green 0 || Intensity || - || Pin 14 / (VIDD7 - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Luma 0 || Blue 0 || - || - || Pin 4 / (SEGB - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HSYNC || HSYNC || HSYNC || Pin 4 / CSYNC || Pin 3 / CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 9 || VSYNC || VSYNC || VSYNC || - || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'signal ignored in this mode'&lt;br /&gt;
* MDA/CGA/EGA and Commodore 128 - signals are in the same order as on computer output, so standard DB9 1:1 cable is enough to connect this machines to Medusa&lt;br /&gt;
* digital RGB mode - used mainly with Sinclair QL - you will need DIN8 to DB9 cable (pin numbers for DIN8 are given in the table) &lt;br /&gt;
* Apple IIC - to connect Apple IIC you need cable from DB15 to DB9 (pin numbers on DB15 are given in the table) - when you prepare cable for Apple IIC be aware that there is 12V on pin number 8 - DO NOT CONNECT THIS PIN !!! - it may destroy Medusa.&lt;br /&gt;
&lt;br /&gt;
== Analog Input (DB15 - VGA) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | Function&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Red&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Green&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Blue&lt;br /&gt;
|-&lt;br /&gt;
| 4 || -&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 6 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 7 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || -&lt;br /&gt;
|-&lt;br /&gt;
| 10 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 11 || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || HSYNC/CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 14 || VSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 15 || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'not connected'&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Pinouts&amp;diff=95</id>
		<title>Pinouts</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Pinouts&amp;diff=95"/>
		<updated>2024-04-30T16:58:43Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Digital Input (DB9 - Rev B only) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SCART ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version&lt;br /&gt;
|-&lt;br /&gt;
| 1 || - || Audio Left&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Audio Right || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 4 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND || Audio Right&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Audio Left || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Video Blue || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || GND || Composite Video / Video Luma&lt;br /&gt;
|-&lt;br /&gt;
| 10 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 11 || Video Green || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 14 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 15 || Video Red / Chroma || Video Red / Chroma&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Blank (RGB detect) || Blank (RGB detect)&lt;br /&gt;
|-&lt;br /&gt;
| 17 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 18 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 19 || - || Video Green&lt;br /&gt;
|-&lt;br /&gt;
| 20 || Composite Video / Luma || Video Blue&lt;br /&gt;
|-&lt;br /&gt;
| 21 || GND || GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'not connected'&lt;br /&gt;
* Blank - when average voltage on this pin is higher than 0.3V Medusa switches to RGB mode&lt;br /&gt;
&lt;br /&gt;
== Digital Input (DB9 - Rev B only) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number &lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | MDA/Hercules mode &lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | EGA mode &lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | RGBI/CGA mode &lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | digital RGB mode (Sinclair QL)&lt;br /&gt;
!! style=&amp;quot;color:black&amp;quot; | Apple IIC mode&lt;br /&gt;
|-&lt;br /&gt;
| 1 || GND || GND || GND || Pin 2 / GND || Pin 13 / GND&lt;br /&gt;
|-&lt;br /&gt;
| 2 || - || Red 0 || - || - || Pin 2 / (14MHz - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || Red 1 || Red || Pin 7 / Red || Pin 6 / LDPS&lt;br /&gt;
|-&lt;br /&gt;
| 4 || - || Green 1 || Green || Pin 6 / Green || Pin 11 / SEROUT&lt;br /&gt;
|-&lt;br /&gt;
| 5 || - || Blue 1 || Blue || Pin 8 / Blue || Pin 10 / GR&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Luma 1 || Green 0 || Intensity || - || Pin 14 / (VIDD7 - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Luma 0 || Blue 0 || - || - || Pin 4 / (SEGB - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HSYNC || HSYNC || HSYNC || Pin 4 / CSYNC || Pin 3 / CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 9 || VSYNC || VSYNC || VSYNC || - || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'signal ignored in this mode'&lt;br /&gt;
* MDA/CGA/EGA and Commodore 128 - signals are in the same order as on computer output, so standard DB9 1:1 cable is enough to connect this machines to Medusa&lt;br /&gt;
* Apple IIC - to connect Apple IIC you need cable from DB15 to DB9 (pin numbers on DB15 are given in the table) - when you prepare cable for Apple IIC be aware that there is 12V on pin number 8 - DO NOT CONNECT THIS PIN !!! - it may destroy Medusa.&lt;br /&gt;
&lt;br /&gt;
== Analog Input (DB15 - VGA) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | Function&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Red&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Green&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Blue&lt;br /&gt;
|-&lt;br /&gt;
| 4 || -&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 6 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 7 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || -&lt;br /&gt;
|-&lt;br /&gt;
| 10 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 11 || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || HSYNC/CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 14 || VSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 15 || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'not connected'&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Pinouts&amp;diff=94</id>
		<title>Pinouts</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Pinouts&amp;diff=94"/>
		<updated>2024-04-30T15:06:50Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* SCART */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SCART ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version&lt;br /&gt;
|-&lt;br /&gt;
| 1 || - || Audio Left&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Audio Right || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 4 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND || Audio Right&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Audio Left || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Video Blue || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || GND || Composite Video / Video Luma&lt;br /&gt;
|-&lt;br /&gt;
| 10 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 11 || Video Green || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 14 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 15 || Video Red / Chroma || Video Red / Chroma&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Blank (RGB detect) || Blank (RGB detect)&lt;br /&gt;
|-&lt;br /&gt;
| 17 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 18 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 19 || - || Video Green&lt;br /&gt;
|-&lt;br /&gt;
| 20 || Composite Video / Luma || Video Blue&lt;br /&gt;
|-&lt;br /&gt;
| 21 || GND || GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'not connected'&lt;br /&gt;
* Blank - when average voltage on this pin is higher than 0.3V Medusa switches to RGB mode&lt;br /&gt;
&lt;br /&gt;
== Digital Input (DB9 - Rev B only) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | MDA/Hercules mode !! style=&amp;quot;color:black&amp;quot; | EGA mode !! style=&amp;quot;color:black&amp;quot; | RGBI/CGA mode !! style=&amp;quot;color:black&amp;quot; | Apple IIC mode&lt;br /&gt;
|-&lt;br /&gt;
| 1 || GND || GND || GND || Pin 13 / GND&lt;br /&gt;
|-&lt;br /&gt;
| 2 || - || Red 0 || - || Pin 2 / (14MHz - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || Red 1 || Red || Pin 6 / LDPS&lt;br /&gt;
|-&lt;br /&gt;
| 4 || - || Green 1 || Green || Pin 11 / SEROUT&lt;br /&gt;
|-&lt;br /&gt;
| 5 || - || Blue 1 || Blue || Pin 10 / GR&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Luma 1 || Green 0 || Intensity || Pin 14 / (VIDD7 - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Luma 0 || Blue 0 || - || Pin 4 / (SEGB - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HSYNC || HSYNC || HSYNC || Pin 3 / CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 9 || VSYNC || VSYNC || VSYNC || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'signal ignored in this mode'&lt;br /&gt;
* MDA/CGA/EGA and Commodore 128 - signals are in the same order as on computer output, so standard DB9 1:1 cable is enough to connect this machines to Medusa&lt;br /&gt;
* Apple IIC - to connect Apple IIC you need cable from DB15 to DB9 (pin numbers on DB15 are given in the table) - when you prepare cable for Apple IIC be aware that there is 12V on pin number 8 - DO NOT CONNECT THIS PIN !!! - it may destroy Medusa.&lt;br /&gt;
&lt;br /&gt;
== Analog Input (DB15 - VGA) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | Function&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Red&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Green&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Blue&lt;br /&gt;
|-&lt;br /&gt;
| 4 || -&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 6 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 7 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || -&lt;br /&gt;
|-&lt;br /&gt;
| 10 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 11 || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || HSYNC/CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 14 || VSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 15 || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'not connected'&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Pinouts&amp;diff=93</id>
		<title>Pinouts</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Pinouts&amp;diff=93"/>
		<updated>2024-04-30T15:06:39Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Digital Input (DB9 - Rev B only) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SCART ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version&lt;br /&gt;
|-&lt;br /&gt;
| 1 || - || Audio Left&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Audio Right || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 4 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND || Audio Right&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Audio Left || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Video Blue || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || GND || Composite Video / Video Luma&lt;br /&gt;
|-&lt;br /&gt;
| 10 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 11 || Video Green || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 14 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 15 || Video Red / Chroma || Video Red / Chroma&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Blank (RGB detect) || Blank (RGB detect)&lt;br /&gt;
|-&lt;br /&gt;
| 17 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 18 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 19 || - || Video Green&lt;br /&gt;
|-&lt;br /&gt;
| 20 || Composite Video / Luma || Video Blue&lt;br /&gt;
|-&lt;br /&gt;
| 21 || GND || GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' - means 'not connected'&lt;br /&gt;
* Blank - when average voltage on this pin is higher than 0.3V Medusa switches to RGB mode&lt;br /&gt;
&lt;br /&gt;
== Digital Input (DB9 - Rev B only) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | MDA/Hercules mode !! style=&amp;quot;color:black&amp;quot; | EGA mode !! style=&amp;quot;color:black&amp;quot; | RGBI/CGA mode !! style=&amp;quot;color:black&amp;quot; | Apple IIC mode&lt;br /&gt;
|-&lt;br /&gt;
| 1 || GND || GND || GND || Pin 13 / GND&lt;br /&gt;
|-&lt;br /&gt;
| 2 || - || Red 0 || - || Pin 2 / (14MHz - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || Red 1 || Red || Pin 6 / LDPS&lt;br /&gt;
|-&lt;br /&gt;
| 4 || - || Green 1 || Green || Pin 11 / SEROUT&lt;br /&gt;
|-&lt;br /&gt;
| 5 || - || Blue 1 || Blue || Pin 10 / GR&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Luma 1 || Green 0 || Intensity || Pin 14 / (VIDD7 - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Luma 0 || Blue 0 || - || Pin 4 / (SEGB - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HSYNC || HSYNC || HSYNC || Pin 3 / CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 9 || VSYNC || VSYNC || VSYNC || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'signal ignored in this mode'&lt;br /&gt;
* MDA/CGA/EGA and Commodore 128 - signals are in the same order as on computer output, so standard DB9 1:1 cable is enough to connect this machines to Medusa&lt;br /&gt;
* Apple IIC - to connect Apple IIC you need cable from DB15 to DB9 (pin numbers on DB15 are given in the table) - when you prepare cable for Apple IIC be aware that there is 12V on pin number 8 - DO NOT CONNECT THIS PIN !!! - it may destroy Medusa.&lt;br /&gt;
&lt;br /&gt;
== Analog Input (DB15 - VGA) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | Function&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Red&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Green&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Blue&lt;br /&gt;
|-&lt;br /&gt;
| 4 || -&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 6 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 7 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || -&lt;br /&gt;
|-&lt;br /&gt;
| 10 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 11 || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || HSYNC/CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 14 || VSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 15 || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'not connected'&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Pinouts&amp;diff=92</id>
		<title>Pinouts</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Pinouts&amp;diff=92"/>
		<updated>2024-04-30T15:06:24Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Analog Input (DB15 - VGA) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SCART ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version&lt;br /&gt;
|-&lt;br /&gt;
| 1 || - || Audio Left&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Audio Right || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 4 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND || Audio Right&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Audio Left || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Video Blue || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || GND || Composite Video / Video Luma&lt;br /&gt;
|-&lt;br /&gt;
| 10 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 11 || Video Green || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 14 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 15 || Video Red / Chroma || Video Red / Chroma&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Blank (RGB detect) || Blank (RGB detect)&lt;br /&gt;
|-&lt;br /&gt;
| 17 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 18 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 19 || - || Video Green&lt;br /&gt;
|-&lt;br /&gt;
| 20 || Composite Video / Luma || Video Blue&lt;br /&gt;
|-&lt;br /&gt;
| 21 || GND || GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' - means 'not connected'&lt;br /&gt;
* Blank - when average voltage on this pin is higher than 0.3V Medusa switches to RGB mode&lt;br /&gt;
&lt;br /&gt;
== Digital Input (DB9 - Rev B only) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | MDA/Hercules mode !! style=&amp;quot;color:black&amp;quot; | EGA mode !! style=&amp;quot;color:black&amp;quot; | RGBI/CGA mode !! style=&amp;quot;color:black&amp;quot; | Apple IIC mode&lt;br /&gt;
|-&lt;br /&gt;
| 1 || GND || GND || GND || Pin 13 / GND&lt;br /&gt;
|-&lt;br /&gt;
| 2 || - || Red 0 || - || Pin 2 / (14MHz - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || Red 1 || Red || Pin 6 / LDPS&lt;br /&gt;
|-&lt;br /&gt;
| 4 || - || Green 1 || Green || Pin 11 / SEROUT&lt;br /&gt;
|-&lt;br /&gt;
| 5 || - || Blue 1 || Blue || Pin 10 / GR&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Luma 1 || Green 0 || Intensity || Pin 14 / (VIDD7 - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Luma 0 || Blue 0 || - || Pin 4 / (SEGB - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HSYNC || HSYNC || HSYNC || Pin 3 / CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 9 || VSYNC || VSYNC || VSYNC || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' - means 'signal ignored in this mode'&lt;br /&gt;
* MDA/CGA/EGA and Commodore 128 - signals are in the same order as on computer output, so standard DB9 1:1 cable is enough to connect this machines to Medusa&lt;br /&gt;
* Apple IIC - to connect Apple IIC you need cable from DB15 to DB9 (pin numbers on DB15 are given in the table) - when you prepare cable for Apple IIC be aware that there is 12V on pin number 8 - DO NOT CONNECT THIS PIN !!! - it may destroy Medusa.&lt;br /&gt;
&lt;br /&gt;
== Analog Input (DB15 - VGA) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | Function&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Red&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Green&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Blue&lt;br /&gt;
|-&lt;br /&gt;
| 4 || -&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 6 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 7 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || -&lt;br /&gt;
|-&lt;br /&gt;
| 10 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 11 || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || HSYNC/CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 14 || VSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 15 || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' means 'not connected'&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Pinouts&amp;diff=91</id>
		<title>Pinouts</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Pinouts&amp;diff=91"/>
		<updated>2024-04-30T15:05:38Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Digital Input (DB9 - Rev B only) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SCART ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version&lt;br /&gt;
|-&lt;br /&gt;
| 1 || - || Audio Left&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Audio Right || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 4 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND || Audio Right&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Audio Left || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Video Blue || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || GND || Composite Video / Video Luma&lt;br /&gt;
|-&lt;br /&gt;
| 10 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 11 || Video Green || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 14 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 15 || Video Red / Chroma || Video Red / Chroma&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Blank (RGB detect) || Blank (RGB detect)&lt;br /&gt;
|-&lt;br /&gt;
| 17 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 18 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 19 || - || Video Green&lt;br /&gt;
|-&lt;br /&gt;
| 20 || Composite Video / Luma || Video Blue&lt;br /&gt;
|-&lt;br /&gt;
| 21 || GND || GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' - means 'not connected'&lt;br /&gt;
* Blank - when average voltage on this pin is higher than 0.3V Medusa switches to RGB mode&lt;br /&gt;
&lt;br /&gt;
== Digital Input (DB9 - Rev B only) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | MDA/Hercules mode !! style=&amp;quot;color:black&amp;quot; | EGA mode !! style=&amp;quot;color:black&amp;quot; | RGBI/CGA mode !! style=&amp;quot;color:black&amp;quot; | Apple IIC mode&lt;br /&gt;
|-&lt;br /&gt;
| 1 || GND || GND || GND || Pin 13 / GND&lt;br /&gt;
|-&lt;br /&gt;
| 2 || - || Red 0 || - || Pin 2 / (14MHz - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || Red 1 || Red || Pin 6 / LDPS&lt;br /&gt;
|-&lt;br /&gt;
| 4 || - || Green 1 || Green || Pin 11 / SEROUT&lt;br /&gt;
|-&lt;br /&gt;
| 5 || - || Blue 1 || Blue || Pin 10 / GR&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Luma 1 || Green 0 || Intensity || Pin 14 / (VIDD7 - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Luma 0 || Blue 0 || - || Pin 4 / (SEGB - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HSYNC || HSYNC || HSYNC || Pin 3 / CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 9 || VSYNC || VSYNC || VSYNC || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' - means 'signal ignored in this mode'&lt;br /&gt;
* MDA/CGA/EGA and Commodore 128 - signals are in the same order as on computer output, so standard DB9 1:1 cable is enough to connect this machines to Medusa&lt;br /&gt;
* Apple IIC - to connect Apple IIC you need cable from DB15 to DB9 (pin numbers on DB15 are given in the table) - when you prepare cable for Apple IIC be aware that there is 12V on pin number 8 - DO NOT CONNECT THIS PIN !!! - it may destroy Medusa.&lt;br /&gt;
&lt;br /&gt;
== Analog Input (DB15 - VGA) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | Function&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Red&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Green&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Blue&lt;br /&gt;
|-&lt;br /&gt;
| 4 || -&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 6 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 7 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || -&lt;br /&gt;
|-&lt;br /&gt;
| 10 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 11 || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || HSYNC/CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 14 || VSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 15 || -&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Pinouts&amp;diff=90</id>
		<title>Pinouts</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Pinouts&amp;diff=90"/>
		<updated>2024-04-30T14:55:44Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* SCART */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SCART ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version&lt;br /&gt;
|-&lt;br /&gt;
| 1 || - || Audio Left&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Audio Right || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 4 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND || Audio Right&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Audio Left || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Video Blue || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || GND || Composite Video / Video Luma&lt;br /&gt;
|-&lt;br /&gt;
| 10 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 11 || Video Green || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 14 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 15 || Video Red / Chroma || Video Red / Chroma&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Blank (RGB detect) || Blank (RGB detect)&lt;br /&gt;
|-&lt;br /&gt;
| 17 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 18 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 19 || - || Video Green&lt;br /&gt;
|-&lt;br /&gt;
| 20 || Composite Video / Luma || Video Blue&lt;br /&gt;
|-&lt;br /&gt;
| 21 || GND || GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* '-' - means 'not connected'&lt;br /&gt;
* Blank - when average voltage on this pin is higher than 0.3V Medusa switches to RGB mode&lt;br /&gt;
&lt;br /&gt;
== Digital Input (DB9 - Rev B only) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | MDA/Hercules mode !! style=&amp;quot;color:black&amp;quot; | EGA mode !! style=&amp;quot;color:black&amp;quot; | RGBI/CGA mode !! style=&amp;quot;color:black&amp;quot; | AppleIIC mode&lt;br /&gt;
|-&lt;br /&gt;
| 1 || GND || GND || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 2 || - || Red 0 || - || (14MHz - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || Red 1 || Red || LDPS&lt;br /&gt;
|-&lt;br /&gt;
| 4 || - || Green 1 || Green || SEROUT&lt;br /&gt;
|-&lt;br /&gt;
| 5 || - || Blue 1 || Blue || GR&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Luma 1 || Green 0 || Intensity || (VIDD7 - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Luma 0 || Blue 0 || - || (SEGB - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HSYNC || HSYNC || HSYNC || CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 9 || VSYNC || VSYNC || VSYNC || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Analog Input (DB15 - VGA) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | Function&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Red&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Green&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Blue&lt;br /&gt;
|-&lt;br /&gt;
| 4 || -&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 6 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 7 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || -&lt;br /&gt;
|-&lt;br /&gt;
| 10 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 11 || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || HSYNC/CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 14 || VSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 15 || -&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Pinouts&amp;diff=89</id>
		<title>Pinouts</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Pinouts&amp;diff=89"/>
		<updated>2024-04-30T14:49:10Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Digital Input (DB9 - Rev B only) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SCART ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version&lt;br /&gt;
|-&lt;br /&gt;
| 1 || - || Audio Left&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Audio Right || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 4 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND || Audio Right&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Audio Left || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Video Blue || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || GND || Composite Video / Video Luma&lt;br /&gt;
|-&lt;br /&gt;
| 10 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 11 || Video Green || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 14 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 15 || Video Red / Chroma || Video Red / Chroma&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Blank (RGB detect) || Blank (RGB detect)&lt;br /&gt;
|-&lt;br /&gt;
| 17 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 18 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 19 || - || Video Green&lt;br /&gt;
|-&lt;br /&gt;
| 20 || Composite Video / Luma || Video Blue&lt;br /&gt;
|-&lt;br /&gt;
| 21 || GND || GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Digital Input (DB9 - Rev B only) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | MDA/Hercules mode !! style=&amp;quot;color:black&amp;quot; | EGA mode !! style=&amp;quot;color:black&amp;quot; | RGBI/CGA mode !! style=&amp;quot;color:black&amp;quot; | AppleIIC mode&lt;br /&gt;
|-&lt;br /&gt;
| 1 || GND || GND || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 2 || - || Red 0 || - || (14MHz - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || Red 1 || Red || LDPS&lt;br /&gt;
|-&lt;br /&gt;
| 4 || - || Green 1 || Green || SEROUT&lt;br /&gt;
|-&lt;br /&gt;
| 5 || - || Blue 1 || Blue || GR&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Luma 1 || Green 0 || Intensity || (VIDD7 - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Luma 0 || Blue 0 || - || (SEGB - not used)&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HSYNC || HSYNC || HSYNC || CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 9 || VSYNC || VSYNC || VSYNC || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Analog Input (DB15 - VGA) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | Function&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Red&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Green&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Blue&lt;br /&gt;
|-&lt;br /&gt;
| 4 || -&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 6 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 7 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || -&lt;br /&gt;
|-&lt;br /&gt;
| 10 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 11 || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || HSYNC/CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 14 || VSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 15 || -&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Pinouts&amp;diff=88</id>
		<title>Pinouts</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Pinouts&amp;diff=88"/>
		<updated>2024-04-30T14:47:51Z</updated>

		<summary type="html">&lt;p&gt;Acid: Created page with &amp;quot;== SCART ==  {| class=&amp;quot;wikitable&amp;quot; ! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version |- | 1 || - || Audio Left |- | 2 || Audio Right || - |- | 3 || - || GND |- | 4 || GND || GND |- | 5 || GND || Audio Right |- | 6 || Audio Left || - |- | 7 || Video Blue || GND |- | 8 || - || GND |- | 9 || GND || Composite Video / Video Luma |- | 10 || - || - |- | 11 || Video Green || - |- | 12 || - || - |- | 13 || GND || GND |-...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SCART ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | EURO version !! style=&amp;quot;color:black&amp;quot; | JP21 version&lt;br /&gt;
|-&lt;br /&gt;
| 1 || - || Audio Left&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Audio Right || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 4 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND || Audio Right&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Audio Left || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Video Blue || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || GND || Composite Video / Video Luma&lt;br /&gt;
|-&lt;br /&gt;
| 10 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 11 || Video Green || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 14 || - || GND&lt;br /&gt;
|-&lt;br /&gt;
| 15 || Video Red / Chroma || Video Red / Chroma&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Blank (RGB detect) || Blank (RGB detect)&lt;br /&gt;
|-&lt;br /&gt;
| 17 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 18 || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 19 || - || Video Green&lt;br /&gt;
|-&lt;br /&gt;
| 20 || Composite Video / Luma || Video Blue&lt;br /&gt;
|-&lt;br /&gt;
| 21 || GND || GND&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Digital Input (DB9 - Rev B only) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | MDA/Hercules mode !! style=&amp;quot;color:black&amp;quot; | EGA mode !! style=&amp;quot;color:black&amp;quot; | RGBI/CGA mode !! style=&amp;quot;color:black&amp;quot; | AppleIIC mode&lt;br /&gt;
|-&lt;br /&gt;
| 1 || GND || GND || GND || GND&lt;br /&gt;
|-&lt;br /&gt;
| 2 || - || Red 0 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 3 || - || Red 1 || Red || LDPS&lt;br /&gt;
|-&lt;br /&gt;
| 4 || - || Green 1 || Green || SEROUT&lt;br /&gt;
|-&lt;br /&gt;
| 5 || - || Blue 1 || Blue || GR&lt;br /&gt;
|-&lt;br /&gt;
| 6 || Luma 1 || Green 0 || Intensity || -&lt;br /&gt;
|-&lt;br /&gt;
| 7 || Luma 0 || Blue 0 || - || -&lt;br /&gt;
|-&lt;br /&gt;
| 8 || HSYNC || HSYNC || HSYNC || CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 9 || VSYNC || VSYNC || VSYNC || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Analog Input (DB15 - VGA) ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! style=&amp;quot;color:black&amp;quot; | Pin number !! style=&amp;quot;color:black&amp;quot; | Function&lt;br /&gt;
|-&lt;br /&gt;
| 1 || Red&lt;br /&gt;
|-&lt;br /&gt;
| 2 || Green&lt;br /&gt;
|-&lt;br /&gt;
| 3 || Blue&lt;br /&gt;
|-&lt;br /&gt;
| 4 || -&lt;br /&gt;
|-&lt;br /&gt;
| 5 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 6 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 7 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 8 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 9 || -&lt;br /&gt;
|-&lt;br /&gt;
| 10 || GND&lt;br /&gt;
|-&lt;br /&gt;
| 11 || -&lt;br /&gt;
|-&lt;br /&gt;
| 12 || -&lt;br /&gt;
|-&lt;br /&gt;
| 13 || HSYNC/CSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 14 || VSYNC&lt;br /&gt;
|-&lt;br /&gt;
| 15 || -&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Main_Page&amp;diff=87</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Main_Page&amp;diff=87"/>
		<updated>2024-04-30T14:18:38Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Medusa Wiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Description]]&lt;br /&gt;
&lt;br /&gt;
[[Using Medusa]]&lt;br /&gt;
&lt;br /&gt;
[[Pinouts]]&lt;br /&gt;
&lt;br /&gt;
[[Menu]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Console]]&lt;br /&gt;
&lt;br /&gt;
[[Recognised Modes]]&lt;br /&gt;
&lt;br /&gt;
[[Sample phase / Pixers per line]]&lt;br /&gt;
&lt;br /&gt;
[[Firmware Update]]&lt;br /&gt;
&lt;br /&gt;
[[Credits]]&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=86</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=86"/>
		<updated>2023-12-14T13:10:29Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Check your hardware revision (see [[Description#Hardware_Revisions]]). Beware that firmwares 1.0.18 and older are only compatible with REV A. If you install older firmware on REV B then you may experience some strange behaviour but you won't brick the device and reinstalling correct firmware will be possible and will fix those issues.&lt;br /&gt;
# Download firmware from [//medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux, Macos and Windows 10+. In case of Window 8.1 and older you need this file: [//medusa-sc.org/firmware/medusa.inf medusa.inf] (unsigned file specifically designed for Mesusa) or this file: [//medusa-sc.org/firmware/stmcdc.zip stmcdc.zip] (signed driver for all CDC devices with stm32 chips). See below how to use those files. In case of Linux make sure that your user has permissions to write to serial port (see below).&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using medusa.inf or stmcdc.zip ==&lt;br /&gt;
&lt;br /&gt;
In case of Windows 10 and newer nothing needs to be done and any CDC device is automatically recognized, but in case of older Windows systems the user has to manually assign a driver (usbser.sys in this case) to a specific device (Medusa in this case). By default Medusa is shown in &amp;quot;device manager&amp;quot; as an &amp;quot;unrecognized device&amp;quot;. To allow Windows to use usbser.sys you need to:&lt;br /&gt;
&lt;br /&gt;
=== Option 1 - using unsigned medusa.inf file: ===&lt;br /&gt;
&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select the catalog with the &amp;quot;medusa.inf&amp;quot; file that you downloaded from this page and then click the &amp;quot;next&amp;quot; button;&lt;br /&gt;
# you will see a red warning that the file you are going to use can be dangerous (because this inf file is not signed) - pick &amp;quot;install this driver software anyway&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Option 2 - using signed, universal stmcdc.zip file: ===&lt;br /&gt;
&lt;br /&gt;
# unzip the &amp;quot;stmcdc.zip&amp;quot; file;&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# pick the option &amp;quot;let me pick from a list of available drivers on my computer&amp;quot;;&lt;br /&gt;
# if windows asks you to choose a device type - just click &amp;quot;next&amp;quot;;&lt;br /&gt;
# in the next window click on &amp;quot;Have disk...&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select 'stmcdc.inf' in the 'stmcdc' folder;&lt;br /&gt;
# click &amp;quot;ok&amp;quot; and then &amp;quot;next&amp;quot;;&lt;br /&gt;
# Windows will inform you that this driver might not be good for the selected device (because it is a universal driver for all STM32 CDC devices - not specifically for Medusa, but it works perfectly ok) - press the &amp;quot;yes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
In both cases you should see a new COM port in your system. In case of using medusa.inf you will see &amp;quot;Medusa CDC serial port&amp;quot; and in case of using stmcdc.zip you will see &amp;quot;STMicroelectronics Virtual COM Port&amp;quot; - it doesn't matter. In both cases the medusa firmware update software should work without any problems.&lt;br /&gt;
&lt;br /&gt;
== Linux udev ==&lt;br /&gt;
&lt;br /&gt;
Usually in Linux default permission to /dev/ttyACMn (device file used to communicate with Medusa) is &amp;lt;code&amp;gt;rw-rw---- root uucp&amp;lt;/code&amp;gt;. In such case only root and users belong to uucp group have write access to this file. The first solution is to add your user to 'uucp' group. The second is to add specific 'udev' rule for Medusa that will make sure that all users will have rights to Medusa's port. To do that usually you should create file in '/etc/udev/rules.d/' named '##-medusa.rules' (for example '77-medusa.rules') with following content:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SUBSYSTEMS==&amp;quot;usb&amp;quot;, ATTRS{idVendor}==&amp;quot;0483&amp;quot;, ATTRS{idProduct}==&amp;quot;5740&amp;quot;, MODE=&amp;quot;0666&amp;quot;, SYMLINK+=&amp;quot;ttyMedusa&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After that you need to reload rules. Typically run the command: &amp;lt;code&amp;gt;sudo udevadm control --reload&amp;lt;/code&amp;gt; and then &amp;lt;code&amp;gt;sudo udevadm trigger&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - a simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
The boot code in Medusa checks checksums of both parts. If both checksums are correct then it jumps to part B (or part A when the &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even if you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=85</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=85"/>
		<updated>2023-12-14T12:55:20Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Firmware Update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Check your hardware revision (see [[Description#Hardware_Revisions]]). Beware that firmwares 1.0.18 and older are only compatible with REV A. If you install older firmware on REV B then you may experience some strange behaviour but you won't brick the device and reinstalling correct firmware will be possible and will fix those issues.&lt;br /&gt;
# Download firmware from [//medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux, Macos and Windows 10+. In case of Window 8.1 and older you need this file: [//medusa-sc.org/firmware/medusa.inf medusa.inf] (unsigned file specifically designed for Mesusa) or this file: [//medusa-sc.org/firmware/stmcdc.zip stmcdc.zip] (signed driver for all CDC devices with stm32 chips). See below how to use those files. In case of Linux make sure that your user has permissions to write to serial port (see below).&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using medusa.inf or stmcdc.zip ==&lt;br /&gt;
&lt;br /&gt;
In case of Windows 10 and newer nothing needs to be done and any CDC device is automatically recognized, but in case of older Windows systems the user has to manually assign a driver (usbser.sys in this case) to a specific device (Medusa in this case). By default Medusa is shown in &amp;quot;device manager&amp;quot; as an &amp;quot;unrecognized device&amp;quot;. To allow Windows to use usbser.sys you need to:&lt;br /&gt;
&lt;br /&gt;
=== Option 1 - using unsigned medusa.inf file: ===&lt;br /&gt;
&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select the catalog with the &amp;quot;medusa.inf&amp;quot; file that you downloaded from this page and then click the &amp;quot;next&amp;quot; button;&lt;br /&gt;
# you will see a red warning that the file you are going to use can be dangerous (because this inf file is not signed) - pick &amp;quot;install this driver software anyway&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Option 2 - using signed, universal stmcdc.zip file: ===&lt;br /&gt;
&lt;br /&gt;
# unzip the &amp;quot;stmcdc.zip&amp;quot; file;&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# pick the option &amp;quot;let me pick from a list of available drivers on my computer&amp;quot;;&lt;br /&gt;
# if windows asks you to choose a device type - just click &amp;quot;next&amp;quot;;&lt;br /&gt;
# in the next window click on &amp;quot;Have disk...&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select 'stmcdc.inf' in the 'stmcdc' folder;&lt;br /&gt;
# click &amp;quot;ok&amp;quot; and then &amp;quot;next&amp;quot;;&lt;br /&gt;
# Windows will inform you that this driver might not be good for the selected device (because it is a universal driver for all STM32 CDC devices - not specifically for Medusa, but it works perfectly ok) - press the &amp;quot;yes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
In both cases you should see a new COM port in your system. In case of using medusa.inf you will see &amp;quot;Medusa CDC serial port&amp;quot; and in case of using stmcdc.zip you will see &amp;quot;STMicroelectronics Virtual COM Port&amp;quot; - it doesn't matter. In both cases the medusa firmware update software should work without any problems.&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - a simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
The boot code in Medusa checks checksums of both parts. If both checksums are correct then it jumps to part B (or part A when the &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even if you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=84</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=84"/>
		<updated>2023-11-22T13:07:44Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Firmware Update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Check your hardware revision (see [[Description#Hardware_Revisions]]). Beware that firmwares 1.0.18 and older are only compatible with REV A. If you install older firmware on REV B then you may experience some strange behaviour but you won't brick the device and reinstalling correct firmware will be possible and will fix those issues.&lt;br /&gt;
# Download firmware from [//medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux, Macos and Windows 10+. In case of Window 8.1 and older you need this file: [//medusa-sc.org/firmware/medusa.inf medusa.inf] (unsigned file specifically designed for Mesusa) or this file: [//medusa-sc.org/firmware/stmcdc.zip stmcdc.zip] (signed driver for all CDC devices with stm32 chips). See below how to use those files.&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using medusa.inf or stmcdc.zip ==&lt;br /&gt;
&lt;br /&gt;
In case of Windows 10 and newer nothing needs to be done and any CDC device is automatically recognized, but in case of older Windows systems the user has to manually assign a driver (usbser.sys in this case) to a specific device (Medusa in this case). By default Medusa is shown in &amp;quot;device manager&amp;quot; as an &amp;quot;unrecognized device&amp;quot;. To allow Windows to use usbser.sys you need to:&lt;br /&gt;
&lt;br /&gt;
=== Option 1 - using unsigned medusa.inf file: ===&lt;br /&gt;
&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select the catalog with the &amp;quot;medusa.inf&amp;quot; file that you downloaded from this page and then click the &amp;quot;next&amp;quot; button;&lt;br /&gt;
# you will see a red warning that the file you are going to use can be dangerous (because this inf file is not signed) - pick &amp;quot;install this driver software anyway&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Option 2 - using signed, universal stmcdc.zip file: ===&lt;br /&gt;
&lt;br /&gt;
# unzip the &amp;quot;stmcdc.zip&amp;quot; file;&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# pick the option &amp;quot;let me pick from a list of available drivers on my computer&amp;quot;;&lt;br /&gt;
# if windows asks you to choose a device type - just click &amp;quot;next&amp;quot;;&lt;br /&gt;
# in the next window click on &amp;quot;Have disk...&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select 'stmcdc.inf' in the 'stmcdc' folder;&lt;br /&gt;
# click &amp;quot;ok&amp;quot; and then &amp;quot;next&amp;quot;;&lt;br /&gt;
# Windows will inform you that this driver might not be good for the selected device (because it is a universal driver for all STM32 CDC devices - not specifically for Medusa, but it works perfectly ok) - press the &amp;quot;yes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
In both cases you should see a new COM port in your system. In case of using medusa.inf you will see &amp;quot;Medusa CDC serial port&amp;quot; and in case of using stmcdc.zip you will see &amp;quot;STMicroelectronics Virtual COM Port&amp;quot; - it doesn't matter. In both cases the medusa firmware update software should work without any problems.&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - a simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
The boot code in Medusa checks checksums of both parts. If both checksums are correct then it jumps to part B (or part A when the &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even if you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Recognised_Modes&amp;diff=83</id>
		<title>Recognised Modes</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Recognised_Modes&amp;diff=83"/>
		<updated>2023-11-22T12:53:47Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Modes recognised on RGB input using fingerprint */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Modes recognised on RGB input using fingerprint ==&lt;br /&gt;
&lt;br /&gt;
* Spectrum familly&lt;br /&gt;
** Spectrum 128k&lt;br /&gt;
** Spectrum 48k&lt;br /&gt;
** Pentagon&lt;br /&gt;
* Sinclair QL&lt;br /&gt;
* Elwro 800&lt;br /&gt;
* Amstrad&lt;br /&gt;
** Amstrad CPC&lt;br /&gt;
* Commodore 64&lt;br /&gt;
** C64 PAL&lt;br /&gt;
** C128 RGBI/PAL&lt;br /&gt;
* Atari XL/XE&lt;br /&gt;
** Atari VBXE PAL&lt;br /&gt;
** Atari VBXE DP&lt;br /&gt;
** Atari VBXE NTSC&lt;br /&gt;
** Atari VBXE DN&lt;br /&gt;
* Atari ST&lt;br /&gt;
** Atari ST PAL&lt;br /&gt;
** Atari ST NTSC&lt;br /&gt;
** Atari ST HI&lt;br /&gt;
* Atari Falcon&lt;br /&gt;
** Atari FALCON VGA (this is standard VGA 640x480 - maybe will be changed in the future)&lt;br /&gt;
** Atari FALCON N40&lt;br /&gt;
** Atari FALCON N80&lt;br /&gt;
** Atari FALCON PAL&lt;br /&gt;
* Atari TT&lt;br /&gt;
* Atari on MIST&lt;br /&gt;
** ATARI Viking&lt;br /&gt;
* Amiga OCS&lt;br /&gt;
** Amiga PAL&lt;br /&gt;
** Amiga NTSC&lt;br /&gt;
* Amiga ECS/AGA (without VGAonly)&lt;br /&gt;
** Amiga EURO36&lt;br /&gt;
** Amiga EURO72&lt;br /&gt;
** Amiga SUPER72&lt;br /&gt;
** Amiga DblNTSC&lt;br /&gt;
** Amiga DblPAL&lt;br /&gt;
** Amiga Multiscan&lt;br /&gt;
** Amiga SUPERPLUS&lt;br /&gt;
** Amiga HIGHGFX&lt;br /&gt;
** Amiga HD720&lt;br /&gt;
* Amiga ECS/AGA (with VGAonly)&lt;br /&gt;
** Amiga DblPAL*&lt;br /&gt;
** Amiga DblNTSC*&lt;br /&gt;
** Amiga EURO72*&lt;br /&gt;
** Amiga Multiscan*&lt;br /&gt;
** Amiga SUPER72*&lt;br /&gt;
* MIST&lt;br /&gt;
** MIST MENU&lt;br /&gt;
** MIST QL&lt;br /&gt;
** MIST C64 PAL&lt;br /&gt;
** MIST C64 NTSC&lt;br /&gt;
** MIST C16&lt;br /&gt;
** MIST VIC20&lt;br /&gt;
** MIST ACORN&lt;br /&gt;
** MIST MAC PLUS&lt;br /&gt;
* Macintosh (tested on LC475)&lt;br /&gt;
** Mac 512x384&lt;br /&gt;
** Mac 640x480&lt;br /&gt;
** Mac 832x624&lt;br /&gt;
** Mac 1024x768&lt;br /&gt;
** Mac 1152x870&lt;br /&gt;
* Standard VGA&lt;br /&gt;
** VGA 800x600&lt;br /&gt;
** VGA 80x25TXT@70&lt;br /&gt;
** VGA 640x480&lt;br /&gt;
* Digital modes&lt;br /&gt;
** EGA TXT&lt;br /&gt;
** CGA TXT&lt;br /&gt;
** MDA TXT&lt;br /&gt;
* MSX&lt;br /&gt;
** MSX PAL&lt;br /&gt;
** MSX NTSC&lt;br /&gt;
* SNES&lt;br /&gt;
** SNES PAL&lt;br /&gt;
** SNES NTSC&lt;br /&gt;
* Acorn Archimedes&lt;br /&gt;
** ACORN VGA 60Hz&lt;br /&gt;
** ACORN PAL-LIKE&lt;br /&gt;
** ACORN MULTI (18-21)&lt;br /&gt;
** ACORN MULTI (37-40)&lt;br /&gt;
** ACORN MULTI (41-43)&lt;br /&gt;
** ACORN NTSC-LIKE&lt;br /&gt;
** ACORN SVGA&lt;br /&gt;
** ACORN VGA 70Hz&lt;br /&gt;
** ACORN PAL&lt;br /&gt;
* Apple IIc (digital input - work in progress)&lt;br /&gt;
** Apple IIc NTSC&lt;br /&gt;
** Apple IIc PAL&lt;br /&gt;
* Special modes (unrecognised PAL-like and NTSC-like)&lt;br /&gt;
** unknown PAL&lt;br /&gt;
** unknown NTSC&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Menu&amp;diff=82</id>
		<title>Menu</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Menu&amp;diff=82"/>
		<updated>2023-11-22T12:43:26Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* global options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Main Menu ==&lt;br /&gt;
&lt;br /&gt;
=== rgb curves ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for changing RGB curves. By changing these curves it is possible to change brightness, contrast, gamma etc.&lt;br /&gt;
&lt;br /&gt;
* brightness - change screen brightness from -100 to 100&lt;br /&gt;
* contrast - change screen contrast from -100 to 100&lt;br /&gt;
* blue/yellow - change white balance from -100 to 100&lt;br /&gt;
* green/magenta - change white tint from -100 to 100&lt;br /&gt;
* gamma - change gamma correction from 0.4 to 2.5&lt;br /&gt;
* reset - reset all curves to standard flat 1:1 curves&lt;br /&gt;
&lt;br /&gt;
=== filters ===&lt;br /&gt;
&lt;br /&gt;
This submenu has special picture filters such as green, amber mono monitor, negative, scanline, smoothing etc.&lt;br /&gt;
&lt;br /&gt;
* color - mono monitor emulation with many variants (green,amber,cyan,sepia,red)&lt;br /&gt;
* special&lt;br /&gt;
** threshold - all values below 128 set to 0 and all values above 127 set to 255 - this is good option for binary signal (ST mono)&lt;br /&gt;
** negative - negates all R,G and B values&lt;br /&gt;
** 512 colors - round all color values to 512 color palette&lt;br /&gt;
** 4096 colors - round all color values to 4096 color palette&lt;br /&gt;
** ZX/CPC colors - round all color values to 27 color palette&lt;br /&gt;
* pixel&lt;br /&gt;
** scanline - every second line made darker (emulates old CRT scanlines)&lt;br /&gt;
** pixel mode - every second line and every second column made darker (emulates old LCD displays)&lt;br /&gt;
** noise - add noise to picture (emulates connecting to old TV sets)&lt;br /&gt;
** sl+noise - scanline + noise&lt;br /&gt;
* smoothing - decreases noise. If difference between current pixel and previous is smaller than given value then pixel value is blended with previous pixel - makes picture more even and with less noise. Although you can set it from 0 to 255, using values higher than 10 is not recommended.&lt;br /&gt;
* reset - reset all special filters to default values (smoothing to 0 and &amp;quot;no filter&amp;quot; for all other options)&lt;br /&gt;
&lt;br /&gt;
=== shift/size ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for moving picture left/right, up/down and also for changing window size (you can think of it as an output resolution)&lt;br /&gt;
&lt;br /&gt;
* xshift - move picture left and right (during movement picture may disappear for a moment - it is a normal reaction of the displaying device when something is changing)&lt;br /&gt;
* yshift - move picture up and down (same as above - during movement picture may disappear)&lt;br /&gt;
* dvi width - set display window to specific width (be aware that some displays do not accept all widths, so during changing for example from 720 to 800 screen may be black when values are in between, also every width change usually means sync lost, so it is better to change these values using OLED, not OSD)&lt;br /&gt;
* dvi height - set display window to specific height (same as above)&lt;br /&gt;
* dvi presets - beacuse usually we want to use well defined screen sizes, there are presets for screen width and height. When selected preset's height or width is too big for  current input resolution, it is lowered to maximum possible value. Current firmware displays only available modes (lower than current native resolution).&lt;br /&gt;
** 1280x1024 (mainly for viking mode in MIST)&lt;br /&gt;
** 1024x768 (standard old Mac/PC)&lt;br /&gt;
** 800x600 (whole screen in PAL modes - with all borders)&lt;br /&gt;
** 720x576 (standard PAL resolution - most compatible for PAL modes)&lt;br /&gt;
** 720x480 (standard NTSC resolution - most compatible for NTSC modes)&lt;br /&gt;
** 640x480 (standard VGA resolution - very compatible)&lt;br /&gt;
** 640x400 (good for ST mono)&lt;br /&gt;
&lt;br /&gt;
=== rgb only ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options that are used only when picture is processed by RGB A/D converter (front LED is red, on OLED info says that source of signal is RGB &amp;quot;RGB: xxxxxxx&amp;quot;). In current firmware this menu is only visible when RGB signal is processed.&lt;br /&gt;
&lt;br /&gt;
[[File:sample_phase.png|200px|thumb|sample phase]]&lt;br /&gt;
&lt;br /&gt;
* sample phase - sets sample phase of pixel. Pixels have to pe sampled in &amp;quot;the middle of the pixel&amp;quot;. When pixels are sampled &amp;quot;in between&amp;quot; then the picture looks blurry and often noisy. This option should be adjusted individually for every device connected to Medusa - this is a very important option !!!.&lt;br /&gt;
* pixels/line - for all recognised modes this option shouldn't be adjusted - for all known computers this parameter is predefined in Medusa, but when you connect something that is not recognised (&amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot;) you can set this option to improve picture quality.&lt;br /&gt;
* double res - doubles X resolution (practically useful only for Amiga's &amp;quot;Super Hires&amp;quot; modes)&lt;br /&gt;
* double lines - doubles Y resolution (standard for PAL/NTSC modes)&lt;br /&gt;
* auto levels - runs a routine, that tries to find best offset and gain for R, G and B signals - use it, when the picture is too dark or too light - usually it is automatically performed whenever you connect a specific device for the first time, but if you have two cables for the same computer then after a cable change you may need to run this manually.&lt;br /&gt;
* component mode - changes R,G,B to Y,Cr,Cb (Y on green, Cr on red and Cb on blue) - after changing this option &amp;quot;auto levels&amp;quot; is always re-run&lt;br /&gt;
** when active source is VGA&lt;br /&gt;
*** RGB mode - standard RGB&lt;br /&gt;
*** YCrCb - Y on green, Cr on red and Cb on blue)&lt;br /&gt;
*** Mono on G - use green only as a mono signal, ignore red and blue&lt;br /&gt;
** when active source is SCART&lt;br /&gt;
*** YCrCb [Y&amp;lt;-CV] - Y on CV SCART pin, Cr on red, Cb on blue)&lt;br /&gt;
*** YCrCb [Y&amp;lt;-G] - Y on green, Cr on red, Cb on blue)&lt;br /&gt;
*** Mono [Y&amp;lt;-CV] - use CV as a mono signal, ignore red, green and blue signals&lt;br /&gt;
*** Mono [Y&amp;lt;-G] - use green as a mono signal, CV as a synchro input, ignore red and blue&lt;br /&gt;
*** Hybrid mode - Special S-Video mode. Process luma signal by RGB A/D and chroma by SDTV A/D. Experimental mode that increases S-Video quality.&lt;br /&gt;
* digital mode (only when digital signal is processed) - switching between MDA/Hercules, RGBI/C128/CGA and EGA&lt;br /&gt;
* lowpass filter (switch on/off lowpass filter in RGB A/D and external SCART-only LP filter)&lt;br /&gt;
* luma delay (only when hybrid mode is active) - adjust chroma/luma shift&lt;br /&gt;
* fingerprint - Medusa recognises input devices using &amp;quot;fingerprint&amp;quot; mechanism. For each device there is a predefined fingerprint in the firmware. But sometimes it may happen that your device is not recognised correctly, or it is not in Medusa's database at all. This option displays fingerprint parameters for currently connected device. These values may be used by Medusa developers to improve devices detection and adding new ones.&lt;br /&gt;
&lt;br /&gt;
=== global options ===&lt;br /&gt;
&lt;br /&gt;
This submenu has global options (DVI, timeouts, audio freq itp.)&lt;br /&gt;
&lt;br /&gt;
* DVI mode&lt;br /&gt;
** auto - automatically detect if the receiver is capable of audio processing.&lt;br /&gt;
** extended DVI - always send audio packets on DVI (not compatible with DVI, but usually recognised correctly by HDMI devices connected to Medusa via appropriate cables)&lt;br /&gt;
** pure DVI - pure DVI signal without audio (compatible with most old LCD 17&amp;quot; and 19&amp;quot; displays)&lt;br /&gt;
* DVI extras (only in extended DVI mode)&lt;br /&gt;
** audio only - send only audio packets&lt;br /&gt;
** audio + info - send audio and info packets&lt;br /&gt;
* SCART mode&lt;br /&gt;
** auto - switch between RGB/SDTV automatically (using SWITCH pin on SCART)&lt;br /&gt;
** sdtv only - always process signal using SDTV A/D (composite video / s-video)&lt;br /&gt;
** rgb only - always process signal using RGB A/D&lt;br /&gt;
* SDTV mode&lt;br /&gt;
** auto - automatically recognise CVBS (composite video) and S-Video&lt;br /&gt;
** force CVBS - process signal as composite video (luma and chroma together)&lt;br /&gt;
** force S-Video - process signal as S-Video (luma / chroma separated)&lt;br /&gt;
* Audio source&lt;br /&gt;
** auto - use SCART as an audio source when it is used as a video source, and 3.5&amp;quot; jack otherwise&lt;br /&gt;
** SCART only - always use SCART as an audio input&lt;br /&gt;
** Jack only - always use 3.5&amp;quot; Jack as an audio input&lt;br /&gt;
** SCART + Jack (rev B only) - mix signals from SCART and Jack.&lt;br /&gt;
* Aud mix ratio (only when SCART + Jack is selected) - switch mix ratio 1:7,2:6,3:5,4:4,5:3,6:2,7:1&lt;br /&gt;
* OLED rotation - optionally rotate OLED content&lt;br /&gt;
* Audio freq (rev B only and only in extended DVI mode) - change audio sample frequency (192,176.4,96,88.2,48,44.1,32) kHz&lt;br /&gt;
* Audio bits (only in extended DVI mode) - change audio sample bit depth (24,20,16) bits&lt;br /&gt;
* No Signal FPS - change &amp;quot;no signal screen&amp;quot; mode (50Hz/60Hz)&lt;br /&gt;
* Lost sync wait&lt;br /&gt;
* Sleep timeout&lt;br /&gt;
* OSD timeouts&lt;br /&gt;
** main menu&lt;br /&gt;
** sub menus&lt;br /&gt;
** start info&lt;br /&gt;
** change mode&lt;br /&gt;
** no signal&lt;br /&gt;
** return to top&lt;br /&gt;
&lt;br /&gt;
=== reset ===&lt;br /&gt;
&lt;br /&gt;
Reset settings (all settings are also reset when you turn on Medusa with pressed both left keys - 'up' and 'down')&lt;br /&gt;
&lt;br /&gt;
* rst glob opts - resets only global options (DVI mode and OSD timeouts)&lt;br /&gt;
* rst curr prof - resets current profile (all curves, filters, etc. only for currently connected device)&lt;br /&gt;
* factory reset - same as running with 'up' and 'down' pressed - clears whole flash memory with all settings&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Menu&amp;diff=81</id>
		<title>Menu</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Menu&amp;diff=81"/>
		<updated>2023-11-22T12:12:43Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* rgb only */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Main Menu ==&lt;br /&gt;
&lt;br /&gt;
=== rgb curves ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for changing RGB curves. By changing these curves it is possible to change brightness, contrast, gamma etc.&lt;br /&gt;
&lt;br /&gt;
* brightness - change screen brightness from -100 to 100&lt;br /&gt;
* contrast - change screen contrast from -100 to 100&lt;br /&gt;
* blue/yellow - change white balance from -100 to 100&lt;br /&gt;
* green/magenta - change white tint from -100 to 100&lt;br /&gt;
* gamma - change gamma correction from 0.4 to 2.5&lt;br /&gt;
* reset - reset all curves to standard flat 1:1 curves&lt;br /&gt;
&lt;br /&gt;
=== filters ===&lt;br /&gt;
&lt;br /&gt;
This submenu has special picture filters such as green, amber mono monitor, negative, scanline, smoothing etc.&lt;br /&gt;
&lt;br /&gt;
* color - mono monitor emulation with many variants (green,amber,cyan,sepia,red)&lt;br /&gt;
* special&lt;br /&gt;
** threshold - all values below 128 set to 0 and all values above 127 set to 255 - this is good option for binary signal (ST mono)&lt;br /&gt;
** negative - negates all R,G and B values&lt;br /&gt;
** 512 colors - round all color values to 512 color palette&lt;br /&gt;
** 4096 colors - round all color values to 4096 color palette&lt;br /&gt;
** ZX/CPC colors - round all color values to 27 color palette&lt;br /&gt;
* pixel&lt;br /&gt;
** scanline - every second line made darker (emulates old CRT scanlines)&lt;br /&gt;
** pixel mode - every second line and every second column made darker (emulates old LCD displays)&lt;br /&gt;
** noise - add noise to picture (emulates connecting to old TV sets)&lt;br /&gt;
** sl+noise - scanline + noise&lt;br /&gt;
* smoothing - decreases noise. If difference between current pixel and previous is smaller than given value then pixel value is blended with previous pixel - makes picture more even and with less noise. Although you can set it from 0 to 255, using values higher than 10 is not recommended.&lt;br /&gt;
* reset - reset all special filters to default values (smoothing to 0 and &amp;quot;no filter&amp;quot; for all other options)&lt;br /&gt;
&lt;br /&gt;
=== shift/size ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for moving picture left/right, up/down and also for changing window size (you can think of it as an output resolution)&lt;br /&gt;
&lt;br /&gt;
* xshift - move picture left and right (during movement picture may disappear for a moment - it is a normal reaction of the displaying device when something is changing)&lt;br /&gt;
* yshift - move picture up and down (same as above - during movement picture may disappear)&lt;br /&gt;
* dvi width - set display window to specific width (be aware that some displays do not accept all widths, so during changing for example from 720 to 800 screen may be black when values are in between, also every width change usually means sync lost, so it is better to change these values using OLED, not OSD)&lt;br /&gt;
* dvi height - set display window to specific height (same as above)&lt;br /&gt;
* dvi presets - beacuse usually we want to use well defined screen sizes, there are presets for screen width and height. When selected preset's height or width is too big for  current input resolution, it is lowered to maximum possible value. Current firmware displays only available modes (lower than current native resolution).&lt;br /&gt;
** 1280x1024 (mainly for viking mode in MIST)&lt;br /&gt;
** 1024x768 (standard old Mac/PC)&lt;br /&gt;
** 800x600 (whole screen in PAL modes - with all borders)&lt;br /&gt;
** 720x576 (standard PAL resolution - most compatible for PAL modes)&lt;br /&gt;
** 720x480 (standard NTSC resolution - most compatible for NTSC modes)&lt;br /&gt;
** 640x480 (standard VGA resolution - very compatible)&lt;br /&gt;
** 640x400 (good for ST mono)&lt;br /&gt;
&lt;br /&gt;
=== rgb only ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options that are used only when picture is processed by RGB A/D converter (front LED is red, on OLED info says that source of signal is RGB &amp;quot;RGB: xxxxxxx&amp;quot;). In current firmware this menu is only visible when RGB signal is processed.&lt;br /&gt;
&lt;br /&gt;
[[File:sample_phase.png|200px|thumb|sample phase]]&lt;br /&gt;
&lt;br /&gt;
* sample phase - sets sample phase of pixel. Pixels have to pe sampled in &amp;quot;the middle of the pixel&amp;quot;. When pixels are sampled &amp;quot;in between&amp;quot; then the picture looks blurry and often noisy. This option should be adjusted individually for every device connected to Medusa - this is a very important option !!!.&lt;br /&gt;
* pixels/line - for all recognised modes this option shouldn't be adjusted - for all known computers this parameter is predefined in Medusa, but when you connect something that is not recognised (&amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot;) you can set this option to improve picture quality.&lt;br /&gt;
* double res - doubles X resolution (practically useful only for Amiga's &amp;quot;Super Hires&amp;quot; modes)&lt;br /&gt;
* double lines - doubles Y resolution (standard for PAL/NTSC modes)&lt;br /&gt;
* auto levels - runs a routine, that tries to find best offset and gain for R, G and B signals - use it, when the picture is too dark or too light - usually it is automatically performed whenever you connect a specific device for the first time, but if you have two cables for the same computer then after a cable change you may need to run this manually.&lt;br /&gt;
* component mode - changes R,G,B to Y,Cr,Cb (Y on green, Cr on red and Cb on blue) - after changing this option &amp;quot;auto levels&amp;quot; is always re-run&lt;br /&gt;
** when active source is VGA&lt;br /&gt;
*** RGB mode - standard RGB&lt;br /&gt;
*** YCrCb - Y on green, Cr on red and Cb on blue)&lt;br /&gt;
*** Mono on G - use green only as a mono signal, ignore red and blue&lt;br /&gt;
** when active source is SCART&lt;br /&gt;
*** YCrCb [Y&amp;lt;-CV] - Y on CV SCART pin, Cr on red, Cb on blue)&lt;br /&gt;
*** YCrCb [Y&amp;lt;-G] - Y on green, Cr on red, Cb on blue)&lt;br /&gt;
*** Mono [Y&amp;lt;-CV] - use CV as a mono signal, ignore red, green and blue signals&lt;br /&gt;
*** Mono [Y&amp;lt;-G] - use green as a mono signal, CV as a synchro input, ignore red and blue&lt;br /&gt;
*** Hybrid mode - Special S-Video mode. Process luma signal by RGB A/D and chroma by SDTV A/D. Experimental mode that increases S-Video quality.&lt;br /&gt;
* digital mode (only when digital signal is processed) - switching between MDA/Hercules, RGBI/C128/CGA and EGA&lt;br /&gt;
* lowpass filter (switch on/off lowpass filter in RGB A/D and external SCART-only LP filter)&lt;br /&gt;
* luma delay (only when hybrid mode is active) - adjust chroma/luma shift&lt;br /&gt;
* fingerprint - Medusa recognises input devices using &amp;quot;fingerprint&amp;quot; mechanism. For each device there is a predefined fingerprint in the firmware. But sometimes it may happen that your device is not recognised correctly, or it is not in Medusa's database at all. This option displays fingerprint parameters for currently connected device. These values may be used by Medusa developers to improve devices detection and adding new ones.&lt;br /&gt;
&lt;br /&gt;
=== global options ===&lt;br /&gt;
&lt;br /&gt;
This submenu has global options (DVI modes, OSD timeouts)&lt;br /&gt;
&lt;br /&gt;
* DVI mode&lt;br /&gt;
** pure DVI - pure DVI signal without audio (compatible with most old LCD 17&amp;quot; and 19&amp;quot; displays)&lt;br /&gt;
** DVI with audio - adds audio packets to DVI signal which is not compatible with DVI, but usually recognised correctly by HDMI devices connected to Medusa via appropriate cables.&lt;br /&gt;
* OSD timeouts&lt;br /&gt;
** main menu&lt;br /&gt;
** sub menus&lt;br /&gt;
** start info&lt;br /&gt;
** change mode&lt;br /&gt;
** no signal&lt;br /&gt;
** return to top&lt;br /&gt;
&lt;br /&gt;
=== reset ===&lt;br /&gt;
&lt;br /&gt;
Reset settings (all settings are also reset when you turn on Medusa with pressed both left keys - 'up' and 'down')&lt;br /&gt;
&lt;br /&gt;
* rst glob opts - resets only global options (DVI mode and OSD timeouts)&lt;br /&gt;
* rst curr prof - resets current profile (all curves, filters, etc. only for currently connected device)&lt;br /&gt;
* factory reset - same as running with 'up' and 'down' pressed - clears whole flash memory with all settings&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Menu&amp;diff=80</id>
		<title>Menu</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Menu&amp;diff=80"/>
		<updated>2023-11-22T11:56:06Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* shift/size */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Main Menu ==&lt;br /&gt;
&lt;br /&gt;
=== rgb curves ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for changing RGB curves. By changing these curves it is possible to change brightness, contrast, gamma etc.&lt;br /&gt;
&lt;br /&gt;
* brightness - change screen brightness from -100 to 100&lt;br /&gt;
* contrast - change screen contrast from -100 to 100&lt;br /&gt;
* blue/yellow - change white balance from -100 to 100&lt;br /&gt;
* green/magenta - change white tint from -100 to 100&lt;br /&gt;
* gamma - change gamma correction from 0.4 to 2.5&lt;br /&gt;
* reset - reset all curves to standard flat 1:1 curves&lt;br /&gt;
&lt;br /&gt;
=== filters ===&lt;br /&gt;
&lt;br /&gt;
This submenu has special picture filters such as green, amber mono monitor, negative, scanline, smoothing etc.&lt;br /&gt;
&lt;br /&gt;
* color - mono monitor emulation with many variants (green,amber,cyan,sepia,red)&lt;br /&gt;
* special&lt;br /&gt;
** threshold - all values below 128 set to 0 and all values above 127 set to 255 - this is good option for binary signal (ST mono)&lt;br /&gt;
** negative - negates all R,G and B values&lt;br /&gt;
** 512 colors - round all color values to 512 color palette&lt;br /&gt;
** 4096 colors - round all color values to 4096 color palette&lt;br /&gt;
** ZX/CPC colors - round all color values to 27 color palette&lt;br /&gt;
* pixel&lt;br /&gt;
** scanline - every second line made darker (emulates old CRT scanlines)&lt;br /&gt;
** pixel mode - every second line and every second column made darker (emulates old LCD displays)&lt;br /&gt;
** noise - add noise to picture (emulates connecting to old TV sets)&lt;br /&gt;
** sl+noise - scanline + noise&lt;br /&gt;
* smoothing - decreases noise. If difference between current pixel and previous is smaller than given value then pixel value is blended with previous pixel - makes picture more even and with less noise. Although you can set it from 0 to 255, using values higher than 10 is not recommended.&lt;br /&gt;
* reset - reset all special filters to default values (smoothing to 0 and &amp;quot;no filter&amp;quot; for all other options)&lt;br /&gt;
&lt;br /&gt;
=== shift/size ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for moving picture left/right, up/down and also for changing window size (you can think of it as an output resolution)&lt;br /&gt;
&lt;br /&gt;
* xshift - move picture left and right (during movement picture may disappear for a moment - it is a normal reaction of the displaying device when something is changing)&lt;br /&gt;
* yshift - move picture up and down (same as above - during movement picture may disappear)&lt;br /&gt;
* dvi width - set display window to specific width (be aware that some displays do not accept all widths, so during changing for example from 720 to 800 screen may be black when values are in between, also every width change usually means sync lost, so it is better to change these values using OLED, not OSD)&lt;br /&gt;
* dvi height - set display window to specific height (same as above)&lt;br /&gt;
* dvi presets - beacuse usually we want to use well defined screen sizes, there are presets for screen width and height. When selected preset's height or width is too big for  current input resolution, it is lowered to maximum possible value. Current firmware displays only available modes (lower than current native resolution).&lt;br /&gt;
** 1280x1024 (mainly for viking mode in MIST)&lt;br /&gt;
** 1024x768 (standard old Mac/PC)&lt;br /&gt;
** 800x600 (whole screen in PAL modes - with all borders)&lt;br /&gt;
** 720x576 (standard PAL resolution - most compatible for PAL modes)&lt;br /&gt;
** 720x480 (standard NTSC resolution - most compatible for NTSC modes)&lt;br /&gt;
** 640x480 (standard VGA resolution - very compatible)&lt;br /&gt;
** 640x400 (good for ST mono)&lt;br /&gt;
&lt;br /&gt;
=== rgb only ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options that are used only when picture is processed by RGB A/D converter (front LED is red, on OLED info says that source of signal is RGB &amp;quot;RGB: xxxxxxx&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
[[File:sample_phase.png|200px|thumb|sample phase]]&lt;br /&gt;
&lt;br /&gt;
* sample phase - sets sample phase of pixel. Pixels have to pe sampled in &amp;quot;the middle of the pixel&amp;quot;. When pixels are sampled &amp;quot;in between&amp;quot; then the picture looks blurry and often noisy. This option should be adjusted individually for every device connected to Medusa - this is a very important option !!!.&lt;br /&gt;
* pixels/line - for all recognised modes this option shouldn't be adjusted - for all known computers this parameter is predefined in Medusa, but when you connect something that is not recognised (&amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot;) you can set this option to improve picture quality.&lt;br /&gt;
* double res - doubles X resolution (practically useful only for Amiga's &amp;quot;Super Hires&amp;quot; modes)&lt;br /&gt;
* auto levels - runs a routine, that tries to find best offset and gain for R, G and B signals - use it, when the picture is too dark or too light - usually it is automatically performed whenever you connect a specific device for the first time, but if you have two cables for the same computer then after a cable change you may need to run this manually.&lt;br /&gt;
* component mode - changes R,G,B to Y,Cr,Cb (Y on green, Cr on red and Cb on blue) - after changing this option &amp;quot;auto levels&amp;quot; is always re-run&lt;br /&gt;
* fingerprint - Medusa recognises input devices using &amp;quot;fingerprint&amp;quot; mechanism. For each device there is a predefined fingerprint in the firmware. But sometimes it may happen that your device is not recognised correctly, or it is not in Medusa's database at all. This option displays fingerprint parameters for currently connected device. These values may be used by Medusa developers to improve devices detection and adding new ones.&lt;br /&gt;
&lt;br /&gt;
=== global options ===&lt;br /&gt;
&lt;br /&gt;
This submenu has global options (DVI modes, OSD timeouts)&lt;br /&gt;
&lt;br /&gt;
* DVI mode&lt;br /&gt;
** pure DVI - pure DVI signal without audio (compatible with most old LCD 17&amp;quot; and 19&amp;quot; displays)&lt;br /&gt;
** DVI with audio - adds audio packets to DVI signal which is not compatible with DVI, but usually recognised correctly by HDMI devices connected to Medusa via appropriate cables.&lt;br /&gt;
* OSD timeouts&lt;br /&gt;
** main menu&lt;br /&gt;
** sub menus&lt;br /&gt;
** start info&lt;br /&gt;
** change mode&lt;br /&gt;
** no signal&lt;br /&gt;
** return to top&lt;br /&gt;
&lt;br /&gt;
=== reset ===&lt;br /&gt;
&lt;br /&gt;
Reset settings (all settings are also reset when you turn on Medusa with pressed both left keys - 'up' and 'down')&lt;br /&gt;
&lt;br /&gt;
* rst glob opts - resets only global options (DVI mode and OSD timeouts)&lt;br /&gt;
* rst curr prof - resets current profile (all curves, filters, etc. only for currently connected device)&lt;br /&gt;
* factory reset - same as running with 'up' and 'down' pressed - clears whole flash memory with all settings&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Menu&amp;diff=79</id>
		<title>Menu</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Menu&amp;diff=79"/>
		<updated>2023-11-22T11:53:19Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* filters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Main Menu ==&lt;br /&gt;
&lt;br /&gt;
=== rgb curves ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for changing RGB curves. By changing these curves it is possible to change brightness, contrast, gamma etc.&lt;br /&gt;
&lt;br /&gt;
* brightness - change screen brightness from -100 to 100&lt;br /&gt;
* contrast - change screen contrast from -100 to 100&lt;br /&gt;
* blue/yellow - change white balance from -100 to 100&lt;br /&gt;
* green/magenta - change white tint from -100 to 100&lt;br /&gt;
* gamma - change gamma correction from 0.4 to 2.5&lt;br /&gt;
* reset - reset all curves to standard flat 1:1 curves&lt;br /&gt;
&lt;br /&gt;
=== filters ===&lt;br /&gt;
&lt;br /&gt;
This submenu has special picture filters such as green, amber mono monitor, negative, scanline, smoothing etc.&lt;br /&gt;
&lt;br /&gt;
* color - mono monitor emulation with many variants (green,amber,cyan,sepia,red)&lt;br /&gt;
* special&lt;br /&gt;
** threshold - all values below 128 set to 0 and all values above 127 set to 255 - this is good option for binary signal (ST mono)&lt;br /&gt;
** negative - negates all R,G and B values&lt;br /&gt;
** 512 colors - round all color values to 512 color palette&lt;br /&gt;
** 4096 colors - round all color values to 4096 color palette&lt;br /&gt;
** ZX/CPC colors - round all color values to 27 color palette&lt;br /&gt;
* pixel&lt;br /&gt;
** scanline - every second line made darker (emulates old CRT scanlines)&lt;br /&gt;
** pixel mode - every second line and every second column made darker (emulates old LCD displays)&lt;br /&gt;
** noise - add noise to picture (emulates connecting to old TV sets)&lt;br /&gt;
** sl+noise - scanline + noise&lt;br /&gt;
* smoothing - decreases noise. If difference between current pixel and previous is smaller than given value then pixel value is blended with previous pixel - makes picture more even and with less noise. Although you can set it from 0 to 255, using values higher than 10 is not recommended.&lt;br /&gt;
* reset - reset all special filters to default values (smoothing to 0 and &amp;quot;no filter&amp;quot; for all other options)&lt;br /&gt;
&lt;br /&gt;
=== shift/size ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for moving picture left/right, up/down and also for changing window size (you can think of it as an output resolution)&lt;br /&gt;
&lt;br /&gt;
* xshift - move picture left and right (during movement picture may disappear for a moment - it is a normal reaction of the displaying device when something is changing)&lt;br /&gt;
* yshift - move picture up and down (same as above - during movement picture may disappear)&lt;br /&gt;
* dvi width - set display window to specific width (be aware that some displays do not accept all widths, so during changing for example from 720 to 800 screen may be black when values are in between, also every width change usually means sync lost, so it is better to change these values using OLED, not OSD)&lt;br /&gt;
* dvi height - set display window to specific height (same as above)&lt;br /&gt;
* dvi presets - beacuse usually we want to use well defined screen sizes, there are presets for screen width and height. When selected preset's height or width is too big for  current input resolution, it is lowered to maximum possible value.&lt;br /&gt;
** 1280x1024 (mainly for viking mode in MIST)&lt;br /&gt;
** 800x600 (whole screen in PAL modes - with all borders)&lt;br /&gt;
** 720x576 (standard PAL resolution - most compatible for PAL modes)&lt;br /&gt;
** 720x480 (standard NTSC resolution - most compatible for NTSC modes)&lt;br /&gt;
** 640x480 (standard VGA resolution - very compatible)&lt;br /&gt;
** 640x400 (good for ST mono)&lt;br /&gt;
&lt;br /&gt;
=== rgb only ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options that are used only when picture is processed by RGB A/D converter (front LED is red, on OLED info says that source of signal is RGB &amp;quot;RGB: xxxxxxx&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
[[File:sample_phase.png|200px|thumb|sample phase]]&lt;br /&gt;
&lt;br /&gt;
* sample phase - sets sample phase of pixel. Pixels have to pe sampled in &amp;quot;the middle of the pixel&amp;quot;. When pixels are sampled &amp;quot;in between&amp;quot; then the picture looks blurry and often noisy. This option should be adjusted individually for every device connected to Medusa - this is a very important option !!!.&lt;br /&gt;
* pixels/line - for all recognised modes this option shouldn't be adjusted - for all known computers this parameter is predefined in Medusa, but when you connect something that is not recognised (&amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot;) you can set this option to improve picture quality.&lt;br /&gt;
* double res - doubles X resolution (practically useful only for Amiga's &amp;quot;Super Hires&amp;quot; modes)&lt;br /&gt;
* auto levels - runs a routine, that tries to find best offset and gain for R, G and B signals - use it, when the picture is too dark or too light - usually it is automatically performed whenever you connect a specific device for the first time, but if you have two cables for the same computer then after a cable change you may need to run this manually.&lt;br /&gt;
* component mode - changes R,G,B to Y,Cr,Cb (Y on green, Cr on red and Cb on blue) - after changing this option &amp;quot;auto levels&amp;quot; is always re-run&lt;br /&gt;
* fingerprint - Medusa recognises input devices using &amp;quot;fingerprint&amp;quot; mechanism. For each device there is a predefined fingerprint in the firmware. But sometimes it may happen that your device is not recognised correctly, or it is not in Medusa's database at all. This option displays fingerprint parameters for currently connected device. These values may be used by Medusa developers to improve devices detection and adding new ones.&lt;br /&gt;
&lt;br /&gt;
=== global options ===&lt;br /&gt;
&lt;br /&gt;
This submenu has global options (DVI modes, OSD timeouts)&lt;br /&gt;
&lt;br /&gt;
* DVI mode&lt;br /&gt;
** pure DVI - pure DVI signal without audio (compatible with most old LCD 17&amp;quot; and 19&amp;quot; displays)&lt;br /&gt;
** DVI with audio - adds audio packets to DVI signal which is not compatible with DVI, but usually recognised correctly by HDMI devices connected to Medusa via appropriate cables.&lt;br /&gt;
* OSD timeouts&lt;br /&gt;
** main menu&lt;br /&gt;
** sub menus&lt;br /&gt;
** start info&lt;br /&gt;
** change mode&lt;br /&gt;
** no signal&lt;br /&gt;
** return to top&lt;br /&gt;
&lt;br /&gt;
=== reset ===&lt;br /&gt;
&lt;br /&gt;
Reset settings (all settings are also reset when you turn on Medusa with pressed both left keys - 'up' and 'down')&lt;br /&gt;
&lt;br /&gt;
* rst glob opts - resets only global options (DVI mode and OSD timeouts)&lt;br /&gt;
* rst curr prof - resets current profile (all curves, filters, etc. only for currently connected device)&lt;br /&gt;
* factory reset - same as running with 'up' and 'down' pressed - clears whole flash memory with all settings&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Description&amp;diff=78</id>
		<title>Description</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Description&amp;diff=78"/>
		<updated>2023-11-22T11:48:34Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is Medusa ? ==&lt;br /&gt;
&lt;br /&gt;
Medusa is a device that allows connecting of old computers to modern display devices (monitors, projectors etc.).&lt;br /&gt;
&lt;br /&gt;
== Hardware Revisions ==&lt;br /&gt;
&lt;br /&gt;
* REV A (first hardware version)&lt;br /&gt;
&lt;br /&gt;
[[File:Medusa_REVA_top.jpg|640px|frameless|REV A]]&lt;br /&gt;
&lt;br /&gt;
* REV B (second hardware version)&lt;br /&gt;
** new db9 socket - 8bit digital input. Ready for supporting C128, CGA, EGA, Apple IIc and others&lt;br /&gt;
** moved audio source switching from CPU to FPGA - gives ability to mix both channels using PWM&lt;br /&gt;
** added new PLL to generate audio sample frequency (switching between 32k, 44.1k, 48k, 96k, 192k etc.)&lt;br /&gt;
** better op-amp that drives audio output jack socket (32ohm headphones can be connected directly, also better audio quality)&lt;br /&gt;
** lowered digital audio amplitude (cleaner, not overdriven audio over DVI)&lt;br /&gt;
** 5V voltage on DVI passed through Schottky diode (prevents powering Medusa from DVI)&lt;br /&gt;
** better input protection on SCART socket (better protection of fragile NCS2564)&lt;br /&gt;
&lt;br /&gt;
[[File:Medusa_REVB_top.jpg|640px|frameless|REV B]]&lt;br /&gt;
&lt;br /&gt;
== A Little History ==&lt;br /&gt;
&lt;br /&gt;
When first home computers appeared, people didn't have special computer monitors in their homes, but almost everybody had a standard TV set. This is why first home computers (such as ZX Spectrum, Atari, Commodore) were designed to be connected to standard TV sets. In these times there were different color encoding standards - mainly NTSC, PAL and SECAM. Main differences between those standards were screen refresh rate (60fps for NTSC, 50fps for PAL and SECAM) and way of color signal encoding, but one thing was common: horizontal refresh rate (about 15kHz in all standards). These two values - horizontal refresh rate and screen or vertical refresh rate - define number of lines per screen and therefore maximum vertical resolution. In 50fps systems there were about 312 lines per screen and in 60fps systems even less (about 262 lines). In times of 8-bit computers resolution such as 320x200 was considered &amp;quot;hi-res&amp;quot;, so it was absolutely enough. In 16-bit computers it was still ok but users started to want more. Atari, for its Atari ST model, introduced a special hi-res monitor (with 70fps and about 31.5kHz horizontal refresh rate, with resolution 640x400), in PC's they introduced EGA standard (21.8kHz and resolutions up to 640x350), and couple years later VGA with 31.5kHz horizontal refresh rate. At the beginning every video standard (computer or graphic card) needed a dedicated monitor. The problem was that users didn't want to buy a new monitor every time they changed their graphics adapter. In 1989 in America VESA organisation was incorporated to introduce video standards. The only problem was that when they started defining their standards, there existed already Super VGA with resolution of 800x600 and nobody wanted to use old 15kHz resolutions anymore. Therefore the lowest available &amp;quot;standard&amp;quot; resolution defined by VESA was 640x350 with horizontal refresh rate 31.5kHz, so this was the lowest horizontal refresh rate accepted by almost all monitors. The other problem is also vertical (or screen) refresh rate. Minimal refresh rate defined by VESA is 60Hz (60fps). This is why most modern monitors don't accept lower horizontal refresh rate than 31.5kHz. With vertical refresh rate it is a bit better, because introduction of HDMI compatibility, with its TV standards, forced 50Hz, so the majority of monitors that have a HDMI port should accept 50Hz.&lt;br /&gt;
&lt;br /&gt;
== Problems with old computers ==&lt;br /&gt;
&lt;br /&gt;
As you can see when one wants to connect an old computer to a modern display, one can encounter problems like:&lt;br /&gt;
&lt;br /&gt;
* color decoding in PAL/NTSC signal (in case of Composite Video or S-Video signal),&lt;br /&gt;
* finding exact pixel clock frequency,&lt;br /&gt;
* double horizontal refresh rate (when we double 15.5kHz we are close enough to be accepted by modern displays),&lt;br /&gt;
* some modern displays don't have analog input - only digital.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
* The first problem to solve is decoding PAL or NTSC signal (some old computers don't have RGB output). To achieve that Medusa uses specialised video decoder, an integrated circuit created by Analog Devices, that can sample and decode SDTV signal (PAL, NTSC or even SECAM).&lt;br /&gt;
&lt;br /&gt;
* The second problem is to find the exact pixel clock for the input signal (for RGB signals). There are no ultimate solution for this. In Medusa you can always manually define number of pixels per line, but to achieve that more automatically we measure a specific signal &amp;quot;fingerprint&amp;quot; (based on synchro signals) and pick one from dozens of available pre-set options.&lt;br /&gt;
&lt;br /&gt;
* The third problem is to double the horizontal refresh rate. To achieve that every line from input is put into a small memory block inside an FPGA chip and then emitted twice. This is why sometimes we call such devices &amp;quot;scan doublers&amp;quot;. This is of course done only when necessary (input horizontal refresh rate is lower than 31kHz).&lt;br /&gt;
&lt;br /&gt;
* The last problem is to output a signal in digital form. In Medusa we decided to use DVI-I standard. DVI standard is theoretically obsoleted by HDMI, but since HDMI is licensed and DVI not, we decided to use DVI. Also DVI in full version (which is implemented in Medusa) also outputs all signals in analog format. This is very convenient because it allows the use of older 17&amp;quot; and 19&amp;quot; LCD panels, that are very cheap and have better screen proportions for old computers than new TV's. At the same time, using a simple cable, one can also connect it to an HDMI device.&lt;br /&gt;
&lt;br /&gt;
== Why Medusa? ==&lt;br /&gt;
&lt;br /&gt;
This is actually a very good question. There are a lot of devices that do similar things. The only problem is ... I've tried almost all of them (FrameMeister included). They all lacked something.&lt;br /&gt;
&lt;br /&gt;
* Cheap Chinese devices use chips designed for TV's, with a lot of features that are good in case of movies but unacceptable in case of computers (few frames of latency). Also picture quality is horrible - RGB signal is sampled with constant ratio - not in sync with original pixels. They can't accept anything other than PAL or NTSC-like signals (forget about ST-mono or Amiga-AGA funny resolutions).&lt;br /&gt;
&lt;br /&gt;
* FrameMeister - a very good device, but expensive. It also accepts only PAL and NTSC-like resolution (no ST-mono etc.).&lt;br /&gt;
&lt;br /&gt;
* OSSC - also a very good device, but without composite video and s-video inputs. Only good for RGB signals. Tough to configure.&lt;br /&gt;
&lt;br /&gt;
So what can Medusa do?&lt;br /&gt;
&lt;br /&gt;
* Accept CVBS signal (Composite Video) on SCART (or JP21 - special JP21 version)&lt;br /&gt;
* Accept S-Video signal on SCART (or JP21)&lt;br /&gt;
* Accept RGB signal on SCART or VGA input (with more than 50 predefined settings for popular old computers; it can work not only with ST-mono, but also Viking card emulated by MIST - yes 1280x1024 !!!; more modes will be added with future firmware updates)&lt;br /&gt;
* Encode audio on DVI; this option can be switched on and (using DVI-HDMI adapter and HDMI capable display) audio signal from SCART (or 3.5mm jack) is digitised and mixed with video&lt;br /&gt;
* Allows user to change a lot of settings on the fly using OSD or built-in OLED display (settings such as contrast, brightness, X/Y picture shift etc.).&lt;br /&gt;
* Output signal analog and digital at the same time on DVI-I, so it can be connected both to old VGA monitors (also CRT ones) as well as modern HDMI monitors or TV's.&lt;br /&gt;
* Easy firmware update (no special device is needed - just connect Medusa via USB to a computer and run binary updater - available for Win,Linux,MacOS)&lt;br /&gt;
&lt;br /&gt;
Why Medusa is not perfect? :)&lt;br /&gt;
&lt;br /&gt;
Because a perfect solution does not exist. Medusa doesn't change vertical refresh rate, so if your monitor can't accept 50Hz then it will not display video from Medusa. Most monitors with HDMI inputs are able to display 50Hz (because of TV standards), but that's not not always the case with old VGA LCD panels. I have good experiences with LG's and NEC's, but can't guarantee that a particular monitor will accept 50Hz. Probably at some point we will prepare a list of monitors that can do that. With such approach to screen conversion (simple line doubling) any resolution change on input will also lead to resolution change on output. Even small change will usually cause a black screen on the displaying device (for about 0.5 - 1 second). This is normal - this is how displaying devices work. The only way to circumvent that would be to constantly display a picture in a chosen resolution (for example 1920x1080@60) and sample pixels from input and put them in a displayed framebuffer. But in this approach a lot of problems would occur. For example all 50Hz scrolls would be jagged. This is why we decided not to do that. Also the device would be much more expensive.&lt;br /&gt;
&lt;br /&gt;
== Internals of Medusa ==&lt;br /&gt;
&lt;br /&gt;
[[File:Medusa_internals.png|851px|frameless|block diagram of Medusa]]&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Medusa_REVB_top.jpg&amp;diff=77</id>
		<title>File:Medusa REVB top.jpg</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Medusa_REVB_top.jpg&amp;diff=77"/>
		<updated>2023-11-22T11:38:55Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Medusa_REVA_top.jpg&amp;diff=76</id>
		<title>File:Medusa REVA top.jpg</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Medusa_REVA_top.jpg&amp;diff=76"/>
		<updated>2023-11-22T11:38:32Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=75</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=75"/>
		<updated>2023-03-02T14:40:42Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Using medusa.inf or stmcdc.zip */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Download firmware from [//medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux, Macos and Windows 10+. In case of Window 8.1 and older you need this file: [//medusa-sc.org/firmware/medusa.inf medusa.inf] (unsigned file specifically designed for Mesusa) or this file: [//medusa-sc.org/firmware/stmcdc.zip stmcdc.zip] (signed driver for all CDC devices with stm32 chips). See below how to use those files.&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using medusa.inf or stmcdc.zip ==&lt;br /&gt;
&lt;br /&gt;
In case of Windows 10 and newer nothing needs to be done and any CDC device is automatically recognized, but in case of older Windows systems the user has to manually assign a driver (usbser.sys in this case) to a specific device (Medusa in this case). By default Medusa is shown in &amp;quot;device manager&amp;quot; as an &amp;quot;unrecognized device&amp;quot;. To allow Windows to use usbser.sys you need to:&lt;br /&gt;
&lt;br /&gt;
=== Option 1 - using unsigned medusa.inf file: ===&lt;br /&gt;
&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select the catalog with the &amp;quot;medusa.inf&amp;quot; file that you downloaded from this page and then click the &amp;quot;next&amp;quot; button;&lt;br /&gt;
# you will see a red warning that the file you are going to use can be dangerous (because this inf file is not signed) - pick &amp;quot;install this driver software anyway&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Option 2 - using signed, universal stmcdc.zip file: ===&lt;br /&gt;
&lt;br /&gt;
# unzip the &amp;quot;stmcdc.zip&amp;quot; file;&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# pick the option &amp;quot;let me pick from a list of available drivers on my computer&amp;quot;;&lt;br /&gt;
# if windows asks you to choose a device type - just click &amp;quot;next&amp;quot;;&lt;br /&gt;
# in the next window click on &amp;quot;Have disk...&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select 'stmcdc.inf' in the 'stmcdc' folder;&lt;br /&gt;
# click &amp;quot;ok&amp;quot; and then &amp;quot;next&amp;quot;;&lt;br /&gt;
# Windows will inform you that this driver might not be good for the selected device (because it is a universal driver for all STM32 CDC devices - not specifically for Medusa, but it works perfectly ok) - press the &amp;quot;yes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
In both cases you should see a new COM port in your system. In case of using medusa.inf you will see &amp;quot;Medusa CDC serial port&amp;quot; and in case of using stmcdc.zip you will see &amp;quot;STMicroelectronics Virtual COM Port&amp;quot; - it doesn't matter. In both cases the medusa firmware update software should work without any problems.&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - a simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
The boot code in Medusa checks checksums of both parts. If both checksums are correct then it jumps to part B (or part A when the &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even if you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=74</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=74"/>
		<updated>2023-03-02T14:39:37Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Download firmware from [//medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux, Macos and Windows 10+. In case of Window 8.1 and older you need this file: [//medusa-sc.org/firmware/medusa.inf medusa.inf] (unsigned file specifically designed for Mesusa) or this file: [//medusa-sc.org/firmware/stmcdc.zip stmcdc.zip] (signed driver for all CDC devices with stm32 chips). See below how to use those files.&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using medusa.inf or stmcdc.zip ==&lt;br /&gt;
&lt;br /&gt;
In case of Windows 10 and newer nothing needs to be done and any CDC device is automatically recognized, but in case of older Windows systems the user has to manually assign a driver (usbser.sys in this case) to a specific device (Medusa in this case). By default Medusa is shown in &amp;quot;device manager&amp;quot; as an &amp;quot;unrecognized device&amp;quot;. To allow Windows to use usbser.sys you need to:&lt;br /&gt;
&lt;br /&gt;
=== Option 1 - using unsigned medusa.inf file: ===&lt;br /&gt;
&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select the catalog with the &amp;quot;medusa.inf&amp;quot; file that you downloaded from this page and then click the &amp;quot;next&amp;quot; button;&lt;br /&gt;
# you will see a red warning that the file you are going to use can be dangerous (because this inf file is not signed) - pick &amp;quot;install this driver software anyway&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Option 2 - using signed, universal stmcdc.zip file: ===&lt;br /&gt;
&lt;br /&gt;
# unzip the &amp;quot;stmcdc.zip&amp;quot; file;&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot;;&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;;&lt;br /&gt;
# pick the option &amp;quot;let me pick from a list of available drivers on my computer&amp;quot;;&lt;br /&gt;
# if windows asks you to choose a device type - just click &amp;quot;next&amp;quot;;&lt;br /&gt;
# in the next window click on &amp;quot;Have disk...&amp;quot;;&lt;br /&gt;
# click the &amp;quot;browse&amp;quot; button and select 'stmcdc.inf' in the 'stmcdc' folder;&lt;br /&gt;
# click &amp;quot;ok&amp;quot; and then &amp;quot;next&amp;quot;;&lt;br /&gt;
# Windows will inform you that this driver might not be good for the selected device (because it is a universal driver for all STM32 CDC devices - not specifically for Medusa, but it works perfectly ok) - press the &amp;quot;yes&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
In both cases you should see a new COM port in your system. In case of using medusa.inf you will see &amp;quot;Medusa CDC serial port&amp;quot; and in case of using stmcdc.zip you will see &amp;quot;STMicroelectronics Virtual COM Port&amp;quot; - it doesn't matter. In both cases the medusa firmware update software should now work without any problems.&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - a simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
The boot code in Medusa checks checksums of both parts. If both checksums are correct then it jumps to part B (or part A when the &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even if you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=73</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=73"/>
		<updated>2023-02-26T17:21:51Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Download firmware from [//medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux, Macos and Windows 10+. In case of Window 8.1 and older you need this file: [//medusa-sc.org/firmware/medusa.inf medusa.inf] (unsigned file specifically designed for Mesusa) or this file: [//medusa-sc.org/firmware/stmcdc.zip stmcdc.zip] (signed driver for all CDC devices with stm32 chips). See below how to use those files.&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using medusa.inf or stmcdc.zip ==&lt;br /&gt;
&lt;br /&gt;
In case of Windows 10 and newer nothing needs to be done and any CDC device is automatically recognized, but in case of older Windows systems user has to manually assign driver (usbser.sys in this case) to specific device (Medusa in this case). By default Medusa in &amp;quot;device manager&amp;quot; is shown as an &amp;quot;unrecognized device&amp;quot;. To allow Windows to use usbser.sys you need to:&lt;br /&gt;
&lt;br /&gt;
=== Option 1 - using unsigned medusa.inf file ===&lt;br /&gt;
&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot; with yellow exclamation mark on it.&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;&lt;br /&gt;
# click &amp;quot;browse&amp;quot; button and select catalog with &amp;quot;medusa.inf&amp;quot; file that you downloaded from this page and then click &amp;quot;next&amp;quot; button&lt;br /&gt;
# you see red warning that file you are going to use can be dangerous (because this inf file is not signed) - pick &amp;quot;install this driver software anyway&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Option 2 - using signed, universal stmcdc.zip file ===&lt;br /&gt;
&lt;br /&gt;
# unzip stmcdc.zip file&lt;br /&gt;
# go to &amp;quot;device manager&amp;quot; and find Medusa under &amp;quot;other devices&amp;quot; with yellow exclamation mark on it.&lt;br /&gt;
# right click on it and pick &amp;quot;update driver software...&amp;quot; and then &amp;quot;browse my computer for driver software&amp;quot;&lt;br /&gt;
# pick option &amp;quot;let me pick from a list of available drivers on my computer&amp;quot;&lt;br /&gt;
# if windows asks you to choose device type - just click &amp;quot;next&amp;quot;&lt;br /&gt;
# In next window click on &amp;quot;Have disk...&amp;quot;&lt;br /&gt;
# click &amp;quot;browse&amp;quot; button and select 'stmcdc.inf' in 'stmcdc' folder.&lt;br /&gt;
# Then click &amp;quot;ok&amp;quot; and then &amp;quot;next&amp;quot;.&lt;br /&gt;
# Windows will inform you that this driver might not be good for given device (because it is universal driver for all STM CDC devices - not specifically for Medusa, but it works perfectly ok) - press &amp;quot;yes&amp;quot; button&lt;br /&gt;
&lt;br /&gt;
In both cases you should see new COM port in your system. In case of using medusa.inf you will see &amp;quot;Medusa CDC serial port&amp;quot; and in case of using stmcdc.zip you will see &amp;quot;STMicroelectronics Virtual COM Port&amp;quot; - it doesn't matter. In both cases medusa firmware update software should work now without any problems.&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
Boot code in Medusa checks checksums for both parts. If both checksums are correct then it jumps to part B (or part A when &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=72</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=72"/>
		<updated>2023-02-26T16:18:28Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Firmware Update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Download firmware from [//medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux, Macos and Windows 10+. In case of Window 8.1 and older you need this file: [//medusa-sc.org/firmware/medusa.inf medusa.inf].&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
Boot code in Medusa checks checksums for both parts. If both checksums are correct then it jumps to part B (or part A when &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=71</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=71"/>
		<updated>2023-02-26T16:16:06Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Firmware Update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Download firmware from [//medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux, Macos and Windows 10+. In case of Window 8.1 and olders you need this file: [//medusa-sc.org/firmware/medusa.inf medusa.inf].&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
Boot code in Medusa checks checksums for both parts. If both checksums are correct then it jumps to part B (or part A when &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Medusa_internals.png&amp;diff=70</id>
		<title>File:Medusa internals.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Medusa_internals.png&amp;diff=70"/>
		<updated>2022-07-11T12:46:38Z</updated>

		<summary type="html">&lt;p&gt;Acid: Acid uploaded a new version of File:Medusa internals.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Description&amp;diff=69</id>
		<title>Description</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Description&amp;diff=69"/>
		<updated>2022-07-11T12:43:52Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Internals of Medusa */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is Medusa ? ==&lt;br /&gt;
&lt;br /&gt;
Medusa is a device that allows connecting of old computers to modern display devices (monitors, projectors etc.).&lt;br /&gt;
&lt;br /&gt;
== A Little History ==&lt;br /&gt;
&lt;br /&gt;
When first home computers appeared, people didn't have special computer monitors in their homes, but almost everybody had a standard TV set. This is why first home computers (such as ZX Spectrum, Atari, Commodore) were designed to be connected to standard TV sets. In these times there were different color encoding standards - mainly NTSC, PAL and SECAM. Main differences between those standards were screen refresh rate (60fps for NTSC, 50fps for PAL and SECAM) and way of color signal encoding, but one thing was common: horizontal refresh rate (about 15kHz in all standards). These two values - horizontal refresh rate and screen or vertical refresh rate - define number of lines per screen and therefore maximum vertical resolution. In 50fps systems there were about 312 lines per screen and in 60fps systems even less (about 262 lines). In times of 8-bit computers resolution such as 320x200 was considered &amp;quot;hi-res&amp;quot;, so it was absolutely enough. In 16-bit computers it was still ok but users started to want more. Atari, for its Atari ST model, introduced a special hi-res monitor (with 70fps and about 31.5kHz horizontal refresh rate, with resolution 640x400), in PC's they introduced EGA standard (21.8kHz and resolutions up to 640x350), and couple years later VGA with 31.5kHz horizontal refresh rate. At the beginning every video standard (computer or graphic card) needed a dedicated monitor. The problem was that users didn't want to buy a new monitor every time they changed their graphics adapter. In 1989 in America VESA organisation was incorporated to introduce video standards. The only problem was that when they started defining their standards, there existed already Super VGA with resolution of 800x600 and nobody wanted to use old 15kHz resolutions anymore. Therefore the lowest available &amp;quot;standard&amp;quot; resolution defined by VESA was 640x350 with horizontal refresh rate 31.5kHz, so this was the lowest horizontal refresh rate accepted by almost all monitors. The other problem is also vertical (or screen) refresh rate. Minimal refresh rate defined by VESA is 60Hz (60fps). This is why most modern monitors don't accept lower horizontal refresh rate than 31.5kHz. With vertical refresh rate it is a bit better, because introduction of HDMI compatibility, with its TV standards, forced 50Hz, so the majority of monitors that have a HDMI port should accept 50Hz.&lt;br /&gt;
&lt;br /&gt;
== Problems with old computers ==&lt;br /&gt;
&lt;br /&gt;
As you can see when one wants to connect an old computer to a modern display, one can encounter problems like:&lt;br /&gt;
&lt;br /&gt;
* color decoding in PAL/NTSC signal (in case of Composite Video or S-Video signal),&lt;br /&gt;
* finding exact pixel clock frequency,&lt;br /&gt;
* double horizontal refresh rate (when we double 15.5kHz we are close enough to be accepted by modern displays),&lt;br /&gt;
* some modern displays don't have analog input - only digital.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
* The first problem to solve is decoding PAL or NTSC signal (some old computers don't have RGB output). To achieve that Medusa uses specialised video decoder, an integrated circuit created by Analog Devices, that can sample and decode SDTV signal (PAL, NTSC or even SECAM).&lt;br /&gt;
&lt;br /&gt;
* The second problem is to find the exact pixel clock for the input signal (for RGB signals). There are no ultimate solution for this. In Medusa you can always manually define number of pixels per line, but to achieve that more automatically we measure a specific signal &amp;quot;fingerprint&amp;quot; (based on synchro signals) and pick one from dozens of available pre-set options.&lt;br /&gt;
&lt;br /&gt;
* The third problem is to double the horizontal refresh rate. To achieve that every line from input is put into a small memory block inside an FPGA chip and then emitted twice. This is why sometimes we call such devices &amp;quot;scan doublers&amp;quot;. This is of course done only when necessary (input horizontal refresh rate is lower than 31kHz).&lt;br /&gt;
&lt;br /&gt;
* The last problem is to output a signal in digital form. In Medusa we decided to use DVI-I standard. DVI standard is theoretically obsoleted by HDMI, but since HDMI is licensed and DVI not, we decided to use DVI. Also DVI in full version (which is implemented in Medusa) also outputs all signals in analog format. This is very convenient because it allows the use of older 17&amp;quot; and 19&amp;quot; LCD panels, that are very cheap and have better screen proportions for old computers than new TV's. At the same time, using a simple cable, one can also connect it to an HDMI device.&lt;br /&gt;
&lt;br /&gt;
== Why Medusa? ==&lt;br /&gt;
&lt;br /&gt;
This is actually a very good question. There are a lot of devices that do similar things. The only problem is ... I've tried almost all of them (FrameMeister included). They all lacked something.&lt;br /&gt;
&lt;br /&gt;
* Cheap Chinese devices use chips designed for TV's, with a lot of features that are good in case of movies but unacceptable in case of computers (few frames of latency). Also picture quality is horrible - RGB signal is sampled with constant ratio - not in sync with original pixels. They can't accept anything other than PAL or NTSC-like signals (forget about ST-mono or Amiga-AGA funny resolutions).&lt;br /&gt;
&lt;br /&gt;
* FrameMeister - a very good device, but expensive. It also accepts only PAL and NTSC-like resolution (no ST-mono etc.).&lt;br /&gt;
&lt;br /&gt;
* OSSC - also a very good device, but without composite video and s-video inputs. Only good for RGB signals. Tough to configure.&lt;br /&gt;
&lt;br /&gt;
So what can Medusa do?&lt;br /&gt;
&lt;br /&gt;
* Accept CVBS signal (Composite Video) on SCART (or JP21 - special JP21 version)&lt;br /&gt;
* Accept S-Video signal on SCART (or JP21)&lt;br /&gt;
* Accept RGB signal on SCART or VGA input (with more than 50 predefined settings for popular old computers; it can work not only with ST-mono, but also Viking card emulated by MIST - yes 1280x1024 !!!; more modes will be added with future firmware updates)&lt;br /&gt;
* Encode audio on DVI; this option can be switched on and (using DVI-HDMI adapter and HDMI capable display) audio signal from SCART (or 3.5mm jack) is digitised and mixed with video&lt;br /&gt;
* Allows user to change a lot of settings on the fly using OSD or built-in OLED display (settings such as contrast, brightness, X/Y picture shift etc.).&lt;br /&gt;
* Output signal analog and digital at the same time on DVI-I, so it can be connected both to old VGA monitors (also CRT ones) as well as modern HDMI monitors or TV's.&lt;br /&gt;
* Easy firmware update (no special device is needed - just connect Medusa via USB to a computer and run binary updater - available for Win,Linux,MacOS)&lt;br /&gt;
&lt;br /&gt;
Why Medusa is not perfect? :)&lt;br /&gt;
&lt;br /&gt;
Because a perfect solution does not exist. Medusa doesn't change vertical refresh rate, so if your monitor can't accept 50Hz then it will not display video from Medusa. Most monitors with HDMI inputs are able to display 50Hz (because of TV standards), but that's not not always the case with old VGA LCD panels. I have good experiences with LG's and NEC's, but can't guarantee that a particular monitor will accept 50Hz. Probably at some point we will prepare a list of monitors that can do that. With such approach to screen conversion (simple line doubling) any resolution change on input will also lead to resolution change on output. Even small change will usually cause a black screen on the displaying device (for about 0.5 - 1 second). This is normal - this is how displaying devices work. The only way to circumvent that would be to constantly display a picture in a chosen resolution (for example 1920x1080@60) and sample pixels from input and put them in a displayed framebuffer. But in this approach a lot of problems would occur. For example all 50Hz scrolls would be jagged. This is why we decided not to do that. Also the device would be much more expensive.&lt;br /&gt;
&lt;br /&gt;
== Internals of Medusa ==&lt;br /&gt;
&lt;br /&gt;
[[File:Medusa_internals.png|851px|frameless|block diagram of Medusa]]&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Medusa_internals.png&amp;diff=68</id>
		<title>File:Medusa internals.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Medusa_internals.png&amp;diff=68"/>
		<updated>2022-07-11T12:43:34Z</updated>

		<summary type="html">&lt;p&gt;Acid: Acid uploaded a new version of File:Medusa internals.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Description&amp;diff=67</id>
		<title>Description</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Description&amp;diff=67"/>
		<updated>2022-07-11T12:43:07Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is Medusa ? ==&lt;br /&gt;
&lt;br /&gt;
Medusa is a device that allows connecting of old computers to modern display devices (monitors, projectors etc.).&lt;br /&gt;
&lt;br /&gt;
== A Little History ==&lt;br /&gt;
&lt;br /&gt;
When first home computers appeared, people didn't have special computer monitors in their homes, but almost everybody had a standard TV set. This is why first home computers (such as ZX Spectrum, Atari, Commodore) were designed to be connected to standard TV sets. In these times there were different color encoding standards - mainly NTSC, PAL and SECAM. Main differences between those standards were screen refresh rate (60fps for NTSC, 50fps for PAL and SECAM) and way of color signal encoding, but one thing was common: horizontal refresh rate (about 15kHz in all standards). These two values - horizontal refresh rate and screen or vertical refresh rate - define number of lines per screen and therefore maximum vertical resolution. In 50fps systems there were about 312 lines per screen and in 60fps systems even less (about 262 lines). In times of 8-bit computers resolution such as 320x200 was considered &amp;quot;hi-res&amp;quot;, so it was absolutely enough. In 16-bit computers it was still ok but users started to want more. Atari, for its Atari ST model, introduced a special hi-res monitor (with 70fps and about 31.5kHz horizontal refresh rate, with resolution 640x400), in PC's they introduced EGA standard (21.8kHz and resolutions up to 640x350), and couple years later VGA with 31.5kHz horizontal refresh rate. At the beginning every video standard (computer or graphic card) needed a dedicated monitor. The problem was that users didn't want to buy a new monitor every time they changed their graphics adapter. In 1989 in America VESA organisation was incorporated to introduce video standards. The only problem was that when they started defining their standards, there existed already Super VGA with resolution of 800x600 and nobody wanted to use old 15kHz resolutions anymore. Therefore the lowest available &amp;quot;standard&amp;quot; resolution defined by VESA was 640x350 with horizontal refresh rate 31.5kHz, so this was the lowest horizontal refresh rate accepted by almost all monitors. The other problem is also vertical (or screen) refresh rate. Minimal refresh rate defined by VESA is 60Hz (60fps). This is why most modern monitors don't accept lower horizontal refresh rate than 31.5kHz. With vertical refresh rate it is a bit better, because introduction of HDMI compatibility, with its TV standards, forced 50Hz, so the majority of monitors that have a HDMI port should accept 50Hz.&lt;br /&gt;
&lt;br /&gt;
== Problems with old computers ==&lt;br /&gt;
&lt;br /&gt;
As you can see when one wants to connect an old computer to a modern display, one can encounter problems like:&lt;br /&gt;
&lt;br /&gt;
* color decoding in PAL/NTSC signal (in case of Composite Video or S-Video signal),&lt;br /&gt;
* finding exact pixel clock frequency,&lt;br /&gt;
* double horizontal refresh rate (when we double 15.5kHz we are close enough to be accepted by modern displays),&lt;br /&gt;
* some modern displays don't have analog input - only digital.&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
* The first problem to solve is decoding PAL or NTSC signal (some old computers don't have RGB output). To achieve that Medusa uses specialised video decoder, an integrated circuit created by Analog Devices, that can sample and decode SDTV signal (PAL, NTSC or even SECAM).&lt;br /&gt;
&lt;br /&gt;
* The second problem is to find the exact pixel clock for the input signal (for RGB signals). There are no ultimate solution for this. In Medusa you can always manually define number of pixels per line, but to achieve that more automatically we measure a specific signal &amp;quot;fingerprint&amp;quot; (based on synchro signals) and pick one from dozens of available pre-set options.&lt;br /&gt;
&lt;br /&gt;
* The third problem is to double the horizontal refresh rate. To achieve that every line from input is put into a small memory block inside an FPGA chip and then emitted twice. This is why sometimes we call such devices &amp;quot;scan doublers&amp;quot;. This is of course done only when necessary (input horizontal refresh rate is lower than 31kHz).&lt;br /&gt;
&lt;br /&gt;
* The last problem is to output a signal in digital form. In Medusa we decided to use DVI-I standard. DVI standard is theoretically obsoleted by HDMI, but since HDMI is licensed and DVI not, we decided to use DVI. Also DVI in full version (which is implemented in Medusa) also outputs all signals in analog format. This is very convenient because it allows the use of older 17&amp;quot; and 19&amp;quot; LCD panels, that are very cheap and have better screen proportions for old computers than new TV's. At the same time, using a simple cable, one can also connect it to an HDMI device.&lt;br /&gt;
&lt;br /&gt;
== Why Medusa? ==&lt;br /&gt;
&lt;br /&gt;
This is actually a very good question. There are a lot of devices that do similar things. The only problem is ... I've tried almost all of them (FrameMeister included). They all lacked something.&lt;br /&gt;
&lt;br /&gt;
* Cheap Chinese devices use chips designed for TV's, with a lot of features that are good in case of movies but unacceptable in case of computers (few frames of latency). Also picture quality is horrible - RGB signal is sampled with constant ratio - not in sync with original pixels. They can't accept anything other than PAL or NTSC-like signals (forget about ST-mono or Amiga-AGA funny resolutions).&lt;br /&gt;
&lt;br /&gt;
* FrameMeister - a very good device, but expensive. It also accepts only PAL and NTSC-like resolution (no ST-mono etc.).&lt;br /&gt;
&lt;br /&gt;
* OSSC - also a very good device, but without composite video and s-video inputs. Only good for RGB signals. Tough to configure.&lt;br /&gt;
&lt;br /&gt;
So what can Medusa do?&lt;br /&gt;
&lt;br /&gt;
* Accept CVBS signal (Composite Video) on SCART (or JP21 - special JP21 version)&lt;br /&gt;
* Accept S-Video signal on SCART (or JP21)&lt;br /&gt;
* Accept RGB signal on SCART or VGA input (with more than 50 predefined settings for popular old computers; it can work not only with ST-mono, but also Viking card emulated by MIST - yes 1280x1024 !!!; more modes will be added with future firmware updates)&lt;br /&gt;
* Encode audio on DVI; this option can be switched on and (using DVI-HDMI adapter and HDMI capable display) audio signal from SCART (or 3.5mm jack) is digitised and mixed with video&lt;br /&gt;
* Allows user to change a lot of settings on the fly using OSD or built-in OLED display (settings such as contrast, brightness, X/Y picture shift etc.).&lt;br /&gt;
* Output signal analog and digital at the same time on DVI-I, so it can be connected both to old VGA monitors (also CRT ones) as well as modern HDMI monitors or TV's.&lt;br /&gt;
* Easy firmware update (no special device is needed - just connect Medusa via USB to a computer and run binary updater - available for Win,Linux,MacOS)&lt;br /&gt;
&lt;br /&gt;
Why Medusa is not perfect? :)&lt;br /&gt;
&lt;br /&gt;
Because a perfect solution does not exist. Medusa doesn't change vertical refresh rate, so if your monitor can't accept 50Hz then it will not display video from Medusa. Most monitors with HDMI inputs are able to display 50Hz (because of TV standards), but that's not not always the case with old VGA LCD panels. I have good experiences with LG's and NEC's, but can't guarantee that a particular monitor will accept 50Hz. Probably at some point we will prepare a list of monitors that can do that. With such approach to screen conversion (simple line doubling) any resolution change on input will also lead to resolution change on output. Even small change will usually cause a black screen on the displaying device (for about 0.5 - 1 second). This is normal - this is how displaying devices work. The only way to circumvent that would be to constantly display a picture in a chosen resolution (for example 1920x1080@60) and sample pixels from input and put them in a displayed framebuffer. But in this approach a lot of problems would occur. For example all 50Hz scrolls would be jagged. This is why we decided not to do that. Also the device would be much more expensive.&lt;br /&gt;
&lt;br /&gt;
== Internals of Medusa ==&lt;br /&gt;
&lt;br /&gt;
[[File:Medusa_internals.png|801px|frameless|block diagram of Medusa]]&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Medusa_internals.png&amp;diff=66</id>
		<title>File:Medusa internals.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Medusa_internals.png&amp;diff=66"/>
		<updated>2022-07-11T12:35:06Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=65</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=65"/>
		<updated>2022-07-07T11:17:39Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Firmware Update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Download firmware from [//medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux and Macos. In case of Windows the needed driver is usually installed, but if it is not, then install it. Description is [https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-driver-installation-based-on-compatible-ids here]&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
Boot code in Medusa checks checksums for both parts. If both checksums are correct then it jumps to part B (or part A when &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=64</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=64"/>
		<updated>2022-07-07T11:16:34Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Firmware Update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Download firmware from [http://medusa-sc.org/firmware/ Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux and Macos. In case of Windows the needed driver is usually installed, but if it is not, then install it. Description is [https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-driver-installation-based-on-compatible-ids here]&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
Boot code in Medusa checks checksums for both parts. If both checksums are correct then it jumps to part B (or part A when &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=63</id>
		<title>Firmware Update</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Firmware_Update&amp;diff=63"/>
		<updated>2022-07-07T11:11:23Z</updated>

		<summary type="html">&lt;p&gt;Acid: Created page with &amp;quot;== Firmware Update ==  # Download firmware from [http://medusasc.org/machina Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel). # Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, s...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Firmware Update ==&lt;br /&gt;
&lt;br /&gt;
# Download firmware from [http://medusasc.org/machina Medusa Firmwares Page]. Firmware updater is a binary application that will update the firmware automatically. Binaries are available for Linux (64bit binary for Intel), Max OS X (Intel and ARM binaries) and Windows (32bit and 64bit binaries for Intel).&lt;br /&gt;
# Make sure that Medusa has been correctly detected by your operating system. Medusa uses standard &amp;quot;virtual serial port&amp;quot; (CDC) protocol on USB, so usually it should work without any drivers on Linux and Macos. In case of Windows the needed driver is usually installed, but if it is not, then install it. Description is [https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-driver-installation-based-on-compatible-ids here]&lt;br /&gt;
# Run the application. On the console you should see something like this (typically it takes less than 10 seconds):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ ./firmware_updater_macosx_arm&lt;br /&gt;
firmware leng: 170328B&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - main app&lt;br /&gt;
Sending fwupdater data&lt;br /&gt;
......................................&lt;br /&gt;
Sending fwupdater hmac&lt;br /&gt;
Found port: /dev/cu.usbmodemF2ECEB871&lt;br /&gt;
port: /dev/cu.usbmodemF2ECEB871 - updater&lt;br /&gt;
Sending main code data&lt;br /&gt;
...................................................................................................................................&lt;br /&gt;
Sending main code hmac&lt;br /&gt;
Sending fpga core data&lt;br /&gt;
........................................................................................................................................................................&lt;br /&gt;
Sending fpga core hmac&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== To brick or not to brick ==&lt;br /&gt;
&lt;br /&gt;
Firmware in Medusa is divided into two parts - simple updater (let's call it part A) and the main program (call it part B).&lt;br /&gt;
&lt;br /&gt;
Part A updates part B (plus FPGA core) and part B updates part A&lt;br /&gt;
&lt;br /&gt;
Boot code in Medusa checks checksums for both parts. If both checksums are correct then it jumps to part B (or part A when &amp;quot;right&amp;quot; button is pressed). If only one of them is correct then it jumps to this part directly. This design prevents device &amp;quot;bricking&amp;quot;. Even you loose power during Medusa firmware update, after you turn it back on it will just use the valid part of the firmware. You will only need to run the updater again to complete the procedure.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Main_Page&amp;diff=62</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Main_Page&amp;diff=62"/>
		<updated>2022-07-07T10:33:38Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Medusa Wiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Description]]&lt;br /&gt;
&lt;br /&gt;
[[Using Medusa]]&lt;br /&gt;
&lt;br /&gt;
[[Menu]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Console]]&lt;br /&gt;
&lt;br /&gt;
[[Recognised Modes]]&lt;br /&gt;
&lt;br /&gt;
[[Sample phase / Pixers per line]]&lt;br /&gt;
&lt;br /&gt;
[[Firmware Update]]&lt;br /&gt;
&lt;br /&gt;
[[Credits]]&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Troubleshooting&amp;diff=61</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Troubleshooting&amp;diff=61"/>
		<updated>2022-06-28T14:43:37Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
* '''Medusa logo turns on and off and nothing happens'''&lt;br /&gt;
&lt;br /&gt;
Check power. Medusa has overvoltage and undervoltage protection circuit and it cuts off the power when voltage drops below about 4.5V. To work, Medusa needs substantial amount of current (more than 400mA). When you connect it for example to a computer using a passive HUB then voltage can easily drop down even to 4.2V. Nevertheless just after start all A/D converters are powered off and FPGA chip has no core loaded. In this state it needs less power and therefore voltage doesn't drop that bad. In such case it may be able to send the logo to the display and then when all circuits are powered, voltage drops and causes device reset.&lt;br /&gt;
&lt;br /&gt;
* '''No Picture'''&lt;br /&gt;
&lt;br /&gt;
[[File:no_signal.png|400px|thumb]]&lt;br /&gt;
&lt;br /&gt;
When you connect Medusa to your displaying device even without any signal on input you should see control picture (on the right)&lt;br /&gt;
&lt;br /&gt;
# Check if your DVI window is set to default (DVI: 720x576) - if not then reset current settings (reset -&amp;gt; rst curr prof) or manually change window to 720x576 (shift/size -&amp;gt; dvi presets -&amp;gt; 720x576). You may also experiment with 720x480 and 640x480, but 720x576 is the most compatible window size for 50Hz.&lt;br /&gt;
# Check if Medusa is switched to &amp;quot;pure DVI&amp;quot; mode (global options -&amp;gt; DVI mode -&amp;gt; pure DVI). Some (especially DVI) devices do not accept audio packets and do not display anything when audio packets are present in DVI stream. Especially good old 17&amp;quot; and 19&amp;quot; VGA monitors are not compatible with audio.&lt;br /&gt;
# If after that your device still does not display anything it may mean either cable problems or that your device is not compatible with signal produced by Medusa. Control screen is generated with vertical frequency of 50Hz. Since almost all old computers also generate picture with refresh rate of 50Hz then it means that your device has to be capable of displaying 50Hz. If it is not, then you may need to find another device.&lt;br /&gt;
# Check input cables or try different input signal&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''SDTV picture is ugly'''&lt;br /&gt;
&lt;br /&gt;
# Try to avoid connecting signal using composite video - always use s-video cables if possible&lt;br /&gt;
# To reduce stripes/noise you may consider using smoothing (filter -&amp;gt; smoothing -&amp;gt; 5-10)&lt;br /&gt;
# If you only want monochromatic picture and you have s-video cable you may consider &amp;quot;hacking&amp;quot; Medusa and forcing it to process only luminance signal using RGB A/D. Enter these commands in USB/serial console:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmd :&amp;gt;scartmode rgb&lt;br /&gt;
cmd :&amp;gt;setyasg 1&lt;br /&gt;
cmd :&amp;gt;rgbcurve mfg 1&lt;br /&gt;
cmd :&amp;gt;rgbcomponent 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''RGB picture is ugly'''&lt;br /&gt;
&lt;br /&gt;
# If your device hasn't been detected (you see &amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot; on second line on OLED/OSD - also if you see a name that does not match your device) then you should manually adjust pixels per line parameter (rgb only -&amp;gt; pixels/line) - see [[Sample phase / Pixers per line]]. In such case consider contacting us with the device's fingerprint (rgb only -&amp;gt; fingerprint). We might be able to add your device to the list of recognised devices in future firmwares.&lt;br /&gt;
# If your device has been properly detected but the picture is not crystal clear - first try to adjust sample phase (rgb only -&amp;gt; sample phase) - see [[Sample phase / Pixers per line]].&lt;br /&gt;
# If you see a lot of noise you may try to increase smoothing (filter -&amp;gt; smoothing -&amp;gt; 5-10), but also check power cables (yes power cables). Source of picture noise is usually on the ground signal. To reduce ground noise you may consider connecting ground of Medusa with ground of your device using separate cable. Although it is counterintuitive, exchange your modern filtered multiple outlet extension cord for a basic one (without filters, switches etc). Very often such noise is generated by power supply - try different power supply unit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Displaying device looses sync whenever input resolution changes'''&lt;br /&gt;
&lt;br /&gt;
:: It is normal. Medusa processes picture line by line. In such case whenever input line is missing (i.e. during input mode switch) also lines are missing on the output. Practically all displaying devices loose sync (even multisync CRT displays). Usually it means that the display becomes blank for half a second or so. See the [[Description]] chapter.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Troubleshooting&amp;diff=60</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Troubleshooting&amp;diff=60"/>
		<updated>2022-06-28T10:41:49Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
* '''Medusa logo turns on and off and nothing happens'''&lt;br /&gt;
&lt;br /&gt;
Check power. Medusa has overvoltage and undervoltage protection circuit and it cuts off the power when voltage drops below about 4.5V. To work Medusa needs substantial amount of current (more than 400mA). When you connect it for example to a computer using passive HUB then voltage can easily drop down even to 4.2V. Nevertheless just after start all A/D converters are powered off and FPGA chip has no core loaded. In this state it needs less power and therefore voltage doesn't drop that bad. In such case it may be able to send the logo to the display and then when all circuits are powered, voltage drops and causes device reset.&lt;br /&gt;
&lt;br /&gt;
* '''No Picture'''&lt;br /&gt;
&lt;br /&gt;
[[File:no_signal.png|400px|thumb]]&lt;br /&gt;
&lt;br /&gt;
When you connect Medusa to your displaying device even without any signal on input you should see control picture (on the right)&lt;br /&gt;
&lt;br /&gt;
# Check if your DVI window is set to default (DVI: 720x576) - if not then reset current settings (reset -&amp;gt; rst curr prof) or manually change window to 720x576 (shift/size -&amp;gt; dvi presets -&amp;gt; 720x576). You may also experiment with 720x480 and 640x480, but 720x576 is the most compatible window size for 50Hz.&lt;br /&gt;
# Check if Medusa is switched to &amp;quot;pure DVI&amp;quot; mode (global options -&amp;gt; DVI mode -&amp;gt; pure DVI). Some (especially DVI) devices do not accept audio packets and do not display anything when audio packets are present in DVI stream. Especially good old 17&amp;quot; and 19&amp;quot; VGA monitors are not compatible with audio.&lt;br /&gt;
# If after that your device still does not display anything it may mean either cable problems or that your device is not compatible with signal produced by Medusa. Control screen is generated with vertical frequency of 50Hz. Since almost all old computers also generate picture with refresh rate of 50Hz then it means that your device has to be capable of displaying 50Hz. If it is not, then you may need to find another device.&lt;br /&gt;
# Check input cables or try different input signal&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''SDTV picture is ugly'''&lt;br /&gt;
&lt;br /&gt;
# Try to avoid connecting signal using composite video - always use s-video cables if possible&lt;br /&gt;
# To reduce stripes/noise you may consider using smoothing (filter -&amp;gt; smoothing -&amp;gt; 5-10)&lt;br /&gt;
# If you only want monochromatic picture and you have s-video cable you may consider &amp;quot;hacking&amp;quot; Medusa and forcing it to process only luminance signal using RGB A/D. Enter these commands in USB/serial console:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmd :&amp;gt;scartmode rgb&lt;br /&gt;
cmd :&amp;gt;setyasg 1&lt;br /&gt;
cmd :&amp;gt;rgbcurve mfg 1&lt;br /&gt;
cmd :&amp;gt;rgbcomponent 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''RGB picture is ugly'''&lt;br /&gt;
&lt;br /&gt;
# If your device hasn't been detected (you see &amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot; on second line on OLED/OSD - also if you see a name that does not match your device) then you should manually adjust pixels per line parameter (rgb only -&amp;gt; pixels/line) - see [[Sample phase / Pixers per line]]. In such case consider contacting us with the device's fingerprint (rgb only -&amp;gt; fingerprint). We might be able to add your device to the list of recognised devices in future firmwares.&lt;br /&gt;
# If your device has been properly detected but the picture is not crystal clear - first try to adjust sample phase (rgb only -&amp;gt; sample phase) - see [[Sample phase / Pixers per line]].&lt;br /&gt;
# If you see a lot of noise you may try to increase smoothing (filter -&amp;gt; smoothing -&amp;gt; 5-10), but also check power cables (yes power cables). Source of picture noise is usually on the ground signal. To reduce ground noise you may consider connecting ground of Medusa with ground of your device using separate cable. Although it is counterintuitive, exchange your modern filtered multiple outlet extension cord for a basic one (without filters, switches etc). Very often such noise is generated by power supply - try different power supply unit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* '''Displaying device looses sync whenever input resolution changes'''&lt;br /&gt;
&lt;br /&gt;
:: It is normal. Medusa processes picture line by line. In such case whenever input line is missing (i.e. during input mode switch) also lines are missing on the output. Practically all displaying devices loose sync (even multisync CRT displays). Usually it means that the display becomes blank for half a second or so. See the [[Description]] chapter.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Troubleshooting&amp;diff=59</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Troubleshooting&amp;diff=59"/>
		<updated>2022-06-24T11:32:18Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
* No Picture&lt;br /&gt;
&lt;br /&gt;
[[File:no_signal.png|400px|thumb]]&lt;br /&gt;
&lt;br /&gt;
When you connect Medusa to your displaying device even without any signal on input you should see control picture (on the right)&lt;br /&gt;
&lt;br /&gt;
# Check if your DVI window is set to default (DVI: 720x576) - if not then reset current settings (reset -&amp;gt; rst curr prof) or manually change window to 720x576 (shift/size -&amp;gt; dvi presets -&amp;gt; 720x576). You may also experiment with 720x480 and 640x480, but 720x576 is the most compatible window size for 50Hz.&lt;br /&gt;
# Check if Medusa is switched to &amp;quot;pure DVI&amp;quot; mode (global options -&amp;gt; DVI mode -&amp;gt; pure DVI). Some (especially DVI) devices do not accept audio packets and do not display anything when audio packets are present in DVI stream. Especially good old 17&amp;quot; and 19&amp;quot; VGA monitors are not compatible with audio.&lt;br /&gt;
# If after that your device still does not display anything it may mean either cable problems or that your device is not compatible with signal produced by Medusa. Control screen is generated with vertical frequency of 50Hz. Since almost all old computers also generate picture with refresh rate of 50Hz then it means that your device has to be capable of displaying 50Hz. If it is not, then you may need to find another device.&lt;br /&gt;
# Check input cables or try different input signal&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* SDTV picture is ugly&lt;br /&gt;
&lt;br /&gt;
# Try to avoid connecting signal using composite video - always use s-video cables if possible&lt;br /&gt;
# To reduce stripes/noise you may consider using smoothing (filter -&amp;gt; smoothing -&amp;gt; 5-10)&lt;br /&gt;
# If you only want monochromatic picture and you have s-video cable you may consider &amp;quot;hacking&amp;quot; Medusa and forcing it to process only luminance signal using RGB A/D. Enter these commands in USB/serial console:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmd :&amp;gt;scartmode rgb&lt;br /&gt;
cmd :&amp;gt;setyasg 1&lt;br /&gt;
cmd :&amp;gt;rgbcurve mfg 1&lt;br /&gt;
cmd :&amp;gt;rgbcomponent 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* RGB picture is ugly&lt;br /&gt;
&lt;br /&gt;
# If your device hasn't been detected (you see &amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot; on second line on OLED/OSD - also if you see a name that does not match your device) then you should manually adjust pixels per line parameter (rgb only -&amp;gt; pixels/line) - see [[Sample phase / Pixers per line]]. In such case consider contacting us with the device's fingerprint (rgb only -&amp;gt; fingerprint). We might be able to add your device to the list of recognised devices in future firmwares.&lt;br /&gt;
# If your device has been properly detected but the picture is not crystal clear - first try to adjust sample phase (rgb only -&amp;gt; sample phase) - see [[Sample phase / Pixers per line]].&lt;br /&gt;
# If you see a lot of noise you may try to increase smoothing (filter -&amp;gt; smoothing -&amp;gt; 5-10), but also check power cables (yes power cables). Source of picture noise is usually on the ground signal. To reduce ground noise you may consider connecting ground of Medusa with ground of your device using separate cable. Although it is counterintuitive, exchange your modern filtered multiple outlet extension cord for a basic one (without filters, switches etc). Very often such noise is generated by power supply - try different power supply unit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Displaying device looses sync whenever input resolution changes&lt;br /&gt;
&lt;br /&gt;
:: It is normal. Medusa processes picture line by line. In such case whenever input line is missing (i.e. during input mode switch) also lines are missing on the output. Practically all displaying devices loose sync (even multisync CRT displays). Usually it means that the display becomes blank for half a second or so. See the [[Description]] chapter.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Sample_phase_/_Pixers_per_line&amp;diff=58</id>
		<title>Sample phase / Pixers per line</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Sample_phase_/_Pixers_per_line&amp;diff=58"/>
		<updated>2022-06-24T11:30:08Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* Sample phase */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Sample phase ==&lt;br /&gt;
&lt;br /&gt;
Example of sample phase set wrongly (click to zoom):&lt;br /&gt;
&lt;br /&gt;
[[File:phase_bad.png|400px|frameless|bad sample phase]]&lt;br /&gt;
&lt;br /&gt;
Example of sample phase set correctly (click to zoom):&lt;br /&gt;
&lt;br /&gt;
[[File:phase_good.png|400px|frameless|good sample phase]]&lt;br /&gt;
&lt;br /&gt;
== Pixels per line ==&lt;br /&gt;
&lt;br /&gt;
All recognised RGB modes should have this option set correctly in the firmware, but when your device is not recognised (&amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot;) then you should set correctly pixels per line. If you want me to add your device to the next Medusa firmware I will need this parameter together with fingerprint. I've prepared a couple of pictures to help setting this parameter correctly.&lt;br /&gt;
&lt;br /&gt;
First try to fill your screen with &amp;quot;50%&amp;quot; checkboard pattern (desktop background setting or using any raster graphics program like Deluxe Paint)&lt;br /&gt;
&lt;br /&gt;
Example of pixels per line set too low (click to zoom):&lt;br /&gt;
&lt;br /&gt;
[[File:ppl_toolow.png|400px|frameless|bad sample phase]]&lt;br /&gt;
&lt;br /&gt;
Example of pixels per line set too high (click to zoom):&lt;br /&gt;
&lt;br /&gt;
[[File:ppl_toohigh.png|400px|frameless|bad sample phase]]&lt;br /&gt;
&lt;br /&gt;
As you can see in both cases there are vertical artifacts, but one can't say if it is too low or too high. Both cases looks similar. One way is to check hardware of your device and try to find master clock generator (in this case it is Atari ST with main clock of 32.084MHz). Your pixel clock (Pfreq) should be set to the same value (or its multiple). The other way is to increase or decrease this setting (using &amp;quot;dec by 16&amp;quot; and &amp;quot;inc by 16&amp;quot; at the beginning) and try to be as close as possible (as low vertical lines with artifacts as possible).&lt;br /&gt;
&lt;br /&gt;
At some point you will have only a few artifacts. This is an example of a picture with one artifact only:&lt;br /&gt;
&lt;br /&gt;
[[File:ppl_close.png|400px|frameless|bad sample phase]]&lt;br /&gt;
&lt;br /&gt;
When you have achieved that, then try to change this value using only &amp;quot;dec by 1&amp;quot; and &amp;quot;inc by 1&amp;quot; - usually only even values will be correct. When the value is correct your picture should look like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ppl_good.png|400px|frameless|bad sample phase]]&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Sample_phase_/_Pixers_per_line&amp;diff=57</id>
		<title>Sample phase / Pixers per line</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Sample_phase_/_Pixers_per_line&amp;diff=57"/>
		<updated>2022-06-24T11:29:37Z</updated>

		<summary type="html">&lt;p&gt;Acid: Created page with &amp;quot;== Sample phase ==  Example of sample phase set wrongly (clock to zoom):  bad sample phase  Example of sample phase set correctly (clock to zoom):  good sample phase  == Pixels per line ==  All recognised RGB modes should have this option set correctly in the firmware, but when your device is not recognised (&amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot;) then you should...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Sample phase ==&lt;br /&gt;
&lt;br /&gt;
Example of sample phase set wrongly (clock to zoom):&lt;br /&gt;
&lt;br /&gt;
[[File:phase_bad.png|400px|frameless|bad sample phase]]&lt;br /&gt;
&lt;br /&gt;
Example of sample phase set correctly (clock to zoom):&lt;br /&gt;
&lt;br /&gt;
[[File:phase_good.png|400px|frameless|good sample phase]]&lt;br /&gt;
&lt;br /&gt;
== Pixels per line ==&lt;br /&gt;
&lt;br /&gt;
All recognised RGB modes should have this option set correctly in the firmware, but when your device is not recognised (&amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot;) then you should set correctly pixels per line. If you want me to add your device to the next Medusa firmware I will need this parameter together with fingerprint. I've prepared a couple of pictures to help setting this parameter correctly.&lt;br /&gt;
&lt;br /&gt;
First try to fill your screen with &amp;quot;50%&amp;quot; checkboard pattern (desktop background setting or using any raster graphics program like Deluxe Paint)&lt;br /&gt;
&lt;br /&gt;
Example of pixels per line set too low (click to zoom):&lt;br /&gt;
&lt;br /&gt;
[[File:ppl_toolow.png|400px|frameless|bad sample phase]]&lt;br /&gt;
&lt;br /&gt;
Example of pixels per line set too high (click to zoom):&lt;br /&gt;
&lt;br /&gt;
[[File:ppl_toohigh.png|400px|frameless|bad sample phase]]&lt;br /&gt;
&lt;br /&gt;
As you can see in both cases there are vertical artifacts, but one can't say if it is too low or too high. Both cases looks similar. One way is to check hardware of your device and try to find master clock generator (in this case it is Atari ST with main clock of 32.084MHz). Your pixel clock (Pfreq) should be set to the same value (or its multiple). The other way is to increase or decrease this setting (using &amp;quot;dec by 16&amp;quot; and &amp;quot;inc by 16&amp;quot; at the beginning) and try to be as close as possible (as low vertical lines with artifacts as possible).&lt;br /&gt;
&lt;br /&gt;
At some point you will have only a few artifacts. This is an example of a picture with one artifact only:&lt;br /&gt;
&lt;br /&gt;
[[File:ppl_close.png|400px|frameless|bad sample phase]]&lt;br /&gt;
&lt;br /&gt;
When you have achieved that, then try to change this value using only &amp;quot;dec by 1&amp;quot; and &amp;quot;inc by 1&amp;quot; - usually only even values will be correct. When the value is correct your picture should look like this:&lt;br /&gt;
&lt;br /&gt;
[[File:ppl_good.png|400px|frameless|bad sample phase]]&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Main_Page&amp;diff=56</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Main_Page&amp;diff=56"/>
		<updated>2022-06-24T11:04:30Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;Welcome to Medusa Wiki&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Description]]&lt;br /&gt;
&lt;br /&gt;
[[Using Medusa]]&lt;br /&gt;
&lt;br /&gt;
[[Menu]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
[[Console]]&lt;br /&gt;
&lt;br /&gt;
[[Recognised Modes]]&lt;br /&gt;
&lt;br /&gt;
[[Sample phase / Pixers per line]]&lt;br /&gt;
&lt;br /&gt;
[[Credits]]&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Phase_good.png&amp;diff=55</id>
		<title>File:Phase good.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Phase_good.png&amp;diff=55"/>
		<updated>2022-06-24T11:02:50Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Phase_bad.png&amp;diff=54</id>
		<title>File:Phase bad.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Phase_bad.png&amp;diff=54"/>
		<updated>2022-06-24T11:02:08Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Ppl_toolow.png&amp;diff=53</id>
		<title>File:Ppl toolow.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Ppl_toolow.png&amp;diff=53"/>
		<updated>2022-06-24T11:01:33Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Ppl_toohigh.png&amp;diff=52</id>
		<title>File:Ppl toohigh.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Ppl_toohigh.png&amp;diff=52"/>
		<updated>2022-06-24T11:01:05Z</updated>

		<summary type="html">&lt;p&gt;Acid: Acid uploaded a new version of File:Ppl toohigh.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Ppl_toohigh.png&amp;diff=51</id>
		<title>File:Ppl toohigh.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Ppl_toohigh.png&amp;diff=51"/>
		<updated>2022-06-24T11:00:35Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Ppl_close.png&amp;diff=50</id>
		<title>File:Ppl close.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Ppl_close.png&amp;diff=50"/>
		<updated>2022-06-24T10:59:21Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=File:Ppl_good.png&amp;diff=49</id>
		<title>File:Ppl good.png</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=File:Ppl_good.png&amp;diff=49"/>
		<updated>2022-06-24T10:58:45Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Troubleshooting&amp;diff=48</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Troubleshooting&amp;diff=48"/>
		<updated>2022-06-22T18:33:05Z</updated>

		<summary type="html">&lt;p&gt;Acid: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
* No Picture&lt;br /&gt;
&lt;br /&gt;
[[File:no_signal.png|400px|thumb]]&lt;br /&gt;
&lt;br /&gt;
When you connect Medusa to your displaying device even without any signal on input you should see control picture (on the right)&lt;br /&gt;
&lt;br /&gt;
# Check if your DVI window is set to default (DVI: 720x576) - if not then reset current settings (reset -&amp;gt; rst curr prof) or manually change window to 720x576 (shift/size -&amp;gt; dvi presets -&amp;gt; 720x576). You may also experiment with 720x480 and 640x480, but 720x576 is the most compatible window size for 50Hz.&lt;br /&gt;
# Check if Medusa is switched to &amp;quot;pure DVI&amp;quot; mode (global options -&amp;gt; DVI mode -&amp;gt; pure DVI). Some (especially DVI) devices do not accept audio packets and do not display anything when audio packets are present in DVI stream. Especially good old 17&amp;quot; and 19&amp;quot; VGA monitors are not compatible with audio.&lt;br /&gt;
# If after that your device still does not display anything it may mean either cable problems or that your device is not compatible with signal produced by Medusa. Control screen is generated with vertical frequency of 50Hz. Since almost all old computers also generate picture with refresh rate of 50Hz then it means that your device has to be capable of displaying 50Hz. If it is not, then you may need to find another device.&lt;br /&gt;
# Check input cables or try different input signal&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* SDTV picture is ugly&lt;br /&gt;
&lt;br /&gt;
# Try to avoid connecting signal using composite video - always use s-video cables if possible&lt;br /&gt;
# To reduce stripes/noise you may consider using smoothing (filter -&amp;gt; smoothing -&amp;gt; 5-10)&lt;br /&gt;
# If you only want monochromatic picture and you have s-video cable you may consider &amp;quot;hacking&amp;quot; Medusa and forcing it to process only luminance signal using RGB A/D. Enter these commands in USB/serial console:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmd :&amp;gt;scartmode rgb&lt;br /&gt;
cmd :&amp;gt;setyasg 1&lt;br /&gt;
cmd :&amp;gt;rgbcurve mfg 1&lt;br /&gt;
cmd :&amp;gt;rgbcomponent 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* RGB picture is ugly&lt;br /&gt;
&lt;br /&gt;
# If your device hasn't been detected (you see &amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot; on second line on OLED/OSD - also if you see a name that does not match your device) then you should manually adjust pixels per line parameter (rgb only -&amp;gt; pixels/line). In such case consider contacting us with the device's fingerprint (rgb only -&amp;gt; fingerprint). We might be able to add your device to the list of recognised devices in future firmwares.&lt;br /&gt;
# If your device has been properly detected but the picture is not crystal clear - first try to adjust sample phase (rgb only -&amp;gt; sample phase).&lt;br /&gt;
# If you see a lot of noise you may try to increase smoothing (filter -&amp;gt; smoothing -&amp;gt; 5-10), but also check power cables (yes power cables). Source of picture noise is usually on the ground signal. To reduce ground noise you may consider connecting ground of Medusa with ground of your device using separate cable. Although it is counterintuitive, exchange your modern filtered multiple outlet extension cord for a basic one (without filters, switches etc). Very often such noise is generated by power supply - try different power supply unit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Displaying device looses sync whenever input resolution changes&lt;br /&gt;
&lt;br /&gt;
:: It is normal. Medusa processes picture line by line. In such case whenever input line is missing (i.e. during input mode switch) also lines are missing on the output. Practically all displaying devices loose sync (even multisync CRT displays). Usually it means that the display becomes blank for half a second or so. See the [[Description]] chapter.&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
	<entry>
		<id>http://medusa-sc.org/index.php?title=Menu&amp;diff=47</id>
		<title>Menu</title>
		<link rel="alternate" type="text/html" href="http://medusa-sc.org/index.php?title=Menu&amp;diff=47"/>
		<updated>2022-06-22T18:21:49Z</updated>

		<summary type="html">&lt;p&gt;Acid: /* global options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Main Menu ==&lt;br /&gt;
&lt;br /&gt;
=== rgb curves ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for changing RGB curves. By changing these curves it is possible to change brightness, contrast, gamma etc.&lt;br /&gt;
&lt;br /&gt;
* brightness - change screen brightness from -100 to 100&lt;br /&gt;
* contrast - change screen contrast from -100 to 100&lt;br /&gt;
* blue/yellow - change white balance from -100 to 100&lt;br /&gt;
* green/magenta - change white tint from -100 to 100&lt;br /&gt;
* gamma - change gamma correction from 0.4 to 2.5&lt;br /&gt;
* reset - reset all curves to standard flat 1:1 curves&lt;br /&gt;
&lt;br /&gt;
=== filters ===&lt;br /&gt;
&lt;br /&gt;
This submenu has special picture filters such as green, amber mono monitor, negative, scanline, smoothing etc.&lt;br /&gt;
&lt;br /&gt;
* color - mono monitor emulation with many variants (green,amber,cyan,sepia,red)&lt;br /&gt;
* special&lt;br /&gt;
** threshold - all values below 128 set to 0 and all values above 127 set to 255 - this is good option for binary signal (ST mono)&lt;br /&gt;
** negative - negates all R,G and B values&lt;br /&gt;
** 512 colors - round all color values to 512 color palette&lt;br /&gt;
** 4096 colors - round all color values to 4096 color palette&lt;br /&gt;
* pixel&lt;br /&gt;
** scanline - every second line made darker (emulates old CRT scanlines)&lt;br /&gt;
** pixel mode - every second line and every second column made darker (emulates old LCD displays)&lt;br /&gt;
** noise - add noise to picture (emulates connecting to old TV sets)&lt;br /&gt;
** sl+noise - scanline + noise&lt;br /&gt;
* smoothing - decreases noise. If difference between current pixel and previous is smaller than given value then pixel value is blended with previous pixel - makes picture more even and with less noise. Although you can set it from 0 to 255, using values higher than 10 is not recommended.&lt;br /&gt;
* reset - reset all special filters to default values (smoothing to 0 and &amp;quot;no filter&amp;quot; for all other options)&lt;br /&gt;
&lt;br /&gt;
=== shift/size ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options for moving picture left/right, up/down and also for changing window size (you can think of it as an output resolution)&lt;br /&gt;
&lt;br /&gt;
* xshift - move picture left and right (during movement picture may disappear for a moment - it is a normal reaction of the displaying device when something is changing)&lt;br /&gt;
* yshift - move picture up and down (same as above - during movement picture may disappear)&lt;br /&gt;
* dvi width - set display window to specific width (be aware that some displays do not accept all widths, so during changing for example from 720 to 800 screen may be black when values are in between, also every width change usually means sync lost, so it is better to change these values using OLED, not OSD)&lt;br /&gt;
* dvi height - set display window to specific height (same as above)&lt;br /&gt;
* dvi presets - beacuse usually we want to use well defined screen sizes, there are presets for screen width and height. When selected preset's height or width is too big for  current input resolution, it is lowered to maximum possible value.&lt;br /&gt;
** 1280x1024 (mainly for viking mode in MIST)&lt;br /&gt;
** 800x600 (whole screen in PAL modes - with all borders)&lt;br /&gt;
** 720x576 (standard PAL resolution - most compatible for PAL modes)&lt;br /&gt;
** 720x480 (standard NTSC resolution - most compatible for NTSC modes)&lt;br /&gt;
** 640x480 (standard VGA resolution - very compatible)&lt;br /&gt;
** 640x400 (good for ST mono)&lt;br /&gt;
&lt;br /&gt;
=== rgb only ===&lt;br /&gt;
&lt;br /&gt;
This submenu has options that are used only when picture is processed by RGB A/D converter (front LED is red, on OLED info says that source of signal is RGB &amp;quot;RGB: xxxxxxx&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
[[File:sample_phase.png|200px|thumb|sample phase]]&lt;br /&gt;
&lt;br /&gt;
* sample phase - sets sample phase of pixel. Pixels have to pe sampled in &amp;quot;the middle of the pixel&amp;quot;. When pixels are sampled &amp;quot;in between&amp;quot; then the picture looks blurry and often noisy. This option should be adjusted individually for every device connected to Medusa - this is a very important option !!!.&lt;br /&gt;
* pixels/line - for all recognised modes this option shouldn't be adjusted - for all known computers this parameter is predefined in Medusa, but when you connect something that is not recognised (&amp;quot;unknown PAL&amp;quot;, &amp;quot;unknown NTSC&amp;quot;, &amp;quot;unrecognised lo&amp;quot; or &amp;quot;unrecognised hi&amp;quot;) you can set this option to improve picture quality.&lt;br /&gt;
* double res - doubles X resolution (practically useful only for Amiga's &amp;quot;Super Hires&amp;quot; modes)&lt;br /&gt;
* auto levels - runs a routine, that tries to find best offset and gain for R, G and B signals - use it, when the picture is too dark or too light - usually it is automatically performed whenever you connect a specific device for the first time, but if you have two cables for the same computer then after a cable change you may need to run this manually.&lt;br /&gt;
* component mode - changes R,G,B to Y,Cr,Cb (Y on green, Cr on red and Cb on blue) - after changing this option &amp;quot;auto levels&amp;quot; is always re-run&lt;br /&gt;
* fingerprint - Medusa recognises input devices using &amp;quot;fingerprint&amp;quot; mechanism. For each device there is a predefined fingerprint in the firmware. But sometimes it may happen that your device is not recognised correctly, or it is not in Medusa's database at all. This option displays fingerprint parameters for currently connected device. These values may be used by Medusa developers to improve devices detection and adding new ones.&lt;br /&gt;
&lt;br /&gt;
=== global options ===&lt;br /&gt;
&lt;br /&gt;
This submenu has global options (DVI modes, OSD timeouts)&lt;br /&gt;
&lt;br /&gt;
* DVI mode&lt;br /&gt;
** pure DVI - pure DVI signal without audio (compatible with most old LCD 17&amp;quot; and 19&amp;quot; displays)&lt;br /&gt;
** DVI with audio - adds audio packets to DVI signal which is not compatible with DVI, but usually recognised correctly by HDMI devices connected to Medusa via appropriate cables.&lt;br /&gt;
* OSD timeouts&lt;br /&gt;
** main menu&lt;br /&gt;
** sub menus&lt;br /&gt;
** start info&lt;br /&gt;
** change mode&lt;br /&gt;
** no signal&lt;br /&gt;
** return to top&lt;br /&gt;
&lt;br /&gt;
=== reset ===&lt;br /&gt;
&lt;br /&gt;
Reset settings (all settings are also reset when you turn on Medusa with pressed both left keys - 'up' and 'down')&lt;br /&gt;
&lt;br /&gt;
* rst glob opts - resets only global options (DVI mode and OSD timeouts)&lt;br /&gt;
* rst curr prof - resets current profile (all curves, filters, etc. only for currently connected device)&lt;br /&gt;
* factory reset - same as running with 'up' and 'down' pressed - clears whole flash memory with all settings&lt;/div&gt;</summary>
		<author><name>Acid</name></author>
	</entry>
</feed>