Minimig Discussion Forum

Discussing the Open Source FPGA Amiga Project
It is currently Fri Jun 23, 2017 3:29 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: PIC18F26K20 firmware: KGL140914
PostPosted: Thu Sep 18, 2014 7:35 pm 
Offline

Joined: Fri Jul 25, 2014 7:27 pm
Posts: 7
As promised in the previous thread: http://www.minimig.net/viewtopic.php?f=5&t=627,
I have made a new release of the PIC18F26K20 firmware.

New features are:
- new ADF routines (modified ARM version), fixes compatbility problems with titles like Darkmere, Agony, DANE, etc
- Selected filename is scrolled if longer than 26 characters

For first flashing of a PIC18K26K20 using a PIC programmer use "firstflash_bootloader+KGL140914.hex".
This will program the tiny bootloader and KGL140914 into the PIC.
For upgrades an existing version via tiny bootloader use "KGL140914.hex"


Attachments:
KGL140914.zip [154.96 KiB]
Downloaded 240 times
Top
 Profile  
 
 Post subject: Re: PIC18F26K20 firmware: KGL140914
PostPosted: Fri Sep 19, 2014 1:25 pm 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1566
Location: .de
Thank you for the update and additional feature.
Will be tested, as soon as possible :)

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


Top
 Profile  
 
 Post subject: Re: PIC18F26K20 firmware: KGL140914
PostPosted: Wed Nov 12, 2014 6:09 pm 
Offline

Joined: Wed Nov 25, 2009 7:25 pm
Posts: 17
Mathesar wrote:
As promised in the previous thread: http://www.minimig.net/viewtopic.php?f=5&t=627,
I have made a new release of the PIC18F26K20 firmware.

New features are:
- new ADF routines (modified ARM version), fixes compatbility problems with titles like Darkmere, Agony, DANE, etc
- Selected filename is scrolled if longer than 26 characters

For first flashing of a PIC18K26K20 using a PIC programmer use "firstflash_bootloader+KGL140914.hex".
This will program the tiny bootloader and KGL140914 into the PIC.
For upgrades an existing version via tiny bootloader use "KGL140914.hex"


Hi,

finally got my pic programmer and a 18F26K20. Flashed your improved firmware and it worked like a charm! No big problems so far.

Noticed a small bug in the menu:

In the adf-selection panel: when you scroll down to exit and hit down another time, exit is not selectable by pressing return. You have to "scroll" one time upwards (thereby the highlight does not move) to be able to select exit and another time to get back to the adf-images. Maybe some index is not working as intended.

If you exit the reset submenu (reset -> no) the highlight jumps to firmware. If you exit by pressing ESC, the highlight jumps to settings. Similar behaviour in the firmware and alternate core submenus.

Thank you for this great release and welcome back to minimig, Dennis.

Cheers


Top
 Profile  
 
 Post subject: Re: PIC18F26K20 firmware: KGL140914
PostPosted: Thu Nov 13, 2014 7:45 pm 
Offline

Joined: Wed Nov 25, 2009 7:25 pm
Posts: 17
Hi,

seems that the demo Voyage by Razor 1911 (http://www.pouet.net/prod.php?which=3521) now finally runs on minimig with firmware KGL140914 (at drive speed 2).

[Comment by StingRay on pouet: Nicely protected loader, very cute code (changing registers in the CIA irq's to calculate the decryption key for the trace vector decoder etc.). :D A good test case for any Amiga emulator since it needs 100% cycle exact CPU/Bus timing.]

Was not able to load an alternate minimg core with the alternate core functionality. The bootloader hangs after Agnus ID and Denise ID. However, loading an alternate non-minimig core (e.g. PET2001, VIC-20, ...) works.

Cheers


Top
 Profile  
 
 Post subject: Re: PIC18F26K20 firmware: KGL140914
PostPosted: Fri Nov 14, 2014 10:58 am 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1566
Location: .de
This bootblock loader code works since YQ100818 FPGA release at Normal CPU speed.
Problem is the ARM and PIC firmware Floppy timing at the further loader when the first picture appear.
Mostly the loader works when switching into Turbo mode directly after the bootblock is finished.
The new PIC again works different internally and this may have an effect to some title and code.

The alternative core load function is to load non-Amiga chipset core.
It only upload the selected FPGA .bin file and then stop. Therefor any other Amiga core will hand at this point. Its the same in the current ARM release offering this feature.

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


Top
 Profile  
 
 Post subject: Re: PIC18F26K20 firmware: KGL140914
PostPosted: Wed Dec 10, 2014 10:11 am 
Offline

Joined: Thu Jan 06, 2011 8:58 pm
Posts: 34
Location: au
Love the huge speed increase when using HDF files - very nice :)


Top
 Profile  
 
 Post subject: Re: PIC18F26K20 firmware: KGL140914
PostPosted: Wed Dec 31, 2014 8:57 am 
Offline

Joined: Wed Nov 25, 2009 7:25 pm
Posts: 17
gamma0511 wrote:
Noticed a small bug in the menu:

In the adf-selection panel: when you scroll down to exit and hit down another time, exit is not selectable by pressing return. You have to "scroll" one time upwards (thereby the highlight does not move) to be able to select exit and another time to get back to the adf-images. Maybe some index is not working as intended.

If you exit the reset submenu (reset -> no) the highlight jumps to firmware. If you exit by pressing ESC, the highlight jumps to settings. Similar behaviour in the firmware and alternate core submenus.


Hi,

finally I could track down the small menu bugs in KGL140914 (see the attached zip). To apply use tiny bootloader with the included *.hex file.

Note: First I had some problems with tiny bootloader and wasn't able to upload any *.hex files because I used an old notebook which was not fast enough to synchronize with the PIC when writing (although it worked fine with the original 18LF252).

Cheers


Attachments:
menu.c.mod.zip [55.03 KiB]
Downloaded 142 times
Top
 Profile  
 
 Post subject: Re: PIC18F26K20 firmware: KGL140914
PostPosted: Wed Dec 31, 2014 1:15 pm 
Offline

Joined: Mon Dec 01, 2008 9:58 pm
Posts: 1566
Location: .de
Thanks for the work, its a nice New Year present :)

I also only have an old notebook with real RS232 port... may take a while until I can test this firmware.

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


Top
 Profile  
 
 Post subject: Re: PIC18F26K20 firmware: KGL140914
PostPosted: Mon Apr 20, 2015 9:47 am 
Offline

Joined: Thu Jan 06, 2011 8:58 pm
Posts: 34
Location: au
Just checked updated hex. Looks good to me. Selecting Exit now works OK.

Thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

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