Jump to content
IGNORED

Common code base with UnoCart


Al_Nafuur

Common Code base Project Name  

10 members have voted

  1. 1. How shall we name the common code base project on Github

    • United Carts of Atari (UCA)
      5
    • MultiCart10400 (MC10K)
      0
    • Open Atari ARM MultiCarts (OAAM)
      1
    • Pharaoh Cart
      1
    • Trinity Cart
      3

This poll is closed to new votes

  • Please sign in to vote in this poll.
  • Poll closed on 12/19/2022 at 10:26 AM

Recommended Posts

7 minutes ago, Andrew Davie said:

Why not change the operation and store the "offline ROMs" on the SD card?

Makes sense to me.

Not all device configurations have a SD-Card. "Offline" can refer to the SD-Card or the MCU Flash, that's why I want to name all the possible storage places (PlusStore, SD-Card, Flash) consistently so the user don't mix them up. 

Link to comment
Share on other sites

Just now, Al_Nafuur said:

Not all device configurations have a SD-Card. "Offline" can refer to the SD-Card or the MCU Flash, that's why I want to name all the possible storage places (PlusStore, SD-Card, Flash) consistently so the user don't mix them up. 

My Library on SD Card

My Library in Flash ROM

 

Link to comment
Share on other sites

59 minutes ago, Andrew Davie said:

The size reported seems about right for the 4 GB card I am using.

The "used" amount is probably because the card needs a good reformat.

 

I reformatted the card, and copied the files back on to it.

It now shows 3825 MiB size, 2 MiB used.

 

It would be nice to display the SD card's volume name somewhere, perhaps in the System Info.

Or, it could go in the title bar. Would be useful there if you have multiple SD cards in use.

Link to comment
Share on other sites

7 minutes ago, Al_Nafuur said:

New UnoCart version, with firmware update function from SD-Card. If a "firmware.bin" file is in the root directory of the SD-Card the firmware gives an option to flash this file.

 

 

UnoCart.bin 99.68 kB · 0 downloads UnoCart.elf 252.01 kB · 0 downloads

Tested by flashing from the PlusCart back to v17.

I got the update message, and then an endless spinner.

On reboot (after about 30 s) the UnoCart is "dead" - i.e., failure

I re-flashed manually with the firmware I was trying to update, and all OK

That confirms that I have a valid firmware file.

Then I manually reflashed the PlusCart version, and tried the update again.

Same result.  So, failure.

Link to comment
Share on other sites

Just now, Andrew Davie said:

Tested by flashing from the PlusCart back to v17.

I got the update message, and then an endless spinner.

On reboot (after about 30 s) the UnoCart is "dead" - i.e., failure

I re-flashed manually with the firmware I was trying to update, and all OK

That confirms that I have a valid firmware file.

Then I manually reflashed the PlusCart version, and tried the update again.

Same result.  So, failure.

The PlusCart/UnoCart flash function skips the 16KiB user data (emulated) eeprom in flash sector 2, so you can't use it to flash the original UnoCart firmware.

 

Link to comment
Share on other sites

4 minutes ago, Al_Nafuur said:

The PlusCart/UnoCart flash function skips the 16KiB user data (emulated) eeprom in flash sector 2, so you can't use it to flash the original UnoCart firmware.

 

OK. I tested again with the previous "non-firmware-updating" version as my "firmware.bin" file.

So, with the newest version it correctly detected there was an update file present.

I did the update, and it did its stuff and rebooted.

It no longer detects the firmware.bin file so I'd call that a success.

Might be worth considering updating the version # so we can be sure which version I'm actually running.

Link to comment
Share on other sites

1 minute ago, Andrew Davie said:

Might be worth considering updating the version # so we can be sure which version I'm actually running.

https://gitlab.com/firmaplus/atari-2600-pluscart/-/commit/79f35c2bf8da1f21ed9d570c23534b3c587c634c

 

new major

?

 

Link to comment
Share on other sites

On 1/14/2021 at 5:14 PM, Andrew Davie said:

Maybe if you asked @Albert he could flip the "private" bit in the database and make the club public.

 

 

On 1/14/2021 at 5:22 PM, Albert said:

Yes, I can definitely do that if asked.

 

 ..Al

@Albert, you can (definitely) do it, and switch this club from private to open.

Edited by Al_Nafuur
Link to comment
Share on other sites

50 minutes ago, Al_Nafuur said:

we also need the (rotating) SD logo

Rotation in 4 frames seems out of the question, and there are only 3 bytes spare. A frame takes 6 bytes, so no extra frames.

