30 December 2022, 00:23 | #281 | |
Registered User
Join Date: Apr 2018
Location: Stockholm / Sweden
Posts: 129
|
Quote:
In Minimig's implementation, the BLISS signal is used only to count the number of DMA slots that the CPU request to use the slot, but was rejected: https://github.com/MiSTer-devel/Mini...l/agnus.v#L400 (bls is the BLISS signal). |
|
30 December 2022, 16:35 | #282 | |
Registered User
Join Date: Aug 2014
Location: Netherlands
Posts: 695
|
Quote:
Nonarkitten's github contains a lot more interesting information besides the Agnus datasheet, including a schematic for the early Agnus (A1000?) but unfortunately the address multiplexer for the CPU is external on that version The schematics do show however how DBR is generated as part of the register address encoder. Basically DBR is asserted for every DMA access, be it blitter, copper, bitplanes, etc. It is also used to tristate the register address bus when not used by Agnus so that the CPU can taken over. This is consistent with what I see on the scope. So, I think we can be sure of DBR's function: to indicate to Gary when the slot is free. But that also means that Gary does not know what kind of DMA is going on when DBR asserted. It could be bitplanes, audio, blitter etc. So, it is impossible for Gary to "slowdown" the blitter and steal a cycle from Agnus because Gary does not know when a blitter cycle is occuring. Only Agnus knows that. So that leaves the function of BLISS a little unsure although I think it is to indicate to Agnus the CPU will be using the cycle because, as you also noticed, AS/RAMEN/REGEN are not really suitable for that as these might be asserted to early or to late regarding the cycle of relevance. I will do some more measurements when I have time... |
|
30 December 2022, 18:56 | #283 | |
Registered User
Join Date: Jun 2018
Location: Calgary/Canada
Posts: 247
|
Quote:
On the Amiga 1000, there were four clocks each phase shifted. A 45-degree phase shift at 3.5MHz coincides with a single edge of a 14MHz clock. The C4 signal (LATCH) on the Amiga 500/2000 is regenerated using C3 delayed by one 14MHz clock. This is one reason for using 14MHz clock internally. The two LS373's are the read latches, they are transparent when OEL (aka CDR) is high. When CDR is asserted, they attach to the data bus with either the current chip bus data (LATCH is high) or prior chip bus data (LATCH is low). Since LATCH is just C4, it's impossible to read from chip RAM faster than 1/2 the bus speed. |
|
30 December 2022, 19:08 | #284 |
Registered User
Join Date: Jun 2018
Location: Calgary/Canada
Posts: 247
|
|
30 December 2022, 19:19 | #285 |
Registered User
Join Date: Jun 2018
Location: Calgary/Canada
Posts: 247
|
Side note: the timing diagrams in Gayle (https://github.com/nonarkitten/amiga...ifications.pdf) are MUCH more useful than any other document on there.
|
31 December 2022, 11:56 | #286 | |
Registered User
Join Date: Apr 2018
Location: Stockholm / Sweden
Posts: 129
|
Quote:
Then try doing the same thing but with the AS pin disconnected instead. I tried this, and with the BLISS pin disconnected everything works as before. This is consistent with the behavior implemented by Minimig, i.e. that BLISS is only used by Agnus to count how many slots the CPU was blocked, and then prohibit the blitter from using a slot that it would otherwise use. Disconnecting the AS pin makes the Amiga stop working. |
|
31 December 2022, 13:17 | #287 | |
Registered User
Join Date: Aug 2014
Location: Netherlands
Posts: 695
|
Quote:
I do think that the design is a bit ugly as functions seem to be split between devices. Agnus handles the bus and Gary just handles DTACK. And Agnus should be able to know without BLISS whether it is blocking the CPU right? It almost seems like BLISS is a hack, an afterthought. The whole reason for doing all this probing was that I wanted to have a deeper understanding of why my 14MHz accelerator fails to work with certain E clock phasings. I currently fixed it by latching AS to the 7Mhz clock but I was looking for a cleaner way. I learned a lot |
|
31 December 2022, 21:43 | #288 | |
Registered User
Join Date: Jun 2018
Location: Calgary/Canada
Posts: 247
|
Quote:
|
|
31 December 2022, 22:13 | #289 | |
Registered User
Join Date: Jun 2018
Location: Calgary/Canada
Posts: 247
|
Quote:
BLISS isn't a "hack" it's a feature. Though a clumsy one. Honestly, I always found the whole arbitration to be so over-baked. I think it comes from when the Amiga was still a games console and would never have had "fast RAM" -- BLISS was meant to ensure the CPU always has SOME time, unless you set the nasty bit, which not only locks out the CPU entirely, but was useful for timing (and something WHDload exploits for a lot of game compatibility). Adding Gary's functionality to Agnus would have required a larger package and at 84 PLCC, that was already HUGE for its time. I'm still not sure what this whole obsession with "back to back" means. The latches are controlled by C4, a clock. Not BLIT. Not BLISS. Not the phase of the moon, a clock. It is a perfect 50% split. So if you mean writing in an even then odd cycle from the CPU, then no, that's impossible without a custom Agnus and Gary. Period. Unless you pull the four latches and pop in some 33-ohm series resistors. Have fun with that one. If you mean performing more than one operation within a single cycle, then that's possible as the 68000 is asynchronous. But you'll need a fast CPU, smart controller that uses the OVR signal to control DTACK itself as well as fast-enough chip RAM. By fast enough, I mean 70ns FPM or better. |
|
01 January 2023, 17:49 | #290 | ||
Registered User
Join Date: Apr 2018
Location: Stockholm / Sweden
Posts: 129
|
Quote:
Quote:
Happy new year btw! |
||
03 February 2023, 18:30 | #291 |
Registered User
Join Date: May 2021
Location: Los Angeles / USA
Posts: 135
|
Hi' how are things going on this project? any clue when some kits will be ready?
Chris |
03 February 2023, 20:04 | #292 |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,653
|
|
03 February 2023, 20:15 | #293 | |
Registered User
Join Date: Jun 2018
Location: Calgary/Canada
Posts: 247
|
Quote:
Not living in a socialist country means I have to work for a living. That means 40+ hours of my week, every week of the year is spent doing my "job" first. Outside of that, I have family to take care of, and sleep to catch up on. Pile on struggling with depression and yes, it's been a slow go. And the last thing I look forward to is an email drop that someone wants to play backseat driver and dump on the project. There's been a lot of work getting the HARDWARE right before the SOFTWARE and since the HARDWARE isn't on the git, you wouldn't be privy to that work and the fact that we're four respins into the latest boards. For the most part, the software is and has been done. Not being an FPGA guru, I've asked for some help and have been stonewalled so far. So be-it, I'll do my best on my own. As I have done for everything else so far. So seriously, go lick an outlet. ----------------------------------------------------------------------------------------------------------- Also, I've been busy trying to wrap up Buffee first and have been plugging away at a lot of updates and an almost complete rewrite of the generator code. Last edited by SpeedGeek; 03 February 2023 at 22:48. Reason: Merged 2 replies to same post. |
|
03 February 2023, 21:53 | #294 |
Registered User
Join Date: May 2021
Location: Los Angeles / USA
Posts: 135
|
@utri007,
When making an inquiry best to be nice rather than expressing dissatisfaction with the time it takes. Last edited by QuikSanz; 04 February 2023 at 15:54. Reason: Fix feedback statement. |
04 February 2023, 09:27 | #295 |
Registered User
Join Date: Sep 2013
Location: Poland
Posts: 807
|
Ppl tend to forget it's not Phase 5 or Vortex or GVP. Nobody pays kipper or nonarkitten for the work done so far. And it's massive. I have no doubts they'd make more money (than selling buffee etc) going overtime in their regular work instead of the time spent on this project for hobbyist like me and you. So I would appreciate to stop being jacka$$ to the few ppl still doing stuff on Amiga. It won't be any better if we drove them off.
|
04 February 2023, 20:37 | #296 | |
mä vaan
Join Date: Nov 2001
Location: Finland
Posts: 1,653
|
Quote:
|
|
15 March 2023, 12:11 | #297 |
Registered User
Join Date: Feb 2019
Location: Bognor Vegas
Posts: 4
|
An “open source” style Agnus has been on my wish list for years.
Anything that removes the need for me to pay £100+ for a used Agnus for my Amigas. I wish I had the knowledge to do this or participate in its build but sadly for me I didn't stay in the electronics business after I was made redundant during my apprenticeship so didnt learn enough. Just doing it for a hobby is only so good. Lucky for me being an engineer instead has given me other choices. |
15 March 2023, 12:43 | #298 |
Registered User
Join Date: Oct 2018
Location: malaga
Posts: 47
|
This project is one of the best currently on the Amiga. I wish you the best.
|
15 March 2023, 13:04 | #299 | |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,337
|
Quote:
|
|
15 March 2023, 14:22 | #300 | |
Registered User
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga 500 and Agnus cleaning without removing Agnus? | turrican9 | support.Hardware | 16 | 26 January 2016 16:05 |
Universal Translator | mritter0 | request.Apps | 2 | 14 June 2014 19:28 |
Universal Warrior | Asle | HOL data problems | 4 | 10 September 2011 22:14 |
swap fat agnus with agnus | extralife | support.Hardware | 12 | 23 July 2008 15:35 |
|
|