NitroSwan - A WonderSwan emulator for NDS

plasturion

temporary hermit
Member
Joined
Aug 17, 2012
Messages
790
Trophies
1
Location
Tree
XP
2,361
Country
Poland
Mr Driller and Ganso Jajamaru-kun work even faster on DS Lite. However games like puyo puyo, card captor sakura are working same slow. I wonder why. I also tried to run Dicing Knight but it shows only some screen with testing SRAM. The log is: "Test SRAM #0...OK, TEST SRAM #1,#2,#3 NG!" I'm not using bios, maybe that's why. Anyway thanks for update. Time to move on DSi i guess. :)
 

CrashMidnick

Well-Known Member
Member
Joined
Jul 22, 2015
Messages
443
Trophies
0
Age
39
XP
1,763
Country
France
So I tested briefly all the romset (B&W and colour). I always saw improvements compared to the old release in terms of speed.

All games booted correctly except the following titles (black screen after bios, was the same with previous release) :

Bakusou dekatora densetsu
Beat mania
With you mitsumete Itai

Boots but white screen after selecting a game :
shagai pocket

Boots but no sound in game :
Turntablist - DJ battle

On DSi, I would says that around 40% of games are running at 60fps, 50% between 50/55 FPS and 10% below 50FPS. Really good for a 2nd release !

On DS fat and lite : This is half the speed above (average).

We can say that we have got a working WonderSwan emulator on the DSi and O3DS :) Thanks Flubba !
 

placebo_yue

Well-Known Member
Member
Joined
Aug 7, 2019
Messages
617
Trophies
0
Age
31
XP
970
Country
Argentina
Edit: tested on O3DS

Digimon Anode & Catode: considerable speedup in general, walking around is still slightly slow i think, and the graphics glitch a little, the in-battle map movement doesn't quite yet feel fullspeed but it's good, the battle cutscenes are much faster now. Overall the game is super playable.

Digimon Vpet game: considerable speedup, possibly full speed. Very minor glitches present in previous version remain, but the game is 100% playable with awesome speed on every screen

Digimon Tamers Battle Spirit 1.5: great speed, but serious flickering glitches on the in-battle HUD cover the whole screen. If that's fixed i believe the game is running nearly perfect

Final Fantasy: pretty sure the game is running 100% fullspeed. The dialogbox not covering crates and NPCs still happens, but it's not too bad. I assume after all this testing that graphical glitches weren't dealt with, only speed issues, right?

Final Fantasy 2: same speed as FF1, no graphical glitches noticed

Pocket Fighters: playable speed, small graphical glitches.

other stuff i noticed: the disable sprites/foreground/background options don't seem to do anything, not does the "B&W pallette". Also when changing anything on the settings menu, the app often crashes, not always but often and i haven't noticed a pattern to it yet.
 

CrashMidnick

Well-Known Member
Member
Joined
Jul 22, 2015
Messages
443
Trophies
0
Age
39
XP
1,763
Country
France
Edit: tested on O3DS

Digimon Anode & Catode: considerable speedup in general, walking around is still slightly slow i think, and the graphics glitch a little, the in-battle map movement doesn't quite yet feel fullspeed but it's good, the battle cutscenes are much faster now. Overall the game is super playable.

Digimon Vpet game: considerable speedup, possibly full speed. Very minor glitches present in previous version remain, but the game is 100% playable with awesome speed on every screen

Digimon Tamers Battle Spirit 1.5: great speed, but serious flickering glitches on the in-battle HUD cover the whole screen. If that's fixed i believe the game is running nearly perfect

Final Fantasy: pretty sure the game is running 100% fullspeed. The dialogbox not covering crates and NPCs still happens, but it's not too bad. I assume after all this testing that graphical glitches weren't dealt with, only speed issues, right?

Final Fantasy 2: same speed as FF1, no graphical glitches noticed

Pocket Fighters: playable speed, small graphical glitches.

