Search found 786 matches

by Shiru
Sat Feb 25, 2012 10:31 am
Forum: Demos
Topic: Axelay scroll proof of concept
Replies: 17
Views: 18657

Axelay scroll proof of concept

Just made this small demo ( video ) that shows Axelay -like scrolling to prove the fact that SNES does not use Mode 7 to do this to some people who had doubts about my explaination how this actually works. No source code is provided because it is really crude (in C), made in no time just to get some...
by Shiru
Fri Feb 24, 2012 10:34 am
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 852
Views: 1124848

Here is what should be done to make TFC C player work with any Z80 sample player: void ym2612wr(u8 reg,u8 val,u8 bank) { volatile u16 *pz; volatile u8 *pw,*pa,*pd; pz=(u16*)Z80_HALT; //stop Z80 to prevent it from corrupting a register write *pz=0x100; while(*pz&1); //wait for busreq pw=(u8*)YM2612_A...
by Shiru
Wed Feb 22, 2012 12:47 am
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 852
Views: 1124848

It is rather easy if you play TFC on M68K side and samples on Z80 side - you don't need a special driver to do this. You only need to modify TFC player a bit, by stopping Z80 before writing to YM2612 registers and selecting DAC register after write and running Z80 again. By the way, Stef, it seems t...
by Shiru
Sat Feb 18, 2012 7:24 pm
Forum: Megadrive/Genesis
Topic: Language detection for region lock
Replies: 11
Views: 7130

If you want to make your software region locked for some reason, I should say that it is not a good idea - there are rather easy ways (very simple HW mods, Mega Key) to overcome this. So it would only make some discomfort for users.
by Shiru
Sun Jan 08, 2012 5:45 am
Forum: Video Display Processor
Topic: question about DMA
Replies: 22
Views: 13660

I gave you an example in the post above. I don't know how to explain it in more details, sorry. Code in your second post looks like a correct one. There is also some __attribute__((aligned(N)) in GCC that could be used to align C data, but I don't know how to use it exactly and is it work in the Gen...
by Shiru
Sat Jan 07, 2012 5:06 am
Forum: Video Display Processor
Topic: question about DMA
Replies: 22
Views: 13660

Use align directive. If you use C, declare the data external in C program, include it as binary at the end of sega.s. Something like this:

Code: Select all

C:

extern const unsigned char mydata[];

Asm:

_mydata:
 .align 131072
 .incbin "yourdata.bin"
by Shiru
Thu Jan 05, 2012 4:15 am
Forum: Megadrive/Genesis
Topic: Anyone ever use yy chr for MD graphics?
Replies: 5
Views: 6273

What YY-CHR does as an editor in regard to the Genesis graphics that general purpose graphics editors aren't capable? I mean, for me it seems way much easier to make a 16-color bitmap, and convert it with a command line tool during build process. If it would support multipalette (and/or two layer) i...
by Shiru
Sun Nov 27, 2011 7:07 am
Forum: Tools
Topic: How to reduce the size of "rom.bin" by SGDK?
Replies: 9
Views: 7237

GYM is very outdated format, why even bother messing with it? If you need a format for register dump to play on the console, you can make your own that would be at least as good as GYM in few minutes. vgmmaker11 and tfmmaker10 are outdated too, there are newer versions. It is not possible to convert...
by Shiru
Thu Nov 24, 2011 6:25 pm
Forum: Megadrive/Genesis
Topic: Pseudorandom generation
Replies: 28
Views: 19378

All the software random generators are pseudorandom, they give exactly the same sequence every time. It does not matter which algorithm you will use, you still will have the problem. To fix it you need to introduce a real random. The most common source for it is user input. For example, the time tha...
by Shiru
Thu Nov 24, 2011 4:39 pm
Forum: Sound
Topic: what's the differnces between .tfd and .tfe
Replies: 5
Views: 4701

File/Export/TFD file for SMD
by Shiru
Tue Nov 22, 2011 9:04 pm
Forum: Demos
Topic: Game release, Uwol - Quest For Money
Replies: 36
Views: 41761

I noticed a major bug that no one reported - sprites were not cleared after soft reset. So I fixed this bug and also (hopefully) the palette update. You can redownload files (game and source code) using links from the first post, it is v1.2 now.
by Shiru
Sun Nov 20, 2011 7:27 pm
Forum: Tools
Topic: PC Paint / piroPAINT (Sega Master System - Mode)
Replies: 2
Views: 4252

You can easily draw Genesis graphics in any standart graphics editor. You don't really need a special one, and even if you need it for some special tasks (want to have ability to use few palettes at once or support for shadow/highlight), it is much easier to modify an exitsting one. Making a good gr...
by Shiru
Wed Nov 16, 2011 9:36 am
Forum: Tools
Topic: VGM Music Maker
Replies: 93
Views: 75200

Please redownload the file, there was a bug in VGM exporter (screwed tags and 1.50) introduced in last minute.
by Shiru
Tue Nov 15, 2011 8:16 pm
Forum: Tools
Topic: VGM Music Maker
Replies: 93
Views: 75200

Download VGM Music Maker v1.1 (2.10M) 1.1 15.11.11 * A fix in FM2612 emulation suggested by ValleyBell * PSG channels frequency is set in init, to set default fine pitch of PSG noise channel + Export module as a text file * TFD export has been broken * Noise mode display instead of notes in the PSG...