HBlank Timings
Moderators: BigEvilCorporation, Mask of Destiny
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
You mean just place Move.w (a7), d0 as the first instruction (0: 0x00C00008 and 4: 0x00000200) ?, there are a bunch of latencies involved, like reading location 0; 2; 4; 6; and $200, and executing it.
Last edited by Jorge Nuno on Sun Mar 15, 2009 12:26 pm, edited 1 time in total.
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
bypassing TMSS in a MD with TMSS is pretty simple, I even made an auto-switching mod that does not break compatibility with PBC and MCD :3
http://www.fileden.com/files/2008/4/21/ ... MSSMOD.jpg
(there's a small fault on the left side of the schematic regarding the enable/disable switch, but it does not cause any issues).
http://www.fileden.com/files/2008/4/21/ ... MSSMOD.jpg
(there's a small fault on the left side of the schematic regarding the enable/disable switch, but it does not cause any issues).
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
You have a NAND with an input at 0 level in the middle, that gives an «always 1» And there is 1 (at least) redundant port... Man I never saw a difficult-following schematic to do a simple thing
Last edited by Jorge Nuno on Sun Mar 15, 2009 12:43 pm, edited 1 time in total.
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
It took me whole night to get this worked out, and it works in all conditions so far in my MD2 and causes no headache... I hope I have not made any mistake when writing out the schematic
checked out everything, no, its not faulty.
checked out everything, no, its not faulty.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 745
- Joined: Sat Dec 15, 2007 7:49 am
- Location: Kazakhstan, Pavlodar
TMSS is not only thing, that you have to deal. There is security register that need to be initialized (somewhere here was said, that this register placed in VDP and block M68K when it try to access to VDP and do not unlock the system before that).TmEE co.(TM) wrote:bypassing TMSS in a MD with TMSS is pretty simple, I even made an auto-switching mod that does not break compatibility with PBC and MCD :3
So question is: allow VDP acces to it H/V counters or not before unlock the system. If it allow, then all simple: add one move.w command to read H/V counter and store to RAM for print later and proceed with unlock the system. If it don't - there no way out, than do read H/V counter after unlock system code.
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
You're right, this can cause trouble.... best deal you can do is have a MD1 without TMSS, then overclock the 68K (12MHz is max stable clock on no TMSS MD1s but more is possible) so all delays would become shorter and so you can read off less changed values off VDP. You could possibly calculate default HV counter value using values you get from unoverclocked and overclocked system, and for more fun, underclocked system tooHardWareMan wrote:TMSS is not only thing, that you have to deal. There is security register that need to be initialized (somewhere here was said, that this register placed in VDP and block M68K when it try to access to VDP and do not unlock the system before that).
So question is: allow VDP acces to it H/V counters or not before unlock the system. If it allow, then all simple: add one move.w command to read H/V counter and store to RAM for print later and proceed with unlock the system. If it don't - there no way out, than do read H/V counter after unlock system code.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
If the 68K is overclocked you can't predict the memory access delays, becuase AS is strobed using the default clock and DTACK is driven low with the default clock too. Any other clock you supply to it, the 68K will be out of phase with the events of the bus-decoder, and could potentially lead to invalid values.
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
You can of course mess with the master clock too, but then you cannot rely on video output of the unit unless you have some super monitor
Actually, just giving VDP lower clock will do, though I have no idea how low the clock must be before it starts affecting the rest of the system in not so good manner..... experimentation is needed
Actually, just giving VDP lower clock will do, though I have no idea how low the clock must be before it starts affecting the rest of the system in not so good manner..... experimentation is needed
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
Which clock will you manually give to the VDP? EDclk? or M? or both ?
Remeber that VRAM dies if you supply a clock too low, around /3, most likely. The video signals are not so important if you hook a logic analyser on VD bus and trigger it on DTACK \__
With some luck the VDP works without VRAM, or VRAM acting like $hit...
It seems that hard-wire the VA bus to C00008 starts to be a viable option..
Remeber that VRAM dies if you supply a clock too low, around /3, most likely. The video signals are not so important if you hook a logic analyser on VD bus and trigger it on DTACK \__
With some luck the VDP works without VRAM, or VRAM acting like $hit...
It seems that hard-wire the VA bus to C00008 starts to be a viable option..
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
If you want to get info on HV counter only, then VRAM is not really important...
When I last experimented with MD clocks, I did lot of fun things like making the VDP run on mormal clock, but the rest of the system on 40MHz clock or lower, so fun
I need to dig out my oscillators and have more fun
Too bad I have absolutely no equipment to measure anything...
When I last experimented with MD clocks, I did lot of fun things like making the VDP run on mormal clock, but the rest of the system on 40MHz clock or lower, so fun
I need to dig out my oscillators and have more fun
Too bad I have absolutely no equipment to measure anything...
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
the school I attend is not having any such equipment, and such stuff is not taught there.... I would have gladly started learning electronics engineering but my math was just toooooooo poor :/
I am thinking of building an oscilloscope out of a TV sometime though
I am thinking of building an oscilloscope out of a TV sometime though
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT