Frank Abelbeck · @frank
22 followers · 92 posts · Server troet.cafe

My font library also speaks a very basic printf dialect! I've added a large digit font, too.

Well, finally (after months of reinventing the wheel) I've all tools ready (png, surface, font) to write a... drumroll... clock .

@card10badge

#card10 #l0dable

Last updated 5 years ago

Frank Abelbeck · @frank
22 followers · 92 posts · Server troet.cafe

Created a new : triangledemo. A rotating, flat-shaded cube, demonstrating the new triangle drawing routine of my surface library.

@card10badge

#card10 #l0dable

Last updated 5 years ago

Frank Abelbeck · @frank
22 followers · 92 posts · Server troet.cafe

surfacedemo update: now consistently themed...
@card10badge

Behind the scenes: I had to create a variant of my library for this crawling text. The original library ignores the projection part of homogeneous coordinates, significantly reducing the computational load of the matrix magic.

#card10 #l0dable

Last updated 5 years ago

Frank Abelbeck · @frank
22 followers · 92 posts · Server troet.cafe

Finally! PNG reader and surface/framebuffer libraries work as expected. I'm cleaning up the code right now, so I can update the repo tonight.
@card10badge

#card10 #l0dable

Last updated 5 years ago

Frank Abelbeck · @frank
22 followers · 92 posts · Server troet.cafe

Still can't get my arm-none-eabi toolchain to compile a firmware that boots.

binutils-2.33.1
gcc-9.2.0-r3 +libssp
newlib-2.5.0 +nano

My compiles and runs as long as I don't call certain library functions (like printf with string conversion or math stuff) -- such things freeze my app. epic_file_open() stalls, too.

I don't have debugging hardware, so I have to dissect the elf files. I suspect incompatibility with my newlib nano instance.

@card10badge

#card10badge #l0dable

Last updated 5 years ago

Frank Abelbeck · @frank
22 followers · 92 posts · Server troet.cafe

The newest version of my applies an affine transformation matrix during image composition. This means the sprite can be moved, rotated, sheared, scaled, squeezed etc before painting it onto a surface. LEDs show a cycletime of approx. 20 ms.
@card10badge

#card10badge #l0dable

Last updated 5 years ago

Frank Abelbeck · @frank
22 followers · 92 posts · Server troet.cafe

@card10badge I can build a , but when using math.h float functions (fmodf, sinf etc) I get undefined references. I can resolve these with -lgcc. But then the l0dable freezes when calling any float math function. My firmware fails to boot, too. (used official v1.14 to run the l0dable)

My current toolchain setup:
cross-arm-eabi/binutils-2.33.1
cross-arm-eabi/gcc-9.2.0-r3 +libssp +vanilla
cross-arm-eabi/newlib-3.1.0 +nano

I am at a loss.

#card10 #l0dable

Last updated 5 years ago