Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.computer > #10312
| From | Don Y <blockedofcourse@foo.invalid> |
|---|---|
| Newsgroups | sci.electronics.design, alt.computer |
| Subject | Re: byte-to-pixel data display program? |
| Date | 2017-04-04 06:55 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <oc08ff$45u$1@dont-email.me> (permalink) |
| References | <a3hEA.158731$mb5.138205@fx19.iad> <obt3h9$1l6l$1@gioia.aioe.org> <obu47m$qgj$1@dont-email.me> <G9KEA.239777$mB4.148965@fx25.iad> |
Cross-posted to 2 groups.
On 4/4/2017 3:01 AM, Robert Baer wrote:
> Don Y wrote:
>> On 4/3/2017 2:10 AM, Martin Brown wrote:
>>> On 03/04/2017 01:54, Robert Baer wrote:
>>>> Remember back in the daze of the CoCo (Radio Shack color computer)?
>>>> No software needed, the display was easily mapped to any area in memory.
>>>> Seems there is absolutely NOTHING to do this now.
>>>
>>> That is because modern kit uses graphics accelerators.
>>>
>>>> What i need is a program to read ANY arbitrary part of drive (Spinrte
>>>> does this on an incremental basis) and do a one-to-one pixel display
>>>> (byte value determines color - back to the CoCo).
>>>
>>> There is a way to set or read individual pixels but it isn't often used.
>>>
>>>> Program has means of user-control scrolling thru HD memory.
>>>>
>>>> Thanks.
>>>
>>> Why on earth do you want to do this?
>>
>> He wants to "understand" why the disk isn't "full of zeroes" after he
>> THINKS he has filled it with zeroes.
> * Oh, you KNOW that a dd diskwipe does NOT write zeros?
> Please give us a reference!
dd(1) is simply a "file copy" utility -- in much the same vein as PIP.
When invoked as:
dd if=/dev/zero of=/dev/rawdiskdevicename
it copies an infinitely long (pseudofile) file of "zeroes" to the
destination "disk" (represented by a file named /dev/rawdiskdevicename).
When invoked as:
dd if=/dev/zero of=/dev/rawdiskdevicename count=10
it terminates the transfer of the infinitely long file of zeroes
after the 10th block (blocks being 512 bytes, by default)
When invoked as:
dd if=/dev/zero of=/dev/rawdiskdevicename bs=10b count=10
it transfers blocks of 5120 bytes ("10 bLOCKLENGTHS") until it
has transfered 10 of them to the device.
When invoked as:
dd if=/dev/random of=/dev/rawdiskdevicename
it copies an infinitely long (pseudofile) file of "random" data
to the destination disk (though the "randomness" of the data may
be dubious -- there are other sources of entropy to consider)
When invoked as:
dd if=/filename of=/dev/rawdiskdevicename
it transfers the named file to the *start* of the destination disk.
So, if you want to overwrite the VTOC (MBR), you can store an image
of it in "filename" and overwrite it thusly.
When invoked as:
dd if=/dev/rawsourcedisk of=/dev/rawdestionationdisk
it transfers the entire contents of the "source" disk to the "destination"
disk -- as if making a carbon copy of the disk (even if the operating
system doesn't recognize the source disk as having any *files* on it!)
In all of the above, if the entire prescribed transfer can't occur, it
is aborted when EOF is sensed in the input file (which will never happen
with an infinitely long file!) *or* the output file. As such, it
continues until the disk is "full".
[I.e., *I* know exactly what dd(1) does. Do you?]
My comment:
He wants to "understand" why the disk isn't "full of zeroes" after he
THINKS he has filled it with zeroes.
goes to address the point that you *think* you have filled the disk
with zeroes (based on your upthread posts) but can't seem to *verify*
the contents as being zero.
Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-02 16:54 -0800
Re: byte-to-pixel data display program? krw@notreal.com - 2017-04-02 21:03 -0400
Re: byte-to-pixel data display program? "Tim Williams" <tiwill@seventransistorlabs.com> - 2017-04-02 20:21 -0500
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-02 18:42 -0700
Re: byte-to-pixel data display program? krw@notreal.com - 2017-04-02 21:47 -0400
Re: byte-to-pixel data display program? Clifford Heath <no.spam@please.net> - 2017-04-03 13:59 +1000
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 10:02 -0800
Re: byte-to-pixel data display program? "Tim Williams" <tiwill@seventransistorlabs.com> - 2017-04-03 14:51 -0500
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 09:55 -0800
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 09:50 -0800
Re: byte-to-pixel data display program? Jasen Betts <jasen@xnet.co.nz> - 2017-04-04 11:37 +0000
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-05 02:22 -0800
Re: byte-to-pixel data display program? Paul <nospam@needed.invalid> - 2017-04-02 21:48 -0400
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 10:04 -0800
Re: byte-to-pixel data display program? Paul <nospam@needed.invalid> - 2017-04-03 14:26 -0400
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-03 11:46 -0700
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 00:55 -0800
Re: byte-to-pixel data display program? krw@notreal.com - 2017-04-04 13:21 -0400
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 00:48 -0800
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-05 09:56 -0800
Re: byte-to-pixel data display program? bitrex <bitrex@de.lete.earthlink.net> - 2017-04-02 22:54 -0400
Re: byte-to-pixel data display program? Clifford Heath <no.spam@please.net> - 2017-04-03 14:00 +1000
Re: byte-to-pixel data display program? bitrex <bitrex@de.lete.earthlink.net> - 2017-04-03 00:09 -0400
Re: byte-to-pixel data display program? Clifford Heath <no.spam@please.net> - 2017-04-03 14:14 +1000
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 10:19 -0800
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 01:24 -0800
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 10:15 -0800
Re: byte-to-pixel data display program? bitrex <bitrex@de.lete.earthlink.net> - 2017-04-03 15:09 -0400
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 01:35 -0800
Re: byte-to-pixel data display program? Jasen Betts <jasen@xnet.co.nz> - 2017-04-04 11:48 +0000
Re: byte-to-pixel data display program? Jasen Betts <jasen@xnet.co.nz> - 2017-04-04 11:45 +0000
Re: byte-to-pixel data display program? bitrex <bitrex@de.lete.earthlink.net> - 2017-04-05 11:37 -0400
Re: byte-to-pixel data display program? Jasen Betts <jasen@xnet.co.nz> - 2017-04-04 11:42 +0000
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-05 02:25 -0800
Re: byte-to-pixel data display program? Jasen Betts <jasen@xnet.co.nz> - 2017-04-05 19:04 +0000
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 01:22 -0800
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 10:07 -0800
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 01:17 -0800
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 10:06 -0800
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-03 11:20 -0700
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 01:36 -0800
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-04 07:05 -0700
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-05 02:02 -0800
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-06 00:51 -0700
Re: byte-to-pixel data display program? krw@notreal.com - 2017-04-06 14:47 -0400
Re: byte-to-pixel data display program? bitrex <bitrex@de.lete.earthlink.net> - 2017-04-03 15:28 -0400
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 01:45 -0800
Re: byte-to-pixel data display program? bitrex <bitrex@de.lete.earthlink.net> - 2017-04-04 09:19 -0400
Re: byte-to-pixel data display program? bitrex <bitrex@de.lete.earthlink.net> - 2017-04-04 12:38 -0400
Re: byte-to-pixel data display program? bitrex <bitrex@de.lete.earthlink.net> - 2017-04-04 12:39 -0400
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 01:13 -0800
Re: byte-to-pixel data display program? Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-04-04 10:38 +0100
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-04 07:07 -0700
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-05 01:44 -0800
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-05 11:57 -0700
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-05 01:42 -0800
Re: byte-to-pixel data display program? Jasen Betts <jasen@xnet.co.nz> - 2017-04-03 07:49 +0000
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 10:21 -0800
Re: byte-to-pixel data display program? Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-04-05 08:44 +0100
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-05 02:29 -0800
Re: byte-to-pixel data display program? Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-04-05 14:22 +0100
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 01:51 -0800
Re: byte-to-pixel data display program? Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-04-03 10:10 +0100
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-03 10:25 -0800
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-03 11:31 -0700
Re: byte-to-pixel data display program? Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-04-04 08:41 +0100
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-04 01:39 -0700
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-05 01:29 -0800
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-06 00:51 -0700
Re: byte-to-pixel data display program? Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2017-04-06 09:22 +0100
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-06 09:55 -0700
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 02:07 -0800
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 02:01 -0800
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-04 06:55 -0700
Re: byte-to-pixel data display program? Jasen Betts <jasen@xnet.co.nz> - 2017-04-04 18:42 +0000
Re: byte-to-pixel data display program? Don Y <blockedofcourse@foo.invalid> - 2017-04-04 13:13 -0700
Re: byte-to-pixel data display program? Paul <nospam@needed.invalid> - 2017-04-04 16:16 -0400
Re: byte-to-pixel data display program? David Brown <david.brown@hesbynett.no> - 2017-04-05 08:52 +0200
Re: byte-to-pixel data display program? Robert Baer <robertbaer@localnet.com> - 2017-04-04 01:57 -0800
csiph-web