Search found 563 matches

by Mask of Destiny
Thu May 31, 2018 5:17 pm
Forum: Megadrive/Genesis
Topic: Teradrive Hardware Info
Replies: 0
Views: 205

Teradrive Hardware Info

First, let me start with a big thanks to Nemesis and piroxilin for providing Teradrive disk images and firmware images respectively. Having easy access to software/firmware to reverse was a big help. Now for the info I've figured out: M68K Memory Map (standard MD hardware omitted) 000000 - ??????: B...
by Mask of Destiny
Fri Apr 27, 2018 6:16 pm
Forum: Megadrive/Genesis
Topic: Struct maros/syntax and naming conventions
Replies: 6
Views: 398

Re: Struct maros/syntax and naming conventions

You should put a non-zero number after the rs.b/rs.w/rs.l as that's the number of elements of that size you're allocating. Not sure if that's causing your syntax error, but you definitely won't get the right results with zero.
by Mask of Destiny
Thu Mar 01, 2018 7:46 pm
Forum: Megadrive/Genesis
Topic: Where do I start? I'm seeking technical documents.
Replies: 40
Views: 2201

Re: Where do I start? I'm seeking technical documents.

sverx wrote:
Tue Feb 27, 2018 2:57 pm
Where can I read more details about this? (yeah, I know it's an advanced topic, but I'm curious :lol: )
Check out this thread and the linked documentation.
by Mask of Destiny
Mon Feb 26, 2018 6:45 pm
Forum: Megadrive/Genesis
Topic: Where do I start? I'm seeking technical documents.
Replies: 40
Views: 2201

Re: Where do I start? I'm seeking technical documents.

I wonder if the last line is correct - I mean, I can't display color 0 of any of the 4 palettes even if I use the tiles in a background? It is correct; however, the backdrop color (i.e. what's drawn in the borders or if all the layers above it are transparent) can be any of the 64 CRAM entries, inc...
by Mask of Destiny
Wed Jan 10, 2018 8:03 am
Forum: Controls
Topic: IO Support Header Values
Replies: 1
Views: 1121

IO Support Header Values

I was wondering what values were legal for the IO support field in the standard Sega ROM header so I poked around a bit. This page from the official docs gives quite a few of them, but omits newer peripherals. Looking at the games in my collection I was able to fill in a few gaps and come up with th...
by Mask of Destiny
Tue Nov 21, 2017 9:25 pm
Forum: Megadrive/Genesis
Topic: Sprite List Code Messed Up
Replies: 28
Views: 1754

Re: Sprite List Code Messed Up

Hm. I wonder if anyone ever transcribed the whole microcode portion of US4325121... having it as a searchable document would be a lot better, as well as less error prone because of how bad the scan is. I've got just shy of 100 transcribed which is pretty far from complete, though it probably covers...
by Mask of Destiny
Tue Oct 24, 2017 8:38 pm
Forum: Controls
Topic: XE-1AP
Replies: 3
Views: 747

Re: XE-1AP

Interesting. The comment does seem to be in line with what the code does (saves the 12 nibbles as 12 bytes in the buffer and pulls the A,B,A',B' state from the 11th byte rather than the 12th). Though it also suggests that A,B,C,D comes in the first nibble with E1,E2,Start,Select in the second. It lo...
by Mask of Destiny
Tue Oct 24, 2017 7:12 am
Forum: Controls
Topic: XE-1AP
Replies: 3
Views: 747

XE-1AP

So I managed to find an XE-1AP while I was in Japan recently and I wrote a little test ROM to better characterize its behavior. First off, big thanks to Eke for emulating this peripheral in Genesis Plus GX as having some idea how this peripheral was supposed to work was a huge time saver when writin...
by Mask of Destiny
Wed Sep 13, 2017 7:27 am
Forum: Megadrive/Genesis
Topic: M68k opcode sizes test ROM
Replies: 19
Views: 1837

Re: M68k opcode sizes test ROM

OK, tested on the same Genesis with my UMDK and it works correctly there. Looking at where it seems to get stuck, I think I know what the problem is. You're not filtering out the RESET instruction. While RESET does nothing to the Genesis/MD hardware itself, it does pulse !VRES on the cartridge port ...
by Mask of Destiny
Mon Sep 11, 2017 8:44 pm
Forum: Megadrive/Genesis
Topic: M68k opcode sizes test ROM
Replies: 19
Views: 1837

Re: M68k opcode sizes test ROM

For what it's worth, I've seen the same thing on my VA3 Model 1 US Genesis also with a MED v1. Not sure which 68K variant it has off hand. Haven't had a chance to test with my VA6 Model 1 or my Model 3 or using my UMDK yet though. I had no 32X or Sega CD attached during the test.
by Mask of Destiny
Wed Aug 30, 2017 5:54 pm
Forum: Tools
Topic: Blastem 0.5.0 - Many accuracy improvements, basic SMS support, runs OD2
Replies: 33
Views: 3001

Re: Blastem 0.5.0 - Many accuracy improvements, basic SMS support, runs OD2

BlastEm 0.5.1 is now out and has improvements addressing much of the feedback given here. You can find download links and the full changelog here . I unfortunately did not get a chance to address the issue TmEE saw above, but I have been able to reproduce it. Seems to be a limitation of the GL imple...
by Mask of Destiny
Wed Aug 30, 2017 5:42 pm
Forum: Megadrive/Genesis
Topic: M68k opcode sizes test ROM
Replies: 19
Views: 1837

Re: M68k opcode sizes test ROM

Thanks for making this! I suspected my instruction decoder still had issues with some instructions that should be illegal not decoding as such. I suspect the hang is related, but regardless this new test ROM will be very helpful in tracking down any remaining decoder issues.
by Mask of Destiny
Sun Aug 27, 2017 1:17 am
Forum: Megadrive/Genesis
Topic: VDP DMA fill in Ballz 3D; not writing fill byte
Replies: 11
Views: 1035

Re: VDP DMA fill in Ballz 3D; not writing fill byte

That's not how this game runs in BlastEm. I don't have the equivalent of trace logs, but for this specific question my debugger will suffice: ADDFE: bne #-396 <ADC74> >b 2680 68K Breakpoint 0 set at 2680 >com 0 Enter commands for breakpoing 0, type end when done >>p/x (a0).w >>c >>end >b 2600 68K Br...
by Mask of Destiny
Sat Aug 26, 2017 11:33 pm
Forum: Megadrive/Genesis
Topic: VDP DMA fill in Ballz 3D; not writing fill byte
Replies: 11
Views: 1035

Re: VDP DMA fill in Ballz 3D; not writing fill byte

Looking into this a bit more, it looks like the instances in which the subroutine at $2610 is called for a DMA fill, it should be called by the subroutine at $25F4. This subroutine ($25F4), pops a word off the stack into the VDP data register before calling the subroutine that checks the DMA flag ($...
by Mask of Destiny
Sat Aug 26, 2017 11:16 pm
Forum: Megadrive/Genesis
Topic: VDP DMA fill in Ballz 3D; not writing fill byte
Replies: 11
Views: 1035

Re: VDP DMA fill in Ballz 3D; not writing fill byte

Woops. I did check multiple runs through there, but it initially looked like they were all normal transfers. I guess I didn't look hard enough. Maybe the fill byte was supposed to be sitting in the FIFO waiting to be pulled in, but since there's no FIFO, it didn't take effect when it was supposed to...