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


Groups > comp.sys.apple2.programmer > #2672

Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules"

Newsgroups comp.sys.apple2.programmer
Date 2016-04-06 15:15 -0700
References <2b4d01aa-0679-404d-93a3-1813bc37e7ee@googlegroups.com> <cd06e583-56b0-4c9e-8b84-f53df16dbac0@googlegroups.com> <af07ba75-de55-4723-8cac-6fba6cf0e2cc@googlegroups.com> <d12b69c0-8989-4fd3-93cb-718583d073a9@googlegroups.com>
Message-ID <342ce461-d231-4f86-8d4b-2d89b1543cd8@googlegroups.com> (permalink)
Subject Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules"
From gids.rs@sasktel.net

Show all headers | View raw


On Wednesday, April 6, 2016 at 2:21:56 PM UTC-6, Michael Finger wrote:
> On Wednesday, March 2, 2016 at 12:05:15 PM UTC-6, Mark Lemmert wrote:
> > On Tuesday, March 1, 2016 at 1:48:37 PM UTC-6, Michael Pohoreski wrote:
> > > Dealing with Real Life (TM) crap this week BUT (as promised) I managed to take a few "high resolution pictures" on **actual** hardware.  I used ADTPro to transfer my u5 test image DSK to a real floppy and boot that.
> > > 
> > > 
> > > = Hardware =
> > > Camera: Digital Rebel T5 + 18-55mm Lens (stock)
> > > Monitor1: Apple //e + Apple Color Composite Monitor (left of CameraTrax color chart)
> > > Monitor2: Apple //c + Franklin Composite Monitor (right of CameraTrax color chart)
> > > 
> > > Pictures are not as "in focus" as I would prefer but I tried with and without auto-focus. Due to lack of time I figured some pictures are better then no pictures. :-)
> > > 
> > > I've included both the file size and image resolution so you know beforehand what you're downloading in-case anyone is not on broadband.
> > > 
> > > = Pics =
> > > Pic1: Apple Composite (Left) vs Franklin Composite (Right)
> > > Size: 9.5 MB
> > > Res: 5100x2100 (cropped)
> > > http://michael.peopleofhonoronly.com/dev/applewin/u5/u5_a_5100x2100_apple_composite_vs_franklin_composite_0960.png
> > > 
> > > Pic 2: Apple Composite
> > > Size: 17.5 MB
> > > Res: 5184x3456
> > > http://michael.peopleofhonoronly.com/dev/applewin/u5/u5_b_5184x3456_apple_composite_0969.png
> > > 
> > > Pic 3: Franklin Composite
> > > Size: 16.9 MB
> > > Res: 5184x3456
> > > http://michael.peopleofhonoronly.com/dev/applewin/u5/u5_c_5184x3456_franklin_composite_0970.png
> > > 
> > > Pic 4: Zoomed in right border edge Apple Composite (cropped)
> > > Size: 2.6 MB
> > > Res: 2324x1796
> > > http://michael.peopleofhonoronly.com/dev/applewin/u5/u5_zoom_apple_composite_0984.png
> > > 
> > > = Notes =
> > > A. The Franklin Color Composite monitor doesn't show the same hard on-off color pattern that the Apple Color Composite monitor does. Colors look solid.  You could say this does a better job of displaying a composite signal but the I prefer the Apple Color Composite "poor" signal reconstruction since it better matches the monochrome experience and "nostalgia" / "authenticity".
> > > 
> > 
> > Michael,
> > 
> > That's very interesting, thanks for posting! I also prefer the Apple Color Composite rendering.
> 
> I know I'm "late to the party" on this one.  But, I was also going through learning hi-res graphics as part of getting back into retro-programming.  And struggled with it, as well.  I documented and am continuing to document what I'm learning on my journey on my (newish) blog.
> 
> Here is a post that shows the some examples of setting certain bits in a byte and how it affects the color, if it's helpful to anyone.
> 
> http://retro2neo.org/2016/03/18/apple-hi-res-graphics-learning-the-screen/


It surprises me that no one can grasp the idea that the bits come in pairs to set a certain color.  And also that certain colors can not show up beside one another and, others can, but only in the byte next to it.

