Atari 8 bit updated core building thread!

vanfanel
Posts: 178
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 13 times
Been thanked: 24 times

Atari 8 bit updated core building thread!

Unread post by vanfanel »

I just noticed that development for this incredible core continues in https://github.com/scrameta/Atari800_MiSTer which made my day! :D

But I see there were many fixes made during the last months that have not yet been present in any release.
@foft Do you have builds with these changes? I believe it's possible to have Github do automatic builds as it does for other cores.

niallquinn
Posts: 136
Joined: Wed Jun 05, 2024 4:54 pm
Has thanked: 139 times
Been thanked: 33 times

Re: Atari 8 bit updated core building thread!

Unread post by niallquinn »

This is forked from the Mister one, maybe it's not quite ready to be released. Or the updates to be put in the official core.

If anyone can compile it, we could find out what it's like though! Thanks.

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: Atari 8 bit updated core building thread!

Unread post by RealLarry »

I did a compile run two weeks ago but only for the 800 core. Named after last commit and not tested yet. Try yourself with fun!

Attachments
Atari800_20240614.7z
(1.13 MiB) Downloaded 102 times
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
niallquinn
Posts: 136
Joined: Wed Jun 05, 2024 4:54 pm
Has thanked: 139 times
Been thanked: 33 times

Re: Atari 8 bit updated core building thread!

Unread post by niallquinn »

Cheers @RealLarry!

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: Atari 8 bit updated core building thread!

Unread post by RealLarry »

While trying to compile the 5200 core (which didn't because of an unresolvable error), I've found that it looks like there is missing something, although it compiles perfectly, but a warning was thrown out: Tcl Script File rtl/t65/t65.qip not found
Well, this must be the CPU part and imho absolutely necessary, so I added it and recompiled the 800 core, which is attached to your satisfaction :)

Attachments
Atari800_20240614.7z
(1.13 MiB) Downloaded 94 times
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
rhester72
Top Contributor
Posts: 1321
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 15 times
Been thanked: 213 times

Re: Atari 8 bit updated core building thread!

Unread post by rhester72 »

What real changes are present in this core that are absent in the official one?

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: Atari 8 bit updated core building thread!

Unread post by RealLarry »

rhester72 wrote: Sun Nov 10, 2024 11:31 pm

What real changes are present in this core that are absent in the official one?

At least one commit:

Use internal rather than external wsync logic

wsync is used for Atari's "display list" = how they are building the screen to show. See below for references:
https://playermissile.com/dli_tutorial/
https://forums.atariage.com/topic/20116 ... ne-issues/

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
vanfanel
Posts: 178
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 13 times
Been thanked: 24 times

Re: Atari 8 bit updated core building thread!

Unread post by vanfanel »

RealLarry wrote: Sun Nov 10, 2024 5:26 am

While trying to compile the 5200 core (which didn't because of an unresolvable error), I've found that it looks like there is missing something, although it compiles perfectly, but a warning was thrown out: Tcl Script File rtl/t65/t65.qip not found
Well, this must be the CPU part and imho absolutely necessary, so I added it and recompiled the 800 core, which is attached to your satisfaction :)

Great work, RealLarry! And many many thanks for this, I like to keep up with this core development as the Atari 800 was my first "own" computer and holds an special place on my heart.
What's with the 5200 core? Maybe it's not completely updated?

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: Atari 8 bit updated core building thread!

Unread post by RealLarry »

vanfanel wrote: Mon Nov 11, 2024 11:04 am

What's with the 5200 core? Maybe it's not completely updated?

Looks like, yes. The original error when compiling was

