C64 core problems.....

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

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

User avatar
vebxenon
Atari God
Atari God
Posts: 1075
Joined: Fri Apr 24, 2015 12:10 pm

Re: C64 core problems.....

Post by vebxenon »

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? :)
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
bernouilli
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 102
Joined: Fri Jan 06, 2017 5:02 pm
Location: Paris/France

Re: C64 core problems.....

Post by bernouilli »

@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: 54
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Post by braincell1973 »

@bernouilli - Have sent you a PM

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

Lee
seastalker
Captain Atari
Captain Atari
Posts: 311
Joined: Sun May 15, 2016 3:44 pm

Re: C64 core problems.....

Post by seastalker »

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: 54
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Post by braincell1973 »

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
Atari God
Atari God
Posts: 1075
Joined: Fri Apr 24, 2015 12:10 pm

Re: C64 core problems.....

Post by vebxenon »

Any changelog? :) Thanks for your work!
Just a computer and videogame lover :)

- Atari Jr 2600 clone
- Atari 7800 Peritel
- Atari XEGS
- Atari Lynx II
- Atari Jaguar
- MiST Board
Julitium
Atarian
Atarian
Posts: 6
Joined: Sun Apr 30, 2017 2:27 pm

Re: C64 core problems.....

Post by Julitium »

Thanks for your great work!!!

Im waiting .tap support :D :cheers:

Regards
User avatar
goran
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 108
Joined: Sat Feb 27, 2016 4:17 pm

Re: C64 core problems.....

Post by goran »

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

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

Re: C64 core problems.....

Post by dwebay »

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.....

Post by dwebay »

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: 54
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Post by braincell1973 »

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
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: C64 core problems.....

Post by Sorgelig »

@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: 54
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Post by braincell1973 »

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: 54
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Post by braincell1973 »

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
Captain Atari
Captain Atari
Posts: 367
Joined: Sat Dec 05, 2015 9:22 pm

Re: C64 core problems.....

Post by NegSol »

Thank you braincell1973 - Your additions to the core are really valuable!
NML32
Atari Super Hero
Atari Super Hero
Posts: 691
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: C64 core problems.....

Post by NML32 »

@braincell1973, Thank you. :)
braincell1973
Atari freak
Atari freak
Posts: 54
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Post by braincell1973 »

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
Atari Super Hero
Atari Super Hero
Posts: 691
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: C64 core problems.....

Post by NML32 »

@braincell1973 I only see a readme.
ericgus
Atari Super Hero
Atari Super Hero
Posts: 509
Joined: Fri Apr 08, 2016 4:53 am
Location: Boston MA - USA

Re: C64 core problems.....

Post by ericgus »

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
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: C64 core problems.....

Post by Sorgelig »

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: 54
Joined: Mon Jul 25, 2011 10:32 am

Re: C64 core problems.....

Post by braincell1973 »

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
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: C64 core problems.....

Post by Sorgelig »

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
Atari Super Hero
Atari Super Hero
Posts: 691
Joined: Tue Mar 11, 2014 1:54 am
Location: USA/Florida

Re: C64 core problems.....

Post by NML32 »

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
Atari freak
Atari freak
Posts: 51
Joined: Sun Jun 04, 2017 10:53 am

Re: C64 core problems.....

Post by yellperil »

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 Super Hero
Atari Super Hero
Posts: 996
Joined: Tue Feb 21, 2017 7:02 am

Re: C64 core problems.....

Post by DanyPPC »

Thanks, i will test it on my MiST
Post Reply

Return to “MiST”