MiSTeX-devel / MiSTeX-ports

FPGA board support and core ports for MiSTeX
BSD 3-Clause "New" or "Revised" License
46 stars 16 forks source link

initialise C64 core #14

Closed darfpga closed 5 months ago

darfpga commented 5 months ago

Small config for initial debug :

Currenlty start basic, load small cart (e.g. defender.crt) Kernel roms to be placed in build//C64/rtl/roms Required hps_interface to be fixed

hansfbaier commented 5 months ago

@darfpga upstream is https://github.com/MiSTer-devel/C64_MiSTer/, I suppose?

hansfbaier commented 5 months ago

@darfpga What are the changes to hps_interface? I can't find them in the PR... Or do you mean those of your past PR? They already have been merged into master.

hansfbaier commented 5 months ago

Ok, after some modification to utils.py, mif files get copied automatically, and I can build the project. Please still answer the question above.

darfpga commented 5 months ago

@darfpga upstream is https://github.com/MiSTer-devel/C64_MiSTer/, I suppose?

Yes, right. My Git skill is not high enough to know how to add a submodule on remote repository.

darfpga commented 5 months ago

@darfpga What are the changes to hps_interface? I can't find them in the PR... Or do you mean those of your past PR? They already have been merged into master.

I push them directly on cored/Template/sys on main branch.

hansfbaier commented 5 months ago

@darfpga I already made the necessary changes (except Template) and refactored a bit. Would you want to try if it still works for you?

hansfbaier commented 5 months ago

@darfpga I did not get a PR for Template. That means I would pull from your fork?

hansfbaier commented 5 months ago

@darfpga Ah, I already found it and pulled from your branch. Will update in ports.

darfpga commented 5 months ago

@hansfbaier Sorry for late reply. Everything is ok for me. At least same status as my own build. I have to adapt a bit sdram config (sdram is smaller on de10lite than MiSTer's one). I am going to try fixing 1541 loading, prg, crt, ... Don't know if problem is specific to my board or not.

hansfbaier commented 5 months ago

Ok, thanks for testing!

darfpga commented 5 months ago

@darfpga I did not get a PR for Template. That means I would pull from your fork?

@hansfbaier Sorry I am not that comfortable with Git. Sometime I didn't do things correctly. More over i'am using GitDesktop on Windows, submodule management is not that clear for me. I run MiSTeX under WSL and 'switch' to Quartus on windows side for debug.

hansfbaier commented 5 months ago

No problem! Good to know it works with WSL!