Minimig Discussion Forum

Discussing the Open Source FPGA Amiga Project
It is currently Wed Sep 20, 2017 5:29 am

All times are UTC




Post new topic Reply to topic  [ 41 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: minimig-de1-rel6
PostPosted: Sun Jul 06, 2014 1:05 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
After quite a while, here is the new release of the minimig core for the DE1 board.

Changes from rel5 are:
- minimig core updated with changes from FSB140414_r2
- TG68K.c core by Tobiflex updated, some games (like Lost Vikings) now work OK
- a new 2kB two-way instruction cache for the TG68 CPU, the CPU has ~ 3x speedup according to Sysinfo
- old bootup code has been removed to make space for the cache and a new boot screen was implemented with a (hopefully!) nice animation
- added HRTmon support, thanks to ToniWilen for supplying a modified HRTmon ROM
- added real Amiga mouse support from the Chameleon minimig port
- added PS/2 Intellimouse support that allows the scroll wheel to work, thanks to MMrobinsonb5 for supplying the mouse driver source (driver is included in the archive)
- fixed keyboard joystick emulation, the CTRL key no longer pauses the game in Turrican II
- keyboard mouse emulation on the numeric keypad
- updated handling of joystick & mouse buttons to allow Asterix game to work (POTGO register)
- the 'Amiga-side' serial port is now added on the DE1 board, I rewrote the serial core written by madeho to Verilog (allows 9bit serial mode)
- a fix for fastRAM handling when there is 0 fastRAM configured - fixes games like Wizkid & Stardust
- fixed floppy write error
- extended the OSD SPI protocol so it can handle more config data
- the OSD SPI protocol is now also used to upload the kickstart image
- + anything I forgot ;)

The release can be downladed here: http://meditation.somuch.guru/minimig/f ... 1-rel6.zip
Source is available at https://github.com/rkrajnc/minimig-de1, the release sources are tagged with minimig-de1-rel6.

These are the files in the release zip file:
- minimig_de1.pof - for Active serial programming the flash on the DE1 board
- minimig_de1.sof - for direct JTAG programming of the FPGA on the DE1 board
- de1_boot.bin - firmware for the control CPU, place on the root directory of your SD card
- minimig.art, minimig.bal, minimig.cop - bootup screen graphics, place on the root directory of your SD card
- hrtmon.rom - HRTmon ROM file, place on the root directory of your SD card
- MinimigWheelDriver - PS/2 mouse wheel driver, use it in your Workbench SS script (or run it manually)

Cheers!

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


Top
 Profile  
 
 Post subject: Re: minimig-de1-rel6
PostPosted: Sun Jul 06, 2014 1:08 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
Oh, I also ported some of these changes to the original minimig board :

- added keyboard joystick emulation on CTRL,ALT, cursor keys
- added keyboard mouse emulation on numeric keypad
- added proper handling of mouse buttons with the POTGO register (for Asterix game)
- added real amiga mouse support
- added PS/2 mouse scroll wheel support, the driver is included in the archive (works with FreeWheel program)

The core can be downloaded here: http://meditation.somuch.guru/minimig/f ... g-rel2.zip

Cheers!

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


Top
 Profile  
 
 Post subject: Re: minimig-de1-rel6
PostPosted: Sun Jul 06, 2014 11:08 pm 
Offline

Joined: Thu Nov 21, 2013 1:57 pm
Posts: 18
Thanks Chaos!! Works great and animation looks very good!!


Top
 Profile  
 
 Post subject: Re: minimig-de1-rel6
PostPosted: Mon Jul 07, 2014 7:35 am 
Offline

Joined: Wed Apr 02, 2014 12:28 pm
Posts: 6
@Chaos will you have a look at the MiST port as well? ... Please :)


Top
 Profile  
 
 Post subject: Re: minimig-de1-rel6
PostPosted: Mon Jul 07, 2014 11:48 am 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
I also built a DE2 version, please test and report any problems, as I don't have a DE2 board and can't test it:

Code:
http://meditation.somuch.guru/minimig/files/de2/rel/minimig-de2-rel6.zip


Cheers!

EDIT: the DE2 build is not working ATM.

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


Last edited by chaos on Tue Jul 08, 2014 8:59 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: minimig-de1-rel6
PostPosted: Mon Jul 07, 2014 11:49 am 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
wsoltys wrote:
@Chaos will you have a look at the MiST port as well? ... Please :)

Yes, I'm going to work on the Mist board now.

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


Top
 Profile  
 
 Post subject: Re: minimig-de1-rel6
PostPosted: Mon Jul 07, 2014 11:54 am 
Offline

Joined: Tue Dec 13, 2011 7:48 pm
Posts: 341
chaos wrote:
I also built a DE2 version, please test and report any problems, as I don't have a DE2 board and can't test it:

http://meditation.somuch.guru/minimig/f ... 2-rel6.zip


I have a DE2 so I'll give it a spin later on. Give me a nudge if I forget!

_________________
~ 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-rel6
PostPosted: Mon Jul 07, 2014 12:00 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
MMrobinsonb5: great, thanks!

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


Top
 Profile  
 
 Post subject: Re: minimig-de1-rel6
PostPosted: Mon Jul 07, 2014 12:38 pm 
Offline

Joined: Tue Nov 09, 2010 3:10 pm
Posts: 316
Oh, and another thing: I made a new PCB for the joystick / mouse addon PCB, with some additions (PS/2 keyboard + mouse on a single PS/2 connector, SPI port for the fairly standard SPI ENC28J60 ethernet board and a microSD slot). Should work for the DE0, DE1, DE2, DE2-70, DE2-115, DE1-SOC and probably the Cyclone V GX STarter kit boards.

http://meditation.somuch.guru/minimig/f ... 1_ext2.zip

If anyone still doesn't have a joystick / mouse addon board, feel free to use the included PCB files.

Cheers!

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


Top
 Profile  
 
 Post subject: Re: minimig-de1-rel6
PostPosted: Tue Jul 08, 2014 12:45 pm 
Offline

Joined: Thu Jun 18, 2009 9:54 am
Posts: 349
chaos: This is FANTASTIC!!
I've been enjoying the new joystick emulation layout on the Minimig V1.1 board a lot, and this new release for DE1 looks incredible: I also have a DE1 which is officially an AMiga computer for the rest of it's life :D

keep up the good work!!!

NOTE: As I told you, the Minimig V.1.1 board has a little (but noticeable) problem: when it's running at full 49Mhz mode, some games skip notes. It seems the same occurred in WinUAE at certain emulated AMiga speeds, so Toni found a solution:

Quote:
Next beta will have option to force audio hack even if CPU mode is not "fast enough". Perhaps it will help..

There is nothing special in audio hack. It does three things:

1:

Old behavior: When audio DMA is switched off, audio channel was forced to idle state immediately.

New: When audio DMA is switched off, flag is set that program wants to switch off DMA, if program re-enables DMA and flag is still set, channel is forced to idle state. Flag is cleared when channel becomes idle (forced or period has counted down)

This fixes most programs that have audio DMA CPU delay loops and still allow (badly done) programs that really need delay before channel goes to idle state. Most common bug is to switch DMA off, then clear INTREQ and finally wait for interrupt bit to be set (which happens when period has counted down)

If program does not wait for idle channel, attempting to play new sample does nothing. Old sample keeps playing, only period changes.

2:

If channel is idle and program writes to AUDxDAT and period is less than 10, play nothing, go back to idle state immediately. This works around audio.device weirdness which is not that compatible with very fast CPUs (JIT).

3:

If program writes to audio pointers (high or low word) immediately after DMA has been enabled but before Agnus has seen DMAL DSR bit from Paula (Agnus has not latched channel's audio pointer): force latching immediately. This hack assumes that program wanted to update only pointer register, instead of updating current sample pointer immediately (and playing from new address)


Here's the page where he posted that: http://eab.abime.net/showthread.php?p=962371#post962371

It's a "hack", but with very interesting results. Games that were slow at 7Mhz now run at a good speed on faster CPU speeds, BUT audio is intact!
Can it be implemented in Minimig V1.1 board?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 41 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr