Search found 149 matches

by Count SymphoniC
Sun Jul 19, 2015 5:53 pm
Forum: SGDK
Topic: [C] Passing parameters by registers
Replies: 8
Views: 1537

Wait. So it couldn't be done by including pre assembled .asm code? Would I have trouble mixing asm and C using SGDK?
by Count SymphoniC
Thu Jul 16, 2015 10:24 pm
Forum: Megadrive/Genesis
Topic: Educational question about z80 and 68k
Replies: 4
Views: 1464

Educational question about z80 and 68k

Let's say you have a music sequencer running on the genesis. It's using all sound channels available to it for playback being processed by the z80, with PCM sampling and let's say that the 68k is processing routines for GUI and animation, gamepad input, possibly even a MIDI device, and memory transf...
by Count SymphoniC
Thu Jul 16, 2015 2:33 pm
Forum: SGDK
Topic: SGDK Linux with limited internet.
Replies: 1
Views: 857

SGDK Linux with limited internet.

Long time no see. After alot of hard work, I totally lost all of my source code for my sega music tracker so I decided to restart the project, this time in mixed C and ASM. I got the SGDK up and running on Windows Xp no problem but I'm trying to move all my dev'ing to Linux. Anyways I can't seem to ...
by Count SymphoniC
Tue Oct 28, 2014 2:51 am
Forum: Hardware
Topic: Potentiometer Genesis Overclocking and ramifications.
Replies: 3
Views: 4460

Potentiometer Genesis Overclocking and ramifications.

Someone has offered to do some modding on a Sega Genesis model 2 and donate it to me for the tracker project. On the table amongst other nifty mods are a potentiometer to overclock the Genesis. But this has raised concerns. What would the ramifications of this kind of a mod be on the sound chips' cl...
by Count SymphoniC
Mon Oct 27, 2014 10:06 pm
Forum: Sound
Topic: General guidelines on working with PSG/YM2612 natively
Replies: 49
Views: 18026

Yeah i realized about the D1L parameter when reading back the YM261 documentation. So even for simple pause i need to set both TL and D1L to max value... For the whole YM2612 it requires 24+24 registers writes so 96 YM writes. I think the ADSR env parameters don't need to be modified for simple pau...
by Count SymphoniC
Mon Oct 27, 2014 5:34 pm
Forum: Sound
Topic: General guidelines on working with PSG/YM2612 natively
Replies: 49
Views: 18026

Thanks for the reply, indeed i meant 7F :p I understand the point so if your goal is to only pause a music (in the idea to resume it later) i guess the TL solution is enough right ? And for a true stop you need : - set TL to 7F - set RR to max - key off I guess it should work :) And D1L or secondar...
by Count SymphoniC
Sun Oct 26, 2014 5:57 pm
Forum: Sound
Topic: General guidelines on working with PSG/YM2612 natively
Replies: 49
Views: 18026

I don't know if we already have these numbers but when i was developing my new sound driver i experienced 2 issues on real hardware that i didn't meet on emulators (not tested on Exodus but from my previous tests i believe it's not much better on that specific part). The first one and i expected it...
by Count SymphoniC
Fri Oct 24, 2014 12:53 am
Forum: Tools
Topic: 68k and z80 linking source
Replies: 4
Views: 2161

Generally you create a raw binary of some sort of your Z80 program and include it in your 68K program as you would any other binary file. The only complication is if your Z80 program needs to refer to data at a particular address in your 68K binary (loading DAC samples through the banked area for i...
by Count SymphoniC
Thu Oct 23, 2014 11:06 pm
Forum: Tools
Topic: 68k and z80 linking source
Replies: 4
Views: 2161

68k and z80 linking source

I figured it's been long enough for me to ask another question. How is this accomplished? I'm going to go ahead and learn z80 so I can start work on the DAC portion of my tracker, and I have plenty of documentation *cough* for z80 that I found from google *SNEEZEr57*. But I can't seem to find anythi...
by Count SymphoniC
Thu Oct 23, 2014 10:50 pm
Forum: Demos
Topic: YMDj - A Native Sega Genesis/Megadrive Music Tracker.
Replies: 46
Views: 13979

Added a video link in the main post demonstrating the new colors, playback engine, FM1-FM6 playback and the Synth editor.

I'll worry about purtifying the GUI when I've gotten everything else done.
by Count SymphoniC
Thu Oct 16, 2014 9:36 pm
Forum: Cartridge
Topic: Writing to 8-bit SRAM
Replies: 6
Views: 4331

You don't need assembly to write to SRAM, unless you want to use movep. That doesn't really seem like it's worth the trouble though since SRAM access is usually not performance sensitive. Something like this should work: char * sram = (char *)0x200001; *sram = FIRST_BYTE; sram += 2; *sram = SECOND_...
by Count SymphoniC
Tue Oct 14, 2014 6:54 am
Forum: Sound
Topic: Using the CPU clock for musical timing.
Replies: 11
Views: 6291

Thanks. Well I got started on the playback engine and timing. It's basic, but currently playback will update FM channel 1 every 6 frames and works in harmony with the rest of the tracker without causing any major issues. So I go into my Note Entry+Synth Editor screens and can edit the FM parameters ...
by Count SymphoniC
Mon Oct 13, 2014 4:55 pm
Forum: Sound
Topic: Using the CPU clock for musical timing.
Replies: 11
Views: 6291

EDIT: I should probably clarify something. If I was to code my playback engine using the VBLANK as the core for timing. I would just read (using only FM channel 1 as an example): For each ROW - note, instrument number, velocity, parameters for that instrument, tracker command for that row and that t...
by Count SymphoniC
Mon Oct 13, 2014 3:40 pm
Forum: Sound
Topic: Using the CPU clock for musical timing.
Replies: 11
Views: 6291

I only ask questions when I'm very confused about something. Once again I'm thankful that someone was able to clarify something for me. I was very confused by what Delek meant by using the CPU timer. I thought he was talking about the 68k clock so I was looking for the wrong information that didn't ...
by Count SymphoniC
Mon Oct 13, 2014 5:03 am
Forum: Sound
Topic: Using the CPU clock for musical timing.
Replies: 11
Views: 6291

Using the CPU clock for musical timing.

Hey guys, the synth editor is done and works great! Now I had a talk with Delek the author of Deflemask about timing the playback engine, in frames or ticks. He told me that I could either use the Vertical Blank (sounds very easy to me) for each musical frame. Or I could use the CPU clock. Now since...