Search found 1162 matches

by MasterOfGizmo
Mon Oct 15, 2018 5:32 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

By default using the 3 button controller is a good way to start. In that case your controller should have at least four buttons. Three of them will be genesis buttons a, b and c. And one will be the start button which you seem to be looking for. Speaking of 3 vs. 6 buttons: imho 3 buttons should be ...
by MasterOfGizmo
Sun Oct 14, 2018 6:58 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

I wonder if this CPU bug can be triggered externally with TG68k, I bet SEGA didn't put broken CPUs in the Gensis, just there's a bug in some external part. It's not a cup bug. The tas instruction forcefully does two uninterruptible subsequent bus cycles to make sure it's an atomic operation. Some v...
by MasterOfGizmo
Sun Oct 14, 2018 7:44 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

They also mention some tests. They may have test cartridges helping us to debug this stuff.
by MasterOfGizmo
Fri Oct 12, 2018 2:55 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

slingshot wrote:Don't need, the latest commit in jt12 seems to be OK.


Yes, now we are getting somewhere soundwise ... excellent.
by MasterOfGizmo
Fri Oct 12, 2018 2:54 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

I noticed that at this place the palette change is instant in Exodus, so maybe uses DMA for CRAM update. Could be a missed VINT? Indeed gens doesn't see any write to the cram after the image with the black car shadow at the bottom. So yes, it's still the palette of that image. but the fact that one...
by MasterOfGizmo
Fri Oct 12, 2018 11:36 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

DanyPPC wrote:Lotus II is one of the games that use a 256 x 224 resolution.


This is Lotus I. I also wondered if this may be mode 4 or the like where the palette works differently. But imho then also the whole tile handling would differ and the screen contents would not look correct at all.
by MasterOfGizmo
Fri Oct 12, 2018 11:04 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

slingshot wrote:About the sound issue: seems the opram initialization is wrong, so in j12_opram.v, every ram[x] = .. line should be change to ram[x] = { ~7'd0, 37'd0 };


Why don't you fork jt12 and use that as the base of the submodule? Then you could then fix these things yourself and submit pull requests.
by MasterOfGizmo
Fri Oct 12, 2018 11:00 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

It's gens-gs-ii from https://github.com/gameblabla/gens-gs-ii When i don't touch anything the first time a broken image appears the palette was set to 00: 0000 0eee 0222 0666 006c 028a 04aa 0e44 10: 0e66 00ae 0e88 04ae 0eaa 06ce 0ecc 08ee 20: 0000 0eee 0020 0040 0026 0444 0666 004a 30: 0888 006c 006...
by MasterOfGizmo
Fri Oct 12, 2018 6:47 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

Unfortunately Lotus I palette still wrong, need to debug that. Haha, that one is funny. To check how and when the palette is being written I wanted to test it with the gens-ii emulator. And guess what? It looks exactly as wrong as on the MIST :-) And gens-ii does not have the swapped tiles in jimpo...
by MasterOfGizmo
Fri Oct 12, 2018 5:43 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

slingshot wrote:Unfortunately Lotus I palette still wrong, need to debug that.


If it's a similar CPU problem i only need the exact instruction being used there.
by MasterOfGizmo
Thu Oct 11, 2018 10:33 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

Sorgelig wrote:use clock_enable branch


Ah, i see. The submodule already referenced that. So i likely have that latest version as i also have sound in xenon II.
by MasterOfGizmo
Thu Oct 11, 2018 9:21 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

But this is now fetching jt12 from its repository which had the last commit in june, Is that really the latest version?
by MasterOfGizmo
Thu Oct 11, 2018 9:04 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

however the music is strange. Just fixed that. My attempt to simplify the tg68k interface broke it. And while some sounds/instruments are still buggy, silent games has music now! Xenon2's Bomb the Bass is enjoyable. This now totally confuses me. I am so used to the previous sounds and voices in the...
by MasterOfGizmo
Thu Oct 11, 2018 1:34 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

