Search the web
Sign In
New User? Sign Up
gbadev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Detection of emulator   Message List  
Reply | Forward Message #13447 of 15019 |
Re: [gbadev] Detection of emulator



PG> Does anyone have code for detecting the presence of an emulator?

under boycott advance DMA copy from null adress gives 0xFFFF
and 0x0000 on real hw.

Emulators allow to enable/disable interrupts (in REG_IE) immediately
while on real hw it often takes (not always!) whole frame for
VCOUNT and VBLANK int to disable.

VisualBoy's "CPU" is too fast.

Switcing from MODE0 to MODE2 makes 3 blank lines on realhw.


(jakieś losowo wybrane z listy pożegnanie), porneL


--
Pukanie zepsute - prosze dzwonic [ http://pegasosppc.com ]

GG 989217, ICQ 145671338, SMS 501454675, #amigapl @ ircnet





Fri Dec 6, 2002 5:11 pm

pornelkurna
Offline Offline
Send Email Send Email

Forward
Message #13447 of 15019 |
Expand Messages Author Sort by Date

Does anyone have code for detecting the presence of an emulator? Thanks, -Pete...
Pete Gonzalez
gonz1242
Offline Send Email
Dec 6, 2002
4:52 pm

PG> Does anyone have code for detecting the presence of an emulator? under boycott advance DMA copy from null adress gives 0xFFFF and 0x0000 on real hw. ...
porneL
pornelkurna
Offline Send Email
Dec 6, 2002
6:41 pm

... Easy. dir /s /b \visualboyadvance.exe Oh, you mean you want the GBA program to detect which GBA model or emulator it's running on. In other words, you...
yerricde
Offline Send Email
Dec 6, 2002
7:36 pm

... You hit the nail on the head with this article. Indeed if what you are doing is looking for inaccuracies in emulation, then as emulation improves, the...
Graham Toal <gtoal@...>
graham_toal
Offline Send Email
Dec 13, 2002
4:00 pm

... This works pretty well. It has to be run from RAM, of course. detectGBA: ;returns 0 if emulated mov r0,#0 str r0,_0 _0: mov r0,#1 mov pc,lr ... ...
Neal Tew
x4344739
Offline Send Email
Dec 6, 2002
11:01 pm

... Heh ;-) ... Nah, if I wanted #2 I wouldn't be discussing it in a public forum. ;-) Actually our code can compensate for the (horribly flawed) gamma on the...
Pete Gonzalez
gonz1242
Offline Send Email
Dec 7, 2002
3:55 am

... something that works the same on gb/gbc/gba and can detect any known emulator of these systems is to check the voice 3 userdefined waveform.... i dont ...
Groepaz
groepaz2000
Offline Send Email
Dec 7, 2002
11:25 am

Maybe it would be easier to approach this from a different angle. Since you say that you are not attempting to achieve #2 then I assume that your program will...
Phantasm
phantasm4489
Offline Send Email
Dec 7, 2002
2:13 pm

... Thanks, that was exactly what I needed. ;-) Cheers, -Pete P.S. His code works by overwriting the next instruction with a NOP. On a real CPU, the old...
Pete Gonzalez
gonz1242
Offline Send Email
Dec 7, 2002
10:15 pm

I don't know how they could force an emulator to use a copyright protection because the program doesn't aid in copying anything. Plus it's just doing the job...
TJ
treyjazz2k2
Offline Send Email
Dec 14, 2002
4:51 pm

... Well, this is rock-solid for home devving, but it'll not work for commercial software, because the extracode mechanism will be well-known for public (i.e....
Ped
ped_7g
Offline Send Email
Dec 15, 2002
10:42 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help