other stuff i noticed: the disable sprites/foreground/background options don't seem to do anything, not does the "B&W pallette". Also when changing anything on the settings menu, the app often crashes, not always but often and i haven't noticed a pattern to it yet.
Yes I think re-writing the code into asm was his main goal to improve the speed. Problems such as missing text box, glitches and other few issues are still there but this emu is already in a very usable state :)
 
  • Like
Reactions: banjo2

FluBBa

Well-Known Member
OP
Member
Joined
Jan 16, 2004
Messages
155
Trophies
0
Age
47
Website
www.ndsretro.com
XP
1,320
Country
Yes I've only been converting the cpu core to arm asm. My only concern is that I break something, but only changing the cpu core means it's easy to find what is broken if that happens.
Edit: -"Boots but white screen after selecting a game : Shanghai Pocket"
Thanks! This is what I wanted to see, this is now fixed for the next release.
 
Last edited by FluBBa,

FluBBa

Well-Known Member
OP
Member
Joined
Jan 16, 2004
Messages
155
Trophies
0
Age
47
Website
www.ndsretro.com
XP
1,320
Country

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
21,898
Trophies
3
Location
Space
XP
11,059
Country
Norway
So after 2 months of coding I finally have something to show.
At least some of the games are playable but a DSi is recommended for better speed and more games can be loaded.
Both SRAM and EEPROM is emulated and support for loading and saving of them.
Boot ROM support but should not be needed to play games.
Basic sound emulation though no sample support yet.

Graphics can be a little glitchy depending on the game but this should be possible to fix.
Speed should be fixable to a high degree as well, I will be taking small steps so I can fix regressions if I break any games during optimizations.
No save states yet.
No mapping for vertical controls yet.

https://github.com/FluBBaOfWard/NitroSwan/releases/tag/v0.2.0
Oh wow, it's FluBBa! Love your work man. This release sure came out of nowhere. With your emulator dev experience this could indeed turn out to be something very impressive.
The Wonderswan was a cool system, shame most of the games are Japanese only.
 

placebo_yue

Well-Known Member
Member
Joined
Aug 7, 2019
Messages
617
Trophies
0
Age
31
XP
970
Country
Argentina
Outstanding improvement in speed! i won't even bother talking about specific games, they all are running MUCH better, and the difference is abysmal compared to the other wonderswan emulator we had on 3DS. Great work mr. Flubba, you have my most sincere thanks and admiration
 

FluBBa

Well-Known Member
OP
Member
Joined
Jan 16, 2004
Messages
155
Trophies
0
Age
47
Website
www.ndsretro.com
XP
1,320
Country
Finally a new release. This has taken a lot of work but I still have a couple of ideas left of what to optimize.
All (?) games should now at least start and run close to 60fps on DSi.
* Added banked SRAM emulation.
* Fixed zip decompression buffer size.
* Optimized cycle counting.
* Optimized Program Counter.
* Optimized memory access.
* Optimized opcodes.

https://github.com/FluBBaOfWard/NitroSwan/releases/tag/v0.3.0
 

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
15,203
Trophies
2
Age
23
XP
17,851
Country
United States
Finally a new release. This has taken a lot of work but I still have a couple of ideas left of what to optimize.
All (?) games should now at least start and run close to 60fps on DSi.
* Added banked SRAM emulation.
* Fixed zip decompression buffer size.
* Optimized cycle counting.
* Optimized Program Counter.
* Optimized memory access.
* Optimized opcodes.

https://github.com/FluBBaOfWard/NitroSwan/releases/tag/v0.3.0
For whatever reason, even though the emulator displays as 60FPS, the MegaMan games still feel like 50FPS, which is weird, since there doesn't seem to be lagging.
Music uploads on YouTube play like 60FPS, compared to the emulator. Am I missing something, or is the result from the emulator how they normally play?
 

FluBBa

