Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,488,707
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-26-24 05:34 PM
Guest: Register | Login

0 users currently in ROM Hacking | 5 guests | 1 bot

Main - ROM Hacking - Will FCEUX 2.1.# Ever Display $5C00-$5FFF Properly??? >:-( New thread | New reply

Pages: 1 2

infidelity
Posted on 09-27-12 09:23 PM Link | Quote | ID: 152500


Fuzz Ball
Level: 66

Posts: 268/968
EXP: 2368106
Next: 93745

Since: 05-24-07

Last post: 959 days
Last view: 815 days
My Zelda hack is running on mapper 5, *MMC5* and i'm going to be using the ExRAM $5104 feature.

Currently, and for awhile, i've been using FCEUX 2.1.2 for my hacking. I obviously know how to setup $5104 properly for what i want, which is "CPU Access Mode* aka A902 8D0451

Now, when i insert that code into my HW Bank, and i try to change any portion of RAM from $5C00-$5FFF, it always reverts back to FF.

So I sniffed around online, and found some sort of answer, that it's emulator specific i believe, that it just doesnt display what you want there, but in actuallity, it does work.

So with my code A902 8D0451, i then added the following...

AD005C 8D2001 = look at the value in $5C00, and store it into $120.

So, i goto $120, and boom, there is FF! I then goto $5C00, and type in 88 *again, doing that just makes FF return in $5C00* I go back to $120, and boom, there is 88!

So i thought maybe the version of FCEUX i have is too old. So i obtained FCEUX 2.1.5. I did all the same procedures, but still $5C00-$5FFF always display FF when you have $5104 activated.

So i ask, will there ever be a fix? I really don't want to switch emulators to have a properly displayed $5C00-$5FFF.

Thank you for your time, and for whatever answers you may have on this subject. :-)

-infidelity

za909
Posted on 09-27-12 10:39 PM Link | Quote | ID: 152502


Cheep-cheep
Level: 32

Posts: 145/196
EXP: 189078
Next: 17364

Since: 04-27-11

Last post: 3053 days
Last view: 2764 days
Yeah, it might just be too old...The version I have doesn't even display anything between $4000 and PRG-ROM.

snarfblam
Posted on 09-28-12 12:10 AM (rev. 3 of 09-28-12 12:10 AM) Link | Quote | ID: 152503


Tektite
Level: 18

Posts: 26/54
EXP: 26413
Next: 3484

Since: 03-10-12

Last post: 3870 days
Last view: 2820 days
Everything from $4018 to $5FFF is a little wacky. Ideally, FCEUX should be able to edit this RAM, but supporting this rarely-used feature was presumably a very low priority. In fact, here is your culprit straight from the FCEUX source code:


uint8 GetMem(uint16 A) {
if ((A >= 0x2000) && (A < 0x4000)) {
switch (A&7) {
case 0: return PPU[0];
case 1: return PPU[1];
case 2: return PPU[2]|(PPUGenLatch&0x1F);
case 3: return PPU[3];
case 4: return SPRAM[PPU[3]];
case 5: return XOffset;
case 6: return RefreshAddr&0xFF;
case 7: return VRAMBuffer;
}
}
else if ((A >= 0x4000) && (A < 0x6000)) return 0xFF; //fix me
if (GameInfo) return ARead[A](A);
//adelikat: 11/17/09: Prevent crash if this is called with no game loaded.
else return 0;
}

Note the line that says "fix me". It should be easy to hack in a simple MMC5-specific solution. You just need a proficient C++ programmer...

kuja killer
Posted on 09-28-12 01:53 AM Link | Quote | ID: 152505


Level: 55

Posts: 306/628
EXP: 1243903
Next: 70286

Since: 03-20-07
From: Lake Havasu City, Arizona

Last post: 282 days
Last view: 7 days
adelikat is the person who does all the stuff to fceux, but he's not a member, or visits acmlm board.

The only way to possibly contact him is on the TASvideos forum.
I will do it for you though and see if i manage to get a reply or not.

He'll see this thread soon hopefully.

infidelity
Posted on 09-28-12 02:20 AM Link | Quote | ID: 152506


Fuzz Ball
Level: 66

Posts: 269/968
EXP: 2368106
Next: 93745

Since: 05-24-07

Last post: 959 days
Last view: 815 days
Thank you all for the responses. If nothing can be done, ill just have to pre-determine what i want that area to contain, and jot it all down in notepad. :-p Again the entire area works for me.

kuja killer
Posted on 09-28-12 02:21 AM Link | Quote | ID: 152507


Level: 55

