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


Groups > sci.electronics.design > #454834 > unrolled thread

byte-to-pixel data display program?

Started byRobert Baer <robertbaer@localnet.com>
First post2017-04-02 16:54 -0800
Last post2017-04-05 19:45 -0700
Articles 20 on this page of 80 — 11 participants

Back to article view | Back to sci.electronics.design


Contents

  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

Page 3 of 4 — ← Prev page 1 2 [3] 4  Next page →


#455045

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-04 01:36 -0800
Message-ID<VOJEA.101470$Zc3.74236@fx11.iad>
In reply to#454937
Don Y wrote:
> On 4/3/2017 11:06 AM, Robert Baer wrote:
>> bitrex wrote:
>>> On 04/02/2017 08:54 PM, 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.
>>>> 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).
>>>> Program has means of user-control scrolling thru HD memory.
>>>>
>>>> Thanks.
>>>
>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>> modern machine?
>>>
>>> Not saying that there isn't a good reason to. Maybe there is. Might help
>>> a potential solution if we knew it.
>>>
>>> I do some C++ systems/graphics programming for x86 in my spare time.
>> The reason: to find out WTF dd diskwipe REALLY does. I have proven
>> that it
>> DOES NOT zero the drive (see initial post).
>
> Specious reasoning. You haven't "proven" anything. Pull drive.
> Install in another machine (you claim to have at least 3). Examine
> contents *there*.
>
   EXACTLY the same result.

[toc] | [prev] | [next] | [standalone]


#455067

FromDon Y <blockedofcourse@foo.invalid>
Date2017-04-04 07:05 -0700
Message-ID<oc091e$61p$1@dont-email.me>
In reply to#455045
On 4/4/2017 2:36 AM, Robert Baer wrote:
> Don Y wrote:
>> On 4/3/2017 11:06 AM, Robert Baer wrote:
>>> bitrex wrote:
>>>> On 04/02/2017 08:54 PM, 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.
>>>>> 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).
>>>>> Program has means of user-control scrolling thru HD memory.
>>>>>
>>>>> Thanks.
>>>>
>>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>>> modern machine?
>>>>
>>>> Not saying that there isn't a good reason to. Maybe there is. Might help
>>>> a potential solution if we knew it.
>>>>
>>>> I do some C++ systems/graphics programming for x86 in my spare time.
>>> The reason: to find out WTF dd diskwipe REALLY does. I have proven
>>> that it
>>> DOES NOT zero the drive (see initial post).
>>
>> Specious reasoning. You haven't "proven" anything. Pull drive.
>> Install in another machine (you claim to have at least 3). Examine
>> contents *there*.
>>
>   EXACTLY the same result.

Then you have nothing to prove that dd did NOT do exactly as it was told!

E.g., this command:
     dd if=/dev/rawdiskdevice of=/dev/rawdiskdevice
will spend "an hour and a half" *refreshing* the data that is already
present on the disk.  The disk's contents will NOT change!

And, this command:
     dd if=/dev/zero of=/dev/wrongdiskdevice
will spend "some amount of time" (depends on the capacity and access speed
of the "wrongdiskdevice") to also leave the rawdiskdevice intact.

Have you considered:
     dd of=/dev/zero if=/dev/rawdiskdevice

Finally:
     dd if=/dev/zero of=/dev/null
will spend "forever" doing nothing (because the destination is an infinite
sink!)

Are you sure that you are able to write to the "correct" device?

I.e., you claim to see files, there.  Can you *delete* a file from the
operating system prompt?  Can you *create* a file from the prompt?

If not, then the operating system is preventing writes to the medium.
Expecting dd to work if the OS isn't following through is not the fault
of dd!

Are you sure you haven't installed one of the SCSI ID straps on the
write protect jumper for the drive?

Have you invoked the HBA's diagnostics on the selected medium?  Some
include the ability to test the medium for defects, etc.

[toc] | [prev] | [next] | [standalone]


#455142

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-05 02:02 -0800
Message-ID<dh3FA.323687$IM7.64808@fx39.iad>
In reply to#455067
Don Y wrote:
> On 4/4/2017 2:36 AM, Robert Baer wrote:
>> Don Y wrote:
>>> On 4/3/2017 11:06 AM, Robert Baer wrote:
>>>> bitrex wrote:
>>>>> On 04/02/2017 08:54 PM, 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.
>>>>>> 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).
>>>>>> Program has means of user-control scrolling thru HD memory.
>>>>>>
>>>>>> Thanks.
>>>>>
>>>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>>>> modern machine?
>>>>>
>>>>> Not saying that there isn't a good reason to. Maybe there is. Might
>>>>> help
>>>>> a potential solution if we knew it.
>>>>>
>>>>> I do some C++ systems/graphics programming for x86 in my spare time.
>>>> The reason: to find out WTF dd diskwipe REALLY does. I have proven
>>>> that it
>>>> DOES NOT zero the drive (see initial post).
>>>
>>> Specious reasoning. You haven't "proven" anything. Pull drive.
>>> Install in another machine (you claim to have at least 3). Examine
>>> contents *there*.
>>>
>> EXACTLY the same result.
>
> Then you have nothing to prove that dd did NOT do exactly as it was told!
>
> E.g., this command:
> dd if=/dev/rawdiskdevice of=/dev/rawdiskdevice
> will spend "an hour and a half" *refreshing* the data that is already
> present on the disk. The disk's contents will NOT change!
>
> And, this command:
> dd if=/dev/zero of=/dev/wrongdiskdevice
> will spend "some amount of time" (depends on the capacity and access speed
> of the "wrongdiskdevice") to also leave the rawdiskdevice intact.
>
> Have you considered:
> dd of=/dev/zero if=/dev/rawdiskdevice
>
> Finally:
> dd if=/dev/zero of=/dev/null
> will spend "forever" doing nothing (because the destination is an infinite
> sink!)
>
> Are you sure that you are able to write to the "correct" device?
>
> I.e., you claim to see files, there. Can you *delete* a file from the
> operating system prompt? Can you *create* a file from the prompt?
>
> If not, then the operating system is preventing writes to the medium.
> Expecting dd to work if the OS isn't following through is not the fault
> of dd!
>
> Are you sure you haven't installed one of the SCSI ID straps on the
> write protect jumper for the drive?
>
> Have you invoked the HBA's diagnostics on the selected medium? Some
> include the ability to test the medium for defects, etc.
   ONE: the ONLY drive was the SCSI; i had booted with the Parted Magic 
