C64 core problems.....

https://github.com/mist-devel/mist-board/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team

NML32
Captain Atari
Captain Atari
Posts: 321
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: C64 core problems.....

Postby NML32 » Mon May 08, 2017 1:17 pm

@braincell1973 your work on the C64 core is greatly apricated. :)

ericgus
Captain Atari
Captain Atari
Posts: 342
Joined: Fri Apr 08, 2016 4:53 am
Location: Boston MA - USA

Re: C64 core problems.....

Postby ericgus » Mon May 08, 2017 3:39 pm

seastalker wrote:I am sooo appreciative for this... I hope someday to be able to create cores or help update them.


Indeed .. I know a large number of us are very appreciative of his efforts..

braincell1973
Atari freak
Atari freak
Posts: 53
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Postby braincell1973 » Mon May 08, 2017 7:27 pm

OK Chaps........

So after a bit of investigating it seems there is something *off* between vice and mist......

TIMERA on CIA #1 seems to be underflowing on MIST and not on AR6 / VICE.....

TIMERB on CIA #1 seems seems to be stuck at 0 on mist and different on AR6 / VICE whilst running pang (true it was hanging on mist with music playing).

ToD has it seems, Completely F@#$&£ off on holiday too *facepalm* .

Flashing "FIRE TO JOIN" for player too is going way too fast compared to vice

Switching to NTSC and rebooting seems to ignore USB gamepad completely too ( Think this is a completely unrelated problem though).

Definitely convinced CIA code is wobbly now, At least have a place to start :D

Lee

braincell1973
Atari freak
Atari freak
Posts: 53
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Postby braincell1973 » Tue May 16, 2017 12:51 pm

It seems there is some very funky stuff happening with the timing of this core, mostly due to how its been designed..... 32mhz clock anyone ?????

I am *attempting* a re-write on the CIA 6526 code in the hope it solves some of these issues (running before walking ???? lol).

The CIA core as it stands from FPGA64 is incomplete and running from the 32mhz clk.

Unless i'm missing something this cannot be good from a timing point of view.

Slow going but hopefully will have some code to test soonish....

lee

NML32
Captain Atari
Captain Atari
Posts: 321
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: C64 core problems.....

Postby NML32 » Tue May 16, 2017 3:47 pm

Thanks for taking the time to work on the C64 core.

seastalker
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 115
Joined: Sun May 15, 2016 3:44 pm

Re: C64 core problems.....

Postby seastalker » Mon May 22, 2017 7:18 am

@braincell1973: Just a thought... The new Mega65 http://mega65.org/ (FPGA rebuilding of the C65 prototype successor to the C64). It's seemingly more powerful than Mist hardware, so it's core wont fit on the Mist. However, it has C64 mode built in like the C128 where you type GO64. Is it possible or worth it to try removing the C65 aspects of the code to make the remaining 64 mode "fit"? If not, would the code at least be a good reference guide for editing the current MIST core?

braincell1973
Atari freak
Atari freak
Posts: 53
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Postby braincell1973 » Mon May 22, 2017 7:49 am

Hi,
I just looked at the mega65 site and it does look interesting.

The biggest attraction to this FPGA approach for me is learning how to program them.......

My knowledge of C64/128 internals is not bad so to me the logical thing is to re-implement the CIA 'my way' so too speak (and trust me is probably not going to be very good verilog code :D )

Unfortunately, The C64 implementation is really quite strange from a timing point of view and in some areas hard to follow.

Some things are simply not even implemented at all..... For example , I had to add the ULTIMAX mode for the cartridges and the CIA's are only partially implemented :(.

I am part way through a new CIA code which may or may not work :) Finding time is hard at the mo but i AM working on it.

So far i have the IO / Timer A + B (partially) / ToD (partially) complete.

Lee

seastalker
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 115
Joined: Sun May 15, 2016 3:44 pm

Re: C64 core problems.....

Postby seastalker » Mon May 22, 2017 11:48 am

Glad to bring it to your attention. It is also of interest to me as I won't pay top dollar for a C64 reloaded board and Individual Computers don't seem to be making more any time soon. Also, the Mega65 is like a C64 on steroids, and I do like the idea that other system cores can get made for it resulting in a MIST-like computer with built in keyboard and maybe an Atari Falcon FPGA core could finally be possible. The hardware like the MIST will only be as good as the core developers... like you! :)

Darfpga
Retro freak
Retro freak
Posts: 11
Joined: Thu Feb 02, 2017 10:07 pm

Re: C64 core problems.....

Postby Darfpga » Thu May 25, 2017 9:54 pm

I've just released a new c1541_sd_card VHDL source code with read and write capabilities over d64 disk image.

Have a look at http://darfpga.blogspot.fr

As usual feel free to port it to Mist.

Dar.

NML32
Captain Atari
Captain Atari
Posts: 321
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: C64 core problems.....

Postby NML32 » Thu May 25, 2017 11:27 pm

Thanks!!! :cheers:

ericgus
Captain Atari
Captain Atari
Posts: 342
Joined: Fri Apr 08, 2016 4:53 am
Location: Boston MA - USA

Re: C64 core problems.....

Postby ericgus » Fri May 26, 2017 4:34 am

Darfpga wrote:I've just released a new c1541_sd_card VHDL source code with read and write capabilities over d64 disk image.

Have a look at http://darfpga.blogspot.fr

As usual feel free to port it to Mist.

Dar.


Oh nice thanks for the contribution!

Gehstock
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 118
Joined: Wed Dec 21, 2016 7:18 pm
Contact:

Re: C64 core problems.....

Postby Gehstock » Fri May 26, 2017 4:39 am

Thank you
Not only my Cores for Mist : https://github.com/Gehstock/Mist_Cores
My Cores for Mister : https://github.com/Gehstock/Mister

braincell1973
Atari freak
Atari freak
Posts: 53
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Postby braincell1973 » Fri May 26, 2017 7:44 am

Thats great, Will check it out when i get a mo.......

Cheers, Lee

Sorgelig
Atari Super Hero
Atari Super Hero
Posts: 899
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: C64 core problems.....

Postby Sorgelig » Fri May 26, 2017 10:43 pm

@Darfpga,

Thanks! A big milestone!

User avatar
DrOG
Captain Atari
Captain Atari
Posts: 213
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: C64 core problems.....

Postby DrOG » Sat May 27, 2017 3:01 am

Nice progress, important feature!

THANK YOU!!!

User avatar
Tempus01
Atariator
Atariator
Posts: 17
Joined: Sun Jan 18, 2015 10:46 am

Re: C64 core problems.....

Postby Tempus01 » Tue May 30, 2017 12:32 pm

Thank you for your superb work.
Can you wear it on the Mist ?

"Core.rbf"
Thanks in advance.

User avatar
vebxenon
Captain Atari
Captain Atari
Posts: 461
Joined: Fri Apr 24, 2015 12:10 pm

Re: C64 core problems.....

Postby vebxenon » Tue May 30, 2017 6:05 pm

Darfpga wrote:I've just released a new c1541_sd_card VHDL source code with read and write capabilities over d64 disk image.

Have a look at http://darfpga.blogspot.fr

As usual feel free to port it to Mist.

Dar.


Great work!! :D :cheers: :cheers:

braincell1973
Atari freak
Atari freak
Posts: 53
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Postby braincell1973 » Sat Jun 03, 2017 3:28 pm

Hi All,
I rewrote the CIA and have just spent the last 5 hours trying to get it to talk to the core :( seems it refuses to accept a verilog file in place of the vhdl CIA.....

anyway .... plan B :) gonna start going through original vhdl ( back to reading ).

Small addition to the original CIA - I have added the TOD ALARM mode to this core too :)

In the meantime, Please find attached a jiffydos fixed cart loading core while i look into this other stuff.

Edit. Hopefully goes without saying the cart work is still unfinished so please still consider this beta.....

Lee

**** REMOVED FILE TEMPORARILY - LEE ****
Last edited by braincell1973 on Wed Jun 07, 2017 7:46 am, edited 3 times in total.

DanyPPC
Atari freak
Atari freak
Posts: 64
Joined: Tue Feb 21, 2017 7:02 am

Re: C64 core problems.....

Postby DanyPPC » Sat Jun 03, 2017 3:38 pm

Thanks ;)

NML32
Captain Atari
Captain Atari
Posts: 321
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: C64 core problems.....

Postby NML32 » Sat Jun 03, 2017 6:06 pm

Thanks!! :)

NegSol
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 126
Joined: Sat Dec 05, 2015 9:22 pm

Re: C64 core problems.....

Postby NegSol » Sat Jun 03, 2017 8:35 pm

Thank you! We all greatly appreciate your work on this core.

Gehstock
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 118
Joined: Wed Dec 21, 2016 7:18 pm
Contact:

Re: C64 core problems.....

Postby Gehstock » Sat Jun 03, 2017 9:53 pm

Thanks
Not only my Cores for Mist : https://github.com/Gehstock/Mist_Cores
My Cores for Mister : https://github.com/Gehstock/Mister

Lroby74
Retro freak
Retro freak
Posts: 11
Joined: Sun Sep 04, 2016 8:35 pm

Re: C64 core problems.....

Postby Lroby74 » Sun Jun 04, 2017 10:04 am

Hello,
first thing thank you for you work, i am trying this core now and there are 2 things that i've noticed :

1) Jiffydos is enable on default, but in this way Datasette can't be emulated (like real Datasette can't be used in real C64 Jiffydos enabled)
(i think that in menu users should be able to turn it on or off)

2) i tried After the war.crt and it works, but no Easyflash .CRT files works (tried with several games)..
then tried with Avenger.crt and it doesn't works too (tried several versions of same game)

Thank you again

bernouilli
Atari freak
Atari freak
Posts: 63
Joined: Fri Jan 06, 2017 5:02 pm
Location: Paris/France

Re: C64 core problems.....

Postby bernouilli » Sun Jun 04, 2017 11:47 am

The jiffy dos is in the rom. It's easiest to have two cores, one with jiffy dos and another with regular rom.
There is no need to have a selector into the mist f12 menu. Otherwise there are plenty of other alternate roms that would be interesting to have.

braincell1973
Atari freak
Atari freak
Posts: 53
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Postby braincell1973 » Sun Jun 04, 2017 12:55 pm

Hi.
The cartridge support is far from finished . Please read the thread as whats happened.

I am planning to add tap support after the crt *BUT* the bugs stopped me from continuing the crt at this time until i can trace the problem. Try pang or navy seals or frantic freddie.............

If you do not put c64.rom on sd card it loads without jiffy. I only posted this as people noticed i broke the previous jiffy support.

Jiffy also breaks the rs232 iirc (not that the shift register is even present in the CIA at this time)

There is a lot to do and also missing but i would like to add lots of things to this core......

As stated before im learning and am a beginner at fpga programming so its not going to be a quick process.

Standard carts 8/16k should work
Ultimax / ocean / dinamic / domark should work too with the above exceptions.

Hesmon and simons basic should work too.

Avenger should work. Thats the cart i used to get the ultimax mode working........just tested them will look into ultimax mode

Lee


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 1 guest