Search found 18 matches

by topspoon
Sun Jun 30, 2019 8:23 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

To me, the main kicker is when bsnes-plus updates the 2143 cpu reads: ..095f mov $0f7,a A:53 X:06 Y:0c SP:01fb YA:0c53 nvpbhizc 368530 bne $852d [36852d] A:0253 X:0001 Y:0005 S:01f1 D:0000 DB:36 nvMXdIzC V: 90 H: 748 F:59 36852d cmp $2143 [362143] A:0253 X:0001 Y:0005 S:01f1 D:0000 DB:36 nvMXdIzC V:...
by topspoon
Sun Jun 30, 2019 6:41 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

Ranger R2 behavior Cpu 1: 36:852d cmp $2143 (in = $43) spc-pre hc=1072 vc=170 fc=336 || cycle=11472160 target=11472158 36:852D A=0053 hc=1072 vc=170 fc=336 spc-post hc=1102 vc=170 fc=336 || cycle=11472160 target=11472160 Cpu 2: 36:8530 bne $852d ...095d mov a,#$53 spc-pre hc=1102 vc=170 fc=336 || cy...
by topspoon
Sun Jun 30, 2019 10:18 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

The core supports blargg's NTSC filter - if you turn that on, the blending should look alright. Yup. That does it. :) RE: SPC, without calling Run() before the read, you actually end up reading an old value that the SPC might have set hundreds of cycles ago. The SPC is only executed when the CPU re...
by topspoon
Sun Jun 30, 2019 5:28 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

I haven't checked the sailor moon game, but the jurassic park one should be displaying properly, I've tested it a few times. Is it displaying wrong on your end? Does the frontend do the blending? Because I'm using an unofficial one. The raw picture itself looks great, just the TV effect is missing....
by topspoon
Sat Jun 29, 2019 8:59 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

Ys III - Wanderers from Ys -- save game doesn't write to sram correctly IIRC, this uses a custom mapper board. SRAM should be mapped to 70:8000-FFFF. And I guess it's worth bringing up that there's two non-enhanced games that use the pseudo-512 blending mode: - Jurassic Park (hud, dialog boxes) - Bi...
by topspoon
Sat Jun 29, 2019 5:18 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

Working solution: uint8_t Spc::CpuReadRegister(uint16_t addr) { uint8_t val = _state.OutputReg[addr & 0x03]; Run(); return val; } Let cpu read old spc700 value. ActRaiser 2, Rendering Ranger R2, Illusion of Gaia / Time, American Tail, Hiouden - Mamono-tachi to no Chikai, Tales of Phantasia = wor...
by topspoon
Sat Jun 29, 2019 4:14 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

The one cycle does the whole deal, one bus cycle plus one work cycle, in full. Oh. Phew. That whole procedure could get messy. Glad I'm not an emulator author. I could imagine running some derpy code in ram (or maybe worse, running it in system registers). sta $420b dma_target: lda $18 (dp = $2100)...
by topspoon
Sat Jun 29, 2019 11:38 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

For Axelay, I tried comparing with higan, but can't see a difference? Mesen-S doesn't look like the Snes9x screenshot shown in the issue you linked I have no idea what happened but it always looks correct now, using same test build when report created. :confused: I must have some really random glit...
by topspoon
Sat Jun 29, 2019 4:58 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

cgram 2122 writes should be latched -- on high (odd) address, it commits both data.
by topspoon
Fri Jun 28, 2019 8:59 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

Axelay -- brightness + subscreen addition saturation problem
-- start new game, stage 1

See here:
https://github.com/snes9xgit/snes9x/issues/512
by topspoon
Fri Jun 28, 2019 8:30 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

According to anomie's docs, writing to $420B (DMA enable) allows the CPU to continue up to the point where it reads the next instruction's op code before DMA starts. So is it just that the partially-read instruction resumes after DMA and after that it jumps to NMI/IRQ if needed? I wonder the same t...
by topspoon
Fri Jun 28, 2019 7:28 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

Rendering Ranger R2: bsnes-plus ..ff2a mov $0f4,#$ff A:ff X:ff Y:00 SP:01ff YA:00ff nvpbhizC -- spc700 writes ff to 2140 36812b cmp #$ff A:0b00 X:0000 Y:0bb6 S:01f2 D:0000 DB:36 nvMxdIZc V:104 H:1248 F:34 36812d bne $8128 [368128] A:0b00 X:0000 Y:0bb6 S:01f2 D:0000 DB:36 nvMxdIzc V:104 H:1264 F:34 3...
by topspoon
Fri Jun 28, 2019 11:37 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

if the PPU was loading tile data ~16 dots before rendering it, it would probably be just enough to avoid the glitch in Warlock, I think. It looks to be ~16 pixels worth of garbage. 00:E9E8 LDA #$00 00:E9EA INC A 00:E9EB CMP #$07 00:E9ED BCC $FB 00:E9EF LDA #$00 00:E9F1 LDA #$00 00:E9F3 LDA #$00 00:...
by topspoon
Fri Jun 28, 2019 9:40 am
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

I don't know what's supposed to happen but if there's a bug in higan I'd like to fix it~ In bsnes-plus, Mode2 and Mode4 layers do the sine wave up and down. But Mode6 doesn't move like 2/4. Warlock -- in-game status bar has a flicker. 2108 (BG2SC) / 210b (BG12NBA) 00:E9F5 LDA $E4 hc=976 vc=0 fc=20 ...
by topspoon
Thu Jun 27, 2019 6:25 pm
Forum: SNESdev
Topic: Mesen-S - SNES Emulator
Replies: 385
Views: 270391

Re: Mesen-S - SNES Emulator

Mighty Morphin Power Rangers - The Fighting Edition (USA) = in-game battle arena is glitched ex. start game -- trial mode -- pick fighter 00:8C90 sta $420b hc=1068 vc=223 fc=2167 00:8C93 ldx #$7e80 hc=1098 vc=223 fc=2167 *** error: supposed to run nmi routine first because vc=225 when dma finished 0...