CD and that gets ejected after program is loaded.
   TWO: i know nothing about that Linux gibberish, all i know is what 
the disk erase options say.
   THREE: "Expecting dd to work if the OS isn't following 
through"....are you trying to tell me that Linux is unreliable?
   FOUR: what id straps? I just looked carefully, and the BRAND NEW 
drive has some pins available, presumably for testing purpose, and the 
drive arrived with those unused.
   FIVE: What HBA diagnostics? Where?
   SIX: When i have seen a directory of the drive, i have added files 
and deleted others.  Really nice after a "diskwipe" ...

[toc] | [prev] | [next] | [standalone]


#455226

FromDon Y <blockedofcourse@foo.invalid>
Date2017-04-06 00:51 -0700
Message-ID<oc4rrn$bhh$1@dont-email.me>
In reply to#455142
On 4/5/2017 3:02 AM, Robert Baer wrote:
> Don Y wrote:
>> On 4/4/2017 2:36 AM, Robert Baer wrote:
>>> Don Y wrote:
>>>> On 4/3/2017 11:06 AM, Robert Baer wrote:
>>>>> bitrex wrote:
>>>>>> On 04/02/2017 08:54 PM, 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.
>>>>>>> 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).
>>>>>>> Program has means of user-control scrolling thru HD memory.
>>>>>>>
>>>>>>> Thanks.
>>>>>>
>>>>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>>>>> modern machine?
>>>>>>
>>>>>> Not saying that there isn't a good reason to. Maybe there is. Might
>>>>>> help
>>>>>> a potential solution if we knew it.
>>>>>>
>>>>>> I do some C++ systems/graphics programming for x86 in my spare time.
>>>>> The reason: to find out WTF dd diskwipe REALLY does. I have proven
>>>>> that it
>>>>> DOES NOT zero the drive (see initial post).
>>>>
>>>> Specious reasoning. You haven't "proven" anything. Pull drive.
>>>> Install in another machine (you claim to have at least 3). Examine
>>>> contents *there*.
>>>>
>>> EXACTLY the same result.
>>
>> Then you have nothing to prove that dd did NOT do exactly as it was told!
>>
>> E.g., this command:
>> dd if=/dev/rawdiskdevice of=/dev/rawdiskdevice
>> will spend "an hour and a half" *refreshing* the data that is already
>> present on the disk. The disk's contents will NOT change!
>>
>> And, this command:
>> dd if=/dev/zero of=/dev/wrongdiskdevice
>> will spend "some amount of time" (depends on the capacity and access speed
>> of the "wrongdiskdevice") to also leave the rawdiskdevice intact.
>>
>> Have you considered:
>> dd of=/dev/zero if=/dev/rawdiskdevice
>>
>> Finally:
>> dd if=/dev/zero of=/dev/null
>> will spend "forever" doing nothing (because the destination is an infinite
>> sink!)
>>
>> Are you sure that you are able to write to the "correct" device?
>>
>> I.e., you claim to see files, there. Can you *delete* a file from the
>> operating system prompt? Can you *create* a file from the prompt?
>>
>> If not, then the operating system is preventing writes to the medium.
>> Expecting dd to work if the OS isn't following through is not the fault
>> of dd!
>>
>> Are you sure you haven't installed one of the SCSI ID straps on the
>> write protect jumper for the drive?
>>
>> Have you invoked the HBA's diagnostics on the selected medium? Some
>> include the ability to test the medium for defects, etc.
>   ONE: the ONLY drive was the SCSI; i had booted with the Parted Magic CD and
> that gets ejected after program is loaded.
>   TWO: i know nothing about that Linux gibberish, all i know is what the disk
> erase options say.
>   THREE: "Expecting dd to work if the OS isn't following through"....are you
> trying to tell me that Linux is unreliable?
>   FOUR: what id straps? I just looked carefully, and the BRAND NEW drive has
> some pins available, presumably for testing purpose, and the drive arrived with
> those unused.
>   FIVE: What HBA diagnostics? Where?
>   SIX: When i have seen a directory of the drive, i have added files and
> deleted others.  Really nice after a "diskwipe" ...

Seven:  You clearly are in way over your head.  Buy a new disk and
expect it to be blank when you install it.  NEVER copy anything onto
it and, that way, you can be assured that it will ALWAYS be blank!

[toc] | [prev] | [next] | [standalone]


#455254

Fromkrw@notreal.com
Date2017-04-06 14:47 -0400
Message-ID<493dec17npmdb03b1adl0t4m9sni72iiid@4ax.com>
In reply to#455226
On Thu, 6 Apr 2017 00:51:05 -0700, Don Y <blockedofcourse@foo.invalid>
wrote:

