If you want to ask questions about how the machine works, peculiar details, the differences between models, here it is !
How to program the oric hardware (VIA, FDC, ...) is also welcome.
- Game master
- Posts: 819
- Joined: Sat Jan 07, 2006 12:07 am
- Location: Luton, UK
The following code can be used to detect whether the system is an Emulator or not.
Code: Select all
;Will return Carry if Real Machine
is_real lda #00
;Set CB2 to Pulse Mode
lda #$F3 ;Random value
It uses an obscure VIA mode that selects handshaking of CB2 when writing or reading from Port B.
I use it to write a value to the AY sound chip.
The routine then reads back data from the same AY register (0) and if it isn't the same then Euphoric is being used.
- Site Admin
- Posts: 3286
- Joined: Fri Jan 06, 2006 10:00 pm
- Location: Oslo, Norway
I'm pretty sure that we will soon see a new version of Euphoric that will actually behave in a way you will not be able to detect that anymore