|
Subject: Re: [stella] TIA video timing From: Adam Wozniak <adam@xxxxxxxxxxxxxxxx> Date: Thu, 10 Mar 2005 23:23:27 -0500 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 10 Mar 2005, Chris Wilkson wrote:
> > -- video blank output
> > process (regVBLANK)
> > begin
> > if posNOW = "11100000" then -- 11100000 == 224
> > nblk <= not ('1' or regVBLANK(0));
> > elsif posNOW = "01000000" then -- 01000000 == 64
> > nblk <= not ('0' or regVBLANK(0));
> > end if;
> > end process;
> >
> >
> > Did I get the logic levels right? Ack, I still don't feel
> > like I'm on solid ground here.
>
> I think the nblk logic is ok.
This then becomes:
-- video blank output
process (regVBLANK)
begin
if posNOW = "11100000" then -- 11100000 == 224
nblk <= '0';
elsif posNOW = "01000000" then -- 01000000 == 64
nblk <= not regVBLANK(0);
end if;
end process;
Does that still make sense?
> But you should leave the ability to shift the hblank
> pulse 4 cycles to the right, just in case the numbers you're using are wrong. This
> should be easy to with the given code, but I don't know what other timing signals you
> are depending on hblank for. It should work either way, it'll just look a little
> different on a real TV.
I drive everything off the posNOW counter.
- --
adam@xxxxxxxxxxxxxxxx http://cuddlepuddle.org/~adam
KG6GZR http://cuddlepuddle.org/~adam/resume.html
"Feminist? Why would I want to alienate half the population? I'm an egalitarian."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQFCMQvCyvXf5Z0z5zERArpfAJsG2FwwE7eo5UcbaIYUgy+0bBLVlwCgxXaM
Ietzyt13bnHSaf4ed5bzBFA=
=lTDU
-----END PGP SIGNATURE-----
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://stella.biglist.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [stella] TIA video timing, Chris Wilkson | Thread | [stella] Dumping ROM images, Adam Wozniak |
| Re: [stella] TIA video timing, Chris Wilkson | Date | [stella] Dumping ROM images, Adam Wozniak |
| Month |