bsnes-plus and xkas-plus (new debugger and assembler)

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
alekmaul
Posts: 54
Joined: Tue Apr 24, 2012 12:22 pm
Contact:

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by alekmaul » Sat Apr 30, 2016 11:44 pm

I have a stupid question regarding this great emulator.
I don't know how I did that but now, I have a FPS display on top left of the screen and I want to remove it.
Does someone know where I can find the keys assignment regarding such features ?

infidelity
Posts: 339
Joined: Fri Mar 01, 2013 4:46 am

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by infidelity » Sun May 01, 2016 12:50 pm

Would like to know if development is still going on with this emulator/debugger? If so may I ask, will we see a feature to actually "refresh" the logged areas of the ROM? This is beneficial in seeing what is currently being read by the snes, and what is not. Also, any chance on a different color for when you edit the ROM of the game? The logged values are RED, but when you overwrite the ROM, it's the same color as well. Please and thank you, great job on this!

Revenant
Posts: 442
Joined: Sat Apr 25, 2015 1:47 pm
Location: FL

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by Revenant » Sun May 01, 2016 2:46 pm

alekmaul wrote:I have a stupid question regarding this great emulator.
I don't know how I did that but now, I have a FPS display on top left of the screen and I want to remove it.
Does someone know where I can find the keys assignment regarding such features ?
That seems strange, since the only place bsnes-plus attempts to display a FPS counter is on the status bar (bottom right). Can you post a screenshot?
infidelity wrote:Would like to know if development is still going on with this emulator/debugger?
Slowly, but yes. In between my job and other projects I'm hoping to resume development sometime soon (including more memory view improvements/fixes), so stay tuned.

User avatar
HihiDanni
Posts: 186
Joined: Tue Apr 05, 2016 5:25 pm

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by HihiDanni » Sun May 01, 2016 3:05 pm

While we're at it, a quick bug report. The edit boxes for the register values are too small on my machine:
Screenshot_20160501_180116.png
Screenshot_20160501_180116.png (5.9 KiB) Viewed 3809 times
SNES NTSC 2/1/3 1CHIP | serial number UN318588627

Revenant
Posts: 442
Joined: Sat Apr 25, 2015 1:47 pm
Location: FL

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by Revenant » Mon May 02, 2016 8:08 am

Looks like a(nother) case of Qt's font metrics having problems. The register edit boxes are supposed to be sized for n+1 digits.

Do the memory viewer and the main debug window have sane default sizes, at least?

uVSthem
Posts: 40
Joined: Thu Feb 26, 2015 2:37 am

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by uVSthem » Mon May 02, 2016 8:33 am

Emu-CR posted new builds of BSNES Plus and Classic. It doesn't say if it is Accuracy or compatibility.

http://www.emucr.com/2016/05/bsnes-plus ... 60502.html

http://www.emucr.com/2016/05/bsnes-clas ... 60502.html

Revenant
Posts: 442
Joined: Sat Apr 25, 2015 1:47 pm
Location: FL

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by Revenant » Mon May 02, 2016 9:33 am

I assume compatibility, since that's the default profile when building.

uVSthem
Posts: 40
Joined: Thu Feb 26, 2015 2:37 am

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by uVSthem » Mon May 02, 2016 9:38 am

Revenant wrote:I assume compatibility, since that's the default profile when building.
Thanks for the reply. I'll hold out for a x64 classic accuracy build.

User avatar
HihiDanni
Posts: 186
Joined: Tue Apr 05, 2016 5:25 pm

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by HihiDanni » Mon May 02, 2016 3:39 pm

Revenant wrote:Looks like a(nother) case of Qt's font metrics having problems. The register edit boxes are supposed to be sized for n+1 digits.

Do the memory viewer and the main debug window have sane default sizes, at least?
I did some tests by changing the font size via qt4-config and it looks like those fields do respond to changes, but the calculation doesn't seem quite right. I went from font point size 9 to 7 and most fields shrunk so much that they didn't even display a single full digit. I might look into this later at some point.

The memory viewer is fine. I think it might not have started out that way though? I remember resizing the window to make it wider and it seems to remember this window size. The main debug window is just a smidgeon too small to avoid wrapping the step-thru debug messages onto two lines, and unfortunately it seems this particular window doesn't remember the size I give it. I could probably work around this using a KWin window rule override.

I think part of the issue here might be that the calculation doesn't account for padding. It looks like the KDE Breeze style has a bit more padding in the textboxes than what Windows uses.
SNES NTSC 2/1/3 1CHIP | serial number UN318588627

Revenant
Posts: 442
Joined: Sat Apr 25, 2015 1:47 pm
Location: FL

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by Revenant » Mon May 02, 2016 4:59 pm

Deleting the value "geometry.memoryEditor" in ~/.bsnes/bsnes-qt.cfg should revert the memory editor to its original size, assuming I remembered the path correctly.

At some point I'll probably experiment with using proper size hints instead of hacky fixed sizes like a few other components of the UI already were (which is why I mentioned those windows in particular).

alekmaul
Posts: 54
Joined: Tue Apr 24, 2012 12:22 pm
Contact:

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by alekmaul » Tue May 03, 2016 10:51 am

Revenant wrote:
alekmaul wrote:I have a stupid question regarding this great emulator.
I don't know how I did that but now, I have a FPS display on top left of the screen and I want to remove it.
Does someone know where I can find the keys assignment regarding such features ?
That seems strange, since the only place bsnes-plus attempts to display a FPS counter is on the status bar (bottom right). Can you post a screenshot?
Strange, I reboot my PC and the frame rate is no more display on screen :O !
Next time, I will do a screenshot :/

User avatar
Sharpy
Posts: 4
Joined: Wed Jul 20, 2016 7:28 am

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by Sharpy » Wed Jul 20, 2016 7:39 am

I'm trying to compile bsnes-plus from CarterLi's source code which includes the nice 6xBRZ filter but, I'm having trouble getting it to build in Qt5 with the newer Qtcore in MSYS2 on my Windows x64 PC. I'm new to this side of things.

uVSthem
Posts: 40
Joined: Thu Feb 26, 2015 2:37 am

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by uVSthem » Wed Jul 20, 2016 5:26 pm

Does anyone know where to get a Windows, 64-bit accuracy build of the latest BSNES Classic?

qwertymodo
Posts: 774
Joined: Mon Jul 02, 2012 7:46 am

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by qwertymodo » Wed Jul 20, 2016 8:58 pm

I don't have a 64-bit build environment up and running, but here's the latest git commit built for x86 https://drive.google.com/uc?export=down ... lpLakhJQ1k

uVSthem
Posts: 40
Joined: Thu Feb 26, 2015 2:37 am

Re: bsnes-plus and xkas-plus (new debugger and assembler)

Post by uVSthem » Thu Jul 21, 2016 6:36 am

qwertymodo wrote:I don't have a 64-bit build environment up and running, but here's the latest git commit built for x86 https://drive.google.com/uc?export=down ... lpLakhJQ1k

Thanks, hopefully someone can put up the x64 build in the future.

Post Reply