>On 4/5/2017 3:02 AM, Robert Baer wrote:
>> Don Y wrote:
>>> On 4/4/2017 2:36 AM, Robert Baer wrote:
>>>> Don Y wrote:
>>>>> On 4/3/2017 11:06 AM, Robert Baer wrote:
>>>>>> bitrex wrote:
>>>>>>> On 04/02/2017 08:54 PM, 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.
>>>>>>>> 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).
>>>>>>>> Program has means of user-control scrolling thru HD memory.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>
>>>>>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>>>>>> modern machine?
>>>>>>>
>>>>>>> Not saying that there isn't a good reason to. Maybe there is. Might
>>>>>>> help
>>>>>>> a potential solution if we knew it.
>>>>>>>
>>>>>>> I do some C++ systems/graphics programming for x86 in my spare time.
>>>>>> The reason: to find out WTF dd diskwipe REALLY does. I have proven
>>>>>> that it
>>>>>> DOES NOT zero the drive (see initial post).
>>>>>
>>>>> Specious reasoning. You haven't "proven" anything. Pull drive.
>>>>> Install in another machine (you claim to have at least 3). Examine
>>>>> contents *there*.
>>>>>
>>>> EXACTLY the same result.
>>>
>>> Then you have nothing to prove that dd did NOT do exactly as it was told!
>>>
>>> E.g., this command:
>>> dd if=/dev/rawdiskdevice of=/dev/rawdiskdevice
>>> will spend "an hour and a half" *refreshing* the data that is already
>>> present on the disk. The disk's contents will NOT change!
>>>
>>> And, this command:
>>> dd if=/dev/zero of=/dev/wrongdiskdevice
>>> will spend "some amount of time" (depends on the capacity and access speed
>>> of the "wrongdiskdevice") to also leave the rawdiskdevice intact.
>>>
>>> Have you considered:
>>> dd of=/dev/zero if=/dev/rawdiskdevice
>>>
>>> Finally:
>>> dd if=/dev/zero of=/dev/null
>>> will spend "forever" doing nothing (because the destination is an infinite
>>> sink!)
>>>
>>> Are you sure that you are able to write to the "correct" device?
>>>
>>> I.e., you claim to see files, there. Can you *delete* a file from the
>>> operating system prompt? Can you *create* a file from the prompt?
>>>
>>> If not, then the operating system is preventing writes to the medium.
>>> Expecting dd to work if the OS isn't following through is not the fault
>>> of dd!
>>>
>>> Are you sure you haven't installed one of the SCSI ID straps on the
>>> write protect jumper for the drive?
>>>
>>> Have you invoked the HBA's diagnostics on the selected medium? Some
>>> include the ability to test the medium for defects, etc.
>>   ONE: the ONLY drive was the SCSI; i had booted with the Parted Magic CD and
>> that gets ejected after program is loaded.
>>   TWO: i know nothing about that Linux gibberish, all i know is what the disk
>> erase options say.
>>   THREE: "Expecting dd to work if the OS isn't following through"....are you
>> trying to tell me that Linux is unreliable?
>>   FOUR: what id straps? I just looked carefully, and the BRAND NEW drive has
>> some pins available, presumably for testing purpose, and the drive arrived with
>> those unused.
>>   FIVE: What HBA diagnostics? Where?
>>   SIX: When i have seen a directory of the drive, i have added files and
>> deleted others.  Really nice after a "diskwipe" ...
>
>Seven:  You clearly are in way over your head.  Buy a new disk and
>expect it to be blank when you install it.  NEVER copy anything onto
>it and, that way, you can be assured that it will ALWAYS be blank!

Are you sure the new disk won't come with bits pre-installed?

[toc] | [prev] | [next] | [standalone]


#454955

Frombitrex <bitrex@de.lete.earthlink.net>
Date2017-04-03 15:28 -0400
Message-ID<JnxEA.168589$zC6.108469@fx29.iad>
In reply to#454933
On 04/03/2017 02:06 PM, Robert Baer wrote:
> bitrex wrote:
>> On 04/02/2017 08:54 PM, 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.
>>>   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).
>>>   Program has means of user-control scrolling thru HD memory.
>>>
>>>   Thanks.
>>
>> Just curious but why you want to do any of this crazy 1980s stuff on a
>> modern machine?
>>
>> Not saying that there isn't a good reason to. Maybe there is. Might help
>> a potential solution if we knew it.
>>
>> I do some C++ systems/graphics programming for x86 in my spare time.
>   The reason: to find out WTF dd diskwipe REALLY does. I have proven
> that it DOES NOT zero the drive (see initial post).
>

I'll try to whip up a little command-line utility to do what you want 
this week if you wanna comp me a sushi combo or somethin'

[toc] | [prev] | [next] | [standalone]


#455047

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-04 01:45 -0800
Message-ID<_WJEA.80318$Y11.60366@fx12.iad>
In reply to#454955
bitrex wrote:
> On 04/03/2017 02:06 PM, Robert Baer wrote:
>> bitrex wrote:
>>> On 04/02/2017 08:54 PM, 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.
>>>> 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).
>>>> Program has means of user-control scrolling thru HD memory.
>>>>
>>>> Thanks.
>>>
>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>> modern machine?
>>>
>>> Not saying that there isn't a good reason to. Maybe there is. Might help
>>> a potential solution if we knew it.
>>>
>>> I do some C++ systems/graphics programming for x86 in my spare time.
>> The reason: to find out WTF dd diskwipe REALLY does. I have proven
>> that it DOES NOT zero the drive (see initial post).
>>
>
> I'll try to whip up a little command-line utility to do what you want
> this week if you wanna comp me a sushi combo or somethin'
   Does PayPal work with Dominos or PapaJohns?
   Remember i do not have any flavor of Linux, no Win8 or Win9 (not 
joking,there are a FEW copies hiding), or Win10, or Win11.
   Thanks.

[toc] | [prev] | [next] | [standalone]


#455063

Frombitrex <bitrex@de.lete.earthlink.net>
Date2017-04-04 09:19 -0400
Message-ID<f3NEA.281622$VJ2.49375@fx40.iad>
In reply to#455047
On 04/04/2017 05:45 AM, Robert Baer wrote:
> bitrex wrote:
>> On 04/03/2017 02:06 PM, Robert Baer wrote:
>>> bitrex wrote:
>>>> On 04/02/2017 08:54 PM, 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.
>>>>> 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).
>>>>> Program has means of user-control scrolling thru HD memory.
>>>>>
>>>>> Thanks.
>>>>
>>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>>> modern machine?
>>>>
>>>> Not saying that there isn't a good reason to. Maybe there is. Might
>>>> help
>>>> a potential solution if we knew it.
>>>>
>>>> I do some C++ systems/graphics programming for x86 in my spare time.
>>> The reason: to find out WTF dd diskwipe REALLY does. I have proven
>>> that it DOES NOT zero the drive (see initial post).
>>>
>>
>> I'll try to whip up a little command-line utility to do what you want
>> this week if you wanna comp me a sushi combo or somethin'
>   Does PayPal work with Dominos or PapaJohns?

Probably!

>   Remember i do not have any flavor of Linux, no Win8 or Win9 (not
> joking,there are a FEW copies hiding), or Win10, or Win11.
>   Thanks.
>

Creating a 32 bit executable that runs fine on XP/2k should be possible...

[toc] | [prev] | [next] | [standalone]


#455084

Frombitrex <bitrex@de.lete.earthlink.net>
Date2017-04-04 12:38 -0400
Message-ID<m_PEA.245800$kx.12387@fx33.iad>
In reply to#455063
On 04/04/2017 09:19 AM, bitrex wrote:
> On 04/04/2017 05:45 AM, Robert Baer wrote:
>> bitrex wrote:
>>> On 04/03/2017 02:06 PM, Robert Baer wrote:
>>>> bitrex wrote:
>>>>> On 04/02/2017 08:54 PM, 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.
>>>>>> 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).
>>>>>> Program has means of user-control scrolling thru HD memory.
>>>>>>
>>>>>> Thanks.
>>>>>
>>>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>>>> modern machine?
>>>>>
>>>>> Not saying that there isn't a good reason to. Maybe there is. Might
>>>>> help
>>>>> a potential solution if we knew it.
>>>>>
>>>>> I do some C++ systems/graphics programming for x86 in my spare time.
>>>> The reason: to find out WTF dd diskwipe REALLY does. I have proven
>>>> that it DOES NOT zero the drive (see initial post).
>>>>
>>>
>>> I'll try to whip up a little command-line utility to do what you want
>>> this week if you wanna comp me a sushi combo or somethin'
>>   Does PayPal work with Dominos or PapaJohns?
>
> Probably!
>
>>   Remember i do not have any flavor of Linux, no Win8 or Win9 (not
>> joking,there are a FEW copies hiding), or Win10, or Win11.
>>   Thanks.
>>
>
> Creating a 32 bit executable that runs fine on XP/2k should be possible...

I guess the one thing you can

[toc] | [prev] | [next] | [standalone]


#455085

Frombitrex <bitrex@de.lete.earthlink.net>
Date2017-04-04 12:39 -0400
Message-ID<t%PEA.245801$kx.78892@fx33.iad>
In reply to#455084
On 04/04/2017 12:38 PM, bitrex wrote:
> On 04/04/2017 09:19 AM, bitrex wrote:
>> On 04/04/2017 05:45 AM, Robert Baer wrote:
>>> bitrex wrote:
>>>> On 04/03/2017 02:06 PM, Robert Baer wrote:
>>>>> bitrex wrote:
>>>>>> On 04/02/2017 08:54 PM, 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.
>>>>>>> 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).
>>>>>>> Program has means of user-control scrolling thru HD memory.
>>>>>>>
>>>>>>> Thanks.
>>>>>>
>>>>>> Just curious but why you want to do any of this crazy 1980s stuff
>>>>>> on a
>>>>>> modern machine?
>>>>>>
>>>>>> Not saying that there isn't a good reason to. Maybe there is. Might
>>>>>> help
>>>>>> a potential solution if we knew it.
>>>>>>
>>>>>> I do some C++ systems/graphics programming for x86 in my spare time.
>>>>> The reason: to find out WTF dd diskwipe REALLY does. I have proven
>>>>> that it DOES NOT zero the drive (see initial post).
>>>>>
>>>>
>>>> I'll try to whip up a little command-line utility to do what you want
>>>> this week if you wanna comp me a sushi combo or somethin'
>>>   Does PayPal work with Dominos or PapaJohns?
>>
>> Probably!
>>
>>>   Remember i do not have any flavor of Linux, no Win8 or Win9 (not
>>> joking,there are a FEW copies hiding), or Win10, or Win11.
>>>   Thanks.
>>>
>>
>> Creating a 32 bit executable that runs fine on XP/2k should be
>> possible...
>
> I guess the one thing you can

Disregard...

[toc] | [prev] | [next] | [standalone]


#455040

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-04 01:13 -0800
Message-ID<itJEA.123527$QP1.81050@fx27.iad>
In reply to#454849
bitrex wrote:
> On 04/02/2017 08:54 PM, 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.
>> 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).
>> Program has means of user-control scrolling thru HD memory.
>>
>> Thanks.
>
> Just curious but why you want to do any of this crazy 1980s stuff on a
> modern machine?
>
> Not saying that there isn't a good reason to. Maybe there is. Might help
> a potential solution if we knew it.
>
> I do some C++ systems/graphics programming for x86 in my spare time.
   To start,all i wanted to do is "simply" add a hard drive.
   That i could use as a data drive for Win2K, WinXP, and Win7.
   The problem diskwipe not working led me to think of a way to _see_ 
WTF was happening.
   AS an example, the lie of formatting in Parted magic is the fact that 
