Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

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: Topic about ASM hack to program ASM has been locked.  (Read 253 times)

0 Members and 1 Guest are viewing this topic.

joshuarpl

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • Oh snap, I destroyed my save file!
    • View Profile
Topic about ASM hack to program ASM has been locked.
« on: November 29, 2018, 01:24:17 pm »
I am sorry to say, but a staff member was a dump and locked my last topic, As this prevents anyone, even me from doing replies there, I had to write this as a topic.

Also, please don't ban me.
Maybe I should fiddle around with random addresses and see what counts :/
If I am necro-bumping, I am sorry.
4 4 scares me on a deep emotional level I can't describe.

Epsilon

  • Member+
  • *
  • Offline Offline
    • View Profile
Re: Topic about ASM hack to program ASM has been locked.
« Reply #1 on: November 29, 2018, 01:48:10 pm »
I am sorry to say, but a staff member was a dump

Do not disrespect staff. The staff member in question did the right thing, the topic was leading no where, and will most likely lead nowhere here too.




Maybe I should fiddle around with random addresses and see what counts :/

You'll have no luck simply toying with things you have little knowledge of. In the locked topic, both myself and ISSOtm provided you with plenty of resources to get started. Members of the forums are usually apt at LR35902 and can answer questions should it become necessary.
« Last Edit: November 29, 2018, 01:48:27 pm by Epsilon »
grouchy

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: Topic about ASM hack to program ASM has been locked.
« Reply #2 on: November 29, 2018, 03:21:29 pm »
He's been disrespectful and rude since he got here. I say we ban him, but that's not my call.

Learn GBz80ASM first. That's the first step, as that's the main thing you'll use.
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.

Evie the Bird Mother ❤✿

  • Head Administrator
  • *****
  • Offline Offline
    • View Profile
Re: Topic about ASM hack to program ASM has been locked.
« Reply #3 on: November 29, 2018, 06:20:54 pm »
I am sorry to say, but a staff member was a dump and locked my last topic, As this prevents anyone, even me from doing replies there, I had to write this as a topic.

Also, please don't ban me.
Maybe I should fiddle around with random addresses and see what counts :/

I'm sorry you didn't get what you were looking for.

I think the original request may have been seen as a tall order (there are memory editors but nothing that simulates writing the assembly lines exactly) so it may have been why you were only linked to tutorials.

The easiest thing to approximate what you want is to set up a memory editor (be it TheZZAZZGlitch's, offgao's, Debug Yellow ROM hack), and then use it to write the bytes as hexadecimal digits, and look up the equivalent ASM instructions table.

So, for instance you'll need to know how to store values into registers and registers into addresses. Ld a, xx is 3E XX on the instruction table. Also with help of the instruction table, Getting Mew is 3E 15 EA 59 D0 C9 (or ld a, $15 ld (d059),a ret). This also provides a brief explanation on which registers do what, note there are technical terms you have to look up, but the basic idea is that the registers (a, b, de, hl, etc.) can store values, registers can go into RAM addresses, you can run other addresses, there are different types of hardware states and flags, and so on.

Setting up one of the first two memory editors will let you write bytes into the memory. TheZZAZZGlitch's memory editor lets you run the code you write directly, with offgao's memory editor you have to run it in another way, for instance, you could use two arbitrary code execution items. You could have 8F run the memory editor and -g m for your experimental code.

For instance, for -g m, place C3 22 D3 at DA47, DA48, DA49. This will make it run D322, where you can add the code you want.

https://glitchcity.info/wiki/TheZZAZZGlitch%27s_memory_editor
https://glitchcity.info/wiki/Offgao%27s_memory_editor
https://www.youtube.com/watch?v=BkIDPwkeGWs (Debug Yellow)

Setting up the memory editors is time consuming (unless you use a modified ROM like debug Yellow) and things can go wrong, so if you can I suggest importing a save file. I have a few with the offgao memory editor set up so you can play around with that.

https://sites.google.com/site/torchickens2/pokemon-save-files

Pokemon Yellow offgao memory editor.sav
Pokémon Red offgao memory editor.sav

Hope this helps!

(Image © Sanrio, Nintendo, HAL Laboratory)

Always believe in yourself first. ✿ Aspiring to be a mother. 🦋

✿ Hi, I'm Evie. Sex male, and spiritually doesn't believe 'male'/'female' needs to be defined; lives more stereotypically like a woman. ✿ 🦋

Please note:

While I'm one of the staff who runs the site, Abwayax is the founder and manages the technical side of the site (specifically the server, but I can do forum/wiki stuff if you like, I suggest if you do to make a thread about it to gather a consensus). Still feel free to contact me about higher site issues though; I will forward them to Abwayax if needed. :)

Forgiveness.

Thank you Nyapon for this lovely artwork. :3

Sherkel

  • The first unquiring one to bare arms
  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Is it an illusion, or a tower built on sand?
    • View Profile
Re: Topic about ASM hack to program ASM has been locked.
« Reply #4 on: November 29, 2018, 07:55:02 pm »
I am sorry to say, but a staff member was a dump and locked my last topic, As this prevents anyone, even me from doing replies there, I had to write this as a topic.

Also, please don't ban me.
Maybe I should fiddle around with random addresses and see what counts :/
Really? Really?

Maybe I could have been more specific, but as Epsilon said, I was addressing everyone who had posted in the previous thread to some degree. Re-read it, in addition to the explanation Evie painstakingly took her time to give. What you are asking for already exists.

+40 WOM, for acting rude toward members who tried to help you, staff and normal members alike, not to mention a series of posts beforehand that showed a complete lack of comprehension for the rules or a willingness to read them after being kindly directed to them both by myself and Isso. Further posts from your account will require moderator approval before this warning is revoked. However, you can still post.

Also, locking this.