I did make an effort, though, to use some sort of animating "SD".

 

 

 

Here's the data. You want the "SPINNER = 1" version for UnoCart

 

PlusLogoAnimation

    IF SPINNER = 0

    .byte 0, %00011000,%00000100,%00010010,%10111010,%10010000,%01000000,%00110000
    .byte 0, %00111000,%01000100,%00010000,%00111000,%00010000,%01000100,%00111000
    .byte 0, %00110000,%01000000,%10010000,%10111010,%00010010,%00000100,%00011000
    .byte 0, %00000000,%01000100,%10010010,%10111010,%10010010,%01000100,%00000000 ; static 

    ENDIF

    IF SPINNER = 1

    .byte 0, %00000000,%00000000,%00000000,%00110000,%00000000,%00000000,%00000000
    .byte 0, %00000000,%00000000,%01110000,%01111000,%00010000,%00000000,%00000000
    .byte 0, %00000000,%01011100,%00110100,%01110100,%01010100,%00111100,%00000000
    .byte 0, %11001100,%00101010,%00101001,%01001001,%10001001,%10001010,%01101100
    ENDIF

 

  • Like 1
Link to comment
Share on other sites

Now with a bit more finesse...

 

 

IF SPINNER = 1

  .byte 0, %00000000,%00000000,%00000000,%00110000,%00000000,%00000000,%00000000
  .byte 0, %00000000,%00000000,%01010000,%01111000,%00110000,%00000000,%00000000
  .byte 0, %00000000,%01011000,%00110100,%01110100,%01010100,%00111000,%00000000
  .byte 0, %11001100,%00101010,%00101001,%01001001,%10001001,%10001010,%01101100
  ENDIF

 

Link to comment
Share on other sites

Final version, for sure...

 

IF SPINNER = 1
    .byte 0, %00000000,%00000000,%00000000,%00011000,%00000000,%00000000,%00000000
    .byte 0, %00000000,%00000000,%00011000,%00111100,%00011000,%00000000,%00000000
    .byte 0, %00000000,%01001100,%00101010,%01101010,%01001010,%00101100,%00000000
    .byte 0, %11001100,%00101010,%00101001,%01001001,%10001001,%10001010,%01101100
ENDIF

 

 

Edited by Andrew Davie
I cheated
  • Like 1
  • Haha 1
Link to comment
Share on other sites

 

6 minutes ago, Fierodoug5 said:

So can you add a sd card module to a PlusCart and flash it as a UnoCart?

Yes, but the PlusCart and the UnoCart are using different GPIO pins to communicate with the Atari 2600. So you can't use the firmware of the other hardware without some (small) changes.

 

9 minutes ago, Fierodoug5 said:

You can't have a PlusCart and have access to the sd card at the same time?

you can, if you compile the new highly experimental source code from my "reunion" branch:

https://gitlab.com/firmaplus/atari-2600-pluscart/-/tree/reunion

 

then you can build a firmware for all kind of hardware combinations

 

 

4 minutes ago, Fierodoug5 said:

What pins does the sd card hook up to?

 https://github.com/robinhedwards/UnoCart/blob/master/UnoCart_EXCEL4.pdf

grafik.thumb.png.aee1037bbfe08144d6bb0491905127c8.png

 

  • Like 1
Link to comment
Share on other sites

Boy, there is not much room in the cartridge for a SD card breakout board. I am using the smallest micro SD breakout I could find in my drawer and the only good place for it is on the backside of the ESP8266. Take a notch out of the front of the cart housing to gain access to the SD card and the usb port for flashing. Just have to wire it up, then I need some firmware to try it out.

IMG_20210209_204131033_HDR.jpg

IMG_20210209_204207494_HDR.jpg

Screenshot (3).png

Link to comment
Share on other sites

1 hour ago, Fierodoug5 said:

Boy, there is not much room in the cartridge for a SD card breakout board. I am using the smallest micro SD breakout I could find in my drawer and the only good place for it is on the backside of the ESP8266. Take a notch out of the front of the cart housing to gain access to the SD card and the usb port for flashing. Just have to wire it up, then I need some firmware to try it out.

IMG_20210209_204131033_HDR.jpg

 

Screenshot (3).png

No no don't spoil the case like that! I've been looking at this, too. It just needs a tiny little indent in the bottom-half lip and it will fit perfectly.

I'll get it sorted sometime today...

 

IMG20210210133156.thumb.jpg.d3bed4b25f17c1d7d4c86e6d743c2e1d.jpg

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...