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


Groups > sci.electronics.design > #455143

Re: byte-to-pixel data display program?

From Robert Baer <robertbaer@localnet.com>
Newsgroups sci.electronics.design, alt.computer
Subject Re: byte-to-pixel data display program?
References <a3hEA.158731$mb5.138205@fx19.iad> <ro73ecpnfgu4td6mqfgbitjrkgg8cvqkk7@4ax.com> <eYvEA.182649$eU4.2465@fx13.iad> <oc00hp$is8$1@gonzo.alcatraz>
Message-ID <tz3FA.211310$iw5.5892@fx22.iad> (permalink)
Date 2017-04-05 02:22 -0800

Cross-posted to 2 groups.

Show all headers | View raw


Jasen Betts wrote:
> On 2017-04-03, Robert Baer<robertbaer@localnet.com>  wrote:
>
>>     Who said anything about JPEG?
>>     I do not care about images, compression,etc ad nausea. JUST a simple
>> byte read.
>>
>>     First, is the program to READ a selected part of the HD, and put the
>> bytes in RAM.
>>     With that part available,i think i can do all of the rest.
>
>
>   char b[0x200000];
>   int h=open('/dev/hda');
>   while(read(h,b,0x200000)>0){
>
>     // bytes-to-pixels code here
>
>   }
>
>
> that stuff is piss-easy on linux.
>
>
   Looks like "C" to me. Forget it (1) no compiler, (2) that "example" 
most likely will not even compile as-is, (3) "C" and i plain do not get 
along together, wasted a month trying to get simple assed programs like 
"hello world" to work; followed the tutor book to the letter.
   Someone else then wrote a simple counting program which did work.
   I found that it was impossible to find the code, that the same 
program written in BASIC and compiled, was extremely easy to find, took 
a tenth of the space and ran ten times faster.
   Furthermore, the compiled code was available in ASM format and no 
improvement could be done on the code - already optimized.

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