Posts: 307/628
EXP: 1243903
Next: 70286

Since: 03-20-07
From: Lake Havasu City, Arizona

Last post: 282 days
Last view: 7 days
craaaap, adelikat said he doesn't work on FCEUX anymore... what are the freaking odds!!

But he was for so many years though...

He told me to ask someone named "AnS" now.... so i'll see what i can do...

Thanatos-Zero
Posted on 09-28-12 07:05 AM Link | Quote | ID: 152508


Nipper Plant
Level: 45

Posts: 270/423
EXP: 652860
Next: 7304

Since: 11-25-08
From: Germany - Rheinlandpfalz - Wittlich - Zur Phillippsburg 25

Last post: 1091 days
Last view: 1054 days
Hey Infidelity.
You can ask AnS yourself, when you do not mind to make another account.
http://tasvideos.org/forum/profile.php?mode=viewprofile&u=1866

____________________
I was a prisoner enclosed in the void, were everything might end up just as myself.
There I was called the death in the void, but after a long sleep my drill was ready to pierce the void.
I came back... to guide those who are in doubt and to crush any corrupted mind.
"Just who in the hell do you think I am?!".

infidelity
Posted on 09-28-12 04:23 PM Link | Quote | ID: 152511


Fuzz Ball
Level: 66

Posts: 270/968
EXP: 2368106
Next: 93745

Since: 05-24-07

Last post: 959 days
Last view: 815 days
Thank You kuja! And Thank You Thanatos for the link. Next time i can steal wifi ill check the link. :-)

kuja killer
Posted on 09-28-12 11:05 PM (rev. 2 of 09-28-12 11:06 PM) Link | Quote | ID: 152516


Level: 55

Posts: 308/628
EXP: 1243903
Next: 70286

Since: 03-20-07
From: Lake Havasu City, Arizona

Last post: 282 days
Last view: 7 days
https://sourceforge.net/p/fceultra/bugs/545/

here's the reply i got, he said he fixed it.

infidelity
Posted on 09-28-12 11:35 PM Link | Quote | ID: 152517


Fuzz Ball
Level: 66

Posts: 271/968
EXP: 2368106
Next: 93745

Since: 05-24-07

Last post: 959 days
Last view: 815 days
r2687, is that an incomplete or uncompiled version? I know the next official release will be 2.1.6, and i hope i read this new feature right, that you can see logged code/data in RAM?! Thank you for posting on my behalf! :-) Ill goggle r2687 tonight.

kuja killer
Posted on 09-29-12 12:18 AM (rev. 4 of 09-29-12 12:23 AM) Link | Quote | ID: 152518


Level: 55

Posts: 309/628
EXP: 1243903
Next: 70286

Since: 03-20-07
From: Lake Havasu City, Arizona

Last post: 282 days
Last view: 7 days
no need to google.

it'll always be updated here, it's NOT 2687 yet, it says 2680... so it'll come soon

http://fceux.com/zip

Oh my freaking god i HATE how the hex editor/debugger looks now all of a sudden... yuck!!
what the freaking damn hell did this person do...

Im just sticking to the older 2.1.3 - i aint dare using this new version... if AnS was the one responsible for changing the way the hex editor/debugger looks...
i DO NOT approve in my opinion...
no offense to him ... it shouldn't have been messed with.

Thanatos-Zero
Posted on 09-29-12 12:35 AM Link | Quote | ID: 152519


Nipper Plant
Level: 45

Posts: 272/423
EXP: 652860
Next: 7304

Since: 11-25-08
From: Germany - Rheinlandpfalz - Wittlich - Zur Phillippsburg 25

Last post: 1091 days
Last view: 1054 days
@Kuja Killer
If this is bugging you that much, why don't you ask AnS?
He could change it back you know.

____________________
I was a prisoner enclosed in the void, were everything might end up just as myself.
There I was called the death in the void, but after a long sleep my drill was ready to pierce the void.
I came back... to guide those who are in doubt and to crush any corrupted mind.
"Just who in the hell do you think I am?!".

infidelity
Posted on 09-29-12 12:37 AM Link | Quote | ID: 152520


Fuzz Ball
Level: 66

Posts: 272/968
EXP: 2368106
Next: 93745

Since: 05-24-07

Last post: 959 days
Last view: 815 days
Oh man, im scared to see what it looks like later tonight! :-O

kuja killer
Posted on 09-29-12 12:59 AM Link | Quote | ID: 152521


Level: 55

Posts: 310/628
EXP: 1243903
Next: 70286

Since: 03-20-07
From: Lake Havasu City, Arizona