Well-Known Member
OP
Member
Joined
Jan 16, 2004
Messages
155
Trophies
0
Age
47
Website
www.ndsretro.com
XP
1,320
Country
For whatever reason, even though the emulator displays as 60FPS, the MegaMan games still feel like 50FPS, which is weird, since there doesn't seem to be lagging.
Music uploads on YouTube play like 60FPS, compared to the emulator. Am I missing something, or is the result from the emulator how they normally play?
Yeah, the reason I was explicit in saying it runs 60FPS instead of full frame rate is that the WonderSwan is actually 75FPS...
You can tweak the DS line position during blank to raise or lower the screen update but I'm not sure if it's possible to go up to 75Hz. Right now it is a long way down on my todo list.
 

FluBBa

Well-Known Member
OP
Member
Joined
Jan 16, 2004
Messages
155
Trophies
0
Age
47
Website
www.ndsretro.com
XP
1,320
Country
New release! This version should be much faster than before, also fixed a lot of graphical glitches.
You can now press the top left buttons by using "L" plus d-pad.

*Added RTC emulation.
*Added a border to emu screen.
*Better mapping of input.
*Optimized graphic redraw.
*Optimized PC/IP handling in cpu core.

https://github.com/FluBBaOfWard/NitroSwan/releases/tag/v0.3.5
 
General chit-chat
Help Users
  • Dark_Phoras @ Dark_Phoras:
    You may want to lose a bit more, Psionic
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And replace some of the weight with muscle mass
    Gift
  • Gift
  • NoobletCheese @ NoobletCheese:
    "you may want to lose some weight" is like the most offensive thing you could say
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Never mind, for your age what you want is appropriate
    Gift
  • NoobletCheese @ NoobletCheese:
    fatty like cake
    Gift
  • NoobletCheese @ NoobletCheese:
    fatty mcbutterpants
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Different ages ask for different strategies
    Gift
  • KenniesNewName @ KenniesNewName:
    And get penis enlargement surgery while you're at it psi :teach:
    Gift
  • KenniesNewName @ KenniesNewName:
    Make it touch the ground
    Gift
  • Dark_Phoras @ Dark_Phoras:
    In some weight measure apps, they show how different ages require different weights and body compositions
    Gift
  • Dark_Phoras @ Dark_Phoras:
    We want the optimal composition for our body if we're losing weight
    Gift
  • KenniesNewName @ KenniesNewName:
    As long as you can walk right that's really all you should give a shit about
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Little under 200 pounds for a 6ft person with 18 years old is bad, but for a 40+ yo person it's healthy
    Gift
  • NoobletCheese @ NoobletCheese:
    yeah as long as you dont need a hoist
    GOsTJjm.jpeg
    Gift
  • KenniesNewName @ KenniesNewName:
    Everyone should be fat once in their life so they can respect the struggle it takes to loose it
    +1
    Gift
  • KenniesNewName @ KenniesNewName:
    People think it's so easy to maintain but have no idea what caused the person to get that way
    Gift
  • Dark_Phoras @ Dark_Phoras:
    Maintain is easy, especially for who was never fat
    Gift
  • NoobletCheese @ NoobletCheese:
    i could stand to lose about 7kg but right now ive got my eye on a block of dark almond chocolate
    Gift
  • KenniesNewName @ KenniesNewName:
    Maintaining nothing is easy if a person isn't in the right mindset for it
    Gift
  • Dark_Phoras @ Dark_Phoras:
    The thing about losing weight is that it's a constant moderation. You can't do too little, but you can't do too much either
    Gift
  • Dark_Phoras @ Dark_Phoras:
    And the metabolic rate means that eating the same amount of something makes more impact on a fat person than a regular weight person
    Gift
  • KenniesNewName @ KenniesNewName:
    Go buy me McDonald's
    Gift
  • Dark_Phoras @ Dark_Phoras:
    No, let's go to Ihop
    Gift
  • KenniesNewName @ KenniesNewName:
    So 5 HDMI cables shipped with UPS and just one shipped with usps
    Gift
    KenniesNewName @ KenniesNewName: So 5 HDMI cables shipped with UPS and just one shipped with usps