Page 2 of 3

Re: Creating custom Uzebox

Posted: Sat Sep 23, 2017 10:40 pm
by Halamix2
I'm unable to compile KeyboardFirmware.asm under Linux, can I ask for .hex file?

Re: Creating custom Uzebox

Posted: Sun Sep 24, 2017 12:33 am
by D3thAdd3r
I enabled it in the main makefile, but it doesn't build for me either. I don't have the firmware on my machine currently nor my ISP handy to pull it ATM, perhaps Alec does. It looks like it needs AVR Studio to compile the .asm source. I have some wiki stuff I really need to get done, but I will try and see if that can be fixed. Perhaps the keyboard firmware should be an entirely different folder though?

Re: Creating custom Uzebox

Posted: Sun Sep 24, 2017 4:52 am
by L4rry
Halamix2 wrote: Sat Sep 23, 2017 10:40 pm I'm unable to compile KeyboardFirmware.asm under Linux, can I ask for .hex file?
Here's the latest official boot loader build I believe:
Bootloader_0_4_5.hex
(11.09 KiB) Downloaded 719 times

Re: Creating custom Uzebox

Posted: Sun Sep 24, 2017 12:21 pm
by Halamix2
So I have now working bootloader (with generic SanDisk microSD 2GB with 32KB cluster, video demo is not working),
Unittest shows SD write verify failed,
stabilized picture more by changing low fuse from fe to d7 (ext. oscillator -> full swing oscillator, still want to change oscillator caps),
need to test SPI RAM and wifi extension,
upload all games to SD card (is there listof games or .zip?),
find KeyboardFirmware.hex (found it) and test keyboard extension.
I̶s̶ ̶i̶t̶ ̶n̶o̶r̶m̶a̶l̶ ̶t̶h̶a̶t̶ ̶U̶z̶e̶b̶o̶x̶ ̶g̶o̶e̶s̶ ̶t̶o̶ ̶b̶o̶o̶t̶l̶o̶a̶d̶e̶r̶ ̶o̶n̶ ̶e̶v̶e̶r̶y̶ ̶r̶e̶s̶t̶a̶r̶t̶ ̶e̶v̶e̶n̶ ̶w̶i̶t̶h̶ ̶n̶o̶ ̶b̶u̶t̶t̶o̶n̶s̶ ̶h̶e̶l̶d̶?(yup, it's normal)
I also have this checker board pattern/flying pixels on my screen, not sure why: (and video of questionable quality)

Re: Creating custom Uzebox

Posted: Sun Sep 24, 2017 12:57 pm
by Artcfox
Halamix2 wrote: Sun Sep 24, 2017 12:21 pm upload all games to SD card (is there listof games or .zip?),
If you download this repo as a .zip file, there will be a games folder inside that has most of the known games. What I did was extract just the games directory into a folder and told the extraction program to ignore the zipped directory structure so it dumped them all into the same folder. You'll have to get Tornado 2000 and its level file separately though, because its level file is very large: http://uzebox.org/wiki/Tornado_2000 (click on the download links, and it'll redirect you to a Google Drive download page).
Halamix2 wrote: Sun Sep 24, 2017 12:21 pmIs it normal that Uzebox goes to bootloader on every restart even with no buttons held? (efuse 0xFF, hfuse 0xD2, lfuse 0xD7, maybe hfuse should be 0xD3?)
If you press SELECT at the bootloader, you can configure whether it always boots to the bootloader or if it boots to the last game you flashed. You'll see in the bottom right corner it will either say GAME or MENU.

Re: Creating custom Uzebox

Posted: Tue Sep 26, 2017 2:14 am
by uze6666
I also have this checker board pattern/flying pixels on my screen, not sure why: (and video of questionable quality)
Saw that once but can't quite recall the issue. Some grounding issue can cause this when a pin or wire is floating or acting as an antenna.

Re: Creating custom Uzebox

Posted: Sun Oct 01, 2017 5:51 pm
by Halamix2
I reworked the solder on ground line and this fixed the problem.
Keyboard is working properly (there is no ps/2 mouse->snes converter?), I also tried to make VGA connector but HSYNC is too low for my monitors (16.2KHz x 58Hz on LCD or 15.7KHz x 60.2Hz on LCD, minimum is 30KHz for LCD, I thought CRT needed only ~15KHz (apparently not) but I lost the manual).
I've also bought extremely cheap SCART->composite converter for 5zł ($1.3) for fun and as expected it doesn't work (only composite/s-video cables are connected 1:1)
Also I've played games with a friend for 3 hours, we had much fun :). Sometimes bootloader showed there is no SD card but unplugging power and plugging it again fixed this.

Re: Creating custom Uzebox

Posted: Mon Oct 02, 2017 8:35 am
by Jubatian
Halamix2 wrote: Sun Oct 01, 2017 5:51 pmAlso I've played games with a friend for 3 hours, we had much fun :). Sometimes bootloader showed there is no SD card but unplugging power and plugging it again fixed this.
Indeed, there are some quite fun games for Uzebox already including two player ones! :) Did you try just removing and reinserting the card? The bootloader might detect it then (when it prints out "no card", it is actually waiting for a card to be inserted).

I heard that some monitors do work with ~16KHz too, but it certainly isn't the majority.

Re: Creating custom Uzebox

Posted: Tue Oct 03, 2017 4:34 pm
by uze6666
I reworked the solder on ground line and this fixed the problem
Cool! :P something else to assume to the uzebox troubleshooting wiki page.

Re: Creating custom Uzebox

Posted: Thu Nov 30, 2017 2:19 pm
by Kilo
Halamix2 wrote: Sun Oct 01, 2017 5:51 pm I've also bought extremely cheap SCART->composite converter for 5zł ($1.3) for fun and as expected it doesn't work (only composite/s-video cables are connected 1:1)
This is not a real converter. It's more an adapter.
Today I built up a FBAS converter with the Motorola IC MC3177.
So I will test it later on if it works! That would be an alternative to the AD725 ;)