Minimig Discussion Forum

Discussing the Open Source FPGA Amiga Project
It is currently Sat Jun 24, 2017 1:54 am

All times are UTC




Post new topic Reply to topic  [ 45 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: minimig-de1 release 5
PostPosted: Tue Nov 27, 2012 1:18 am 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 315
Good news everyone! (you have to read it in Professor's voice ;))

It certainly took a while, but a new release of minimig port to the DE1 board is finally available.

Major changes are:
- flash is no longer used
- the bootscreen can now be 'drawn' to
- keyboard joystick emulation is moved to the cursor keys + LCTRL, LALT keys
- fixes for a bunch of bugs, like the "illegal track read" on boot
- hopefully more compatible SD card code

Here is the new buttons / switches mapping:
- SW9 - scandoubler enable
- SW7 - audio L/R switch
- SW6 - audio mix (mix some left audio to right channel and vice-versa)
- KEY3 - left mouse button
- KEY2 - right mouse button
- KEY0 - reset

Keyboard:
- F12 - OSD menu
- NumLock - enable keyboard mouse/joystick emulation
- NumSlash - left mouse button
- NumStar - right mouse button
- cursor keys - joystick
- LCTRL - joystick fire 1
- LALT - joystick fire 2

Code is, as always, available at https://github.com/rkrajnc/minimig-de1

Download the zipfile below, use .sof / .pof file to program your DE1 board, and place the de1_boot.bin file on the root directory of your SD card. Remember, programming of the FLASH on the DE1 board is no longer required!

https://github.com/downloads/rkrajnc/mi ... 1-rel5.zip


Enjoy!

_________________
** my minimig builds: http://somuch.guru/ **


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Tue Nov 27, 2012 4:19 pm 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
chaos wrote:
- flash is no longer used


Excellent! I'll do an DE2 build asap ...


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Tue Nov 27, 2012 11:01 pm 
Offline

Joined: Tue Dec 13, 2011 7:48 pm
Posts: 341
Awesome!

So far so good - all seems to be working fine so far. :D

_________________
~ Amiga 4000/030 ~ Amiga 1200 030/50MHz ~ Turbo Chameleon 64 ~ Altera DE1 with Minimig core ~
Details of my projects: http://retroramblings.net


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Wed Nov 28, 2012 9:17 am 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
I tried to rebuild the version from git. Small glitches so far:

  1. There's still the uppercase lowercase problem with the macro names in beamcounter which are incompatible with current quartus versions.
  2. "file ../../lib/altera/MULT18X18.v is missing": doesn't seem to be needed, anyway
  3. "file amiga_boot.v is missing": is not in current dir as qsf suggests, but in ../../fw/amiga_boot/bin/
  4. "file amiga_boot.qip is missing": also doesn't seem to be needed, anyway


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Wed Nov 28, 2012 11:02 am 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 315
master of gizmo:

thanks for the info, I'll fix that in the sources.

1. This is certainly surprising, as Verilog is case-sensitive, and the mentioned errors are just info notices in Quartus 10.1SP1, that I use. I planned a source cleanup (And move to 28MHz clock) anyway, so I'll fix that also.
2. the multiplier mega-function was used in some previous versions, it can be safely removed
3. I forgot to add that file to the repo - the one in fpga/altera dir is a mega-function generated file, that I used for testing. The one in fw/amiga_boot/bin is equivalent, and is the right one to use.
4. yes, the amiga_boot.qip is not needed

_________________
** my minimig builds: http://somuch.guru/ **


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Wed Nov 28, 2012 12:53 pm 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
Hmm, my de2 port claims that:

Error (12002): Port "ldata" does not exist in macrofunction "ad1" File: minimig-de1/rtl/minimig/Paula.v Line: 308

I am sure i am missing some global option like "ignore unused ports" or the like as the same file synthesized fine for the de1 ... argh ...


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Wed Nov 28, 2012 1:01 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 315
You are missing a MINIMIG_DE1 `define, which is defined in soc/minimig_de1_top.v.
This define is used in rtl/minimig/Audio.v in the ports declaration - you can just remove it from there.

Enjoy!

_________________
** my minimig builds: http://somuch.guru/ **


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Wed Nov 28, 2012 1:52 pm 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
Yes, that's one general problem with the current minimig state. I'd love if people would just add defines und ifdefs if they extent or alter the plattform, so there wouldn't be any need for backporting. So it'd be nice to have some "parallel_audio_output" define which encaspulates this entire part.

But to be realistic: Yes, i'll just remove that ifdef ...


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Wed Nov 28, 2012 3:06 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 315
Master of Gizmo:
that is exactly what I was trying to accomplish with that define.

Oh, when you are done with porting to the DE2 board, can you publish the programming files? There are some other people interested in this. Thanks!

_________________
** my minimig builds: http://somuch.guru/ **


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Wed Nov 28, 2012 4:23 pm 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
chaos wrote:
Oh, when you are done with porting to the DE2 board, can you publish the programming files? There are some other people interested in this. Thanks!


Sure! I'll just send you my files and you can include them. Synthesis works fine, now i'll have to check if it actually runs.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 45 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr