Search found 241 matches

by cero
Wed Jan 02, 2019 10:54 am
Forum: SGDK
Topic: Sprite sorting
Replies: 49
Views: 824

Re: Sprite sorting

By adding them first. ;)
by cero
Mon Dec 31, 2018 10:01 am
Forum: Demos
Topic: CVSD Compressed audio example
Replies: 74
Views: 20702

Re: CVSD Compressed audio example

Seems deltas + Huffman would allow a 70-80% lossless 8bit pcm file, but is the z80 fast enough with its bit shifts? Probably not fast enough for 2-4 sfx using such, and music is better off using fm/psg.
by cero
Sun Dec 30, 2018 6:24 pm
Forum: Demos
Topic: Silly little turn based test :)
Replies: 13
Views: 634

Re: Silly little turn based test :)

Changing button combos would become annoying very soon. Paper Marios do it with one button, but have the timing matter, and it's only a bonus. If the button combo was always the same for a certain attack or spell, and wasn't required for it to land, I could see it working nicely.
by cero
Sun Dec 30, 2018 6:10 pm
Forum: Demos
Topic: CVSD Compressed audio example
Replies: 74
Views: 20702

Re: CVSD Compressed audio example

Besides tuning the encoder, it could easily be turned to a lossless compressor. A quick pass over a random song shows there aren't very many unique u32s, just tens or hundreds of thousands. VQlossless: 256 x 4 samples followed by the number N, then N of codes. Probably 30-60% compression, N could be...
by cero
Sun Dec 30, 2018 8:57 am
Forum: Demos
Topic: CVSD Compressed audio example
Replies: 74
Views: 20702

Re: CVSD Compressed audio example

https://files.catbox.moe/incsd9.zip This zip contains the first bad 10s from both the original Bad Apple and the vq2 version, both in the same 22kHz 8bit mono format. Do you really not hear the difference? The vq2 version is a lot worse. edit: I haven't tried the other formats you mention, and I bel...
by cero
Sat Dec 29, 2018 5:20 pm
Forum: Demos
Topic: CVSD Compressed audio example
Replies: 74
Views: 20702

Re: CVSD Compressed audio example

The youtube video was "AMBTC VQ Audio Demonstration", is that a different VQ? I tried your samples from the prev post, and I think they still sound bad. Bad Apple starts ok but becomes terrible when the vocals start, Harry Potter starts bad, both at the best vq2 version. The higher-compressed ones a...
by cero
Sat Dec 29, 2018 10:17 am
Forum: Demos
Topic: CVSD Compressed audio example
Replies: 74
Views: 20702

Re: CVSD Compressed audio example

I listened to your YT video from 2013, and even the best compressed sample was terrible compared to the baseline... Have things improved since that video?
by cero
Sat Dec 15, 2018 7:16 pm
Forum: Megadrive/Genesis
Topic: Wonder Boy System1 to Mega Drive port
Replies: 4
Views: 557

Re: Wonder Boy System1 to Mega Drive port

An asm line-by-line port is certainly going to be accurate, but also take a very long time. "Just" dumping the art and data like levels, either from the binary or from an emulator, then doing the logic by eye might be faster. If you're willing to accept some inaccuracy, that is.
by cero
Mon Nov 26, 2018 9:19 am
Forum: SGDK
Topic: Accessing the data from a tileset
Replies: 5
Views: 340

Re: Accessing the data from a tileset

Save your image as XPM and open it in a text editor ;) Gimp also has direct "export as C".
by cero
Sun Nov 25, 2018 6:19 pm
Forum: SGDK
Topic: Accessing the data from a tileset
Replies: 5
Views: 340

Re: Accessing the data from a tileset

tiles_image.tiles[32/4 * num]

Each tile is 32 bytes. The pointer is 32-bit, so divide by four.
by cero
Tue Nov 20, 2018 10:26 am
Forum: SGDK
Topic: XGM Driver issue
Replies: 21
Views: 875

Re: XGM Driver issue

__sync_synchronize() seems to compile fine with my sgdk gcc.
by cero
Sun Oct 21, 2018 6:31 am
Forum: SGDK
Topic: Question about VDP_showFPS
Replies: 6
Views: 524

Re: Question about VDP_showFPS

Bool doesn't exist in older C standards, and in newer it's just an alias for u8 usually.
by cero
Thu Oct 18, 2018 6:08 pm
Forum: Demos
Topic: Game similar to Resident Evil
Replies: 21
Views: 3086

Re: Game similar to Resident Evil

I see the images fine.
by cero
Tue Oct 09, 2018 5:06 pm
Forum: Megadrive/Genesis
Topic: simple 68k loop
Replies: 21
Views: 2024

Re: simple 68k loop

That is not code, it's data. You can't change it to code.
by cero
Tue Oct 02, 2018 4:53 pm
Forum: Hardware
Topic: Second Dimension PCB's
Replies: 6
Views: 1374

Re: Second Dimension PCB's

Consider Krikzz Flashkits if you don't need SRAM. They use modern flash and have good availability, and no soldering.

Db-electronics considers them bad since they use resistors though.