It is not about setting a bit in an even column or odd column and you get this color.

I think I have found an example that might demonstrate this better.

First it would be easier to understand if we flipped the byte.  But only on paper.  So instead of the bits having values of $80-$40-$20-$10-8-4-2-1, with the byte flipped we have  1-2-4-8-$10-$20-$40-$80.  The math will go so much easier.

Put another way
bit #1 has the value 1
bit #2 has the value 2
bit #3 has the value 4
bit #4 has the value 8
bit #5 has the value $10 - if you don't know hexadecimal, 8 + 8 = $10
bit #6 has the value $20
bit #7 has the value $40
bit #8 has the value $80

sometimes the bits are labeled as 0 to 7, but I find 1 to 8 is easier to understand due to the values 1,2 & 8 having the values 1,2 & $80

type TEXT at the prompt to get the cursor to the bottom of the screen
type HGR at the prompt
then CALL -151
each command is followed by pressing the RETURN key

I know this is obvious to most programmers, but for someone new, it may help them.

we will only deal with the first 4 pixels but remember it takes 2 pixels to make a color.  And 2 consecutive on bits will always show a white pixel whether they are part of the pair of bits that makes the color, or the bits are on next to each other with the next pair of bits.  This will make more sense in the examples.

The first 4 bits have the values 1-2-4-8 for a total of $F, and the hi-bit of each byte will toggle another color palette.

To see how the colors are displayed when a pair of bits are turned on and off, type in these values.

2000:0     - bits #1 and #2 are both off (you see black)
2000:80    - still black, these are sometimes known as black1 and black2
2000:1     - bit #1 is on, bit #2 is off (you see green)
2000:81    - bit #1 is on, bit #2 is off (you see orange)
2000:2     - bit #1 is off, bit #2 is on (you see violet)
2000:82    - bit #1 is off, bit #2 is on (you see blue)
2000:3     - bits #1 and #2 are both on (you see white)
2000:83    - still white, and are sometimes known as white1 and white2


Now, hopefully this will all come clear as to which colors can be beside each other as we turn on the next pair of bits.

2000:0
2000:80
2000:5  (turning on bits 1,3,5 & 7) will make a longer green line)
2000:85 (with the color bit set these same bits will make an orange line)
2000:6  (turning on bits 2,4,6) will make a longer violet line)
2000:86 (with the color bit set these same bits will make a blue line)


So far we have only shown alternating bits.  But now see what happens when bits are turned when next to each other. a zero mean bits are off, and a 1 means bits are on.

0000 (0)- bits 1-4 are off = 0 - this is black
1001 (9)- this is a violet pixel then a green pixel
0110 (6)- this cannot display a green pixel with a violet pixel, so you will see a white pixel
1111 - ($F) this is 2 white pixels next to each other.

and with the color bit set ($80) will use the 2nd palette of colors (blue/orange)

the values are in parenthesis, so lets punch these in

2000:9   - this will show a violet pixel then a green pixel
2000:6   - cannot display green/violet, shows up as white
2000:F   - white1
2000:89  - this will show an orange pixel then a blue pixel
2000:86  - cannot display blue/orange, shows up as white
2000:8F  - white2


I will stop here.  If there is any more interest in how I interpret the bit-pairs to display color, I will follow up with a description of the third pixel which shares an odd and even byte to make its color.

