From http://www.jwz.org/xscreensaver/xscreensaver-5.38.tar.gz
[xscreensaver] / hacks / config / m6502.xml
index 26db9f961a0e01f0d46bbaba6ce4aa4e8a28d8e9..dcde3cb138d7a6f2640e3081a2dd015fde634360 100644 (file)
@@ -1,21 +1,50 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 
-<screensaver name="m6502" _label="M6502">
+<screensaver name="m6502" _label="m6502">
 
   <command arg="-root" />
 
-  <number id="displaytime" type="slider" arg="-displaytime %"
-          _label="Display time for each program"
-          _low-label="5 seconds" _high-label="2 minutes"
-         low="5" high="120" default="10" />
+  <video href="https://www.youtube.com/watch?v=KlDw0nYwUe4"/>
 
-  <file id="file" _label="Assembly File" arg="-file %"/>
+  <file id="file" _label="Assembly file" arg="-file %"/>
 
-  <_description> 
-The m6502 screensaver emulates a 6502 microprocessor.  The family
-of 6502 chips were used throughout the 70's and 80's in machines
-such as the Atari 2600, Commodore PET, VIC20 and C64, Apple ][,
-and the NES. Some example programs are included, and it can also
+  <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/>
+
+  <hgroup>
+   <vgroup>
+    <number id="displaytime" type="slider" arg="-displaytime %"
+            _label="Display time for each program"
+            _low-label="5 seconds" _high-label="2 minutes"
+            low="5.0" high="120.0" default="30.0" />
+    <number id="tvcolor" type="slider" arg="-tv-color %"
+            _label="Color Knob" _low-label="Low" _high-label="High"
+            low="0" high="1000" default="70"/>
+    <number id="tvtint" type="slider" arg="-tv-tint %"
+            _label="Tint Knob" _low-label="Low" _high-label="High"
+            low="0" high="100" default="5"/>
+   </vgroup>
+   <vgroup>
+    <number id="ips" type="slider" arg="-ips %"
+            _label="Instructions per second"
+            _low-label="500" _high-label="120000"
+            low="500" high="120000" default="15000" />
+    <number id="tvbrightness" type="slider" arg="-tv-brightness %"
+            _label="Brightness Knob" _low-label="Low" _high-label="High"
+            low="0" high="200" default="150"/>
+    <number id="tvcontrast" type="slider" arg="-tv-contrast %"
+            _label="Contrast Knob" _low-label="Low" _high-label="High"
+            low="0" high="1500" default="1000"/>
+   </vgroup>
+  </hgroup>
+
+  <xscreensaver-updater />
+
+  <_description>
+Emulates a 6502 microprocessor, and runs some example programs on it.
+
+The family of 6502 chips were used throughout the 70's and 80's in
+machines such as the Atari 2600, Commodore PET, VIC20 and C64, Apple
+][, and the NES. Some example programs are included, and it can also
 read in an assembly file as input.
 
 Original JavaScript Version by Stian Soreng: http://www.6502asm.com/.