Difference between revisions of "Emulator IDs"
From CPCWiki - THE Amstrad CPC encyclopedia!
(New page: Some CPC emulators use Port &FEFE to provide a method to identify a specific CPC emulator. CPC programs could use this ID to detect an emulator and change some of their behaviour (e.g. cha...) |
m (added categories) |
||
Line 11: | Line 11: | ||
- #FF: Real CPC | - #FF: Real CPC | ||
</pre> | </pre> | ||
+ | |||
+ | [[Category:Emulator]][[Category:Programming]] |
Revision as of 06:50, 23 September 2008
Some CPC emulators use Port &FEFE to provide a method to identify a specific CPC emulator. CPC programs could use this ID to detect an emulator and change some of their behaviour (e.g. changing graphic effechts which will not work on an emulator or using special emulator-specific features). Reading from this port returns the Emulator-ID or &FF on the real CPC and on emulators which do not provide this feature.
List of known Emulator-IDs
- #99: WinCPC - #C0: C-One Normal - #C1: C-One Turbo - #C2: TREX Normal - #C3: TREX Turbo - #FF: Real CPC