Plus how to get a violet/green color beside a blue/orange color.

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-15 11:40 -0800
  Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-15 12:33 -0800
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-15 12:38 -0800
      Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-15 14:11 -0800
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" dempson@actrix.gen.nz (David Empson) - 2016-02-16 14:22 +1300
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-15 18:33 -0800
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-15 14:08 -0800
      Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-15 19:39 -0800
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-15 19:47 -0800
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" David Schmidt <schmidtd@my-deja.com> - 2016-02-15 23:25 -0500
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-16 08:42 -0800
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-16 11:28 -0800
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-18 14:53 -0800
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-18 15:28 -0800
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-18 15:31 -0800
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-18 15:42 -0800
              Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-18 15:52 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-18 16:09 -0800
              Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-18 16:42 -0800
              Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-22 11:01 -0800
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" dempson@actrix.gen.nz (David Empson) - 2016-02-19 12:47 +1300
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-18 15:49 -0800
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-18 16:02 -0800
  Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-16 11:34 -0800
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-16 12:00 -0800
      Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-16 13:47 -0800
  Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-16 13:41 -0800
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-16 19:02 -0800
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-17 18:09 -0800
      Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" marc.depeo@brbent.com - 2016-02-18 00:43 -0800
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" wssimms@gmail.com - 2016-02-18 01:48 -0800
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" AppleIIGSMarc <appleiigsmarc@gmail.com> - 2016-02-18 08:50 -0800
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" AppleIIGSMarc <appleiigsmarc@gmail.com> - 2016-02-18 10:45 -0800
              Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-18 20:24 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" wssimms@gmail.com - 2016-02-18 20:32 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" AppleIIGSMarc <appleiigsmarc@gmail.com> - 2016-02-18 21:05 -0800
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-18 15:08 -0800
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-18 15:31 -0800
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-18 13:18 -0800
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" wssimms@gmail.com - 2016-02-18 18:15 -0800
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-03-01 11:58 -0800
  Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-16 14:05 -0800
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-16 19:12 -0800
      Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" "Michael J. Mahon" <mjmahon@aol.com> - 2016-02-17 15:22 -0800
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-17 16:14 -0800
  Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-19 14:34 -0800
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-19 16:17 -0800
      Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-19 19:19 -0800
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-19 22:25 -0800
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-19 23:12 -0800
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-19 23:27 -0800
              Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-19 23:31 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" wssimms@gmail.com - 2016-02-20 04:02 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-20 11:40 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-20 11:48 -0800
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-20 08:10 -0800
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-20 16:25 -0800
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-20 16:37 -0800
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-20 18:29 -0800
              Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-20 20:00 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-02-20 20:53 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-20 23:11 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-21 00:23 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" wssimms@gmail.com - 2016-02-21 01:41 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" wssimms@gmail.com - 2016-02-21 01:43 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-21 02:29 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-21 02:40 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" wssimms@gmail.com - 2016-02-21 08:03 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-21 09:55 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-21 10:28 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-02-21 14:42 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael J. Mahon <mjmahon@aol.com> - 2016-02-22 14:13 -0600
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-21 20:49 -0800
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" anthonypaulo@gmail.com - 2017-06-22 17:19 -0700
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2017-06-22 18:05 -0700
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" awanderin <awanderin@gmail.com> - 2017-06-22 23:00 -0600
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael J. Mahon <mjmahon@aol.com> - 2017-06-23 12:59 -0500
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" David Schmenk <dschmenk@gmail.com> - 2017-06-23 13:12 -0700
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2017-06-25 07:30 -0700
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" anthonypaulo@gmail.com - 2017-06-25 08:30 -0700
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael J. Mahon <mjmahon@aol.com> - 2017-06-25 13:55 -0500
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Charlie <charlieDOTd@verEYEzon.net> - 2017-06-23 11:26 -0400
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2017-06-25 07:45 -0700
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" anthonypaulo@gmail.com - 2017-06-25 08:33 -0700
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" anthonypaulo@gmail.com - 2017-06-25 08:38 -0700
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" David Schmenk <dschmenk@gmail.com> - 2017-06-25 12:07 -0700
                Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" anthonypaulo@gmail.com - 2017-06-25 16:29 -0700
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael J. Mahon <mjmahon@aol.com> - 2016-02-20 00:27 -0600
      Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" denisbytezone@gmail.com - 2016-02-19 23:14 -0800
  Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-03-01 11:48 -0800
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael J. Mahon <mjmahon@aol.com> - 2016-03-01 16:24 -0600
    Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Mark Lemmert <mark.lemmert@gmail.com> - 2016-03-02 10:05 -0800
      Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Finger <mike.finger@gmail.com> - 2016-04-06 13:21 -0700
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-04-06 13:32 -0700
        Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2016-04-06 15:15 -0700
          Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2017-06-25 06:17 -0700
            Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" gids.rs@sasktel.net - 2017-06-25 21:33 -0700
              Re: Assembly Hi-Res Graphics, question about color patterns that seem to violate the "rules" Michael Pohoreski <michael.pohoreski@gmail.com> - 2017-06-26 11:12 -0700

csiph-web