Creating custom Uzebox

What is a Uzebox? How can I get one? Check here!
Halamix2
Posts: 16
Joined: Mon Jun 06, 2016 10:04 pm

Re: Creating custom Uzebox

Post by Halamix2 » Sat Sep 23, 2017 10:40 pm

I'm unable to compile KeyboardFirmware.asm under Linux, can I ask for .hex file?

User avatar
D3thAdd3r
Posts: 2422
Joined: Wed Apr 29, 2009 10:00 am
Location: Minneapolis, United States

Re: Creating custom Uzebox

Post by D3thAdd3r » Sun Sep 24, 2017 12:33 am

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?

User avatar
L4rry
Posts: 239
Joined: Sun Dec 28, 2014 7:19 am
Location: Cape Town, South Africa

Re: Creating custom Uzebox

Post by L4rry » Sun Sep 24, 2017 4:52 am

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 110 times

Halamix2
Posts: 16
Joined: Mon Jun 06, 2016 10:04 pm

Re: Creating custom Uzebox

Post by Halamix2 » Sun Sep 24, 2017 12:21 pm

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)
Attachments
20170924_124244_HDR_1000.jpg
20170924_124244_HDR_1000.jpg (284.33 KiB) Viewed 3590 times
Last edited by Halamix2 on Sun Sep 24, 2017 2:09 pm, edited 2 times in total.

User avatar
Artcfox
Posts: 945
Joined: Thu Jun 04, 2015 5:35 pm
Contact:

Re: Creating custom Uzebox

Post by Artcfox » Sun Sep 24, 2017 12:57 pm

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 pm
Is 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.

User avatar
uze6666
Site Admin
Posts: 4449
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Creating custom Uzebox

Post by uze6666 » Tue Sep 26, 2017 2:14 am

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.

Halamix2
Posts: 16
Joined: Mon Jun 06, 2016 10:04 pm

Re: Creating custom Uzebox

Post by Halamix2 » Sun Oct 01, 2017 5:51 pm

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.
Attachments
scart_composite.jpg
scart_composite.jpg (14.44 KiB) Viewed 3543 times

User avatar
Jubatian
Posts: 1355
Joined: Thu Oct 01, 2015 9:44 pm
Location: Hungary
Contact:

Re: Creating custom Uzebox

Post by Jubatian » Mon Oct 02, 2017 8:35 am

Halamix2 wrote:
Sun Oct 01, 2017 5:51 pm
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.
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.

User avatar
uze6666
Site Admin
Posts: 4449
Joined: Tue Aug 12, 2008 9:13 pm
Location: Montreal, Canada
Contact:

Re: Creating custom Uzebox

Post by uze6666 » Tue Oct 03, 2017 4:34 pm

I reworked the solder on ground line and this fixed the problem
Cool! :P something else to assume to the uzebox troubleshooting wiki page.

User avatar
Kilo
Posts: 277
Joined: Wed Dec 19, 2012 3:43 pm
Location: AC, Germany

Re: Creating custom Uzebox

Post by Kilo » Thu Nov 30, 2017 2:19 pm

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 ;)
The last digit of Pi is 7! I calculated this, as I counted to infinity yesterday!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest