C64 core problems.....

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

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

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

Re: C64 core problems.....

Postby vebxenon » Sun Jun 04, 2017 4:12 pm

braincell1973 wrote: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

C64_mist 3_jun_27.zip


What games/sofware fixes your CIA work? :)

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 9:54 pm

@braincell: where did you get the sources from?
They're not available from the mist repository. i know that the sources from darfpga are available but there has been some modification since, ie by sorgelig. Plus sources from darfpga don't compile for mist, they have to be ported to mist.
I'm asking because I started learning how to program fpga and I'd like to have a look at the c64 src.

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

Re: C64 core problems.....

Postby braincell1973 » Mon Jun 05, 2017 7:39 am

@bernouilli - Have sent you a PM

Not sure why the Ultimax stopped working ( i hadnt touched that at all) but will investigate :)

Lee

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

Re: C64 core problems.....

Postby seastalker » Mon Jun 05, 2017 8:55 pm

Since the new WIP core isn't on the github page, any way to edit the first post here with a brief changelog so we could keep track of all the features, improvements and progress that braincell1973 created since the github core? A changelog may be nice also by way of encouragement for braincell1973 to keep up the great work!

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

Re: C64 core problems.....

Postby braincell1973 » Tue Jun 06, 2017 7:31 am

Hi,
I have created a github account, For some reason my cart code isnt right at the mo so im correcting that, Once thats back to working properly i will have a code cleanup and put it up on github....

EDIT - As im developing on several machines i appear to have got my sources mixed up *facepalm* this one should fix the cart loading.

standard 8/16k , Ultimax , Ocean should be ok along with hesmon and simons basic........

Lee

C64_mist 3_jun_27.zip
You do not have the required permissions to view the files attached to this post.

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

Re: C64 core problems.....

Postby vebxenon » Sat Jun 10, 2017 12:59 pm

Any changelog? :) Thanks for your work!

Julitium
Atarian
Atarian
Posts: 2
Joined: Sun Apr 30, 2017 2:27 pm

Re: C64 core problems.....

Postby Julitium » Sat Jun 10, 2017 3:38 pm

Thanks for your great work!!!

Im waiting .tap support :D :cheers:

Regards

goran
Atari User
Atari User
Posts: 30
Joined: Sat Feb 27, 2016 4:17 pm

Re: C64 core problems.....

Postby goran » Sat Jun 10, 2017 7:32 pm

You can't have Jiffy and tape support at the same time. Just use the version without JiffyDos for TAP files.

Best regards,
Goran

dwebay
Atarian
Atarian
Posts: 2
Joined: Tue Jun 13, 2017 9:17 am

Re: C64 core problems.....

Postby dwebay » Tue Jun 13, 2017 9:25 am

Great work. A problem I've noticed in all the versions of the MIST C64 core so far. A couple of games, such as Afterburner, moving the joystick connected in port 2 to the left causes it to behave strangely. In the case of Afterburner, it skips levels!?

David

dwebay
Atarian
Atarian
Posts: 2
Joined: Tue Jun 13, 2017 9:17 am

Re: C64 core problems.....

Postby dwebay » Tue Jun 13, 2017 9:33 am

Great work on the core!

An issue I've noticed on all the versions of MIST C64 cores so far, joystick port 2 strange behaviour. For example on Afterburner (PAL) when using the joystick piugged into the 2nd DB9 port it skips levels whenever moving the joystick left!

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

Re: C64 core problems.....

Postby braincell1973 » Tue Jun 13, 2017 12:03 pm

Hi,
if you read though this thread you can see a few games giving issues, I found this after i got the cart version of PANG running.

I suspect the CIA as the problem but i am still looking into this, It could even be a timing issue.

Time is scarce at the moment (using lunchtimes) but i havnt given up.

As for TAP - The issue lies in the fact that the sdram needs to be accessed for the TAP reading in a different 'slice' cycle from the cpu & IO controller, Will definitely take some working out, As it stands the TAP is loaded into HI sdram 0x20000 i think, but i still need to write the decoding.

Along with the sdram comment above goes the simple fact of moving roms out of block ram and into sdram, whilst should be quite easy for basic / kernal enabling the switch to and from jiffy easily the other issue is the 1541 rom, This needs yet another 'slice' or cycle to access it with.

All these slices are bound to add up.......

Lee

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

Re: C64 core problems.....

Postby Sorgelig » Sat Jul 08, 2017 3:41 pm

@braincell1973,
Where is your repository? i don't see any links.
To respect other developers of open source project you need to publish your changes. It doesn't matter if your code is bad, messy or whatever it is. Publishing the changes is how the project is being alive. The code of C64 is not perfect itself but it has been published anyway.

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

Re: C64 core problems.....

Postby braincell1973 » Mon Jul 10, 2017 7:40 am

Hi

I havnt forgot, I have opened a github account but i have had a lot going on lately.

I have been still working on this and recently got some of the vice TOD test programs completing properly.

I will clean up and upload in the next few days.

Lee

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

Re: C64 core problems.....

Postby braincell1973 » Mon Jul 10, 2017 8:02 pm

The files are uploading now.....

My github acc has been 'flagged' whatever that means but i sent the support a message.....

Dodgy coding at ur own risk........

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

Re: C64 core problems.....

Postby NegSol » Mon Jul 10, 2017 8:13 pm

Thank you braincell1973 - Your additions to the core are really valuable!

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

Re: C64 core problems.....

Postby NML32 » Mon Jul 10, 2017 9:06 pm

@braincell1973, Thank you. :)

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

Re: C64 core problems.....

Postby braincell1973 » Tue Jul 11, 2017 7:42 am

Hi ,
I repository should be up now and i have created a readme which explains things a little.

I expected to upload this after i had cleaned up the code and solved the CIA problems but things havnt worked out this way.

I apologise for the dodgy coding but as explained before this was my first go at verilog/vhdl.

Best of luck to whomever picks this up......

Lee

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

Re: C64 core problems.....

Postby NML32 » Tue Jul 11, 2017 9:13 am

@braincell1973 I only see a readme.

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

Re: C64 core problems.....

Postby ericgus » Wed Jul 12, 2017 1:05 am

braincell1973 wrote:Hi ,
I repository should be up now and i have created a readme which explains things a little.

I expected to upload this after i had cleaned up the code and solved the CIA problems but things havnt worked out this way.

I apologise for the dodgy coding but as explained before this was my first go at verilog/vhdl.

Best of luck to whomever picks this up......

Lee


Lee any chance of adding the 1541 write support someone posted about a while back .. perhaps take a break from the CIA issue ?

Re: C64 core problems.....
Postby Darfpga » Thu May 25, 2017 5: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.

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

Re: C64 core problems.....

Postby Sorgelig » Wed Jul 12, 2017 5:59 am

braincell1973 wrote:Best of luck to whomever picks this up......

It's hard to pick it up since there is only readme file in your repository.

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

Re: C64 core problems.....

Postby braincell1973 » Wed Jul 12, 2017 7:31 am

I DEFINATELY uploaded the code and commited it........ I have NO idea what happened, But it IS there now

@Sorgelig...... Really ??? NML had already said there was only a readme file in there....... completely unnecessary.

Lee

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

Re: C64 core problems.....

Postby Sorgelig » Wed Jul 12, 2017 9:28 am

Once you start to publish binaries, you need to provide sources as well. No need to show your irritability here.
The code gets benefit from source releases, not binaries. I appreciate your additions, but be more polite, please.

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

Re: C64 core problems.....

Postby NML32 » Wed Jul 12, 2017 10:00 am

braincell1973 wrote:I DEFINATELY uploaded the code and commited it........ I have NO idea what happened, But it IS there now
Lee

Looks good, thanks

yellperil
Atarian
Atarian
Posts: 4
Joined: Sun Jun 04, 2017 10:53 am

Re: C64 core problems.....

Postby yellperil » Mon Sep 18, 2017 11:57 pm

As posted on the mist / mister Facebook group.

Hi, so this is a total once off . . . I've merged the save/write code (darfpga) from the MiSTer C64 core (sorgelig) back into the latest MIST core (Braincell1973) . . .

HOWEVER be warned I have no idea about the code I've just merged it, so use it on a new SD card so you don't lose anything. Also I can't do fixes, I haven't got a clue how it works, so please don't ask me for them.

As per the Atari Forum post by sorgelig, the FORMAT command does not work.

https://github.com/mtfong/MIST_C64/tree/master/releases

C64_mist_20170918.rbf

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

Re: C64 core problems.....

Postby DanyPPC » Tue Sep 19, 2017 6:31 am

Thanks, i will test it on my MiST


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 1 guest