Last post: 282 days
Last view: 7 days
Nah thantas... like i said, I aint even going to bother.

I'm just staying with 2.13 - but that's my opinion.

infidelity
Posted on 10-02-12 12:12 PM Link | Quote | ID: 152572


Fuzz Ball
Level: 66

Posts: 276/968
EXP: 2368106
Next: 93745

Since: 05-24-07

Last post: 959 days
Last view: 815 days
I tried the emu for a minute. I cant use it due to it being horrificly slow on my laptop, and thats with no additional features running along with it. I do see what you mean with the features, but its cosmetic. I dont like the new things added to the log.

Thanatos-Zero
Posted on 10-02-12 05:38 PM Link | Quote | ID: 152575


Nipper Plant
Level: 45

Posts: 274/423
EXP: 652860
Next: 7304

Since: 11-25-08
From: Germany - Rheinlandpfalz - Wittlich - Zur Phillippsburg 25

Last post: 1091 days
Last view: 1054 days
THis is another reason to tell AnS.

____________________
I was a prisoner enclosed in the void, were everything might end up just as myself.
There I was called the death in the void, but after a long sleep my drill was ready to pierce the void.
I came back... to guide those who are in doubt and to crush any corrupted mind.
"Just who in the hell do you think I am?!".

Zieldak
Posted on 11-30-12 10:17 AM Link | Quote | ID: 152942


Crow
Level: 42

Posts: 80/387
EXP: 512410
Next: 8952

Since: 12-01-11
From: Hungary

Last post: 1311 days
Last view: 1202 days
FCEUX 2.2.0 released!



Full-sized picture here

FCEUX is a NES/FC/FDS emulator providing the most powerful toolset for TASing, debugging, romhacking, Lua scripting and more. The new release fixes a lot of bugs, adds support for new mappers and brings many new features.

Full changelog here

Debugger improvements:

Hex Editor displays 0x5000-0x5FFF contents!

Numerous usability enhancements
“CPU cycles” and “Instructions” counters, and respective breakpoints
Fixed and improved Symbolic debug (Names and Comments display)
Allow Frame Advancing when Debugger is in breakpoint state
Double-click on any address prompts “Add Breakpoint”
“ROM offsets” option
Bookmarks naming and quick adding with a single-click on any address
Trace Logger improvements:

“Symbolic trace” option
“RTS” instructions now output the subroutine address/name
“Use Stack Pointer for code tabbing (nesting visualization)” option
Additional logging options
Tracer now auto-updates its window when the user pauses the game
Code/Data Logger improvements:

Now can log data access from RAM code
“Save Unused Data” button
Now can also log graphics access
In addition, this version introduces the new tool called TAS Editor, which allows you to create deterministic scenarios of playing and thus test the game behavior.

Also, the debugging documentation was updated, describing all the new features as well as some old tricks, for example, how to create custom breakpoints and write automatic handlers for them using Lua scripting.

http://fceux.com

(From Romhacking.net)

infidelity
Posted on 11-30-12 12:13 PM Link | Quote | ID: 152945


Fuzz Ball
Level: 66

Posts: 307/968
EXP: 2368106
Next: 93745

Since: 05-24-07

Last post: 959 days
Last view: 815 days
WOW! :-D Thank You Zieldak for posting this! I literaly just woke up, and seeing this news just made my day, and i havent rolled out of bed yet! Cannot wait to obtain this! The logging of code stored in RAM is an awesome feature, Zelda heavily uses RAM!

infidelity
Posted on 12-06-12 06:23 PM (rev. 2 of 12-06-12 06:25 PM) Link | Quote | ID: 153022


Fuzz Ball
Level: 66

Posts: 309/968
EXP: 2368106
Next: 93745

Since: 05-24-07

Last post: 959 days
Last view: 815 days
I think 2.2.0 has a glitch. I noticed in my hack, that Link is visible when entering/exiting the top/bottom dungeon doors in the dungeons. I loaded an original Zelda rom, and it still happened. Can anyone confirm the same glitch?

snarfblam
Posted on 12-06-12 11:37 PM Link | Quote | ID: 153026


Tektite
Level: 18

Posts: 30/54
EXP: 26413
Next: 3484

Since: 03-10-12

Last post: 3870 days
Last view: 2820 days
Umm... http://acmlm.kafuka.org/board/thread.php?pid=153025#153025
Pages: 1 2


Main - ROM Hacking - Will FCEUX 2.1.# Ever Display $5C00-$5FFF Properly??? >:-( New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.028 seconds. (342KB of memory used)
MySQL - queries: 107, rows: 147/147, time: 0.018 seconds.