Skip to content

Broken gfx with modern Uzebox kernel #1

@danboid

Description

@danboid

Hi Steve

I was impressed that u-type still builds under a recent Linux using the latest Uzebox kernel, that's more than I can say for most open source UB games, but unfortunately its not really playable due to several graphical issues, as shown in the attached cuzebox screenshot.

The only warning output during build was:

avr-gcc -I"../../trunk/kernel"  -mmcu=atmega644 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=28636360UL -Os -fsigned-char -ffunction-sections  -MD -MP -MT shooter.o -MF dep/shooter.o.d  -DVIDEO_MODE=3 -DINTRO_LOGO=0 -DSCROLLING=1 -DOVERLAY_LINES=2 -DMAX_SPRITES=18 -DRAM_TILES_COUNT=24 -DFIRST_RENDER_LINE=28 -DSCREEN_TILES_V=26 -DVRAM_TILES_V=24 -DSOUND_CHANNEL_3_ENABLE=0 -c  ../shooter.c
../shooter.c: In function ‘check_enemy_hit’:
../shooter.c:1209:27: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
     && (y == enemies[i].y && y <= enemies[i].y+2) ) {
                           ^
avr-gcc -mmcu=atmega644 -Wl,-Map=shooter.map  -Wl,-gc-sections  uzeboxVideoEngineCore.o uzeboxCore.o uzeboxSoundEngine.o uzeboxSoundEngineCore.o uzeboxVideoEngine.o shooter.o     -o shooter.elf
![Screenshot from 2020-07-09 03-29-18](https://user-images.githubusercontent.com/1429783/86990887-960ddc00-c195-11ea-8b46-0501216b41dc.png)

Are there any working binaries anywhere?

Do you still have a Uzebox?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions