Search found 86 matches
- Tue Oct 06, 2015 11:06 pm
- Forum: SGDK
- Topic: Spliting into several source files.
- Replies: 8
- Views: 4478
Re: Spliting into several source files.
For reference, the reason "inc" works is because the Makefile is adding it to the header search path. You could have added -Ihed to your Makefile, but 'inc' and 'include' are de-facto standard names so it is best to use those. Your project root would have worked as well but it's more organized to ke...
- Tue Oct 06, 2015 11:03 pm
- Forum: SGDK
- Topic: Light init?
- Replies: 5
- Views: 3615
Re: Light init?
I see; I'll look into modifying it myself then. As for internal functions which rely on it, I'm really only using SGDK for these things: -Init the VDP -Set up some VDP registers for configuration (Plane / sprite table locations, display width/height, etc) -Perform a DMA Everything else I am doing ma...
- Tue Oct 06, 2015 12:35 am
- Forum: SGDK
- Topic: Spliting into several source files.
- Replies: 8
- Views: 4478
Re: Spliting into several source files.
That is absolutely fine and considered best practice for splitting code across areas of functionality and data. You will want a header for every source file you create to declare your functions and data structures. This tells the compiler "there exist these functions" so when other files #include yo...
- Mon Oct 05, 2015 9:10 pm
- Forum: SGDK
- Topic: SGDK Linux with limited internet.
- Replies: 1
- Views: 1936
Re: SGDK Linux with limited internet.
I know I am late, but if you can get to a 64-bit machine I put together a package of a prebuilt Gendev+SGDK setup for Linux 64-bit.
http://csh.rit.edu/~moffitt/gendev64/
http://csh.rit.edu/~moffitt/gendev64/
- Mon Oct 05, 2015 8:55 pm
- Forum: SGDK
- Topic: Light init?
- Replies: 5
- Views: 3615
Light init?
I like using SGDK for ease of some hardware functions but there is a lot going on I'd like the ability to disable. Is there an easy way to disable the following without modifying SGDK? -Transfer of font into VRAM; subsequent linking of font into ROM (little bit of space saving) -Ext, V, or H interru...
- Thu Oct 01, 2015 4:26 pm
- Forum: Sound
- Topic: New Documentation: An authoritative reference on the YM2612
- Replies: 865
- Views: 2335622
Re: New Documentation: An authoritative reference on the YM2612
I played with clocking the YM2612 with a function generator. At a VERY low frequency it seemed to lose its internal state, and it may have been around 1/4. The use of DRAM would explain that. Naturally a high speed clock caused issues as well, though it went remarkably high before issues appeared.
- Wed Sep 30, 2015 4:34 pm
- Forum: Collaboration
- Topic: Chaos Tracker (formerly YMDj/Prodigy) Genesis/MD/32x/SegaCD
- Replies: 2
- Views: 9167
Re: Chaos Tracker (formerly YMDj/Prodigy) Genesis/MD/32x/SegaCD
I'm fully interested in this. If you are going to be doing any of this in C, I'd be interested in contributing if you are looking for collaborators.
- Tue Sep 29, 2015 9:16 pm
- Forum: Megadrive/Genesis
- Topic: What happens if the VBLANK int code takes too long?
- Replies: 2
- Views: 2593
Re: What happens if the VBLANK int code takes too long?
I don't remember if that is what will happen in that situation, but one solution is to have your vblank routine set a flag that vblank is active, which will let your main code spin on that flag until VBlank sets it, at which point your vblank logic can occur.
- Tue Sep 29, 2015 6:46 pm
- Forum: Hardware
- Topic: Potentiometer Genesis Overclocking and ramifications.
- Replies: 3
- Views: 10136
Re: Potentiometer Genesis Overclocking and ramifications.
I clocked my YM2612 with a function generator. It did exactly what you expected - controlling output frequency. I suspect the envelope generator will be scaled accordingly as well.
https://www.youtube.com/watch?v=ve5YBiFyLX4
https://www.youtube.com/watch?v=ve5YBiFyLX4
- Mon Sep 28, 2015 4:34 pm
- Forum: Sound
- Topic: Sega CD Mode 1 support functions for SGDK
- Replies: 25
- Views: 84725
Re: Sega CD Mode 1 support functions for SGDK
I'm just calling it what people are already calling it, I don't care what name it's given as long as it's consistent.
- Sat Sep 26, 2015 9:48 pm
- Forum: Sound
- Topic: Sega CD Mode 1 support functions for SGDK
- Replies: 25
- Views: 84725
Sega CD Mode 1 support functions for SGDK
Hi everyone, first post here but it looks like the place to go for Sega development. I've been working on porting Lyle in Cube Sector to Sega Genesis and I thought it would be neat to offer the ability to put in a deluxe soundtrack CD to get the original game audio, so I set about implementing Mode ...