it not only does NOT format,it seems that it cannot format; all it does 
is write ONE BYTE in that partition table. even mkfs.ntfs/dev/sda1 does 
the same lie.
   A visual look-see of the HD might show that a "special" byte in each 
"block" may control this funny business.

   Remember waay back in the old daze, accounting data on a disk was 
controller using a combination of deleted sectors and normal sectors one 
byte did that per sector.

   I ought to know,i wrote a copy protection scheme using that fact as 
well as other obscure titbits that took no space away from data..even 
gained space from unused FAT space, from unused directory space, from 
all of second FAT, and one sector beyond last track.



[toc] | [prev] | [next] | [standalone]


#455046

FromMartin Brown <'''newspam'''@nezumi.demon.co.uk>
Date2017-04-04 10:38 +0100
Message-ID<obvpj3$a98$1@gioia.aioe.org>
In reply to#455040
On 04/04/2017 10:13, Robert Baer wrote:
> bitrex wrote:
>> On 04/02/2017 08:54 PM, 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.
>>> 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).
>>> Program has means of user-control scrolling thru HD memory.
>>>
>>> Thanks.
>>
>> Just curious but why you want to do any of this crazy 1980s stuff on a
>> modern machine?
>>
>> Not saying that there isn't a good reason to. Maybe there is. Might help
>> a potential solution if we knew it.
>>
>> I do some C++ systems/graphics programming for x86 in my spare time.

>   To start,all i wanted to do is "simply" add a hard drive.
>   That i could use as a data drive for Win2K, WinXP, and Win7.
>   The problem diskwipe not working led me to think of a way to _see_ WTF
> was happening.

WHy do you need to "see" it. A quick diagnostic program would be a heck 
of a lot less painful than manually scrolling through an entire disk!!!!

>   AS an example, the lie of formatting in Parted magic is the fact that
> it not only does NOT format,it seems that it cannot format; all it does
> is write ONE BYTE in that partition table. even mkfs.ntfs/dev/sda1 does
> the same lie.

Format means different things to different people. A drive is fast 
formatted if all the sectors on it are marked as unused. It is no longer 
necessary to do a full slow physical format on spinning rust (and even 
less necessary on an SSD).

>   A visual look-see of the HD might show that a "special" byte in each
> "block" may control this funny business.
>
>   Remember waay back in the old daze, accounting data on a disk was
> controller using a combination of deleted sectors and normal sectors one
> byte did that per sector.
>
>   I ought to know,i wrote a copy protection scheme using that fact as
> well as other obscure titbits that took no space away from data..even
> gained space from unused FAT space, from unused directory space, from
> all of second FAT, and one sector beyond last track.

Then write a program to read it block by block and report any exceptions 
to your expectations according to taste.

-- 
Regards,
Martin Brown

[toc] | [prev] | [next] | [standalone]


#455068

FromDon Y <blockedofcourse@foo.invalid>
Date2017-04-04 07:07 -0700
Message-ID<oc0961$61p$2@dont-email.me>
In reply to#455046
On 4/4/2017 2:38 AM, Martin Brown wrote:
> On 04/04/2017 10:13, Robert Baer wrote:
>> bitrex wrote:
>>> On 04/02/2017 08:54 PM, 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.
>>>> 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).
>>>> Program has means of user-control scrolling thru HD memory.
>>>>
>>>> Thanks.
>>>
>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>> modern machine?
>>>
>>> Not saying that there isn't a good reason to. Maybe there is. Might help
>>> a potential solution if we knew it.
>>>
>>> I do some C++ systems/graphics programming for x86 in my spare time.
>
>>   To start,all i wanted to do is "simply" add a hard drive.
>>   That i could use as a data drive for Win2K, WinXP, and Win7.
>>   The problem diskwipe not working led me to think of a way to _see_ WTF
>> was happening.
>
> WHy do you need to "see" it. A quick diagnostic program would be a heck of a
> lot less painful than manually scrolling through an entire disk!!!!

Exactly.  He doesn't trust the program to recognize "non-zeroes".

>>   AS an example, the lie of formatting in Parted magic is the fact that
>> it not only does NOT format,it seems that it cannot format; all it does
>> is write ONE BYTE in that partition table. even mkfs.ntfs/dev/sda1 does
>> the same lie.
>
> Format means different things to different people. A drive is fast formatted if
> all the sectors on it are marked as unused. It is no longer necessary to do a
> full slow physical format on spinning rust (and even less necessary on an SSD).
>
>>   A visual look-see of the HD might show that a "special" byte in each
>> "block" may control this funny business.
>>
>>   Remember waay back in the old daze, accounting data on a disk was
>> controller using a combination of deleted sectors and normal sectors one
>> byte did that per sector.
>>
>>   I ought to know,i wrote a copy protection scheme using that fact as
>> well as other obscure titbits that took no space away from data..even
>> gained space from unused FAT space, from unused directory space, from
>> all of second FAT, and one sector beyond last track.
>
> Then write a program to read it block by block and report any exceptions to
> your expectations according to taste.

