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

32 minutes ago, Mr SQL said:

 BigZenithBestGlow.thumb.jpg.3f8c50ce7a1d96f52e4d4f696d26be4c.jpg

With Game Modem everyone knows who the real players are ?

Yes ?

 

It's your score from 2020-10-24T20:50:08+00:00

22nd place on the PlusCart HSC, shall I upload your picture to the HSC?

Edited by Al_Nafuur
Link to comment
Share on other sites

15 hours ago, Al_Nafuur said:

Yes ?

 

It's your score from 2020-10-24T20:50:08+00:00

22nd place on the PlusCart HSC, shall I upload your picture to the HSC?

Sure! :) 

 

That's not always me playing Atari on my Game Modem, what about the ability to enter Guest intials into the main menu to override the userid temporarily for the high-scores tables like at the Arcade?

 

I have House Parties with friends who don't play pacman as well but I got the high score for the 8K version.

Debro's 4K Pacman vision is more challenging, I'm in 3rd place Steve's got the top two and I think a better understanding of those smarter ghosts! :) 

 

These games are all really fun to play on Game Modem/PlusCart compared to playing them disconnected; it really captures the loosely coupled networking feel of the Arcades.


 

Link to comment
Share on other sites

23 hours ago, Mr SQL said:

Sure! :) 

 

done.

 

23 hours ago, Mr SQL said:

That's not always me playing Atari on my Game Modem, what about the ability to enter Guest intials into the main menu to override the userid temporarily for the high-scores tables like at the Arcade?

I thought about something like this too, but the PlusStore (nextcloud) usernames we are currently using must be unique and cannot be changed. So we might setup a new "Nickname" or "Displayname" field in the PlusCart table. This new field would not be unique and could be changed by the user.

Link to comment
Share on other sites

1 hour ago, Al_Nafuur said:

done.

 

I thought about something like this too, but the PlusStore (nextcloud) usernames we are currently using must be unique and cannot be changed. So we might setup a new "Nickname" or "Displayname" field in the PlusCart table. This new field would not be unique and could be changed by the user.

Very cool!

Think we should show both names in the high score tables for party demographic statistics - Which friends friends are playing which games? :) 

 

Link to comment
Share on other sites

I pushed the current state of my local reunion branch to the repository. There are massive changes to the code and the project because of the new periphery (SPI + SD-Card and FatFS). CubeMX had to rebuild the project and I decided to included an update to the build environment and STM firmware package from v1.24.1 to v1.25.2 too.

 

The code needs more cleanup and some features are still missing, but the firmware can be build for the different hardware configurations. Unfortunately I have no UnoCart, so if someone wants to try a build for the UnoCart hardware and if you are able to flash your UnoCart manually, feel free to ask here.

 

 

 

  • Like 1
Link to comment
Share on other sites

7 hours ago, Al_Nafuur said:

I pushed the current state of my local reunion branch to the repository. There are massive changes to the code and the project because of the new periphery (SPI + SD-Card and FatFS). CubeMX had to rebuild the project and I decided to included an update to the build environment and STM firmware package from v1.24.1 to v1.25.2 too.

 

The code needs more cleanup and some features are still missing, but the firmware can be build for the different hardware configurations. Unfortunately I have no UnoCart, so if someone wants to try a build for the UnoCart hardware and if you are able to flash your UnoCart manually, feel free to ask here.

 

 

 

I have a UnoCart which I'm happy to guinea-pig.

Not sure about the procedure for flashing manually though. 

Link to comment
Share on other sites

2 hours ago, Al_Nafuur said:

Alas, did not work

Symptoms - just random vertical bars or blank screen.

I re-flashed UnoCart v17 and all OK

Tried this version again (the .bin file), same symptoms.

 

  • Sad 1
Link to comment
Share on other sites

Here's the successful v17 programming...

 

