Search found 71 matches

by Patrick FR
Mon Jan 15, 2018 1:58 pm
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

Thanks tepples. Hence it is mapper 0, upernes could be adapted to work with this. It would help to improve upernes sound accuracy (it actually does not work very well).
by Patrick FR
Sat Jan 13, 2018 2:56 pm
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

I was thinking about using upernes on NSF files. If they are like maper zero roms, it should work?
by Patrick FR
Sat Nov 04, 2017 4:57 am
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

Pacman passes on WRAM, it plays sound. I tested upernes from a fresh clone and it works (on needs to write the indirect jumps and then disable the tests on them, but once this is done, it works). Sound is a little weird however, like when I first integrated it. But it plays more sounds than by using...
by Patrick FR
Mon Oct 23, 2017 11:52 am
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

Maybe it could work if using bank $7E. The lower 8KB of bank $7E is the same ram as the $00 bank. And I use $7E as data and program bank. I converted the following code (using the nes palette test rom) and it works: lda $918 ldy #$00 lda #$CC sta $0000 lda #$34 sta $00CC lda #$00 lda [$00], y It loa...
by Patrick FR
Sun Oct 22, 2017 10:46 am
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

Thanks Memblers, I was not expecting this behaviour. I must look at this.
by Patrick FR
Sun Oct 22, 2017 4:40 am
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

Hello. I managed to execute the converted rom from work ram. It is how Memeblers emulation works because there is no need to patch the accesses to $4000 - $4015, it writes directly in WRAM to this address range. I did this because pacman accesses sound registers in a way that cannot be detected when...
by Patrick FR
Tue Aug 15, 2017 1:31 pm
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

I do not have the mouse for the snes. Edit: Plus it is a rare object, it could be tried on an emulator? Using the FCEUX debugger, I found out why PACMAN does not play music: STA ($F6,X) @ $4000 = #$FF It writes in the sound port using this direct indexed thing. X is 0 by the way. $4000 is in the dir...
by Patrick FR
Tue Aug 15, 2017 8:14 am
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

I fixed the PAD problem, Thwaite works 100%.
Pacman works, except I have no sound while the sound routine executes.

Thanks for the solution AWJ, I could find a way to emulate it by using the bit 8 of the object data.
by Patrick FR
Mon Aug 14, 2017 9:44 am
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

Hello I tried your roms and it did not work because uperness lacked bit Io emulation. The bit instruction is used on the ppustatus. But since, I improved many things (see the commits), and thwaite works except the controller buttons, I do not know why. Croom seems to work, same controller problem (w...
by Patrick FR
Sat Aug 12, 2017 5:31 am
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

I was cleaning the scripts and tried to convert other roms like Xevious. And I have a bug in sprite 0 irq handling. I checked the other mappers, and with some more work any mapper 0 game will pass. Mapper 2 should also pass. However mapper 4 will probably never work wel because of the CHR bank switc...
by Patrick FR
Sat Aug 05, 2017 6:19 pm
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

The BG update works perfectly now on SMB1 :!: :D :beer: The trick was to properly emulate ForceVBLANK. The nes code forces vblank before updating the screen. I was not emulating it because it was easier to debug BG data, but is was time to add it. Now it works. The VRAM update is made during the reg...
by Patrick FR
Sat Aug 05, 2017 5:21 pm
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

I improved the background update by writing directly into VRAM instead of having a buffer+DMA. But it does not update everything because a VRAM write is not possible during rendering. And when this occurs on a screen change where a lot of writes are made, the screen is messed up because the writes a...
by Patrick FR
Tue Aug 01, 2017 2:28 pm
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

I added the two last procedures. It improved a lot the sound :!: I have a problem with the noise channel, and weird effects sometimes. Probably wrong offsets in some registers.
by Patrick FR
Mon Jul 31, 2017 2:10 pm
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

I updated the variables used in sound emulation, the routines code is identical from what is in the ROM (except 2 or 3 areas were it did not branch and were I do not have the disassembled code). Not tested yet.
by Patrick FR
Sun Jul 30, 2017 2:19 pm
Forum: NESemdev
Topic: upernes
Replies: 86
Views: 42973

Re: upernes

Thank you Memblers, I used the disassembly windows of bsnes+ and two of the procedures are exactly the same as the source zip. Only the code loading the binary on the SPC700 is clearly different. And the fast rom init sets slow rom in the source code. I will check if what I have from the two other r...