I will re-draw the icons as soon as I get back home (1h or so). Will have them done today
EDIT: …and done.
@jonne Here are the SD icons redrawn in 8x8 grid. I tried to reuse the same “characters” as much as I could (not sure if you needed it this way). This is how they all fit together:
The first four tiles (left top & bottom and middle top & bottom) in each icon are always the same. The top right is always different and bottom right is only different in ? and text file icons.
The faces are aligned so you can call them at the same X and Y+4 as the sd card (assuming that black will be transparent)
Here’s the tileset in 1x1 ratio
:
If you need any changes, let me know. I will grab some food and check the forum in an hour or so
Using EmBitz will be possible to debug and develop using the same pokitto lib as the Code::Blocks project?
If so, do we need special hardware to debug?
Are there benefits against using the simulator solution?
Yes. That was the whole point. I write almost all my code in Code::Blocks and use the same code (no changes) in EmBitz. The core project files are the same.
If you only make games, you can get very far with the simulator / debugging using output from the program. There is actually a console class already designed for outputting debug data during execution but I havent had time to update it. It allows you to output debug messages on screen on top of your application. That said, a hardware debugger is a beautiful thing, but it can be difficult to learn. One of my aims is to publish information on how anyone can get started with ARM Cortex debugging on the cheap and explain how free/cheap software is used for development. There’s alot of things I’ve had to figure out on the way and I want to share that also.
Loader is now jumping cleanly between 2 programs. This means the MCU shuts down cleanly and jumps to the new program cleanly and runs it 100% correct. This means we can have many resident programs at the same time that can all control LCD, read SD, read buttons, make sound etc. It’s very very nice. Video coming later
Some day I will tell you exactly what happened but good grief there was some nasty nasty stuff on the way. I had to learn to debug with multiple symbol files from gdb command line among other things. I found a mistake in the cmsis_nvic initialization that was done by ARMmbed themselves.
The bootloader in Pokitto is pushing the boundary of whats been done on the Cortex-M0+.
I am thinking about something like this. The idea is that each game (if the author has supplied it) has an embedded icon of 32x32 pixels at 16 colors. This icon & basic info “pops up” in the file loader windows as you scroll down the files.
The reason for this size (32x32) is that I can then put the icon of the current program into the EEPROM and use it in the start menu even when SD card is not present (its a bit complicated but anyways). Also included is the name of the game and 1 byte for the “game style” (action / puzzle etc)
Do you “get” this idea or should I think about another kind of UI?