boo@Andrews-MacBook-Pro Src % st-flash --reset write ~/Downloads/firmware.bin 0x8000000
st-flash 1.6.1
2021-02-05T15:30:34 INFO common.c: F4xx: 192 KiB SRAM, 512 KiB flash in at least 16 KiB pages.
file /Users/boo/Downloads/firmware.bin md5 checksum: 7f6caa6d851dcd131b287a2429c2ddf, stlink checksum: 0x005cf8d7
2021-02-05T15:30:34 INFO common.c: Attempting to write 50560 (0xc580) bytes to stm32 address: 134217728 (0x8000000)
EraseFlash - Sector:0x0 Size:0x4000 2021-02-05T15:30:34 INFO common.c: Flash page at addr: 0x08000000 erased
EraseFlash - Sector:0x1 Size:0x4000 2021-02-05T15:30:34 INFO common.c: Flash page at addr: 0x08004000 erased
EraseFlash - Sector:0x2 Size:0x4000 2021-02-05T15:30:35 INFO common.c: Flash page at addr: 0x08008000 erased
EraseFlash - Sector:0x3 Size:0x4000 2021-02-05T15:30:35 INFO common.c: Flash page at addr: 0x0800c000 erased
2021-02-05T15:30:35 INFO common.c: Finished erasing 4 pages of 16384 (0x4000) bytes
2021-02-05T15:30:35 INFO common.c: Starting Flash write for F2/F4/L4
2021-02-05T15:30:35 INFO flash_loader.c: Successfully loaded flash loader in sram
enabling 32-bit flash writes
size: 32768
size: 17792
2021-02-05T15:30:36 INFO common.c: Starting verification of write complete
2021-02-05T15:30:36 INFO common.c: Flash written and verified! jolly good!

 

Here's the unsuccessful common-codebase version...

 

boo@Andrews-MacBook-Pro Src % st-flash --reset write ~/Downloads/UnoCart.bin 0x8000000
st-flash 1.6.1
2021-02-05T22:18:22 INFO common.c: F4xx: 192 KiB SRAM, 512 KiB flash in at least 16 KiB pages.
file /Users/boo/Downloads/UnoCart.bin md5 checksum: 541baf715345579a2c1eefe4dbc78caf, stlink checksum: 0x00b0cd4b
2021-02-05T22:18:22 INFO common.c: Attempting to write 101840 (0x18dd0) bytes to stm32 address: 134217728 (0x8000000)
EraseFlash - Sector:0x0 Size:0x4000 2021-02-05T22:18:22 INFO common.c: Flash page at addr: 0x08000000 erased
EraseFlash - Sector:0x1 Size:0x4000 2021-02-05T22:18:23 INFO common.c: Flash page at addr: 0x08004000 erased
EraseFlash - Sector:0x2 Size:0x4000 2021-02-05T22:18:23 INFO common.c: Flash page at addr: 0x08008000 erased
EraseFlash - Sector:0x3 Size:0x4000 2021-02-05T22:18:23 INFO common.c: Flash page at addr: 0x0800c000 erased
EraseFlash - Sector:0x4 Size:0x10000 2021-02-05T22:18:25 INFO common.c: Flash page at addr: 0x08010000 erased
2021-02-05T22:18:25 INFO common.c: Finished erasing 5 pages of 65536 (0x10000) bytes
2021-02-05T22:18:25 INFO common.c: Starting Flash write for F2/F4/L4
2021-02-05T22:18:25 INFO flash_loader.c: Successfully loaded flash loader in sram
enabling 32-bit flash writes
size: 32768
size: 32768
size: 32768
size: 3536
2021-02-05T22:18:26 INFO common.c: Starting verification of write complete
2021-02-05T22:18:27 INFO common.c: Flash written and verified! jolly good!

 

Link to comment
Share on other sites

37 minutes ago, Al_Nafuur said:

Programming was successful, but the firmware was bad. Something is wrong with the DATA_OUT and DATA_IN shifts.

 

I fixed one of these, I don't think this will solve the Problem.

 

But if you like:

 

UnoCart.bin 99.46 kB · 0 downloads UnoCart.elf 251.91 kB · 0 downloads

No noticeable change.

Still randomish screens of vertical stripes or blank.

Link to comment
Share on other sites

5 hours ago, Andrew Davie said:

