Kernel Updates
Re: Kernel Updates
Little update: Added the "Akuma" SPI Ram demo to Github. Also sent a mail to PitfallJones in the hope of getting the sources for his games (Chucky Egg, XOR, Buddah & Pengo).
Re: Kernel Updates
I do like your newfound determination to track down the sources for all the Uzebox games. What aboout including Nicksen's inc2png in the tools section of the repo?
Did you say that the kernel used to use RAM patches? Will it be hard to implement? It would be for me as I don't know asm and I presume it would have to be written in assembly.
Speaking of which, is there a good beginners guide to learning AVR asm? I think most everyone here learned another dialect like Z80 first.
Did you say that the kernel used to use RAM patches? Will it be hard to implement? It would be for me as I don't know asm and I presume it would have to be written in assembly.
Speaking of which, is there a good beginners guide to learning AVR asm? I think most everyone here learned another dialect like Z80 first.
-
- Posts: 1445
- Joined: Mon Feb 11, 2013 8:08 am
- Location: Brisbane, Australia
Re: Kernel Updates
https://avr-asm.tripod.com/index.html is one I use to point people too.
However these days I also strongly recommend looking at the out put of the compiler - the LSS file. As it will also let you learn about the ABI and what registers C needs you toi keep/restore.
https://gcc.gnu.org/wiki/avr-gcc#ABI
However these days I also strongly recommend looking at the out put of the compiler - the LSS file. As it will also let you learn about the ABI and what registers C needs you toi keep/restore.
https://gcc.gnu.org/wiki/avr-gcc#ABI
Re: Kernel Updates
Thanks CF!
I have updated the Tutorials section of the Getting Started wiki page with your links.
https://uzebox.org/wiki/Getting_Started_on_the_Uzebox
I have updated the Tutorials section of the Getting Started wiki page with your links.
https://uzebox.org/wiki/Getting_Started_on_the_Uzebox
Re: Kernel Updates
I spotted a couple of mistakes in the README but then I decided that it didn't read very well so I rewrote it.
https://github.com/Uzebox/uzebox/pull/107
https://github.com/Uzebox/uzebox/pull/107
Re: Kernel Updates
Not really newfound, browse the old forums you can see I used to bug peoples a lots for their sources.I do like your newfound determination to track down the sources for all the Uzebox games. What aboout including Nicksen's inc2png in the tools section of the repo?
Low level mixing has to be in ASM, but the patches code can be in C plain C.Did you say that the kernel used to use RAM patches? Will it be hard to implement? It would be for me as I don't know asm and I presume it would have to be written in assembly.
Thanks for the fixes, though there's some parts I'd rather keep.
Btw, another important place for programming under AVRs, is the avr-libc website:
https://www.nongnu.org/avr-libc/user-manual/pages.html
https://www.nongnu.org/avr-libc/user-manual/FAQ.html
Re: Kernel Updates
I've add a link to the avr-libc man pages to the Tutorials section of the Getting Started wiki page, even tho I'm not sure it counts as a "tutorial". Maybe it belongs instead as a link in the "Help, Tips and Tutorials" section on the main page? I suppose its exact location does't really matters as long as users notice it.uze6666 wrote: ↑Sat Mar 04, 2023 4:39 pm Btw, another important place for programming under AVRs, is the avr-libc website:
https://www.nongnu.org/avr-libc/user-manual/pages.html
https://www.nongnu.org/avr-libc/user-manual/FAQ.html
I didn't think there was much need to add to a link to the avr-libc FAQ too as its linked to on the main avr-libc manuals page.
https://uzebox.org/wiki/Getting_Started_on_the_Uzebox
I spotted the Mac instructions today. Good to know thats an option but it looks like a lot more effort is required than setting up a Linux UB dev env, as I expected.
Re: Kernel Updates
Closely related to me editing the README, this morning I learned that in North America you say game console (singular) but in the UK we always say gameS console, plural. They do play more than one game most of 'em so we're right this time, admit it!
I agree with using ass instead of arse tho, I'll give you that!
I agree with using ass instead of arse tho, I'll give you that!
Re: Kernel Updates
I know you weren't keen on my rewrite of the README Uze but can you fix these errors in it please:
"Many commercial version are or where available" should read "Many commercial versions were available"
"SD/MicroSD and FAT16/32 API" - MicroSD? FAT is a filesystem. Seems odd to refer to its API. I don't think Uzebox uses an official MS FAT API does it?
"The sources comes complete" should read "The sources come complete"
"GameLoader: 4K Bootloader which allows to flash games from a standard FAT16 formatted SD card" - This is horribly out of date. Bootloader5 (gameloader?) supports FAT32 and FAT16.
I really don't like the line "Get one of those if you know nothing about electronics!" personally. I didn't (and don't) know anything about elecronics but it didn't stop me building a Uzebox so I'd adjust or remove that line and besides, those kits etc aren't available any more so there is no kit or pre-built Uzebox to get.
"Many commercial version are or where available" should read "Many commercial versions were available"
"SD/MicroSD and FAT16/32 API" - MicroSD? FAT is a filesystem. Seems odd to refer to its API. I don't think Uzebox uses an official MS FAT API does it?
"The sources comes complete" should read "The sources come complete"
"GameLoader: 4K Bootloader which allows to flash games from a standard FAT16 formatted SD card" - This is horribly out of date. Bootloader5 (gameloader?) supports FAT32 and FAT16.
I really don't like the line "Get one of those if you know nothing about electronics!" personally. I didn't (and don't) know anything about elecronics but it didn't stop me building a Uzebox so I'd adjust or remove that line and besides, those kits etc aren't available any more so there is no kit or pre-built Uzebox to get.
Re: Kernel Updates
Hey, no offense, it's just that I got used to see that text and it is the way it was represented in many other sites and wikis. Send me an updated PR with those minimal corrections and will happily merge it.I know you weren't keen on my rewrite of the README Uze but can you fix these errors in it please: