Dwedit's Board

Enjoy the board

You are not logged in.

Announcement

User passwords may have been corrupted, if you can't log in, use the "Forgot Password" feature. If you still can't log in, contact me and I can try to manually reset your password.

#1 2008-07-19 1:54:52 pm

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Pocketnes 11-10-2008

Changes from 11-10-08 version
* Hack to make Bill & Ted, Rocket Ranger etc work
* Faster CPU core
* Some CPU instructions have more accurate timing (improves Battletoads)
* Fixed the stupid bug where you scrolled to the bottom in unscaled mode and it crashes

Changes from 7-31-08 version
* Fixed cheatfidner
* Added double nop instruction, fixes Puzznic

Changes from 7-23-08 version:
* Fixed games which do not initially have last rom page mapped into reset vector area
* Fixed compressed Bio Miracle Upa
* Fixed critical bug in save system I accidentally introduced

Changes from 7-22-08 version:
* Bugfixes to vertical scrolling change with screen off

Changes from 7-21-08 version:
* Bugfixes to save system, preventing save corruption

Changes from 7-19-08 version:

* New BG scaler
* Supports trainers on roms
* More accurate MMC3 emulation
* Some scrolling fixes
* Fully automatic speedhacks
* Loads savestates from old versions of PocketNES
* No longer chokes when loading corrupted savestates
* ASM code to load roms moved to C
* Supports illegal instruction LDAX ($nn),Y

(Oldest version had 203 downloads)
(Next old version had 56 downloads)
(Then 79 downloads)
(Then 417 downloads)
(Then 26 downloads)
(Then 1248 downloads)
Don't hotlink the download link. I keep deleting old versions, so old links break

Last edited by Dwedit (2008-12-17 10:50:56 pm)


Attachments:
Attachment Icon pocketnes_11_10_08.zip, Size: 37,875 bytes, Downloads: 3,597
Attachment Icon source_pocketnes_11_10_08.7z, Size: 123,205 bytes, Downloads: 1,309

"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#2 2008-07-20 7:08:14 pm

rememberthe8bit
End user
From: Rochester, NY
Registered: 2008-02-23
Posts: 21
Website

Re: Pocketnes 11-10-2008

Awesome! What does the new scaler do?

Offline

#3 2008-07-20 9:36:18 pm

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

Watch Zelda 2's intro in both versions and you'll see the difference.


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#4 2008-07-21 6:20:35 am

rememberthe8bit
End user
From: Rochester, NY
Registered: 2008-02-23
Posts: 21
Website

Re: Pocketnes 11-10-2008

I noticed that in the last few releases that game sharing via multiboot has been disabled. Is there any way you could add this back in?

(P.S. The version number says "DO NOT RELEASE" in this version.)

Offline

#5 2008-07-21 9:36:02 am

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

Yeah, this wasn't exactly a proper release, I'll release the real thing within two days.
Forgot to change the version number and all that.
Oh yeah, there's also a few save corruption bugs that happen if the configuration file's position changes.  Normally it's at the top, so it never moves, but some PocketNES save files don't have it there.  I've already fixed the bugs in my code, haven't released yet.
Right now what's holding it up is that savestates for Magic of Scheherazade fail.


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#6 2008-07-21 10:19:34 am

rememberthe8bit
End user
From: Rochester, NY
Registered: 2008-02-23
Posts: 21
Website

Re: Pocketnes 11-10-2008

Thanks for all the work you've put into this emulator.

Offline

#7 2008-07-21 5:47:18 pm

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

yeah, updated it...


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#8 2008-07-22 9:44:34 am

Roli
Guest

Re: Pocketnes 11-10-2008

Thanks for your great work!
One thing: When I choose "Exit" to select another NES game from the list the Gameboy crashes (screen gets black, LED´s are off). That worked with the previous version and my M3 card.

#9 2008-07-22 9:52:00 am

wraggster
Guest

Re: Pocketnes 11-10-2008

Thanks as always for the continuing support of the GBA Scene, ive also permanently bookmarked this forum now so i can post any release as it happens :)

#10 2008-07-22 9:52:35 am

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

The "Restart" command is intended for selecting other games, and the "Exit" command is intended for returning to a flash cartridge menu.
Right now, the Exit command is using some experimental half-baked buggy cartridge resetting code, so don't use it until I revert it back.


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#11 2008-07-23 10:36:19 am

Memory
Guest

Re: Pocketnes 11-10-2008

Thank you . . . gbatemp.net

#12 2008-07-23 11:13:10 am

happyED
Guest

Re: Pocketnes 11-10-2008

Is there some way to opdate to get Nintendo world championship to work;)

#13 2008-07-23 1:29:14 pm

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

Nintendo World Championship WAS supported a few versions ago, I wonder what broke...

Edit: All fixed.  Another stupid bug gone.

Reminder: press start an player 2's controller to get past the title screen.


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#14 2008-07-23 5:46:40 pm

Daniel
Guest

Re: Pocketnes 11-10-2008

Nice fixes. Ninja Gaiden 3 still doesn´work for me though.

#15 2008-07-23 5:51:20 pm

Chevette
Member
Registered: 2008-07-23
Posts: 1

Re: Pocketnes 11-10-2008

Dwedit: Thanks for the great work on PocketNES. It's a wonderful emulator which I've enjoyed for some time now.
Is there any chance that you could get HighSpeed and PinBot (Williams Pinball game for the NES) running. They run but are full of graphic glitches. They are 2 of my all time favorite NES games. Thanks for your hard work.....we really appreciate it.

Offline

#16 2008-07-24 12:32:43 am

happyED
Guest

Re: Pocketnes 11-10-2008

Thanks did not know about the 2P butten pressing:)

Great job with pocketNES

#17 2008-07-28 2:52:28 pm

