Search found 58 matches

by twosixonetwo
Mon Nov 17, 2014 12:15 pm
Forum: SGDK
Topic: Compatibility with C++
Replies: 17
Views: 9923

Building the toolchain with c++ support is also on my todo list. I do not provide C++ support currently as it adds some overhead compared to C. I am curious as to what you mean by that. Speed or size? Or both? Did you benchmark it, and if so what optimization flags did you use? I am wondering becaus...
by twosixonetwo
Wed Nov 12, 2014 11:26 am
Forum: Blabla
Topic: Is there any RGB444 homebrew?
Replies: 7
Views: 11770

If you're going to make a board like that, it really should make the palette 24-bit. Doesn't that kinda defeat the purpose though? Of course it's a very arbitrary decision, but to me a 4bit enhancement would represent what sega could have done at the time while keeping the mega drive at a reasonabl...
by twosixonetwo
Tue Nov 11, 2014 9:45 pm
Forum: Blabla
Topic: Is there any RGB444 homebrew?
Replies: 7
Views: 11770

Is there any RGB444 homebrew?

Is there any homebrew that uses 4bits per RGB channel?

There has been some talk on the sega-16 forums back in 2009 about how it could be done (link), and it seems like MtChocolate has done a hardware mod that supports this:
Schematic
VDP soldering
Done?
by twosixonetwo
Wed Nov 05, 2014 6:25 pm
Forum: Sound
Topic: PSG Clipping
Replies: 4
Views: 10852

Okay, thanks for the information. I am currently writting my first audio driver and was surprised when I read that part of the document ;)
by twosixonetwo
Tue Nov 04, 2014 2:31 pm
Forum: Sound
Topic: PSG Clipping
Replies: 4
Views: 10852

PSG Clipping

Does someone know if the PSG is clipping if all 3 oszillators are at max volume? This site says "My tests with an SMS and a TV card found the highest three volume levels to be clipped, for example." If there are differences between different Mega Drive models, I am mostly interested in the behaviour...
by twosixonetwo
Thu Oct 02, 2014 3:28 pm
Forum: Demos
Topic: YMDj - A Native Sega Genesis/Megadrive Music Tracker.
Replies: 46
Views: 35924

Is there a newer version than 0.02 available for download? I tried 0.02 and it immediatly crashes on real hardware. It somehow crashes so badly that you can't even return to the Everdrive menu via soft reset. Immediatly means the image doesn't change at all from the last image the everdrive menu dis...
by twosixonetwo
Thu Sep 25, 2014 8:36 am
Forum: Blabla
Topic: Nested subroutines nightmare.
Replies: 13
Views: 12317

Re: Nested subroutines nightmare.

1) Do I need to use RAM for this? 2) can I get away with stuffing the required parameters in data registers? 3) Can I use the stack for this purpose maybe? Using the stack and using RAM is pretty much the same, as the stack lies inside the ram. The only difference between using the stack and having...
by twosixonetwo
Sun Sep 21, 2014 4:02 pm
Forum: Regen
Topic: Colors way too dark in 0.97 on certain roms.
Replies: 4
Views: 11686

Ooops, it should have been move.w #0x8C81, 0xC00004 I am sorry. In case of the file you've posted the reason for the dark colors is a different one: When register 0 is set, the value from 0x8020 is sent to the control port of the vdp. The value 0x20 just sets bit 5, which makes the left column blank...
by twosixonetwo
Sun Sep 21, 2014 6:51 am
Forum: Regen
Topic: Colors way too dark in 0.97 on certain roms.
Replies: 4
Views: 11686

Have you made sure that shadow/highlight mode is turned of? If you did not, this line should do it: move.w #0x0C81, 0xC00004 The value 0x81 can be different if you are using 32-tile mode or if you are using interlaced mode. For further explanations you might want to look into the documentation of vd...
by twosixonetwo
Sat Sep 20, 2014 6:46 pm
Forum: Sound
Topic: 68000 ASM generating a tone on single FM channel YM2612
Replies: 23
Views: 24875

From my understanding, you're moving that to d1 then to the control port. Which then enables you to write green or red (whatever is in d2 based on the byte test) to the data port. Did I get all of this right? Yes He uses 0x40000003. What page in the Genesis manual can help me understand these numbe...
by twosixonetwo
Sat Sep 20, 2014 5:11 pm
Forum: Sound
Topic: 68000 ASM generating a tone on single FM channel YM2612
Replies: 23
Views: 24875

Are you using a startup code, or is that code all you have total? You'll need at absolute minimum to have a vector table before your code begins or else nothing will work. This is pretty nitpicky, but just to clarify: if you have a mega drive without tmss, you don't even need the full table. The mi...
by twosixonetwo
Fri Sep 19, 2014 7:40 am
Forum: Sound
Topic: 68000 ASM generating a tone on single FM channel YM2612
Replies: 23
Views: 24875

The code works for me in regen (only changed the syntax to AT&T asm). Did you make sure your code is word-aligned? If not, this might be the reason for the crash.
by twosixonetwo
Mon Sep 15, 2014 11:22 am
Forum: Megadrive/Genesis
Topic: 68k PC alignment - could somebody please explain?
Replies: 10
Views: 7469

I think this is due to the 16-bit bus. y guess would be that if you had a 16 bit instruction misaligned, you would need two bus cycles to fetch the instruction. This would be slower and makes instruction fetching a bit more complicated, than it would be if you just stick to the word-alignment. Furth...
by twosixonetwo
Fri Sep 12, 2014 6:25 am
Forum: Tools
Topic: OergoEchoTraXorZ
Replies: 6
Views: 6402

Oh, this looks very promising. I hope the sample playback will be more acurate in the tracker than it is in deflemask (at least the pitch).

I was actually thinking about writing my own sound driver + tracker from scratch, but now I'm not sure if the effort would be worth it ;)
by twosixonetwo
Wed Sep 10, 2014 11:30 am
Forum: Megadrive/Genesis
Topic: Emulator and TMSS
Replies: 13
Views: 9521

Are you sure not even Exodus emulates this correctly? At least it explicitly has an option for using TMSS with and without VDP lockout, I didn't test it though.