Changes

Jump to navigation Jump to search

Clock Signal

5,035 bytes added, 04:08, 6 September 2021
Added category
{{Infobox emulator
|title = Virtual JaguarClock Signal|logo = Vj-titleCLK_(emulator)_Icon.png|logowidth = 200x120|orig-developer = David Raingeard (Cal2)[[User:Tommy|developer = Niels Wagenaar, Carwin Jones, Adam Green, James L. HammonsThomas Harte]]|version = {{VirtualJaguarVerclkver}}, 2.1.3 (Git)|active = No (main branch)<br/>Yes (libretro core)|platform = [[Emulators on PC|Windows]]Linux<br/>[[Emulators on macOS|macOS]]<br/>Linux<br/>BSD|accuracy = Subcycle|target = [[Emulators on Android OSBBC Micro emulators|AndroidAcorn Electron]]<small> (Unofficial)</small><br/>, [[Emulators on PSPAmstrad CPC emulators|PSPAmstrad CPC]]<small> (Unofficial)</small>, [[Apple II emulators|architecture = Apple II]], [[Atari 2600 emulators|target = Atari 2600]], [[Atari Jaguar ST emulators|Atari JaguarST]], [[ColecoVision emulators|compatibility = ColecoVision]], Commodore VIC-20, Enterprise 64/128, [[Macintosh line|accuracy = Highearly Macintosh]], [[MSX emulators|website = [https:MSX 1]], Oric 1/Atmos/icculus.orgPravetz, [[SG-1000 emulators|Sega SG-1000]], [[Master System emulators|Master System]], [[Sinclair ZX81 emulators|Sinclair ZX80/virtualjaguar/ incculus.orgZX81]], [[ZX Spectrum emulators|ZX Spectrum]]|prog-lang = C++; Mac bindings in Objective-C and Swift|support =|license = GNU GPL v3|source download = [https://github.com/mirrorTomHarte/CLK/virtualjaguar GitHubreleases Official releases]<br(macOS); [http://snapcraft.io/>clock-signal Snapcraft listing] (Linux)|source = [https://github.com/libretroTomHarte/virtualjaguar-libretro CLK GitHub (libretro)]|license = MIT License
}}
'''Virtual Jaguar''' is free and an open-source [[Atari Jaguar emulators|Atari Jaguar emulator]] based on the original by the same name. It is also available as a [[libretro]] core for [[RetroArch]].
'''Clock Signal''', also known as '''CLK''', is an MIT-licensed open-source emulator of a collection of 8-bit computers and consoles for Linux, macOS and BSD. It was ported by SDLEMU (Niels Wagenaar & Carwin Jones) is unique in its approach to screen emulation and as a result offers worst-case video latency equal to the refresh rate of the screen on which it is being displayed — 1/60th of a second on a 60Hz monitor, 1/120th of a second on a 120Hz monitor, etc — regardless of the refresh rate of the machine being emulated. It is based upon also noteworthy for the original work by David Raingeard degree to which it deploys automatic analysis in an attempt automatically to launch class software: in addition to ahead-of Potato Emulation-time static analysis, it can simply run and monitor multiple different machines or machine configurations in parallel to determine what the proper hardware configuration for a particular title should be, often offering a seamless continuous display to the user. It generally emulates components internally at single-cycle or half-cycle precision but seeks to decouple execution wherever possible. The original source was based upon Aaron Giles CoJag driver from [[MAME]] E.g. even if video and used processor share memory which would naively imply running each component for a single cycle in a round robin fashion, the Starscream 68000 emulator coreactually applies something analogous to a write-through cache: the processor writing to the shared region will cause video processing to run just-in-time as though it had been interleaving reads until then. Regardless of this, Clock Signal does not currently offer a perfect emulation of every supported machine. It is an active, developing emulator.
==Download==
{| cellpadding="4"
|-
|align=center|{{Icon|Win-big|LinMac-big}}|'''[https://icculusgithub.orgcom/virtualjaguarTomHarte/ '''CLK/releases Latest releasereleases]''']<br><small>Linux version is source only</small>
|-
|colspan="3"|<hr/>|-|align=center|{{Icon|Win-big|MacLinux-big}}|'''[http://virtualjaguar.kicks-ass.net/builds/ Unofficial builds]|-|align=center|{{Icon|Win-big}}|[https://github.com/djipi/Virtual-Jaguar-Rx Virtual Jaguar RX]|-|align=center|{{Icon|APK-big}}|[https://play.google.com/store/apps/details?id=org.icculus.virtualjaguar Play Store]<small> (Unofficial port)</small>|-|align=center|{{Icon|Lin-big}}|[https://launchpadsnapcraft.netio/ubuntu/xenial/+package/virtualjaguar Launchpad Repo (Ubuntu)]|-|align=center|{{Icon|Linclock-big}}|[https://packages.debian.org/stretch/virtualjaguar Debian packagesignal Snapcraft listing]'''|-|align=center|{{Icon|PSP}}|[https://archive.org/details/atari-jaguar-emulator.-7z pJag 0.1]<small> (Unofficial PSP port)</small>
|}
 
==Display emulation==
[[File:CLK ZX80.gif|right|alt=The emulated display of a ZX80, showing accurate emulation of synchronization issues.]]
Clock Signal's emulated machines produce a 1d video signal, just as real machines do. Its emulated display, therefore, has to:
* maintain a raster positioning;
* run sync-triggered phase-locked loops to place horizontal and vertical retraces; and
* decode composite color if that's what the machine is supplying.
 
It uses this information to paint a virtual phosphor display — in practice just an accumulation of recently-painted material with each new painting undergoing exponential decay. Output to the host screen is simply a capture of that surface as and when the host screen requests a new frame.
 
An unambiguously desirable result is that machines with variable programmatic sync, such as the Atari 2600, ZX80/81 and Amstrad CPC, should produce the proper display results, even down to rolling, bouncing and other sync issues as and when the programmer diverges, even if only transiently, from PAL or NTSC timing specifications.
 
A further positive effect is that composite video produces the proper per-platform results simply because the timing is correct: e.g. the Atari 2600 and ColecoVision produce an in-phase signal when outputting NTSC so they show obvious fixed vertical banding between strong color transitions, but the Oric, Electron and PAL Atari are not in-phase so produce undulating diagonals at color transitions.
 
The emulator goes as far as to use the Oric's original color ROM for Oric composite video generation — it replays the actual PCM-sampled output values generated by the real machine to produce realistic color.
 
Composite color is optional for all machines on which it was originally optional. Machines such as the Oric, Electron, and MSX originally shipped with the option of RGB output, so the emulator offers the same.
 
==Sound emulation==
Sound emulation is generally performed by internal generation of original megahertz-rate audio, which is resampled to the output frequency of the host computer. Therefore just as the video can scale up to modern low-latency high-refresh-rate displays, the audio can scale up to digital output rates such as 96Khz and 192Khz.
 
Filling sound packets is an independent trigger of emulation — the emulated machines will run to make sure they're up to date when the display needs a new frame, and they'll also run to produce the next packet of audio when the previous has been consumed.
 
That generally allows the emulator to maintain audio latency guarantees completely decoupled from the frame rate. It aims for between 5 and 10ms of audio latency.
 
==Host environments==
===macOS===
For macOS, Clock Signal is a fully-native document model application, which means that the user can simultaneously launch as many different machines as they want, sizing and positioning each independently across multiple displays, arranging their machines into a tabbed interface or performing any other standard Mac windowing actions. It uses Metal for graphics output and is provided as an Intel/Apple Silicon universal binary.
 
===Qt===
Clock Signal provides a full-UI Qt 5 build for X11 users, offering arbitrarily many machines at once and custom machine selection alongside the emulator's preferred automatic machine selection; building for other Qt targets that support OpenGL 3.2 and C++17 is possible but Qt's deficiencies in keyboard handling make platform-specific adaptations a necessity for regular usage, and latency is likely to be higher than with native builds.
 
===SDL===
Clock Signal also has an SDL-based kiosk mode, which is compatible with Linux and any other target offering SDL 2.x, at least OpenGL 3.2 and C++17, and which attempts to follow ordinary UNIX conventions as to file naming and locations. It is intended to be launched however the user would normally launch something from the command-line; the target use case is to set up a file association in the user's preferred desktop environment and launch emulated applications by double-clicking on them exactly like the user would launch native applications.
[[Category:Emulators]]
[[Category:Multi-emulators]][[Category:Amstrad CPC emulators]][[Category:Apple II emulators]][[Category:Atari 2600 emulators]][[Category:Atari Jaguar ST emulators]][[Category:ColecoVision emulators]][[Category:Windows emulation software‏‎Macintosh emulators]][[Category:Master System emulators]][[Category:MSX emulators]][[Category:SG-1000 emulators]][[Category:ZX Spectrum emulators]][[Category:ZX81 emulators]]
[[Category:Linux emulation software]]
[[Category:macOS emulation software]]
2,527
edits

Navigation menu