Search found 23 matches

by rv6502
Wed Jul 31, 2019 4:36 am
Forum: Hardware
Topic: The quest to a portable Uzebox - update!
Replies: 203
Views: 47114

Re: The quest to a portable Uzebox - update!

L4rry wrote:
Tue Jul 30, 2019 5:16 pm
So I've finally assembled my first uzebox portable
Great, another bot posting pron. :lol:

Looks damn sexy.
by rv6502
Fri Jun 28, 2019 6:31 am
Forum: Uzebox Derivatives & open source consoles
Topic: MicroDuo if ever (2 x ATmega1284 system)
Replies: 13
Views: 3427

Re: MicroDuo if ever (2 x ATmega1284 system)

Also could we merge the gamepads into some other GPIO? MOSI could control the latch (drop MOSI, raise it back up, no SPI clock, SD card sees nothing) SPI clock pin could clock the gamepads as well as clock the SD card (MOSI is sending 0xFF to prevent latching the gamepads, that's a NOP for the SD ca...
by rv6502
Fri Jun 28, 2019 5:18 am
Forum: Uzebox Derivatives & open source consoles
Topic: MicroDuo if ever (2 x ATmega1284 system)
Replies: 13
Views: 3427

Re: MicroDuo if ever (2 x ATmega1284 system)

Makes sense. resistors between the two MCUs to protect from accidental driving on both sides? How about a 9th color pin that forces the output to white? bst/bld could be used with that pin to add some kind of overlay for cheap, or quicker 1bpp output. I'm also trying to figure out a cheap way to swi...
by rv6502
Tue Jun 25, 2019 1:48 am
Forum: Uzebox Derivatives & open source consoles
Topic: MicroDuo if ever (2 x ATmega1284 system)
Replies: 13
Views: 3427

Re: MicroDuo if ever (2 x ATmega1284 system)

28 pins is really not enough anyway, it would halve transfer rate from Logic CPU to GPU (8 bits instead of 16 bits in one synchronized transfer), which would be a major hit for the versatility of the design. Can you really pump 16bits transfers on a 1284 tho? The extra bits can certainly be useful ...
by rv6502
Sun Jun 09, 2019 4:53 pm
Forum: Programming & Software
Topic: SPIF gets cleared if ANY interrupt happens?
Replies: 14
Views: 2924

Re: SPIF gets cleared if ANY interrupt happens?

Jubatian wrote:
Sun Jun 09, 2019 9:43 am
Didn't the complier send a warning on this one?
Not when you accidentally that setting in the Makefile. :lol:
by rv6502
Sun Jun 09, 2019 8:12 am
Forum: Programming & Software
Topic: SPIF gets cleared if ANY interrupt happens?
Replies: 14
Views: 2924

Re: SPIF gets cleared if ANY interrupt happens?

What are you trying to accomplish by the way here? (Or is it some top secret stuff for a new awesome project? ) I got a few projects that involve SD cards. Most not on Uzebox but it's got an SD socket and is hooked to my computer. And also learning FAT16/32 format. And although I still don't know w...
by rv6502
Fri Jun 07, 2019 10:13 pm
Forum: Programming & Software
Topic: SPIF gets cleared if ANY interrupt happens?
Replies: 14
Views: 2924

Re: SPIF gets cleared if ANY interrupt happens?

One of the ones that I can't init yet is the one the Uzebox kit came with :D

Kind of hard to dismiss it as a bad apple LOL
by rv6502
Tue Jun 04, 2019 7:53 am
Forum: Programming & Software
Topic: SPIF gets cleared if ANY interrupt happens?
Replies: 14
Views: 2924

Re: SPIF gets cleared if ANY interrupt happens?

kind of off-topic but progress, I got 4 out of 6 SD cards initialising fine.

The SD protocol documentation is really terrible. incomplete flow charts, details of commands all over the place, ...

I'm really enjoying figuring this stuff out. Brings back memories.
by rv6502
Mon Jun 03, 2019 10:59 pm
Forum: Programming & Software
Topic: SPIF gets cleared if ANY interrupt happens?
Replies: 14
Views: 2924

Re: SPIF gets cleared if ANY interrupt happens?

I downloaded AVR Studio but haven't had time to install and test it in wine.

Now it's not crashing with interrupts enabled... I'm not sure what changed but if it crashes again I'll try AVR Studio.

Starting to think it's something completely unrelated to SPI. *shrug*
by rv6502
Fri May 31, 2019 11:17 pm
Forum: Programming & Software
Topic: SPIF gets cleared if ANY interrupt happens?
Replies: 14
Views: 2924

Re: SPIF gets cleared if ANY interrupt happens?

What does the ASM in the LSS file look like for that C? The short function (that infinite-loops randomly waiting for the flag) without all the testing crap: 000003f6 <_Z8SPI_Sendh>: 3f6: 8e bd out 0x2e, r24 ; 46 3f8: 0d b4 in r0, 0x2d ; 45 3fa: 07 fe sbrs r0, 7 3fc: fd cf rjmp .-6 ; 0x3f8 <_Z8SPI_S...