Or, use a program that will display the contents of ANY FILE in ANY FORM
(e.g., as hex/octal/ASCII characters) and pipe that through a $PAGER
(so you don't see 50GB of data zoom by in an instant!)

Gee, sure would be nice if such programs existed!!  :>

[toc] | [prev] | [next] | [standalone]


#455141

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-05 01:44 -0800
Message-ID<o03FA.183231$eU4.79068@fx13.iad>
In reply to#455068
Don Y wrote:
> On 4/4/2017 2:38 AM, Martin Brown wrote:
>> On 04/04/2017 10:13, Robert Baer wrote:
>>> bitrex wrote:
>>>> On 04/02/2017 08:54 PM, 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.
>>>>> 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).
>>>>> Program has means of user-control scrolling thru HD memory.
>>>>>
>>>>> Thanks.
>>>>
>>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>>> modern machine?
>>>>
>>>> Not saying that there isn't a good reason to. Maybe there is. Might
>>>> help
>>>> a potential solution if we knew it.
>>>>
>>>> I do some C++ systems/graphics programming for x86 in my spare time.
>>
>>> To start,all i wanted to do is "simply" add a hard drive.
>>> That i could use as a data drive for Win2K, WinXP, and Win7.
>>> The problem diskwipe not working led me to think of a way to _see_ WTF
>>> was happening.
>>
>> WHy do you need to "see" it. A quick diagnostic program would be a
>> heck of a
>> lot less painful than manually scrolling through an entire disk!!!!
>
> Exactly. He doesn't trust the program to recognize "non-zeroes".
>
>>> AS an example, the lie of formatting in Parted magic is the fact that
>>> it not only does NOT format,it seems that it cannot format; all it does
>>> is write ONE BYTE in that partition table. even mkfs.ntfs/dev/sda1 does
>>> the same lie.
>>
>> Format means different things to different people. A drive is fast
>> formatted if
>> all the sectors on it are marked as unused. It is no longer necessary
>> to do a
>> full slow physical format on spinning rust (and even less necessary on
>> an SSD).
>>
>>> A visual look-see of the HD might show that a "special" byte in each
>>> "block" may control this funny business.
>>>
>>> Remember waay back in the old daze, accounting data on a disk was
>>> controller using a combination of deleted sectors and normal sectors one
>>> byte did that per sector.
>>>
>>> I ought to know,i wrote a copy protection scheme using that fact as
>>> well as other obscure titbits that took no space away from data..even
>>> gained space from unused FAT space, from unused directory space, from
>>> all of second FAT, and one sector beyond last track.
>>
>> Then write a program to read it block by block and report any
>> exceptions to
>> your expectations according to taste.
>
> Or, use a program that will display the contents of ANY FILE in ANY FORM
> (e.g., as hex/octal/ASCII characters) and pipe that through a $PAGER
> (so you don't see 50GB of data zoom by in an instant!)
>
> Gee, sure would be nice if such programs existed!! :>
>
   There are NO files on a wiped drive..

[toc] | [prev] | [next] | [standalone]


#455180

FromDon Y <blockedofcourse@foo.invalid>
Date2017-04-05 11:57 -0700
Message-ID<oc3egd$h3h$1@dont-email.me>
In reply to#455141
On 4/5/2017 2:44 AM, Robert Baer wrote:
> Don Y wrote:
>> On 4/4/2017 2:38 AM, Martin Brown wrote:
>>> On 04/04/2017 10:13, Robert Baer wrote:
>>>> bitrex wrote:
>>>>> On 04/02/2017 08:54 PM, 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.
>>>>>> 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).
>>>>>> Program has means of user-control scrolling thru HD memory.
>>>>>>
>>>>>> Thanks.
>>>>>
>>>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>>>> modern machine?
>>>>>
>>>>> Not saying that there isn't a good reason to. Maybe there is. Might
>>>>> help
>>>>> a potential solution if we knew it.
>>>>>
>>>>> I do some C++ systems/graphics programming for x86 in my spare time.
>>>
>>>> To start,all i wanted to do is "simply" add a hard drive.
>>>> That i could use as a data drive for Win2K, WinXP, and Win7.
>>>> The problem diskwipe not working led me to think of a way to _see_ WTF
>>>> was happening.
>>>
>>> WHy do you need to "see" it. A quick diagnostic program would be a
>>> heck of a
>>> lot less painful than manually scrolling through an entire disk!!!!
>>
>> Exactly. He doesn't trust the program to recognize "non-zeroes".
>>
>>>> AS an example, the lie of formatting in Parted magic is the fact that
>>>> it not only does NOT format,it seems that it cannot format; all it does
>>>> is write ONE BYTE in that partition table. even mkfs.ntfs/dev/sda1 does
>>>> the same lie.
>>>
>>> Format means different things to different people. A drive is fast
>>> formatted if
>>> all the sectors on it are marked as unused. It is no longer necessary
>>> to do a
>>> full slow physical format on spinning rust (and even less necessary on
>>> an SSD).
>>>
>>>> A visual look-see of the HD might show that a "special" byte in each
>>>> "block" may control this funny business.
>>>>
>>>> Remember waay back in the old daze, accounting data on a disk was
>>>> controller using a combination of deleted sectors and normal sectors one
>>>> byte did that per sector.
>>>>
>>>> I ought to know,i wrote a copy protection scheme using that fact as
>>>> well as other obscure titbits that took no space away from data..even
>>>> gained space from unused FAT space, from unused directory space, from
>>>> all of second FAT, and one sector beyond last track.
>>>
>>> Then write a program to read it block by block and report any
>>> exceptions to
>>> your expectations according to taste.
>>
>> Or, use a program that will display the contents of ANY FILE in ANY FORM
>> (e.g., as hex/octal/ASCII characters) and pipe that through a $PAGER
>> (so you don't see 50GB of data zoom by in an instant!)
>>
>> Gee, sure would be nice if such programs existed!! :>
>>
>   There are NO files on a wiped drive..

Let me see if I can explain this without using "big woids and frazes"...

A file is an ordered collection of zero or more bytes.
(i.e., 1 2 3 4 is a different collection than 2 3 1 4)

It optionally can have one or more names.
(i.e., it can have MULTIPLE names!)

Names are largely chosen by conventions.

Names need not be "stored" ON the medium containing the named objects (!)
(e.g., where is the name "C:\" stored??)

A medium (e.g., disk) is an ordered collection of zero or more bytes.

A medium can contain files -- by imposing a structure on the bytes
that it contains ("Hmmm... we'll call these bytes a 'partition table'
and those bytes a 'directory' and these others can be a 'file' *in*
that 'directory'...)

Now, here comes the hard part.  Concentrate...

There is nothing to stop a program that can display an "ordered
collection of bytes" from displaying a MEDIUM FULL of bytes!
Nor does the collection need to exist in some physical form;
/dev/timeofday is an ordered collection of bytes that happens
to yield 11:04:27 when read.  A second read of the same "file"
yields 11:04:32!  OhMiGosh!!

Anything ordered collection of bytes that can be NAMED in a manner
that can be parsed by a "reader program" can thus be examined
*by* that reader program.

E.g., if that program were to attempt to read /dev/timeofday, it
would yield the result 11:04:54.  If it was told to read /dev/wholedisk,
then it would display the ordered sequence of bytes on the "wholedisk"
(whatever THAT may be).

In, for example, NetBSD, /dev/rwd0 is the "name" (filename!!!!!!!!)
of the "raw" Winchester Disk #0.

[A "raw" device is seen as a byte/character stream, not as a set
of 512/2048/4096/etc byte "blocks"]

The designation /dev/rwd0d refers to the entire contents of the
medium (as if you positioned the "read head" at the very beginning
of the medium and watched every byte fly past, in sequence).  In
a PC, this is the MBR and a set of "partitions" - which typically
encompass most/all of the medium.

So, any access (read *or* write) of the (file!) named "/dev/rwd0d"
will be interpreted with respect to the boundaries of the physical
disk medium.  If I want to inspect (or alter!) the MBR (on a disk
that I *know* to have an MBR -- the VTOC from one medium to the next
can vary based on the needs of the OS that supports it!), then I
would access this /dev/rwd0d "file" (remembering that a file is
just a collection of bytes, not a "file" in the colloquial sense)

The MBR can contain 4 MBR_PARTITIONS (deliberately referenced in
this way to sidestep the confusion to follow!).

A NetBSD system refers to these as SLICES.  So, the third MBR_PARTITION
may define a slice that contains a NetBSD file system.

The designation /dev/rwd0c refers to the contents of the NetBSD slice
on that drive (you may be SHARING the "whole disk" with something else).
So, if I access the /dev/rwd0c "file", I will only see those things
that pertain to the NetBSD system; the MBR (which is part of /dev/rwd0d)
won't be visible.

Likewise, if I scribble on /dev/rwd0c with utter abandon, I can be assured
(by the operating system) that I will NOT interfere with anything that
"doesn't belong to NetBSD".  E.g., I can have Windows on the same physical
disk and never worry about corrupting any part of that Windows system!

So, /dev/rwd0c can be regarded as the NetBSD "disk" -- within the
physical /dev/rwd0d disk.

The designation /dev/rwd0a refers to the contents of the first BSD_PARTITION
(note the difference indesignation between MBR_PARTITION and "slice") *in* the
NetBSD part of the drive.  And, /dev/rwd0e is the second part (rwd0b is, by
convention, the "swap" (i.e., "PAGEFILE") partition of the drive.

Because we are now operating entirely *within* the NetBSD MBR_PARTITION
(slice), we are no longer bound by the rules that apply to the MBR.
Namely, we can have many more than 4 "partitions" on a NetBSD disk
(i.e., in a NetBSD *slice*).  Each have names in the "file hierarchy",
though none of those names appear on the media, per se.

In my case (for a single physical disk system):
wd0a	root
wd0b	swap
wd0c	NetBSD portion
wd0d	whole disk
wd0e	/var
wd0f	/usr
wd0g	/usr/pkg
wd0h	/home
wd0i	/Sources
wd0j	/Playpen
wd0k	/Archive

So, I can examine the part of the NetBSD disk that I mount as
the home directory directory (/home) by examining /dev/rwd0h.
If I poke around in there, I'll eventually find the contents of
all of "my" files -- in their "raw" forms (without the benefit of
the directory structure imposed by the filesystem).

Likewise, if something is *munged* in there, I can directly edit
those bytes on the media by referencing them:
- somewhere within /dev/rwd0h (i.e., /home)
- somewhere within /dev/rwd0c (i.e., the NetBSD slice that contains /home!)
- somewhere within /dev/rdw0d (i.e., the whole disk that contains the NetBSD
   slice that contains the /home partition!)

And, in each case, I am dealing with a "file".  And, the same tool that you
might choose to use to examine/alter the contents of ReadMe.txt

[toc] | [prev] | [next] | [standalone]


#455140

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-05 01:42 -0800
Message-ID<c_2FA.183230$eU4.162915@fx13.iad>
In reply to#455046
Martin Brown wrote:
> On 04/04/2017 10:13, Robert Baer wrote:
>> bitrex wrote:
>>> On 04/02/2017 08:54 PM, 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.
>>>> 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).
>>>> Program has means of user-control scrolling thru HD memory.
>>>>
>>>> Thanks.
>>>
>>> Just curious but why you want to do any of this crazy 1980s stuff on a
>>> modern machine?
>>>
>>> Not saying that there isn't a good reason to. Maybe there is. Might help
>>> a potential solution if we knew it.
>>>
>>> I do some C++ systems/graphics programming for x86 in my spare time.
>
>> To start,all i wanted to do is "simply" add a hard drive.
>> That i could use as a data drive for Win2K, WinXP, and Win7.
>> The problem diskwipe not working led me to think of a way to _see_ WTF
>> was happening.
>
> WHy do you need to "see" it. A quick diagnostic program would be a heck
> of a lot less painful than manually scrolling through an entire disk!!!!
>
>> AS an example, the lie of formatting in Parted magic is the fact that
>> it not only does NOT format,it seems that it cannot format; all it does
>> is write ONE BYTE in that partition table. even mkfs.ntfs/dev/sda1 does
>> the same lie.
>
> Format means different things to different people. A drive is fast
> formatted if all the sectors on it are marked as unused. It is no longer
> necessary to do a full slow physical format on spinning rust (and even
> less necessary on an SSD).
>
>> A visual look-see of the HD might show that a "special" byte in each
>> "block" may control this funny business.
>>
>> Remember waay back in the old daze, accounting data on a disk was
>> controller using a combination of deleted sectors and normal sectors one
>> byte did that per sector.
>>
>> I ought to know,i wrote a copy protection scheme using that fact as
>> well as other obscure titbits that took no space away from data..even
>> gained space from unused FAT space, from unused directory space, from
>> all of second FAT, and one sector beyond last track.
>
> Then write a program to read it block by block and report any exceptions
> to your expectations according to taste.
>
   Do not know how to do that.

[toc] | [prev] | [next] | [standalone]


#454877

FromJasen Betts <jasen@xnet.co.nz>
Date2017-04-03 07:49 +0000
Message-ID<obsur3$1rh$1@gonzo.alcatraz>
In reply to#454834
On 2017-04-03, Robert Baer <robertbaer@localnet.com> 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.
>    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).
>    Program has means of user-control scrolling thru HD memory.

In many cases the video memory is on a different bus to the main
memory.  libSDL can give access to byte-per pixel display mechanisms, but you
can't map the boot rom in and display it, you have to use the CPU or
DMA to do that.. 

-- 
This email has not been checked by half-arsed antivirus software 

[toc] | [prev] | [next] | [standalone]


#454939

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-03 10:21 -0800
Message-ID<QowEA.153221$7b1.49151@fx30.iad>
In reply to#454877
Jasen Betts wrote:
> On 2017-04-03, Robert Baer <robertbaer@localnet.com> 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.
>>     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).
>>     Program has means of user-control scrolling thru HD memory.
>
> In many cases the video memory is on a different bus to the main
> memory.  libSDL can give access to byte-per pixel display mechanisms, but you
> can't map the boot rom in and display it, you have to use the CPU or
> DMA to do that..
>
   Isn't that what programs are for? Take care of "mundane" details?
   There are many programs that will display a color BMP file, no fuss.

