Minimig Discussion Forum

Discussing the Open Source FPGA Amiga Project
It is currently Mon Nov 20, 2017 10:51 pm

All times are UTC




Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: minimig-de1 release 5
PostPosted: Mon Dec 03, 2012 8:26 am 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
You can find ready-to-run DE2 binaries in the files section of the minimigtg68 group:

http://gamesource.groups.yahoo.com/group/minimigtg68


Last edited by Master of Gizmo on Mon Dec 03, 2012 11:08 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Mon Dec 03, 2012 10:04 am 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
Master of Gizmo: thanks for the build files.

I believe that boing4000 has access to (or is the owner of) the sourceforge page.

Just a quick question about your source code changes:
the VGA_BLANK signal is assigned as VGA_HS && VGA_VS, and the VGA_SYNC is assigned as a constant 0, is that correct?

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


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Mon Dec 03, 2012 10:13 am 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
chaos wrote:
Just a quick question about your source code changes:
the VGA_BLANK signal is assigned as VGA_HS && VGA_VS, and the VGA_SYNC is assigned as a constant 0, is that correct?


Yes. That's exactly how Tobi did it in the original de2 port. Something suspicious?


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Mon Dec 03, 2012 2:51 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
I would expect that VGA_HS && VGA_VS to be used as a composite sync output, and not used as a blanking signal.

But I guess everything is okay, since the CSYNC is not used with VGA at all (I believe), just SCART. It is interesting that this composite sync acts as a good blanking signal :)

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


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Sun Dec 09, 2012 10:17 am 
Offline

Joined: Tue Sep 25, 2012 7:15 pm
Posts: 105
chaos wrote:
I would expect that VGA_HS && VGA_VS to be used as a composite sync output, and not used as a blanking signal.


VGA doesn't even have a pin for csync, so it's not used on the de2. And blanking also isn't necessary. But it doesn't hurt to disable the color driver in the sync phase. Actually this is the right thing to do when emulating an amiga. Blanking the front and back porches like VGA on PC usually does would cause the amiga screen border to be black like on a PC (many people actually never notice that there is no such thing as a border color on a PC).


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Wed Dec 12, 2012 10:30 am 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
Yes, CSYNC is not officially part of the VGA, but some (most?) ATI (& Matrox?) graphics cards can produce composite sync on one pin of the VGA connector.

I believe the border blanking is already enabled for the ECS mode. Anyway, it is good to use blanking as the monitor can more easily detect the screen size and properly stretch the image.

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


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Thu Dec 13, 2012 7:50 pm 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1568
Location: .de
First Minimig core already set background color to $000 (black) at blanking/synch area.

The relative new ECS "border blank" feature is different and even in real Amiga hardware only available with ECS Denise and need to be enabled via software (chipset register bits).
At enabled BorderBlank a LCD/TFT screen can detect the actually Amiga display range a lot better, but possible overscan need another AutoDetect run.

Amiga display is different to PC one, since Amiga show the current background color even out of the most possible overscan range. This confuses LCD screen because Windows/Linux/Mac will set the "outside color" to black by default.

_________________
_____________________________
JMP $00000BED ; will guru-meditation until next morning


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Thu Jan 03, 2013 8:47 pm 
Offline

Joined: Tue Jan 01, 2013 7:46 pm
Posts: 5
@chaos
Fantastic work. I have been experimenting with the DE1 board with Mike Sterling's ZX spectrum implementation. (http://mikestirling.co.uk/zx-spectrum-on-an-fpga/) and after some searching found Minimig. I still can't believe the humble Amiga can fit on a Cyclone II. So most of the weekend was spent playing Superfrog and Fire and Ice! Turrican II introduction plays really fast, but the game plays fine (well except the left Cntrl also seems to pause the game!). I was actually going to try and modify the source code to remove the Cntrl (or change the fire for another key), but ran into some difficulty trying to build from the source code from your link.

Beamcounter.v as previously posted easy to fix problems with the upper/lower case issues. I can't find amiga_boot.v - I assume this is essential - as it's referenced in minimig1.v and the fw/ctrl_boot/bin/ctrl_boot.mif cannot be found. (This was all attempted using Quartus 12.0sp2.) I'm probably missing something obvious, I'm afraid I'm a bit new to the Quartus software, and shall try and work it out, but if anyone has some pointers I would really appreciate it.

Great work though - really enjoying my Amiga back!


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Sat Jan 26, 2013 9:59 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
Hi, I'm glad you enjoyed it ;)

I'll try to fix the button mappings tomorrow, I guess adding another key as fire will do the trick, or maybe disabling the ctrl when joystick emulation is used.

I still haven't gotten around to fixing Beamcounter.v for the newer versions of Quartus, I'll try to fix that, too tomorrow.

Regarding the amiga_boot file, it is directly generated from the assembler source, so it is missing from the repo. You need the gcc compiler for the M68000 architecture, or I can just send you the file. The same with ctrl_boot.mif file, it is generated from OR1200 assembler/C source.

I'll post here tomorrow afternoon, enjoy!

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


Top
 Profile  
 
 Post subject: Re: minimig-de1 release 5
PostPosted: Sun Jan 27, 2013 8:59 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
Hi icebox,

Here are the files you need:
https://dl.dropbox.com/u/524989/ctrl_boot.mif
https://dl.dropbox.com/u/524989/amiga_boot.v

I didn't have time to fix the other issues, will get to that later.

Enjoy!

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  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