Snooping on the bus is neither reading nor writing on the bus. It is
just watching the bus to see what is there.
So while snooping, if a video card 'sees' a write to a memory location
that holds video data, it 'looks' at the data and writes a copy of that
data to a buffer on the card. The buffer is then used (along with other information) to create a video output.
The card itself is not doing a read/write because it is not manipulating
the slot bus signals in any way. There is no effect on the operation of
the Apple II.
I don't know if the VidHD is open source, but you can download source
code for my Carte Blanche II 800x600 video card for the IIgs here:
http://noboot.com/charlie/c2001-2015-07-20.zip
Unzip it and open cb2.v with notepad or any text editor.
It is in verilog but is pretty heavily commented.
Scroll down about 216 lines to where it says 'write clock - from old
wrclk module'. The next 25 lines shows the wires and registers I used
and the 'always' block of code that does the actual snooping.
This method is derived from Alex Freed's code here:
https://sourceforge.net/projects/jatcb/?source=navbar
Incidentally, the peripheral slot bus address and data pins are bidirectional.
Charlie
There's this very cool card I was reading up on called the VidHD, and it seems to work by snooping on the bus. I thought the Address bus was uni-directional! Does anyone have any info on what exactly it's doing? I thought to read anything off the busyou needed to perform DMA, and I had no idea you could read the address off the bus, I thought you could only drive it. If someone could point me to the technical aspects of how it's doing what it's doing I'd appreciate it.
Many thanks in advance!
out!Snooping on the bus is neither reading nor writing on the bus. It is
just watching the bus to see what is there.
So while snooping, if a video card 'sees' a write to a memory location
that holds video data, it 'looks' at the data and writes a copy of that
data to a buffer on the card. The buffer is then used (along with other
information) to create a video output.
The card itself is not doing a read/write because it is not manipulating
the slot bus signals in any way. There is no effect on the operation of
the Apple II.
I don't know if the VidHD is open source, but you can download source
code for my Carte Blanche II 800x600 video card for the IIgs here:
http://noboot.com/charlie/c2001-2015-07-20.zip
Unzip it and open cb2.v with notepad or any text editor.
It is in verilog but is pretty heavily commented.
Scroll down about 216 lines to where it says 'write clock - from old
wrclk module'. The next 25 lines shows the wires and registers I used
and the 'always' block of code that does the actual snooping.
This method is derived from Alex Freed's code here:
https://sourceforge.net/projects/jatcb/?source=navbar
Incidentally, the peripheral slot bus address and data pins are
bidirectional.
Charlie
Hey Charlie! Just to be clear, are you saying that so long as I have my peripheral card lines set as INPUT and tied to the R/W and Address and Data buses all I need to do is just read the signals at the appropriate time and voila!? I'll check your code
code out!Hey Charlie! Just to be clear, are you saying that so long as I have my peripheral card lines set as INPUT and tied to the R/W and Address and Data buses all I need to do is just read the signals at the appropriate time and voila!? I'll check your
Yes, but technically we use 'snooping' or 'watching' or some term other
than 'reading' the signals so as to not confuse it with actually manipulating the R/W (Read/Write) signal.
Charlie
code out!Hey Charlie! Just to be clear, are you saying that so long as I have my peripheral card lines set as INPUT and tied to the R/W and Address and Data buses all I need to do is just read the signals at the appropriate time and voila!? I'll check your
Yes, but technically we use 'snooping' or 'watching' or some term other
than 'reading' the signals so as to not confuse it with actually
manipulating the R/W (Read/Write) signal.
Charlie
Gotcha! I tried accessing your site, even the home page, and Bitdefender is preventing me with malicious page warnings :(
On 8/13/2022 11:19 PM, Anthony Ortiz wrote:
Hey Charlie! Just to be clear, are you saying that so long as I have my peripheralYes, but technically we use 'snooping' or 'watching' or some term other
card lines set as INPUT and tied to the R/W and Address and Data buses all I need to
do is just read the signals at the appropriate time and voila!? I'll check your code
out!
than 'reading' the signals so as to not confuse it with actually
manipulating the R/W (Read/Write) signal.
Charlie
Gotcha! I tried accessing your site, even the home page, and Bitdefender is preventing
me with malicious page warnings :(
All I can say about the site is that I have no trouble accessing it with Windows (with the
Windows security on). I've used both Firefox and MS Edge with no problem. To my
knowledge there is nothing bad on the site.
Is anyone else having trouble?
http://noboot.com/charlie/Charlie's%20Stuff.htm
[...]
Charlie <charlieDOTd@verEYEzon.net> writes:
On 8/13/2022 11:19 PM, Anthony Ortiz wrote:
Hey Charlie! Just to be clear, are you saying that so long as I have my peripheralYes, but technically we use 'snooping' or 'watching' or some term other >>>> than 'reading' the signals so as to not confuse it with actually
card lines set as INPUT and tied to the R/W and Address and Data buses all I need to
do is just read the signals at the appropriate time and voila!? I'll check your code
out!
manipulating the R/W (Read/Write) signal.
Charlie
Gotcha! I tried accessing your site, even the home page, and Bitdefender is preventing
me with malicious page warnings :(
All I can say about the site is that I have no trouble accessing it with Windows (with the
Windows security on). I've used both Firefox and MS Edge with no problem. To my
knowledge there is nothing bad on the site.
Is anyone else having trouble?
http://noboot.com/charlie/Charlie's%20Stuff.htm
[...]
Works fine for me. Firefox 103.0 on Linux.
All I can say about the site is that I have no trouble accessing it with Windows (with the
Windows security on). I've used both Firefox and MS Edge with no problem. To my
knowledge there is nothing bad on the site.
Is anyone else having trouble?
http://noboot.com/charlie/Charlie's%20Stuff.htm
[...]
Works fine for me. Firefox 103.0 on Linux.
Thank you for checking.
Charlie
All I can say about the site is that I have no trouble accessing it with Windows (with the Windows security on). I've used both Firefox and MS Edge with no problem. To my knowledge there is nothing bad on the site.
Is anyone else having trouble?
http://noboot.com/charlie/Charlie's%20Stuff.htm
Thank you for checking.All I can say about the site is that I have no trouble accessing it with Windows (with the
Windows security on). I've used both Firefox and MS Edge with no problem. To my
knowledge there is nothing bad on the site.
Is anyone else having trouble?
http://noboot.com/charlie/Charlie's%20Stuff.htm
[...]
Works fine for me. Firefox 103.0 on Linux.
Charlie
Looks good to me now, no more bitdefender blockage :)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 496 |
Nodes: | 16 (3 / 13) |
Uptime: | 53:05:38 |
Calls: | 9,757 |
Calls today: | 17 |
Files: | 13,742 |
Messages: | 6,184,932 |