Mike has done some cleanup and imho also added chk2 (which may actually fix some amiga games). He says he'll publish that version on github soon.
by MasterOfGizmo
Thu Oct 11, 2018 11:57 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

If I may chime in - doing this will not result in non-linearity, it just changes the gain. That is, doing: Too cool, who's reading here. MikeJ also noticed this thread. Of course appending the same twice is linear. But he wanted to append the high bits of a longer word to expand it by less than the...
by MasterOfGizmo
Thu Oct 11, 2018 10:40 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

slingshot wrote:This 9 bit (12 with S/H) color depth is not looking better or worse in any version for me.


That's the idea. But I was able to remove some code.
by MasterOfGizmo
Thu Oct 11, 2018 8:18 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

Dithering is process of shuffling the brightness on systems with smaller amount of bits to smooth the jagged transitions between colors. So, it's completely unrelated term for this situation. Huh? Up to now the color depth was doubled to 3*8 bit (which is more than the MIST can handle in hardware) ...
by MasterOfGizmo
Thu Oct 11, 2018 7:16 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

as we confirmed here already it also the same with MOVE.L. Any pre-decrement long word write to memory always writes in backward order. But i don't plan to reverse all of them. If we see familiar glitches in a different game we now know what to look for. But I wouldn't change too much in tg68k as i...
by MasterOfGizmo
Thu Oct 11, 2018 4:22 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

A MOVEM.L instruction that uses the pre decrement addressing mode for the destination operand, writes to memory on descending order. I understood that. But as i cannot think of any sane way to use movem to transfer data to the VDP ports i'll not change it. Thanks for your most valuable input, btw.
by MasterOfGizmo
Thu Oct 11, 2018 4:19 am
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

is not really correct way to copy lowbit color to highbit color. Doing that will result in non-linearity. So both solutions aren't perfect. Most screens will adjust their brightness anyways. After all this generates an analog voltage which is carried over long and cheap cables and connectors. But y...
by MasterOfGizmo
Wed Oct 10, 2018 4:52 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

I believed most you said. Otherwise i wouldn't have started to debug the cpu in the first place. But you insisted that the reading order might also play a role in this which i never believed. However: Issue solved. It's a rather ugly hack but it's not overly complex and i'll clean it up a little bit...
by MasterOfGizmo
Wed Oct 10, 2018 4:34 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

426C: MOVE.L D3,(A6) <- sets the address to CP (C00004, C00006) 426E: MODE.L D1,-(A6) <- writes nametable data (2x16 words to C00002 and C00000) Fixed :-) The problem with my fix was that it didn't do the data multiplexing for a register source. I'll clean this up a little bit and then commit a pat...
by MasterOfGizmo
Wed Oct 10, 2018 3:47 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

so, you can test in on real genesis hardware?


No. But if my program looks different on emulators vs. Mist i can debug this in detail and even run the entire copy routine inside the tg68k simulation.
by MasterOfGizmo
Wed Oct 10, 2018 3:27 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

426C: MOVE.L D3,(A6) <- sets the address to CP (C00004, C00006) 426E: MODE.L D1,-(A6) <- writes nametable data (2x16 words to C00002 and C00000) so, instruction in 426E does actual nametable data write which gets swapped in genesis core! Cool! I'll try to create a cartridge that also exposes this p...
by MasterOfGizmo
Wed Oct 10, 2018 3:26 pm
Forum: MiST
Topic: Genesis / Megadrive core ported to MiST
Replies: 525
Views: 58228

Re: Genesis / Megadrive core ported to MiST

Please excuse my ignorance about the VDP and the Genesis hardware, but we are talking about swapping the order of writes only , and not actually swapping the data? And it is the VDP hardware that somehow is sensitive to the order of writes? Because the CPU will never swap the data. Just in case it ...

Go to advanced search