Search found 123 matches

by UnDisbeliever
Fri Mar 15, 2024 9:49 pm
Forum: SNESdev Homebrew Projects
Topic: Terrific Audio Driver
Replies: 14
Views: 3412

Re: Terrific Audio Driver

I've finished writing, testing and documenting the ca65 integration code and have released version 0.0.7. https://github.com/undisbeliever/terrific-audio-driver/releases/tag/v0.0.7 Instructions on how to integrate it into an existing ca65 project is documented in the ca65-api directory README The AP...
by UnDisbeliever
Sat Feb 24, 2024 6:39 pm
Forum: SNESdev
Topic: Trying to make the backmost sprites drop out first.
Replies: 42
Views: 2508

Re: Trying to make the backmost sprites drop out first.

Thanks for this test and confirming the behavior, UnDisbeliever. I have an additional question about slivers that are entirely off-screen. Do these count against the 34 sliver limit, or is it smart enough to bail on the sprite as soon as a sliver is fully offscreen and move onto the next sprite? I ...
by UnDisbeliever
Fri Feb 23, 2024 1:56 am
Forum: SNESdev
Topic: Trying to make the backmost sprites drop out first.
Replies: 42
Views: 2508

Re: Trying to make the backmost sprites drop out first.

I wrote my own object dropout test to double check what's on the wiki. 1/1/1 Super Famicom screen capture Mesen Sprite Viewer screenshot I'm testing four things: The 1st test is the 32 sprites per scanline overflow test. The rear-most (last index) sprites were dropped. The 2nd test is the 34 tile-sl...
by UnDisbeliever
Tue Jan 23, 2024 5:12 am
Forum: SNESdev Homebrew Projects
Topic: Terrific Audio Driver
Replies: 14
Views: 3412

Re: Terrific Audio Driver

I've released a new version of the Terrific Audio Driver v0.0.6 . This release is focused on fixing the BRR encoder and improving the GUI. I also wish there was a way to import samples from outside the project and automatically copy them to a project subfolder from within the editor itself. I've add...
by UnDisbeliever
Sat Jan 13, 2024 7:30 pm
Forum: SNESdev Homebrew Projects
Topic: Terrific Audio Driver
Replies: 14
Views: 3412

Re: Terrific Audio Driver

What's the difference between old, anomie and multiple? Old is the wav2brr encoder in v0.0.5. This uses the simplified (15/16, 61/32&15/16, 115/64&13/16) filters and no 15-bit clipping. The anomie encoder uses 15-bit samples, the filter formulas from Anomie's S-DSP document and the 15-bit c...
by UnDisbeliever
Thu Jan 11, 2024 5:07 am
Forum: SNESdev Homebrew Projects
Topic: Terrific Audio Driver
Replies: 14
Views: 3412

Re: Terrific Audio Driver

I've designed an API for the ca65 integration code (GitHub Gist). I had 4 goals in the design: All commands/transfers are queued for later processing. A single Process function that handles loading audio data and sending commands to the audio driver. The Process function will limit the amount of dat...
by UnDisbeliever
Sat Jan 06, 2024 3:43 am
Forum: SNESdev Homebrew Projects
Topic: Terrific Audio Driver
Replies: 14
Views: 3412

Re: Terrific Audio Driver

Nikku4211 sent me the wav file and it uncovered a bug in my BRR encoder. I do not know why but my wav2brr outputs 7 glitched BRR blocks that is causing the clicking sound. I'm either clamping values in the wrong spot or I've made a wildly incorrect assumption about brr decoding. It will take me a fe...
by UnDisbeliever
Mon Jan 01, 2024 12:49 am
Forum: SNESdev Homebrew Projects
Topic: Terrific Audio Driver
Replies: 14
Views: 3412

Re: Terrific Audio Driver

When I click on the new project button, it waits for 2 seconds and then disappears. Version 0.3 works on my computer though. I don't know why version 0.4 didn't. It crashes with STATUS_ILLEGAL_INSTRUCTION in the Save-As dialog and the crash went away when I changed compiler flags (from opt-level=&q...
by UnDisbeliever
Sun Dec 31, 2023 5:18 am
Forum: SNESdev Homebrew Projects
Topic: Terrific Audio Driver
Replies: 14
Views: 3412

Re: Terrific Audio Driver

The rust GUI includes an SNES APU emulator (based on ares source code). Besides, there is no usb2snes communication protocol in the rust GUI. The real hardware testing (via resources-over-usb2snes) was only done with the python compiler/tooling. The audio-driver was in a good state when I started po...
by UnDisbeliever
Sun Dec 31, 2023 12:35 am
Forum: SNESdev Homebrew Projects
Topic: Terrific Audio Driver
Replies: 14
Views: 3412

Terrific Audio Driver

My big project for the year 2023 was creating my own homebrew audio driver for the Super Nintendo - The Terrific Audio Driver. I'm really proud of this project and eagerly excited to see what my 2024-self and other people create with this audio driver. For anyone interested, I wrote a blog post abou...
by UnDisbeliever
Fri Dec 29, 2023 5:13 pm
Forum: SNESdev
Topic: Multiple DMA requests leading to CGRAM corruption
Replies: 3
Views: 726

Re: Multiple DMA requests leading to CGRAM corruption

No problem.

And it looks like you caught my typo ($82) as well :lol:
by UnDisbeliever
Fri Dec 29, 2023 3:54 pm
Forum: SNESdev
Topic: Multiple DMA requests leading to CGRAM corruption
Replies: 3
Views: 726

Re: Multiple DMA requests leading to CGRAM corruption

This line does not match its comment:

Code: Select all

        LDA #$10
        STA DMAP1       ; Fixed address souce, write destination address twice before incrementing
A DMAP value of $10 is A-Bus decrement. I think you should be using $82 (fixed A-bus, One write twice register) instead.
by UnDisbeliever
Sat Sep 02, 2023 11:22 pm
Forum: SNESdev
Topic: Investigating a HDMA failure
Replies: 1
Views: 1342

Re: Investigating a HDMA failure

I wrote a second HDMA failure test. Today's test is to determine if the previous value read by the DMA controller contributes towards the HDMA failures observed above. This one preforms a DMA from Work-RAM to OAMDATA where the last byte in the DMA transfer is test controllable. The test setup and th...
by UnDisbeliever
Thu Aug 31, 2023 3:22 am
Forum: SNESdev
Topic: Investigating a HDMA failure
Replies: 1
Views: 1342

Investigating a HDMA failure

On the SNES Development Discord, we were discussing Ramsis's DMA<>HDMA test a few days ago and how the test displays a flicking HDMA gradient on S-CPU-A (CPU version 2) consoles. With the aid of Mesen's Event Viewer, we noticed the flashing occurs when the dummy transfer DMA ends just after the star...
by UnDisbeliever
Sat May 13, 2023 7:24 pm
Forum: SNESdev Homebrew Projects
Topic: unnamed-snes-game
Replies: 13
Views: 3546

Re: unnamed-snes-game

For music, hit me up. I've got a whole collection of tunes in ModArchive, and I have some experience with writing MML from my short run of recreating my music for Super Mario World hacks. Thank you for the offer of help, I will take you up on that. At the moment I am splitting the game code in two;...