foft Posted June 22, 2019 Share Posted June 22, 2019 I've been back-porting some of the EclaireXL features to the various FPGA boards. I've just uploaded the latest core builds to my site, for many of them its the first update in 3 years so I thought its reasonable to announce it here. There are more details here, including highlights on the changes: http://www.64kib.com/redmine/news/57 Please let me know how you get on. I tested each board individually as I went but due to time I can not reasonably go through every single version! 12 3 Quote Link to comment Share on other sites More sharing options...
vanfanel Posted June 23, 2019 Share Posted June 23, 2019 Hi Foft! This is AWESOME! I have been YEARS waiting for this to happen! I am testing the MCC-216 and Altera DE1 version when it comes out, as my "old" DE1 is an Atari800 these days Thanks for this, this core is so important to me... Quote Link to comment Share on other sites More sharing options...
foft Posted July 13, 2019 Author Share Posted July 13, 2019 On 6/23/2019 at 10:38 AM, vanfanel said: Hi Foft! This is AWESOME! I have been YEARS waiting for this to happen! I am testing the MCC-216 and Altera DE1 version when it comes out, as my "old" DE1 is an Atari800 these days Thanks for this, this core is so important to me... Thanks for the encouragement and prodding to get me to update these. I've just updated them again, adding profile support and pll switching to the mcc216, mcctv and mist. Not sure when I'll update the DE1, but for when I do ... how is your board set up? Wire for sio2pc and minimig style joystick ports? 1 Quote Link to comment Share on other sites More sharing options...
vanfanel Posted July 14, 2019 Share Posted July 14, 2019 @foft: I dont have a SIO2PC, just minimig-style joystick ports on the DE1. I build those for the MSX core, and they happen to work with your Atari 800 core (which is what my DE1 has always flashed since I discovered it, thus becoming one of my Atari 800 computers, along with the Mcc-216). Quote Link to comment Share on other sites More sharing options...
slingshot Posted January 28, 2021 Share Posted January 28, 2021 @foft: I've noticed that the latest builds (on MiST), has problems with disk writes: they always results in Error-138 (timeout), then the firmware goes crazy, F11, F12 no more work. I think the problem started somewhere around the firmware fork (firmware_legacy and firmware_exclairexl), as it works with some older versions from 2019. Quote Link to comment Share on other sites More sharing options...
slingshot Posted January 28, 2021 Share Posted January 28, 2021 The last one which works is 20190719. Quote Link to comment Share on other sites More sharing options...
foft Posted January 28, 2021 Author Share Posted January 28, 2021 Thanks, I'll take a look Quote Link to comment Share on other sites More sharing options...
slingshot Posted January 28, 2021 Share Posted January 28, 2021 I've did some tests, and I suspect it's because of the image is considered read-only (at least while I've worked on the change below, it was an issue). Meanwhile I've finished the full "Mistification" of the core, and uploaded the results here: https://github.com/gyurco/Atari800XL/commits/mist Can you integrate it to your source tree please? Global changes are almost zero (two #ifdefs in main.h only). Quote Link to comment Share on other sites More sharing options...
foft Posted January 29, 2021 Author Share Posted January 29, 2021 Yes that would make sense, since there is a writeprotect pin on EclaireXL. Perhaps I wired it up wrong - and it has a bug that crashes if protected! Many thanks for the mistification. I’ll merge that and fix this bug. Quote Link to comment Share on other sites More sharing options...
slingshot Posted January 29, 2021 Share Posted January 29, 2021 Many thanks! This effort started 2 years ago, I hope it'll be finished soon. 1 Quote Link to comment Share on other sites More sharing options...
foft Posted February 6, 2021 Author Share Posted February 6, 2021 (edited) On 1/29/2021 at 7:45 AM, foft said: Yes that would make sense, since there is a writeprotect pin on EclaireXL. Perhaps I wired it up wrong - and it has a bug that crashes if protected! Many thanks for the mistification. I’ll merge that and fix this bug. Just to confirm I now have the mist out and can confirm - yeah it doesn't write and seems to hang the ZPU as reported. Edit: Adding more details here rather than a gallion posts: i) There is no use of the write protect flag from the sd in the firmware yet. I pass in 0 but it is never read. ii) No clear reason why the write fails yet, perhaps some subtlety of the mist sd card emulator. iii) To check the firmware on another none-eclaireXL target I'm going to try writes on the MCC216, which is almost identical. First things first, trying to update user_io and sd_card... Edited February 6, 2021 by foft Quote Link to comment Share on other sites More sharing options...
foft Posted February 6, 2021 Author Share Posted February 6, 2021 The latest user_io and sd_card from https://github.com/mist-devel/mist-modules don't seem to allow reading from the sd. Though perhaps I wired it up wrong, it wasn't so clear what some new signals were meant to be. e.g. clk_sd vs clk_sys on user io and clock_sys on the sd_card. Is clk_sd my system clock, and the others are CLOCK_27? I tried a few variants with no luck. Also some of the strobes don't seem to have a counterpart on the other side, I wonder if they are in sync on github? I've attached the diff for my attempt: can you see anything I wired up wrong? Back to plan B:check the mcc216 writes which will confirm at least if the firmware side is good. i.e. if its a mist adaptor issue or not. changes.diff Quote Link to comment Share on other sites More sharing options...
foft Posted February 6, 2021 Author Share Posted February 6, 2021 (edited) Well writes are working on the mcc216, which has a real sd card. I expect its something sd card emulation related but will need to take a look another time I think. I did notice though that I forgot to add a file, which meant no arg file generated for the mcc216. Also the pll reconfiguration does not work properly on it for some reason (it has its own sd ram controller, probably that...)! So better fix that too. Edited February 6, 2021 by foft Quote Link to comment Share on other sites More sharing options...
foft Posted February 6, 2021 Author Share Posted February 6, 2021 (edited) 4 hours ago, foft said: Well writes are working on the mcc216, which has a real sd card. I expect its something sd card emulation related but will need to take a look another time I think. I did notice though that I forgot to add a file, which meant no arg file generated for the mcc216. Also the pll reconfiguration does not work properly on it for some reason (it has its own sd ram controller, probably that...)! So better fix that too. The mcc216 hang is due to the stopped clock while the pll is reconfigured from pal ->ntsc or back. In fact its just the ps2 key up event missed, so the key is stuck down (until the same key pressed/released again). It worked when I tested it since I tested with the USB keyboard. Back onto the mist issue... Edit: weird thing on mist, a straight rebuild works! I did add a SPI_SCK to the sdc file, perhaps that was all that was needed. Nope, straight build alone works. Strange... Edited February 6, 2021 by foft Quote Link to comment Share on other sites More sharing options...
foft Posted February 6, 2021 Author Share Posted February 6, 2021 OK, the mist and mcc216 builds seem good now. I'll post these on my site, then I'll merge in your mistification work (thanks!). Quote Link to comment Share on other sites More sharing options...
foft Posted February 6, 2021 Author Share Posted February 6, 2021 Mistification version builds and seems to run. Though I can't get it to load roms, so will hold off committing/posting until I understand how to do that ? 1 Quote Link to comment Share on other sites More sharing options...
slingshot Posted February 6, 2021 Share Posted February 6, 2021 Good to hear it started to work. I had a problem when the PLL reconfig kicked in during the initial ROM download, thus I've added a patch to hold it during that. But it's already in the github version, so if you also integrated it, then it should be working. Quote Link to comment Share on other sites More sharing options...
foft Posted February 7, 2021 Author Share Posted February 7, 2021 I put on the new mist firmware with SAM-BA and it now works perfectly. Mine was truly ancient I think, I probably didn't update it since 2015! Quote Link to comment Share on other sites More sharing options...
foft Posted February 7, 2021 Author Share Posted February 7, 2021 Uploaded/merged the mistified version, thanks slingshot. Note that the rom format and location changed. See the rom.txt I put with the release. Also make sure to update the mist firmware to something fairly recent! Quote Link to comment Share on other sites More sharing options...
irich2 Posted February 7, 2021 Share Posted February 7, 2021 10 minutes ago, foft said: Uploaded/merged the mistified version, thanks slingshot. Note that the rom format and location changed. See the rom.txt I put with the release. Also make sure to update the mist firmware to something fairly recent! Where is your website? Can you post a link to this newly updated Atari800XL MiST core, please? Thank You!! Quote Link to comment Share on other sites More sharing options...
+DjayBee Posted February 7, 2021 Share Posted February 7, 2021 7 minutes ago, irich2 said: Where is your website? http://www.64kib.com/ Quote Link to comment Share on other sites More sharing options...
foft Posted February 7, 2021 Author Share Posted February 7, 2021 Pre mistification http://www.64kib.com/autobuild/20210206_mist_mcc216/mist/ Post mistification http://www.64kib.com/autobuild/20210207_mistification/mist/ 2 Quote Link to comment Share on other sites More sharing options...
irich2 Posted February 9, 2021 Share Posted February 9, 2021 On 2/7/2021 at 3:49 AM, foft said: Pre mistification http://www.64kib.com/autobuild/20210206_mist_mcc216/mist/ Post mistification http://www.64kib.com/autobuild/20210207_mistification/mist/ Got it! Thank You!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.