[toc] | [prev] | [next] | [standalone]


#455138

FromMartin Brown <'''newspam'''@nezumi.demon.co.uk>
Date2017-04-05 08:44 +0100
Message-ID<oc279l$teb$1@gioia.aioe.org>
In reply to#454939
On 03/04/2017 19:21, Robert Baer wrote:
> Jasen Betts wrote:
>> On 2017-04-03, Robert Baer <robertbaer@localnet.com> 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 most graphics accelerators sit in their own local high 
bandwidth memory address space. You have to send stuff across or send 
how to draw it instructions to the graphics accelerator. Things have 
moved on a long way since the grotty IBM CGA and Hercules cards.

>>>     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).
>>>     Program has means of user-control scrolling thru HD memory.
>>
>> In many cases the video memory is on a different bus to the main
>> memory.  libSDL can give access to byte-per pixel display mechanisms,
>> but you
>> can't map the boot rom in and display it, you have to use the CPU or
>> DMA to do that..
>>
>   Isn't that what programs are for? Take care of "mundane" details?
>   There are many programs that will display a color BMP file, no fuss.

That is probably your simplest solution. Make a 256 indexed BMP header 
with dimensions that match your physical screen and then tack onto the 
end of it the right number of bytes from your hard disk. Paint the BMP 
to the screen or write it to a .BMP file and open in a viewer and bingo!