No noticeable change.

Still randomish screens of vertical stripes or blank.

silly mistake, I forgot to init the right GPIO port. This build should have a much better chance to run on UnoCart hardware.

 

UnoCart.bin UnoCart.elf

Edited by Al_Nafuur
Link to comment
Share on other sites

21 minutes ago, Al_Nafuur said:

silly mistake, I forgot to init the right GPIO port. This build should have a much better chance to run on UnoCart hardware.

 

UnoCart.bin 99.49 kB · 0 downloads UnoCart.elf 251.91 kB · 0 downloads

Congrats...

 

IMG20210206062936.thumb.jpg.680e9d09e7dc196e7c9792e014b295de.jpg

 

IMG20210206062944.thumb.jpg.5359c2934a6a3d23bdd049d315245a72.jpg

 

I also tested that it ran "soccer" OK from the SD :)

Edit: NTSC

 

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

12 minutes ago, Andrew Davie said:

Congrats...

 

IMG20210206062936.thumb.jpg.680e9d09e7dc196e7c9792e014b295de.jpg

 

IMG20210206062944.thumb.jpg.5359c2934a6a3d23bdd049d315245a72.jpg

 

I also tested that it ran "soccer" OK from the SD :)

Edit: NTSC

 

Have you checked "Setup/System Info"?

does it show 512 KiB Flash ROM ?

and the correct size of the SD-Card?

 

I think some bankswitching  will not work correctly, especially those with RAM. I mostly used a uint8_t for reading the DATA_IN, this might not work on GPIO 8-15

 

Edited by Al_Nafuur
Link to comment
Share on other sites

6 minutes ago, Andrew Davie said:

I would really really like a different default font for this one!

I mean... really! Can we have a poll or something?

When the club is open for the public, we can make a poll here.

 

Link to comment
Share on other sites

3 hours ago, Al_Nafuur said:

Have you checked "Setup/System Info"?

does it show 512 KiB Flash ROM ?

and the correct size of the SD-Card?

 

I think some bankswitching  will not work correctly, especially those with RAM. I mostly used a uint8_t for reading the DATA_IN, this might not work on GPIO 8-15

 

 

IMG20210206101947.thumb.jpg.2fec7c762812ff1e75e84bd8ac6c8d0c.jpg

 

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.

Link to comment
Share on other sites

1 minute ago, Andrew Davie said:

 

IMG20210206101947.thumb.jpg.2fec7c762812ff1e75e84bd8ac6c8d0c.jpg

 

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.

Yes and the UnoCart is using the STM32F407VET with "only" 512KiB Flash ROM. This means we only have 384 KiB space for "Offline ROMs" here.

 

btw. I think we should rename "Offline ROMs" to something with "Flash", any suggestions ?

  • "Flash ROMs"
  • "Flashed ROMs"
  • "ROMs in Flash ROM"
  • "Flash Storage ROMs"
  • ...

 

Link to comment
Share on other sites

1 minute ago, Al_Nafuur said:

Yes and the UnoCart is using the STM32F407VET with "only" 512KiB Flash ROM. This means we only have 384 KiB space for "Offline ROMs" here.

 

btw. I think we should rename "Offline ROMs" to something with "Flash", any suggestions ?

  • "Flash ROMs"
  • "Flashed ROMs"
  • "ROMs in Flash ROM"
  • "Flash Storage ROMs"
  • ...

 

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

Makes sense to me.

Link to comment
Share on other sites

2 minutes ago, Al_Nafuur said:

btw. I think we should rename "Offline ROMs" to something with "Flash", any suggestions ?

  • "Flash ROMs"
  • "Flashed ROMs"
  • "ROMs in Flash ROM"
  • "Flash Storage ROMs"
  • ...

 

Can't think of any others.

Well, aside from including "flash", Here are some ideas...

 

* Downloaded ROMs

* Local ROMs

* Stand-alone ROMs

* On-board ROMs

* On-board ROM set

* Inbuilt ROMs

* ROM bank

* ROM collection

* ROM library

* Game Library

* My Game Library

* Borrowed ROMs

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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