Kernel Updates

Topics related to the API, programming discussions & questions, coding tips, bugs, etc. should go here.
User avatar
D3thAdd3r
Posts: 3175
Joined: Wed Apr 29, 2009 10:00 am
Location: Minneapolis, United States

Re: Kernel "upgrade" -- beta 3

Post by D3thAdd3r »

Quick question, both noise channel and PCM effects are supported simultaneously? Do we have to do anything special to set that up?
User avatar
uze6666
Site Admin
Posts: 4778
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Kernel "upgrade" -- beta 3

Post by uze6666 »

Hi Lee,

Yes, noise and PCM will be usable simultaneously when I get to finish the upgrade. I can't say when that will happen though, ever since Maker Faire I got swamped with loads of "real-life" issues. Hopefully in the next few weeks.

-Uze
User avatar
uze6666
Site Admin
Posts: 4778
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Kernel "upgrade" -- Beta 4

Post by uze6666 »

I've published the beta 4 in the first post, it adds support for the remaining video modes and fixed a small bug. Only thing left is add the PCM code for the music player. Should come soon... 8-)

-Uze
User avatar
DaveyPocket
Posts: 378
Joined: Sun Sep 14, 2008 8:33 pm
Contact:

Re: Kernel "upgrade" -- Beta 4

Post by DaveyPocket »

Great job!
User avatar
uze6666
Site Admin
Posts: 4778
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Kernel "upgrade" -- Beta 5

Post by uze6666 »

FYI, I updated the main post with beta5, probably the last one before the final release.

-Uze
HardlyUnique
Posts: 65
Joined: Tue Dec 08, 2009 7:44 pm

Re: Kernel "upgrade" -- Beta 5

Post by HardlyUnique »

So this upgrade frees us about 1/8 RAM and a several thousand CPU-cycles? Am I reading that right?

Nice job! 8-)
User avatar
uze6666
Site Admin
Posts: 4778
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Kernel "upgrade" -- Beta 5

Post by uze6666 »

So this upgrade frees us about 1/8 RAM and a several thousand CPU-cycles? Am I reading that right?
You've read well... ;) 532 bytes of RAM to be exact plus >5000 cycles freed and the kernel size was reduced by ~150 bytes. 8-)

-Uze
User avatar
DaveyPocket
Posts: 378
Joined: Sun Sep 14, 2008 8:33 pm
Contact:

Re: Kernel "upgrade" -- Beta 5

Post by DaveyPocket »

Is the SD card library part of the kernel? How about that FAT fragmentation support ;)
User avatar
uze6666
Site Admin
Posts: 4778
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Kernel "upgrade" -- Beta 5

Post by uze6666 »

Is the SD card library part of the kernel? How about that FAT fragmentation support ;)
No, it's more a standalone library. No progress on this front, though I'm wondering of we should just use an existing open source library. I'm pretty sure there's decent ones out there for the AVR.

-Uze
User avatar
uze6666
Site Admin
Posts: 4778
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Kernel "upgrade" -- Beta 5

Post by uze6666 »

I fixed the emulator to support beta5+, and a windows binary is available here. However I just found out I screwed up the kernel's sound engine somehow in the latest beta-5 :roll: ...the DonkeyKong intro reflects the issue. Hopefully I will be able to fix this soon...

-Uze
Post Reply