20 September 2014, 14:32 | #41 |
MI clan prevails
Join Date: Jul 2010
Location: Belgrade, Serbia
Posts: 1,443
|
Holy smokes that's fast
Way to go Majsta |
20 September 2014, 19:17 | #42 |
www.majsta.com
Join Date: Jun 2010
Location: Banjaluka/Republic of Srpska
Age: 43
Posts: 448
|
Yap it is a fast but it could go a lot faster, today's plan is to fix some chip controller bugs and to finally start interfacing IDE.
|
20 September 2014, 19:55 | #43 |
Registered User
Join Date: Jan 2014
Location: Belgrade / Serbia
Age: 41
Posts: 1,004
|
Reason for me to get A500, cause A600 is rare here as you know.
And of course to play 2,5 kilo ratz like rabbit Ziveo brate! Last edited by Cobe; 20 September 2014 at 20:32. |
20 September 2014, 20:25 | #44 |
Jackie Chan
Join Date: Mar 2012
Location: Ireland
Age: 46
Posts: 993
|
Is there a benefit to getting the vampire 500 as well as an apollo board? Or should I just wait for the apollo board? (if the apollo board happens)
|
21 September 2014, 15:10 | #45 |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,850
|
When and where i can place my order?
Is there any planned version for DIY (PCB + components)? |
21 September 2014, 15:27 | #46 |
www.majsta.com
Join Date: Jun 2010
Location: Banjaluka/Republic of Srpska
Age: 43
Posts: 448
|
Project is not finished yet, like you know i didn't worked too much on this design and now i have problems with IDE detection procedure again. There is a lot of documentations but so far I have no idea how to implement that.
After all of that is done and fully tested then we can talk about future plans, production etc... So far INTENA and INTREQ are giving me nightmare. Last edited by majsta; 21 September 2014 at 15:53. |
21 September 2014, 23:18 | #47 |
Ya' like it Retr0?
Join Date: Jul 2005
Location: United Kingdom
Age: 49
Posts: 9,768
|
@majsta
My friend, I am very pleased to see you back on this project, its very exciting and I look forward to seeing your results. I am just getting to grips with the Zorro2 bus arbitration so I feel your pain my friend, but persevere we must - the results are worth it. I have a little experience with FPGA's maybe talking through the problem will help - just hit me up in PM =) |
21 September 2014, 23:41 | #48 |
www.majsta.com
Join Date: Jun 2010
Location: Banjaluka/Republic of Srpska
Age: 43
Posts: 448
|
Hi
Problem is that I want to build IDE controller without sending any information's to Amiga what is going on. So now I m not so certain that I must follow all of the procedures regarding INT2, OVR or asserting AS when IDE controller is accessed. For now I need to understand how to bring up scsi.device by writing to some register or something. For tomorrow I decided to go with A600 and measure all needed signals. What is confusing me that TG68 is constantly in 01 mode(decoding internally without any external access) when DA2000 is accessed(part of IDE detection space). So actually I cant start any read/write to IDE because of that. I don't know the same problem like last year I was talking about. |
23 September 2014, 14:53 | #49 |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,850
|
Hmmm - stupid question but what with other IDE implementations on non Gayle equipped machines? Perhaps You can take just code?
|
23 September 2014, 16:59 | #50 |
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 859
|
@pandy - actually CFIDE68k from Mika and other similar interfaces bases on Gayle state machine (so it basically emulates Gayle IDE component). In other instances (some turbo cards) there's external fixed logic IC (IDE controller) which can't be simply copied into FPGA. Gayle-style is used in most implementations because it is directly supported by KS2.05+ withouth any custom libraries etc. All others non-standard solutions are more problematic.
Last edited by Promilus; 23 September 2014 at 17:06. |
23 September 2014, 19:23 | #51 |
www.majsta.com
Join Date: Jun 2010
Location: Banjaluka/Republic of Srpska
Age: 43
Posts: 448
|
Yes, I need to use Gayle logic because of auto boot option.
|
23 September 2014, 23:00 | #52 | |
www.majsta.com
Join Date: Jun 2010
Location: Banjaluka/Republic of Srpska
Age: 43
Posts: 448
|
Ok I will report problems here and maybe someone can help.
$DA3018 (Control) is something now I see as a problem and there is no info about it. So if we go like this: Quote:
1. What is $DA3018 and who is looking there and what is he searching for? 2. Another problem, why don't I see bit 15 set on $DAA000 shouldn't scsi.device set it there automatically? Last edited by majsta; 23 September 2014 at 23:06. |
|
24 September 2014, 00:42 | #53 | |
Registered User
Join Date: Aug 2001
Location: Connecticut USA
Posts: 617
|
Quote:
From the point of view of a slave device, you assert it by driving the pin with a "0", and de-assert it by driving "Z" (which will cause the HDL to tristate the pin). The INT2 line feeds into one of the custom chips, which manages the IPL0:2 lines that the 68000 sees. DO NOT try to drive IPL0:2 directly. Run a jumper wire to INT2 somewhere and let the custom chips deal with the processor interaction. AS* is asserted by the current bus master at the start of bus cycle. Unless your device is doing DMA, you will never assert AS*. XRDY and OVR: The onboard custom chip logic AUTOMATICALLY generates a DTACK* acknowledgement for ANY bus cycle at the conclusion of S7. XRDY and OVR are two means to stop this, which are used if you need to introduce wait states (i.e. the device is slow and will take more than 3 clock cycles to respond with data). If you can guarantee that you will always respond within a standard 68000 bus cycle, you don't even need to worry about XRDY, OVR, or DTACK, since the chips will complete the cycle on their own. Last edited by Shadowfire; 24 September 2014 at 00:53. |
|
24 September 2014, 01:46 | #54 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 2,017
|
$DA3018 ; (read) alt status, doesn't clear int
$DA3018 ; (write) device control - int/reset [table] ; auxiliary status register bit definitions BITDEF WDC,INT,7 an interrupt is pending BITDEF WDC,LCI,6 last command ignored BITDEF WDC,BSY,5 chip is busy with a level 2 command BITDEF WDC,CIP,4 command in progress BITDEF WDC,PE,1 a parity error was detected BITDEF WDC,DBR,0 data buffer ready during programmed I/O ; control register bit definitions BITDEF WDC,DMA,7 DMA mode is enabled for data transfers BITDEF WDC,WDB,6 direct buffer access for data transfers BITDEF WDC,HA,1 halt on attention (target mode only) BITDEF WDC,HPE,0 halt on parity error enable ; source ID register control bits BITDEF WDC,ER,7 enable reselection BITDEF WDC,ES,6 enable selection (target or multiple initiators only) BITDEF WDC,SIV,3 source ID valid ; command register control bits BITDEF WDC,SBT,7 enable single byte transfer mode [/table] |
24 September 2014, 08:17 | #55 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,539
|
Quote:
|
|
24 September 2014, 15:43 | #56 | |
Registered User
Join Date: Feb 2012
Location: Sweden
Posts: 43
|
Quote:
So why shouldn’t (can’t?) it be done like that? |
|
24 September 2014, 18:06 | #57 | |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,850
|
Quote:
Idea to hide IDE from Gary is more than reasonable (no problem with adding additional wires from CPU to Gary or Paula, way faster bus arbitration as all access are internal and not system limited). |
|
24 September 2014, 18:11 | #58 |
www.majsta.com
Join Date: Jun 2010
Location: Banjaluka/Republic of Srpska
Age: 43
Posts: 448
|
Yes that is the goal. I will explain everything and publish the code when is done and then you will see what I have in mind. Best thing there if I get this to work, then I will easily add USB support to A500 using the same principles. But something is stopping me and it seems that no one can help since everyone things regular way respecting concepts build 15 years ago. There is one sentence I read somewhere why we have to tell Amiga motherboard everything what is going on? This sentence is in my mind all the time, because with FPGA you have choice to fake everything you want beyond regular rules.
|
25 September 2014, 00:02 | #59 |
Registered User
Join Date: Aug 2001
Location: Connecticut USA
Posts: 617
|
I'm not saying that it couldn't be done inside the FPGA, you would need to build another priority encoder and pass through higher priority external IPL* signals to your core.
But there will be no performance improvement by doing this. Your time savings is whatever your IPL* synchronizers are costing (2 cycles) less the added delay through your new priority encoder logic, and those cycles are insignificant compared to the execution time of ANY interrupt service routine (and I seriously doubt that changes with the Apollo core). Please note that I will not debate this point (as I can already see that coming), if you wish you can disassemble/trace the ISR and count instructions. NO CPU IN EXISTENCE has IRQ service response routines that short without having a separate shadow register set for IRQ's (and therefore doesn't need to save/restore processor state). Asserting the IRQ2* line on the motherboard does NOT impact the machine's performance, IPL* lines are not (directly) tied to bus transactions. When all is said and done you've managed to save yourself one jumper wire. Ask yourself, is it worth whatever time you're spending on this, to eliminate one wire? If it is, hey, go for it. If it isn't, run the wire and work on more important things. Last edited by Shadowfire; 25 September 2014 at 00:15. |
25 September 2014, 16:02 | #60 | |
Registered User
Join Date: Jun 2010
Location: PL?
Posts: 2,850
|
Quote:
I think that issue is somewhere in scsi.device - so Majsta missing something that is required from scsi.device perspective. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Black Amiga 500 project | TjLaZer | Hardware mods | 60 | 14 March 2015 03:52 |
Vampire game | Amiga1992 | Looking for a game name ? | 5 | 12 November 2012 13:05 |
Project 500 starts... | Paul_s | Hardware pics | 34 | 03 July 2008 01:01 |
New Bounty-Project started for AROS: Kickstart replacement | Paul | News | 0 | 26 December 2004 12:12 |
Vampire's Empire | enigma | support.Games | 5 | 04 February 2002 21:04 |
|
|