User Activity

  • Created ticket #115 on Small Device C Compiler (SDCC)

    [GBZ80] ROM Bank Support

  • Posted a comment on ticket #570 on Small Device C Compiler (SDCC)

    Didnt know that this is a standard macro, I actually defined that in my own library for the gbz80.

  • Modified a comment on ticket #570 on Small Device C Compiler (SDCC)

    the exact code you supplied does not compile, supplying the following error: src/foo.h:47: error 226: no type specifier for '_xy_t_x' Adding a specifier (like char), making the compiler store the value in ROM, is valid. It does save the initial overhead of loading the offsets to the stack, but it is kind of tedious adding these lines after creating the struct definition, and it wastes ROM space. Thanks anyways for the hint, that works as a workaround, kind of like this: const char xy_t_a = __builtin_offsetof(xy_t,...

  • Posted a comment on ticket #570 on Small Device C Compiler (SDCC)

    the exact code you supplied does not compile, supplying the following error: src/foo.h:47: error 226: no type specifier for '_xy_t_x' Adding a specifier (like char), making the compiler store the value in ROM, is valid. It does save the initial overhead of loading the offsets to the stack, but it is kind of tedious adding these lines after creating the struct definition, and it wastes ROM space. Thanks anyways for the hint, that works as a workaround, kind of like this: const char xy_t_a = __builtin_offsetof(xy_t,...

  • Created ticket #570 on Small Device C Compiler (SDCC)

    [gbz80] Defining struct member offsets in order to access them with inline assembly

View All

Personal Data

Username:
callh
Joined:
2018-04-09 16:44:41

Projects

  • No projects to display.

Personal Tools

Monday.com Logo