MIST C64 core

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

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

User avatar
Xtro
Atari maniac
Atari maniac
Posts: 85
Joined: Fri Jan 09, 2015 11:47 am
Location: Spain

Re: MIST C64 core

Postby Xtro » Sun Jan 07, 2018 8:52 pm

Hi, thanks for updating this core, compatibility is very high now. I found a strange problem playing Entombed with a USB pad (RetroLink NES), up and down directions change inventory but doesn't move upwards/downwards the character. With a DB9 joystick works OK though.
Last edited by Xtro on Sun Jan 07, 2018 9:15 pm, edited 1 time in total.

Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 5280
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: MIST C64 core

Postby Sorgelig » Sun Jan 07, 2018 8:56 pm

All Point Bulletin works. Link to working version has been updated.

Do not use [b] releases. It's "BAD" mark.

User avatar
RobertK
Atari freak
Atari freak
Posts: 68
Joined: Wed Nov 05, 2014 9:47 pm
Location: Austria

Re: MIST C64 core

Postby RobertK » Wed Jan 10, 2018 8:23 am

NML32 wrote:Give these a try and feel free to update the spreadsheet if you notice any changes.
https://docs.google.com/spreadsheets/d/ ... 1138852569

5th Gear is still unchanged. Attached are two pictures that illustrate the problem, the first one from the WinVice emulator shows how it should look, and the second is from MIST. You need to play the game for about one or two minutes until you reach the first underbridge.

BTW, @Gehstock: many thanks for all your work on bringing new cores to MIST and improving existing ones!
You do not have the required permissions to view the files attached to this post.

User avatar
nightshadowpt
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 115
Joined: Wed May 10, 2017 5:04 am

Re: MIST C64 core

Postby nightshadowpt » Thu Jan 11, 2018 5:49 am

Thank you very much Gehstock!

Your efforts are highly appreciated.

It looks like we are starting 2018 in stride... lots of new cores and updates!

AdvancedFollower
Atari User
Atari User
Posts: 38
Joined: Sun Oct 29, 2017 4:59 pm
Location: Uppsala, Sweden

Re: MIST C64 core

Postby AdvancedFollower » Thu Jan 11, 2018 9:20 am

I agree, thanks for the great work! It's great to see some of the cores getting updated. With the old SID fixes and the new compatibility improvements, the C64 core is indeed extremely compatible now, just a few minor glitches in a small number of games.

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 758
Joined: Tue Feb 21, 2017 7:02 am

Re: MIST C64 core

Postby DanyPPC » Thu Jan 11, 2018 10:20 am

We must not forget that the C64 is one of the most complicated machines to simulate/emulate.

Thanks for the improvements !

mlynn1974
Captain Atari
Captain Atari
Posts: 279
Joined: Mon Mar 03, 2008 10:33 pm
Contact:

Re: MIST C64 core

Postby mlynn1974 » Sun Jan 14, 2018 12:59 pm

Hi,

I don't own a MIST but I have Jei Ellsworth's C64 DTV. Is that core any good or is the MIST C64 core better\more compatible?
A friend of mine said that Jeri's core required a number of control hacks on the supported games for the control inputs to work.
I like the VICE C64 emulator for a quick play of Outrun.
Still got, still working: Atari 4Mb STe, 520STFM, 2.5Mb STF.
Hardware: Cumana CSA 354, Ultimate Ripper, Blitz Turbo, Synchro Express II (US and UK Versions).

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 758
Joined: Tue Feb 21, 2017 7:02 am

Re: MIST C64 core

Postby DanyPPC » Sun Jan 14, 2018 5:03 pm

I have the C64DTV too, but i think it is specfically designed to run the 30 games onboard.
It has others features like 256 colors on screen, not a real C64 but rather an extension.
SID emulation is far from perfect, but also the implementation in the MiST requires some correction, even if it is already good.

User avatar
Newsdee
Atari God
Atari God
Posts: 1487
Joined: Fri Sep 19, 2014 8:40 am

Re: MIST C64 core

Postby Newsdee » Mon Jan 15, 2018 12:23 pm

The C64 DTV is a very neat piece of hardware that is highly moddable, but I think MiST core (and TC64) is more faithful.

http://www.chrismcovell.com/c64dtv.html

kolla
Captain Atari
Captain Atari
Posts: 262
Joined: Thu Sep 17, 2015 11:39 pm
Contact:

Re: MIST C64 core

Postby kolla » Mon Jan 15, 2018 6:06 pm

Hm, today one could use micro-SD and probably make the sd2iec even smaller, maybe small enough that the dtv could still fit batteries :)
-- kolla

