Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitch
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

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!

Search Wiki

 

Search Forums

 

Author Topic: Need help with finding registers  (Read 165 times)

0 Members and 1 Guest are viewing this topic.

TheHooked8F

  • Unprofessional Weeb.
  • GCLF Member
  • Offline Offline
  • Gender: Male
  • The, the only, hooked 8F.
    • View Profile
Need help with finding registers
« on: April 09, 2017, 09:05:02 am »
I found this tidbit of information while scrolling through the 8F thread by ZZAZZ glitch.

Quote
Impressive. Great work on finding all those extra tricks and an alternative to k(y's code too!

I'm gonna re-post the CPU registers for D322 that you added as a caption in your video.

Quote
af = 6300 [a=63, f=00]
bc = 22B8 [b=22, c=B8]
de= 0001 [d=00, e=01]
hl= D322 [h=D3, l=22]
All flags reset

It got me wondering; how do you find the cpu registers for a certain value? If anyone knows, please tell me.
I caught an 8F the other day. What did you catch? A Magikarp?

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Wiki Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Need help with finding registers
« Reply #1 on: April 10, 2017, 04:28:19 am »
What do you mean ? How do you check the register's values at a certain point in execution ?
This can be done with the bgb emulator by placing a breakpoint where you want to examine the registers' contents.
Once the breakpoint is hit, the registers' values will be displayed in the upper-right corner of the debugger window.
"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 !)

TheHooked8F

  • Unprofessional Weeb.
  • GCLF Member
  • Offline Offline
  • Gender: Male
  • The, the only, hooked 8F.
    • View Profile
Re: Need help with finding registers
« Reply #2 on: April 10, 2017, 08:05:25 am »
Ah, thank you. This should help me in the future.
I caught an 8F the other day. What did you catch? A Magikarp?