Search found 250 matches

by cero
Fri May 17, 2019 5:20 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 785
Views: 335898

Re: Sega Genesis Dev Kit (SGDK)

SLZ looks very similar to LZ4 and Stef's LZ4W. The zlib code I had posted needed 4kb, but it's possible to go as low as 765 bytes, based on the 6502 asm implementation.
by cero
Thu May 16, 2019 7:36 am
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 785
Views: 335898

Re: Sega Genesis Dev Kit (SGDK)

As posted in the thread before I sent zlib code in, aplib does not compress better: http://gendev.spritesmind.net/forum/viewtopic.php?f=19&t=2275 It may decompress faster, but as long as the compressor is closed source, it is unusable. I do have an unreleased project using zlib, but there's no need ...
by cero
Wed May 15, 2019 6:42 am
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 785
Views: 335898

Re: Sega Genesis Dev Kit (SGDK)

I disagree with much of the new direction. I will not pollute my computer with Java. Waiting for another frame in case of a slightly delayed frame will cause jitter for little gain. Zlib is an industry standard, and keeping it would cost nothing. Thus I will keep using an older version, and probably...
by cero
Thu Apr 25, 2019 5:08 pm
Forum: Mega/SegaCD
Topic: Questions on writing a new Mega CD emulator
Replies: 92
Views: 2084

Re: Questions on writing a new Mega CD emulator

(just how many emulators do you have under development at once? :P)
A byuu mcd emu would certainly be welcome, and ease dev for that system.
by cero
Tue Apr 16, 2019 5:13 pm
Forum: Cartridge
Topic: Size limits
Replies: 35
Views: 4924

Re: Size limits

I think many emulators don't bother implementing any limit (beyond a 8-bit var). IIRC I tested mednafen and/or dgen.
by cero
Wed Apr 10, 2019 7:36 am
Forum: Megadrive/Genesis
Topic: Compiling an emulator for enhanced Megadrive
Replies: 42
Views: 1752

Re: Compiling an emulator for enhanced Megadrive

There's little point to the "Tower of power" when a Saturn is better for all practical purposes.
by cero
Mon Apr 08, 2019 7:38 am
Forum: Megadrive/Genesis
Topic: Compiling an emulator for enhanced Megadrive
Replies: 42
Views: 1752

Re: Compiling an emulator for enhanced Megadrive

Dgen is a very nice emulator to modify. However, we've had this same discussion on Nesdev about NES and SNES enhancements several times. The conclusion each time is that it doesn't make any sense. If you want to make unlimited games, target a modern platform. "Console X, but enhanced such that only ...
by cero
Tue Mar 26, 2019 6:58 pm
Forum: Megadrive/Genesis
Topic: Space Herrier II and The Sprite Scanline Limit
Replies: 11
Views: 688

Re: Space Herrier II and The Sprite Scanline Limit

Genesis is unified VRAM, no penalty at all.
by cero
Thu Feb 28, 2019 6:44 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 785
Views: 335898

Re: Sega Genesis Dev Kit (SGDK)

The Linux version of SGDK includes newlib, meaning standard funcs like memcmp are available there.
by cero
Wed Jan 02, 2019 10:54 am
Forum: SGDK
Topic: Sprite sorting
Replies: 58
Views: 2672

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: 22535

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: 1145

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: 22535

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: 22535

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: 22535

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...