User avatar
Xtro
Atari maniac
Atari maniac
Posts: 85
Joined: Fri Jan 09, 2015 11:47 am
Location: Spain

Re: MIST C64 core

Postby Xtro » Mon Jan 15, 2018 6:36 pm

Hi, do you know if that core could support T64 & TAP loading? I thought one old version of the core supported it.

Lroby74
Captain Atari
Captain Atari
Posts: 157
Joined: Sun Sep 04, 2016 8:35 pm

Re: MIST C64 core

Postby Lroby74 » Tue Mar 26, 2019 9:20 pm

Xtro wrote:Hi, do you know if that core could support T64 & TAP loading? I thought one old version of the core supported it.


Are you talking about C64 Mist Core? Would be nice to have that too, isn't?

maxtor9999
Atarian
Atarian
Posts: 1
Joined: Wed Mar 27, 2019 10:32 am

Re: MIST C64 core

Postby maxtor9999 » Wed Mar 27, 2019 10:47 am

Hi, can you tell me if there will be an update for Mist C64 Core that supports TAP files? It would be a fantastic feature.

slingshot
Atari God
Atari God
Posts: 1276
Joined: Mon Aug 06, 2018 3:05 pm

Re: MIST C64 core

Postby slingshot » Wed Mar 27, 2019 12:50 pm

Well, I would say fixing VIC-II and 1541 bugs are higher priority.

Darfpga
Atari maniac
Atari maniac
Posts: 78
Joined: Thu Feb 02, 2017 10:07 pm

Re: MIST C64 core

Postby Darfpga » Mon Apr 08, 2019 10:02 pm

Just release a c1530 wav/tap loader for FPGA64 on DE10-lite board with zpuflex control module. It should be possible to adapt to MiST/MiSTer. It requires a simple 32bits width I/F to push data into fifo. Wiring to FPGA64 is quite strait forward. Good cia6526 requested on irq clear management (don't clear before catching current state). Wav/tap mode selection still manual but could be done at host level or hdl level (todo).

https://sourceforge.net/projects/darfpga/files/Software%20VHDL

Tested ok on several games with turbo loader or basic tap image. Use TAPCleanfe to enhance tap quality (clean and save). GnG, crazy comets, donkey kong, ...

Feel free to port.

Lroby74
Captain Atari
Captain Atari
Posts: 157
Joined: Sun Sep 04, 2016 8:35 pm

Re: MIST C64 core

Postby Lroby74 » Mon Apr 08, 2019 10:29 pm

Darfpga wrote:Just release a c1530 wav/tap loader for FPGA64 on DE10-lite board with zpuflex control module. It should be possible to adapt to MiST/MiSTer. It requires a simple 32bits width I/F to push data into fifo. Wiring to FPGA64 is quite strait forward. Good cia6526 requested on irq clear management (don't clear before catching current state). Wav/tap mode selection still manual but could be done at host level or hdl level (todo).

https://sourceforge.net/projects/darfpga/files/Software%20VHDL

Tested ok on several games with turbo loader or basic tap image. Use TAPCleanfe to enhance tap quality (clean and save). GnG, crazy comets, donkey kong, ...

Feel free to port.


OMG! I can't believe it! Thank you soo much!

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 664
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: MIST C64 core

Postby DrOG » Tue Apr 09, 2019 3:48 am

Thank you!!! :cheers:

DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 758
Joined: Tue Feb 21, 2017 7:02 am

Re: MIST C64 core

Postby DanyPPC » Tue Apr 09, 2019 6:28 am

Good work Darfpga !

RobeInie
Atari User
Atari User
Posts: 32
Joined: Thu Mar 16, 2017 11:11 pm

Re: MIST C64 core

Postby RobeInie » Tue Apr 09, 2019 7:19 am

Thanks !! :-)

Lroby74
Captain Atari
Captain Atari
Posts: 157
Joined: Sun Sep 04, 2016 8:35 pm

Re: MIST C64 core

Postby Lroby74 » Tue Apr 09, 2019 11:27 am

Now there is only need of a good Samaritan to implement this code in the C64 core of Mist & Mister, in order to really make a lot of people happy who can't wait for more to relive a lot of emotions of their childhood :angel: :angel: :angel:

slingshot
Atari God
Atari God
Posts: 1276
Joined: Mon Aug 06, 2018 3:05 pm

Re: MIST C64 core

Postby slingshot » Wed Apr 10, 2019 8:05 am

Darfpga wrote:Just release a c1530 wav/tap loader for FPGA64 on DE10-lite board with zpuflex control module. It should be possible to adapt to MiST/MiSTer. It requires a simple 32bits width I/F to push data into fifo. Wiring to FPGA64 is quite strait forward. Good cia6526 requested on irq clear management (don't clear before catching current state). Wav/tap mode selection still manual but could be done at host level or hdl level (todo).

https://sourceforge.net/projects/darfpga/files/Software%20VHDL

Tested ok on several games with turbo loader or basic tap image. Use TAPCleanfe to enhance tap quality (clean and save). GnG, crazy comets, donkey kong, ...

Feel free to port.

Thanks! Unfortunately I don't have much luck with turbo loaders (I see NovaLoader in most of the TAP files). I also wonder why the divider is by 33, as in the TAP specs, the base unit is the CPU clock (which is main clk/32)?

Darfpga
Atari maniac
Atari maniac
Posts: 78
Joined: Thu Feb 02, 2017 10:07 pm

Re: MIST C64 core

Postby Darfpga » Wed Apr 10, 2019 8:50 pm

@slingshot, thanks for your interest in that work.

I first start with tap mode and divider by 32. It works with simple tap (I use a 1 single line basic program saved from vice). Then I try some game tap which works ok until I try crazy comets. This game uses very short pulses. I didn't succeed with this game so I switch to wav mode and use 33/44.1KHz ratio as my own core works with 33MHz clock. In that configuration I notice that my loader behave differently between ntsc and pal mode. Finaly I found that the problem was in the cia IRQ (clear before catch status). After rough fixing cia the loader succeed to work in wav mode. I remember that FPGA64 use different cycle length 33 for ntsc and 34.5 for pal. I switch back to tap mode and found that dividing by 33 works for both ntsc and pal mode. Nevertheless it should work with divider by 32 since the bit value only depends on relationship between flag_n falling edge and one given timer count. Some turbo loader use timer A or B of cia1 or 2.

Remember that you should empty the fifo (restart_tape) before starting to write new tape data from the begining. Then you should fill the fifo before press play (c1530_sense). Monitor tap_fifo_error to check if fifo don't get empty during read.

slingshot
Atari God
Atari God
Posts: 1276
Joined: Mon Aug 06, 2018 3:05 pm

Re: MIST C64 core

Postby slingshot » Wed Apr 10, 2019 9:27 pm

Darfpga wrote:@slingshot, thanks for your interest in that work.

I first start with tap mode and divider by 32. It works with simple tap (I use a 1 single line basic program saved from vice). Then I try some game tap which works ok until I try crazy comets. This game uses very short pulses. I didn't succeed with this game so I switch to wav mode and use 33/44.1KHz ratio as my own core works with 33MHz clock. In that configuration I notice that my loader behave differently between ntsc and pal mode. Finaly I found that the problem was in the cia IRQ (clear before catch status). After rough fixing cia the loader succeed to work in wav mode. I remember that FPGA64 use different cycle length 33 for ntsc and 34.5 for pal. I switch back to tap mode and found that dividing by 33 works for both ntsc and pal mode. Nevertheless it should work with divider by 32 since the bit value only depends on relationship between flag_n falling edge and one given timer count. Some turbo loader use timer A or B of cia1 or 2.

Remember that you should empty the fifo (restart_tape) before starting to write new tape data from the begining. Then you should fill the fifo before press play (c1530_sense). Monitor tap_fifo_error to check if fifo don't get empty during read.


At the end I was successful. I've restructured the code a bit, I wonder why didn't you use the fifo reset signals? Also added safety checks to not read if the FIFO is empty (maybe it's not needed, the DCFIFO can protect itself). And finally, it was more convenient to use a 8-bit interface on MiST. Didn't try Crazy Comets yet. Here the core runs in original frequency (CPU is main clock/32 in any case, and the main clock is reconfigured when NTSC/PAL mode is changing), so I've used /32. TAPs will be off a bit in NTSC mode of course.

Lroby74
Captain Atari
Captain Atari
Posts: 157
Joined: Sun Sep 04, 2016 8:35 pm

Re: MIST C64 core

Postby Lroby74 » Wed Apr 10, 2019 10:25 pm

Finally TAP on C64 core !! It's wonderfull, thank you with all my heart!!!
You do not have the required permissions to view the files attached to this post.

User avatar
DrOG
Atari Super Hero
Atari Super Hero
Posts: 664
Joined: Sun Jul 31, 2016 8:23 pm
Location: Gyula, Hungary

Re: MIST C64 core

Postby DrOG » Thu Apr 11, 2019 4:31 am

Lroby74 wrote:Finally TAP on C64 core !! It's wonderfull, thank you with all my heart!!!

Yeah, very nice! :cheers:

Direct link to .rbf on GitHub:
https://github.com/mist-devel/mist-bina ... f?raw=true


Return to “MiST”

Who is online

Users browsing this forum: No registered users and 8 guests