Info (12021): Found 2 design units, including 1 entities, in source file rtl/atari5200top.vhd
Info (12022): Found design unit 1: atari5200top-vhdl File: /tmp/x/Atari800_MiSTer/rtl/atari5200top.vhd Line: 69
Info (12023): Found entity 1: atari5200top File: /tmp/x/Atari800_MiSTer/rtl/atari5200top.vhd Line: 14
Info (12021): Found 1 design units, including 1 entities, in source file Atari5200.sv
Info (12023): Found entity 1: emu File: /tmp/x/Atari800_MiSTer/Atari5200.sv Line: 22
Error (10349): VHDL Association List error at atari5200core.vhd(292): formal "HBLANK" does not exist File: /tmp/x/Atari800_MiSTer/rtl/common/a8core/atari5200core.vhd Line: 292
Info (144001): Generated suppressed messages file /tmp/x/Atari800_MiSTer/output_files/Atari5200.map.smsg
Error: Quartus Prime Analysis & Synthesis was unsuccessful. 1 error, 0 warnings
Error: Peak virtual memory: 1000 megabytes
Error: Processing ended: Mon Nov 11 13:32:20 2024
Error: Elapsed time: 00:00:11
Error: Total CPU time (on all processors): 00:00:29
Error (293001): Quartus Prime Full Compilation was unsuccessful. 3 errors, 0 warnings
Error: Flow compile (for project /tmp/x/Atari800_MiSTer/Atari5200) was not successful
Error: ERROR: Error(s) found while running an executable. See report file(s) for error message(s). Message log indicates which executable was run last.

Error (23031): Evaluation of Tcl script /opt/altera/17.1/quartus/common/tcl/internal/qsh_flow.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 10 errors, 0 warnings
Error: Peak virtual memory: 767 megabytes
Error: Processing ended: Mon Nov 11 13:32:21 2024
Error: Elapsed time: 00:00:15
Error: Total CPU time (on all processors): 00:00:31

I found some references of "HBLANK" in the updated atari800core.vhd. atari5200core.vhd wasn't updated so I took over (so far and possible) the patches from 800 to 5200 and voila, it is compiling fine. Find it attached. Totally untested and you'll run it at your own risk ;)

Attachments
Atari5200_20240614.7z
(887.75 KiB) Downloaded 58 times
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
vanfanel
Posts: 178
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 13 times
Been thanked: 24 times

Re: Atari 8 bit updated core building thread!

Unread post by vanfanel »

@RealLarry: That build 5200 runs perfectly well! Thanks!
I don't see any of my known games failing.

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: Atari 8 bit updated core building thread!

Unread post by RealLarry »

Great to hear. Job done. Always at service.
Anything else I should compile? :geek:

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
vanfanel
Posts: 178
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 13 times
Been thanked: 24 times

Re: Atari 8 bit updated core building thread!

Unread post by vanfanel »

RealLarry wrote: Tue Nov 12, 2024 11:24 am

Great to hear. Job done. Always at service.
Anything else I should compile? :geek:

Not that I know, but I will humbly ask you for new builds if I see @foft update the cores again, if you don't mind!
I declare you our Atari 8bit cores builder! :lol:

vanfanel
Posts: 178
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 13 times
Been thanked: 24 times

Re: Atari 8 bit updated core building thread!

Unread post by vanfanel »

I have also changed the name of the thread so we can ask in the future :D

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: Atari 8 bit updated core building thread!

Unread post by RealLarry »

Don't hesitate to ask! Proud to be "the Atari 8bit cores builder" for you guys. I'm an Atarian since 1981 'til today and I'm even prouder to be one since I built my own 1088XEL.
But, alas, "I can write programs" but I'm no coder, even not with VHDL etc :(

IMG_20241112_123347.jpg
IMG_20241112_123347.jpg (298.41 KiB) Viewed 641 times
Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
vanfanel
Posts: 178
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 13 times
Been thanked: 24 times

Re: Atari 8 bit updated core building thread!

Unread post by vanfanel »

Wow! That seems like an Atari juggernaut! :O
All I have now for Atari pleasure is the MiSTer, which has proven to be a dream come true.

User avatar
RealLarry
Top Contributor
Posts: 881
Joined: Mon May 25, 2020 4:04 am
Location: San Junipero/DE/Earth
Has thanked: 120 times
Been thanked: 385 times

Re: Atari 8 bit updated core building thread!

Unread post by RealLarry »

It may depend on one's age. Never had more than an Atari800 and a 130XE until the beginning of 21. century, were I got old and "rich" enough to collect all that stuff I always wanted to have. But never had a 5200 which was available in the US only if I'm right.

Contributor of tty2oled, author of tty2tft, tty2rpi and update_tty2xxx
Post Reply