Resurrecting Nuance

mgarcia

You may change this now in User CP
Reaction score
28
Nudism is a disassembler. I'm unsure why it started being included in the codebase. It should probably be removed from the repo as it isn't used. I removed some non-referenced source files and old builds from the repo already. Thoughts?
It's up to you, it's just a weird name! LOL
I've never uploaded win executables to archive before and didn't know it scans files like that.
I mounted the VM and ran ClamAV it didn't find any virus reported.
I also ran it in my NUON download/upload folder and zero virus found


Attached are the winXP build I use, it's about 10-20% slower in winXP compared to win7 VMware machine.

Download zip file of NuanceResurrection from github (https://github.com/andkrau/NuanceResurrection)
Copy and overwrite the attached files into the root folder.

2 out of all their anti virus vendors found a virus in my MSVC2010 executable:

The diff txt has the changes I made (mostly newer C++ hacks and boost for mutex), search for mgarcia.
I don't recommend changing your code base tho, it's fine as is.
 

Attachments

cubanral

Stuck in the Tempest
Staff member
Reaction score
14
Attached are the winXP build I use, it's about 10-20% slower in winXP compared to win7 VMware machine.
Cool that you got it working under XP!

New build is attached to this post. Compatibility is expected to be the same. There should be less audio clipping (buffer underflow?). Let me know if any regressions are noticed. Thanks to dvhsfan for all of their commits.

Changes since Toxie's last commit:
  • Make sure enough time passed between audio interrupts
  • remove disassembler binary
  • Schedule audio interrupts in the same manner as the other interrupts
  • dvhsfan: further safety improvements
  • Correctly set DST
  • safe string and file handling
  • dvhsfan: correct bufSize detection in PrintInstructionCachePacket
  • ignore .user, .vs, debug/ and release/
  • Convert remaining printHandlers to make use of the buffer size
  • Remove old builds
  • Remove bUseCycleBasedTiming
  • Remove use of ProcessCycleBasedEvents
  • Make buffer size selection more straightforward
  • Remove unused files
  • dvhsfan: compiler warnings and general cleanup
 

Attachments

Stephen

NUON Lover!
Reaction score
66
Just build my first new PC in nearly a decade. Looking forward to trying the emulator and seeing how it performs on this rig (and also if it will work on a Windows 11 system). Pretty beefy system - i9-12900, 64GB DDR5-5600 RAM, GTX3070 vid card (waiting impatiently on the 4k series).

WOW - ok, runs the emu at a rock solid 60FPS and my breakout game works perfectly. Can't wait to try out some other stuff. This is high motiviation to revisit some of my old code.
 
Last edited:

Stephen

NUON Lover!
Reaction score
66
Damn that's cool! I have all the SDK samples built but I don;t think my dumb ass made a list of ones I know that do not work.

Sorry I do not know the answer to your question regarding the emulator source.
 

cubanral

Stuck in the Tempest
Staff member
Reaction score
14
Is https://github.com/andkrau/NuanceResurrection the most recent+active version of the codeline? I have a set of small fixes that get the MGL demos from the SDK working (They sort of work in Nuance 0.5.1, but the display is messed up, and don't work at all in 0.6.1). Well I've submitted a pull request. We'll see if anyone responds.
Yep, the commits from July are the most recent. I've done some stuff since then, but was really just experiments at sacrificing audio quality for the sake of stability. It was definitely not something worth committing.

I've merged your commit. I didn't notice any regressions when I tried it with commercial titles.
 

cubanismo

Member
Reaction score
41
Turns out Nuance isn't actually rendering that image right. It's just a lot better than the blank screen it got before. It's not handling the texture mapping properly. It's just repeating some line (probably the first line) of each texture across the entire span, which for most textures in the room demo, actually looks pretty close to OK. However, I noticed it right away last week when testing my own code with some test textures purposely designed to show errors like this. I ordered some NOS high quality Sony CD-RW discs and verified the MGL code renders textures correctly on real HW (I'll post images of a correctly-rendered room demo for comparison soon when I have a Nuon hooked up to video capture again), so there's a more subtle bug in Nuance's handling of the MGL 3D library somewhere. Also, if you make the textures larger than 32x32, you either get a completely corrupted screen (at 64x64), or an error about an unhandled DMA operation from the Nuance BIOS handler code (128x128). Still need to verify those texture dimensions work on real hardware, but MGL claims support for up to 1024x1024 textures in its documentation.
 

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,539
Cool! Lets get toxie back in the mix! Also toxie, the Discord has alot of chat about the emulator and the people working on it talk alot there. The link to the Discord is on the right hand side of the forum above the chat.
 

toxie

You may change this now in User CP
Reaction score
20
I need to use so much slack, discord, teams, etc during the day that i try to stay away from it in my spare time, but lets see.

I also tried the new changes, but unfortunately T3K still hangs from time to time for me, but its also not worse than before, so all looking fine to me. ;)
 

cubanral

Stuck in the Tempest
Staff member
Reaction score
14
If yes, would you be okay with adding me to be able to do commits directly? https://github.com/toxieainc/
(and if you're up to it, maybe link my account to my existing commits?)
Thanks!
Welcome back!

All set on both counts. Make sure to grab the source again as rewriting the commit history tends to goof things up.

Using a timer rate for the audio that is some rather large multiple of the video timer rate does reduce crashing. Sadly, this ends up being unlistenable as the audio has to play close to half as much as it should be to eliminate the crashes. It is almost as if the audio interrupt has to be delayed in certain cases, but I've never figured out what those cases may be.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    Cool, enjoy your vacation!
  • The Helper The Helper:
    Have a great vacation Tom!
  • The Helper The Helper:
    Happy Friday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday Night!
    +1
  • The Helper The Helper:
    Going out of a town for the weekend will be back sunday night! Hope everyone has a great weekend!
    +2
  • The Helper The Helper:
    Happy Monday!
  • Ghan Ghan:
    Monday? Speak for yourself. :p
    +2
  • The Helper The Helper:
    Happy Taco Tuesday!
    +1
  • The Helper The Helper:
    Tacos! :)
  • The Helper The Helper:
    Check out the discord for taco pictures :) You cannot put pictures in this chat
    +1
  • The Helper The Helper:
    Damn here come the bots again - 193 online but they are totally invisible to any stats - bunch of bots!'
  • C cubanismo:
    Re: Taco Tuesday, if there were some way to share edible tacos over the internet, technology would be complete.
    +2
  • The Helper The Helper:
    One can only wish!
  • tom_mai78101 tom_mai78101:
    I'm back from Taiwan
    +1
  • The Helper The Helper:
    I am reorganizing the site I know nobody will notice but I am not done quite yet but the main forums order has been changed and there is a new news category in Other News which is all the remaining headline news stuff not categorized - Headline News is just the stuff that shows on the main page now and the news archive is off the main forums page
  • The Helper The Helper:
    and the real archive lives off of headline news
  • The Helper The Helper:
    Happy Monday!

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top