Search found 58 matches

by twosixonetwo
Sat Aug 02, 2014 8:22 am
Forum: SGDK
Topic: Strange compiler errors [solved]
Replies: 8
Views: 5053

Strange compiler errors [solved]

While changing my code I encountered the following situation: Let's say I have this code: void handleJoyEvent(u16 joy, u16 changed, u16 state); u8 readVDP60hz() { return (*((u16*)(0xC00004)))&0x1; }; int main() { // [...] JOY_setEventHandler(handleJoyEvent); // [...] } //no declaration of handleJoyE...
by twosixonetwo
Sat Aug 02, 2014 8:14 am
Forum: SGDK
Topic: Makefile
Replies: 3
Views: 2756

Thanks! I wasn't really sure about it, so I thought posting here would be a safer way to clear this than complaining on the bug tracker ;)
by twosixonetwo
Wed Jul 30, 2014 12:49 pm
Forum: Megadrive/Genesis
Topic: NesBox : Genesis Emulator in Flash
Replies: 1
Views: 2838

I tried contra and already the first level was broken (BG didn't scroll as it should). Then I tried Adventures of Batman and robin and the emulation didn't support Shadow/Highlight at all + Some of the music wouldn't play at all. So like one would expect from an online emulator, the quality is far f...
by twosixonetwo
Wed Jul 30, 2014 11:45 am
Forum: SGDK
Topic: Makefile
Replies: 3
Views: 2756

Makefile

While cleaning up my random coding snippets and setting up some project-directories I looked through the makefile to make everything compile again and saw the following parts: out/sega.o: $(LIBSRC)/boot/sega.s out/rom_head.bin $(MKDIR) -p out $(CC) $(FLAGS) -c $(LIBSRC)/boot/sega.s -o $@ and out/rom...
by twosixonetwo
Wed Jun 04, 2014 1:35 pm
Forum: Demos
Topic: Smell those douglas firs
Replies: 3
Views: 4349

Does it use some special method to transfer RAM to VDP or just normal DMA? I'm asking because I wonder what would cause the strang pink flicker when viewing the demo in exodus...
by twosixonetwo
Fri Apr 25, 2014 1:49 pm
Forum: Demos
Topic: wolfenstein demo for sega genesis
Replies: 364
Views: 478333

Nice to see the quick progress!
While playing the new version (on real console) I encountered a bug, though I have no idea what might have caused it. While shooting a guard the game went straight to the title screen, and some part of the sound was hanging (I guess the PSG)...
by twosixonetwo
Thu Apr 24, 2014 7:44 am
Forum: Demos
Topic: wolfenstein demo for sega genesis
Replies: 364
Views: 478333

Oh well, I didn't read ICEknights post before commenting... The new version works great! FPS were very stable (18-23 FPS on 50Hz; 15-20 FPS on 60Hz). I also think that the new dithering method works very well. Its obvious how it works, and it has its limits, but when standing still it looks a lot be...
by twosixonetwo
Tue Apr 22, 2014 10:39 am
Forum: Demos
Topic: wolfenstein demo for sega genesis
Replies: 364
Views: 478333

Hey, great work once again! One thing though: is the new method supposed to work on a real console? I've tried it on my PAL Mega Drive (both, in 50Hz and in 60Hz mode) and all I could see was:
Image

The old method works fine on the same console.
by twosixonetwo
Sat Mar 29, 2014 5:28 pm
Forum: Sound
Topic: Converting .vgm to compressed binaries
Replies: 3
Views: 7583

I'd guess that writing your own player routine and a custom compression for the data would result in a much smaller binary than using vgm and a vgm player. So if you really try to optimise it as much as possible you might want to look into that.
by twosixonetwo
Wed Feb 26, 2014 11:10 am
Forum: Demos
Topic: Ocean Melody
Replies: 6
Views: 8524

So here are my results: I created a wave file with a sine wave. The frequency of this wave was 439.56 hz, the sampling rate was 16000hz. I used this file as a sample in deflemask and compared it with an fm wave (clean sine-wave, A-7). For fusion and actual mega drive I converted the .vgm file from D...
by twosixonetwo
Wed Feb 26, 2014 9:44 am
Forum: Demos
Topic: Ocean Melody
Replies: 6
Views: 8524

I can only test with PAL: http://www.mediafire.com/download/ef6bzm7qb20girl/Ocean_PAL.flac I also recorded a version with 60HZ mod on PAL, but it sounded the same. The PCM samples are out of tune. This might be partially due to the VGM player code. IIRC I tested several VGM Players and version 3.2 w...
by twosixonetwo
Tue Feb 25, 2014 6:05 pm
Forum: Megadrive/Genesis
Topic: Confusion about interlacing
Replies: 5
Views: 5814

Thanks! I knew that there was an interlaced mode, I just heard some people saying that the Mega Drive wasn't capable of any progressive scan at all. Seems like they were wrong :D
by twosixonetwo
Tue Feb 25, 2014 3:51 pm
Forum: Megadrive/Genesis
Topic: Confusion about interlacing
Replies: 5
Views: 5814

Confusion about interlacing

Hey, I have been frequently told that the Mega Drive/Genesis is always outputing interlaced video. I was quite sure, that this meant that only every other line was being output every other frame. This seemed unlikely since I remembered some games having effects which were based on turning sprites on...