Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #455227

Re: byte-to-pixel data display program?

From Don Y <blockedofcourse@foo.invalid>
Newsgroups sci.electronics.design, alt.computer
Subject Re: byte-to-pixel data display program?
Date 2017-04-06 00:51 -0700
Organization A noiseless patient Spider
Message-ID <oc4rt4$bhh$2@dont-email.me> (permalink)
References (1 earlier) <obt3h9$1l6l$1@gioia.aioe.org> <obu47m$qgj$1@dont-email.me> <obvin7$1rs6$1@gioia.aioe.org> <obvluf$5d1$1@dont-email.me> <FN2FA.212708$On5.113097@fx43.iad>

Cross-posted to 2 groups.

Show all headers | View raw


On 4/5/2017 2:29 AM, Robert Baer wrote:
> Don Y wrote:
>> On 4/4/2017 12:41 AM, Martin Brown wrote:
>>> On 03/04/2017 19:31, 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. So, like the folks who insist on
>>>> spreadsheets instead of databases (because they can SEE everything
>>>> at the same time), he wants to "see" the entire contents of the disk
>>>> at the same time (or, in HUGE swaths). And, *hope*he can resolve a
>>>> single pixel (indicative of ONE BYTE) as being other than what
>>>> he expects (i.e., assuming the CLUT maps all values OTHER THAN 0x00
>>>> to "white" while 0x00 maps to "black" -- or another pair of HIGH
>>>> CONTRAST
>>>> colors, etc.).
>>>
>>> Something like sfile which works out the byte entropy of a file or
>>> block of
>>> disk would be more suitable if the expectation is mostly zeros (mostly
>>> any
>>> other value or for that matter or completely random). It basically
>>> reports the
>>> byte entropy and the percentage of each of the 10 most frequently
>>> occurring
>>> tokens and the tokens which never appear.
>>
>> Simpler solution: examine the raw device with a hex editor and see if
>> it is "full of zeroes" :> E.g., the solution I suggested was to
>> examine the raw device "file" with od(1) -- knowing that it would show
>> a "blanked" drive as:
>>
>> 000000 00 00 00 00 00 00 00 00
>> * (i.e., some number of identical lines)
>> <last address>
>>
>>> But I thought most modern disk trashers used a linear congruential random
>>> number anyway and a few cycles over the disk these days so that forensic
>>> methods using edge of domain thin head tricks can't recover it.
>>
>> I don't think he's actually trying to obfuscate the drive's contents.
>> Rather, I think he is just trying to get it to a "clean" state before
>> installing a new filesystem.
>>
>> E.g., when I move a drive to a new OS and don't want to "fight" with
>> any expectations the new system might place on the drive label, I
>> will "zero" the first few tracks just to keep the system from trying to
>> impose some rules on the medium (based on assumptions it makes)
>>
>>> Unless it is a very old and insecure disk trasher then the expectation
>>> is that
>>> you will not see zeroes everywhere but uniform random numbers.
>>>
>>>> Of course, the same mechanisms that are telling him the disk's
>>>> contents aren't what he thinks they are will come into play
>>>> "under" this new program. He will then cite this as further
>>>> "proof" that the program doesn't work.
>>>
>>> Proof by failure to understand or RTFM.
>>> Is the tool he is using/complaining about open source?
>>
>> No idea. I've read the OP a few times and still am not SURE
>> of what he's done. Instead, I'm guessing as to his goal and
>> method -- and pointing out other ways to avoid whatever is
>> "lying" to him. Occam's Razor: odd to expect that a tool
>> (whatever tool it may be) is failing to work for HIM but has
>> apparently worked for others!
>>
>>>> Instead of independently verifying the drive's contents;
>>>> e.g., by booting the machine from a FLOPPY or a CD and
>>>> examining it there (or, just rebooting after cycling power)
>>>
>>> Sigh :(
>>
>> The problem with consumer OS's is they deliberately try to hide all
>> of the detail from the user. So, when you try to do something
>> out-of-the-ordinary, you don't know how much of the systems'
>> effort is working *against* you (e.g., caching results).
>>
>> <shrug>
>>
>   Nice idea,EXCEPT no raw disk read...

Sure there is.  You just haven't figured it out, yet!

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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
  Re: byte-to-pixel data display program? skybuck2000@hotmail.com - 2017-04-05 19:45 -0700

csiph-web