There is an example program in the free MSVC examples Vista? that could 
be subverted to do this or you could use .Net from scratch.

https://msdn.microsoft.com/en-us/library/8tda2c3c(v=vs.110).aspx

-- 
Regards,
Martin Brown

[toc] | [prev] | [next] | [standalone]


#455145

FromRobert Baer <robertbaer@localnet.com>
Date2017-04-05 02:29 -0800
Message-ID<zG3FA.214993$_83.25354@fx07.iad>
In reply to#455138
Martin Brown wrote:
> On 03/04/2017 19:21, Robert Baer wrote:
>> Jasen Betts wrote:
>>> On 2017-04-03, Robert Baer <robertbaer@localnet.com> 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 most graphics accelerators sit in their own local high
> bandwidth memory address space. You have to send stuff across or send
> how to draw it instructions to the graphics accelerator. Things have
> moved on a long way since the grotty IBM CGA and Hercules cards.
>
>>>> 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).
>>>> Program has means of user-control scrolling thru HD memory.
>>>
>>> In many cases the video memory is on a different bus to the main
>>> memory. libSDL can give access to byte-per pixel display mechanisms,
>>> but you
>>> can't map the boot rom in and display it, you have to use the CPU or
>>> DMA to do that..
>>>
>> Isn't that what programs are for? Take care of "mundane" details?
>> There are many programs that will display a color BMP file, no fuss.
>
> That is probably your simplest solution. Make a 256 indexed BMP header
> with dimensions that match your physical screen and then tack onto the
> end of it the right number of bytes from your hard disk. Paint the BMP
> to the screen or write it to a .BMP file and open in a viewer and bingo!
>
> There is an example program in the free MSVC examples Vista? that could
> be subverted to do this or you could use .Net from scratch.
>
> https://msdn.microsoft.com/en-us/library/8tda2c3c(v=vs.110).aspx
>
   They make it sooo complicated, when there is NO need...

[toc] | [prev] | [next] | [standalone]


Page 3 of 4 — ← Prev page 1 2 [3] 4  Next page →

Back to top | Article view | sci.electronics.design


csiph-web