Indeed! I confirm it.Artcfox wrote: ↑Fri Aug 21, 2020 3:44 am I'm pretty sure you need to remove this line from the game code: https://github.com/Uzebox/uzebox/blob/m ... res.h#L159
I will check the compiled files later, and report here.
Indeed! I confirm it.Artcfox wrote: ↑Fri Aug 21, 2020 3:44 am I'm pretty sure you need to remove this line from the game code: https://github.com/Uzebox/uzebox/blob/m ... res.h#L159
Jesus... How in the holy Heavens does this thing even compile on older compilers...Artcfox wrote: ↑Fri Aug 21, 2020 3:44 amI'm pretty sure you need to remove this line from the game code: https://github.com/Uzebox/uzebox/blob/m ... res.h#L159
That is what I said too!Jubatian wrote: ↑Fri Aug 21, 2020 5:49 pmJesus... How in the holy Heavens does this thing even compile on older compilers...Artcfox wrote: ↑Fri Aug 21, 2020 3:44 amI'm pretty sure you need to remove this line from the game code: https://github.com/Uzebox/uzebox/blob/m ... res.h#L159
I dicovered, that i do not have suitable joystick. So I can see the menu, but i'm not able to navigate menu and check the game.
You can run them in the emulator:zigfreid wrote: ↑Sat Aug 22, 2020 1:53 pmI dicovered, that i do not have suitable joystick. So I can see the menu, but i'm not able to navigate menu and check the game.
Actually I built a "Uzebox" device, but i forgot about joystick . So i'm going to place order for it on Ali, that's will take a weeks. So i'm sorry, if i cannot check the applications now.
Code: Select all
git clone http://github.com/jubatian/cuzebox
cd cuzebox
make
./cuzebox /path/to/gamefile.uze
Didn't it ever occur to you during the process that those SNES connectors were there for some reason?
I checked my compiled games in emulator, as suggested above and found them working.
===================================
Building demo: demos/Whack-a-Mole/default
===================================
make -C demos/Whack-a-Mole/default UZEBIN_DIR=/home/vitaly/uzebox-master/bin/
avr-gcc -mmcu=atmega644 -Wl,-Map=Whack-a-Mole.map -Wl,-gc-sections uzeboxVideoEngineCore.o gui.o uzeboxCore.o uzeboxSoundEngine.o uzeboxSoundEngineCore.o uzeboxVideoEngine.o Whack-a-Mole.o -o Whack-a-Mole.elf
/usr/bin/avr-ld: Whack-a-Mole.o:/home/vitaly/uzebox-master/demos/Whack-a-Mole/default/../Whack-a-Mole.c:121: multiple definition of `actionButton'; uzeboxCore.o:/home/vitaly/uzebox-master/demos/Whack-a-Mole/default/../../../kernel/uzeboxCore.c:389: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:85: Whack-a-Mole.elf] Error 1
make: *** [Makefile:138: demos/Whack-a-Mole/default] Error 2