liuxiaocheng
Member
From: China
Registered: 2007-10-11
Posts: 7

Re: Pocketnes 11-10-2008

Dear God Dwedit large, very happy to see your new works. It is also very comfortable with. But cheating does not seem to be spent in the hope of repair. Thank you very much!

Offline

#18 2008-07-31 6:05:22 am

TheStorm
Member
Registered: 2007-11-23
Posts: 3

Re: Pocketnes 11-10-2008

I was wondering if the Pocketpc version was still in devolopment and if it was gaining from your additions?

Offline

#19 2008-07-31 10:13:07 am

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

The PocketPC program is completely unrelated to this, they only have the same name.


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#20 2008-08-01 4:39:57 am

maxzhou88
Member
From: shenzhen china
Registered: 2006-10-12
Posts: 19
Website

Re: Pocketnes 11-10-2008

Where is the source code to this version of Pocketnes?


The such beautiful days can arrive once again in my life?
72299.gif

Offline

#21 2008-08-01 11:18:29 am

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

Uploaded


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#22 2008-08-01 3:03:48 pm

liuxiaocheng
Member
From: China
Registered: 2007-10-11
Posts: 7

Re: Pocketnes 11-10-2008

Dewedit boss, just a test version of the 7.31, CHEAT function can not be used or ah. Moderators in the hope that the next version of the amendment. Thanks!

Offline

#23 2008-08-01 8:25:57 pm

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

Really?  I thought the cheat finder was supposed to still work, and only break when playing compressed games.
Cheat finder seems to work fine with the GCC build.

edit: Weird!  The cheat finder is indeed broken!  What the hell happened?

Edit again...
Found the bug...

u8 *get_end_of_cache()
{
	int chr_table_size;
	int prg_table_size;
	
	u8 *end_of_cache=end_of_exram;

	breakpoint();

	if (!fourscreen)
	{
		end_of_cache+=2048;
		end_of_cache+=4096;
	}
	if (vrompages>0)
	{
		int chr_table_size=vrompages*8*4;
		if (mapper==TQROM)
		{
			chr_table_size*=2;
		}
		if (has_vram==0)
		{
			if (!fourscreen)
			{
				end_of_cache+=8192;
			}
		}
	}
	else
	{
		chr_table_size=8*4;
	}
	end_of_cache-=chr_table_size;
	prg_table_size=rompages*2*4;
	end_of_cache-=prg_table_size;
	
	breakpoint();
	return end_of_cache;
}

What is wrong in this picture?
That would be this line: "int chr_table_size=vrompages*8*4;"
I accidentally created a second copy of a variable, and that never propagates the change back to the variable outside that scope.  So then it adds uninitialized data later on, and turns off the cheatfinder because it thinks there's not enough memory.
That's a big OOPS.
I'll go release the fixed code...

Edit:
Fixed version uploaded!


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#24 2008-08-01 11:09:23 pm

liuxiaocheng
Member
From: China
Registered: 2007-10-11
Posts: 7

Re: Pocketnes 11-10-2008

Dwedit thank the boss in his busy schedule of repair so soon, a worship!

Offline

#25 2008-08-04 7:03:12 am

maxzhou88
Member
From: shenzhen china
Registered: 2006-10-12
Posts: 19
Website

Re: Pocketnes 11-10-2008

I like the unoffical version of the PockentNES998, because of its relatively stable.

Last edited by maxzhou88 (2008-08-04 7:22:04 am)


The such beautiful days can arrive once again in my life?
72299.gif

Offline

#26 2008-08-04 9:58:27 am

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

Even if the old version is "Stable", and never gets updated, it doesn't incorporate the huge speedup from copying the fixed bank of games into VRAM.


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#27 2008-08-04 12:35:42 pm

maxzhou88
Member
From: shenzhen china
Registered: 2006-10-12
Posts: 19
Website

Re: Pocketnes 11-10-2008

This is a long time ago things for the version of PocketNES998 and PocketNES999 that can't play FF3.nes(chinese version used mapper4).
Web address: http://www.dwedit.org/dwedit_board/view … 1911#p1911
I have changed the source code of map4.s for PocketNES can run FF3 in 2006-10-13

Last edited by maxzhou88 (2008-08-04 6:01:15 pm)


Attachments:
Attachment Icon map4(modified for 998).s, Size: 5,658 bytes, Downloads: 289
Attachment Icon map4(Original for 998).s, Size: 5,457 bytes, Downloads: 353

The such beautiful days can arrive once again in my life?
72299.gif

Offline

#28 2008-08-04 1:13:18 pm

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: Pocketnes 11-10-2008

Does the newest version support it?  What's the filename on that game?
Does adding FF3 break the DQ4 pirate?


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

#29 2008-08-04 3:23:14 pm

maxzhou88
Member
From: shenzhen china
Registered: 2006-10-12
Posts: 19
Website

Re: Pocketnes 11-10-2008

Newest version support FF3(c).nes, because Kuwanger had fixed map4.s (I think)

The name of the FF3(C) is Final Fantasy 3 (C) [By WaiXing Co.].nes

Last edited by maxzhou88 (2008-08-04 6:00:18 pm)


The such beautiful days can arrive once again in my life?
72299.gif

Offline

#30 2008-08-05 10:42:27 am

Kunio
Guest

Re: Pocketnes 11-10-2008

thanks for the news, it's my favorite emu in gba
with the new release, I have a problems with renegade and nekketsu kouha kunio-kun (japanese version of renegade)
crash after of begin the gameplay 1p (and in spartan x/kung fu too)

I hope that in a future you could improve these details, thank you very much for the update.

Registered users online in this topic: 0, guests: 2
[Bot] ClaudeBot,
[Bot] AhrefsBot

Board footer

Powered by FluxBB
Modified by Visman