Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
MetascriptDex
TMHMDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man glitch
Celebi Egg glitch
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
Pokémon Game Genie codes
Disassembly projects
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: BGB and invalid opcodes.  (Read 79 times)

0 Members and 1 Guest are viewing this topic.

joshuarpl

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
BGB and invalid opcodes.
« on: November 22, 2018, 03:55:00 pm »
Whenever my bgb encounters an invalid opcode, it activates the debugger everytime I try to close it, as well as adding "invalid opcode" to the title of Debugger.
I thought bgb ignored unknown opcodes. How do you make bgb ignore unknown opcodes.

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: BGB and invalid opcodes.
« Reply #1 on: November 22, 2018, 04:29:10 pm »
BGB doesn't ignore invalid opcodes because they freeze the CPU. You can simulate BGB ignoring them manually, but there's no point.

In the latest release of BGB, you can turn off the debugger popping up constantly when one is hit by going to the Options (F11), Exceptions tab, and uncheck "Break on invalid opcodes". (Then click "OK" or "Apply".)
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

Krys3000

  • French living dexer
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Head admin of the PRAMA Initiative
    • View Profile
    • PRAMA Initiative - Main french Pokémon glitch website
Re: BGB and invalid opcodes.
« Reply #2 on: November 23, 2018, 01:34:08 am »
It would require a very bad quality emulator to ignore invalid opcodes. Fortunately, official material coming from big companies, like the Virtual Console, will not be that ba... WAIT
« Last Edit: November 23, 2018, 01:34:30 am by Krys3000 »

Admin of the PRAMA Initiative, the main french Pokémon glitch website
http://www.prama-initiative.com
“Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'” - Isaac Asimov

Parzival

  • Buyer beware: House comes with 3 free skeletons in a closet of your choice.
  • GCLF Member
  • *
  • Offline Offline
  • Gender: Male
  • This box intentionally left blank. ...wait...
    • View Profile
    • (null)
Re: BGB and invalid opcodes.
« Reply #3 on: November 23, 2018, 10:10:46 am »
hahahahahahahahahahahahahahahahahaha... yeah... somehow, we're better than Nintendo at emulating THEIR OWN s**t.
Ask me about betrayal.
Ask me about depression.
Ask me about death.
Ask me about destruction.
Ask me about hardship.
I've been through s**t.
If you need to talk to someone, my PM inbox is always open.

ALERT: THE CRA TO TAKE BACK NET NEUTRALITY WILL EXPIRE IN LESS THAN 5 DAYS!!! CLICK THE BANNER BELOW TO JOIN THE FIGHT! NOW MORE THAN EVER, WE NEED YOUR HELP!