• C128 Character Sets and Graphic Modes - help please!

    From PaulM@3:770/3 to All on Sun Mar 1 16:57:35 2020
    If I run the following in immediate mode in GRAPHIC 0 mode, I see exactly what I expect to see based on the chart of page 358 of the Commodore 128 System Guide

    CHAR ,0,0,CHR$(111)

    (a right-angle corner character, as in the top-left of a box)

    But if I am in GRAPHIC 1 mode and run the same line of code, I get a different character (a diagonal line). In fact it's CHR$(143) in GRAPHIC 1 mode that yields the same character.

    How can I understand this difference?

    Thanks!

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From George@3:770/3 to paul.s.macmillan@gmail.com on Mon Mar 2 09:54:43 2020
    On Sun, 1 Mar 2020 16:57:35 -0800 (PST), PaulM
    <paul.s.macmillan@gmail.com> wrote:

    If I run the following in immediate mode in GRAPHIC 0 mode, I see exactly what I expect to see based on the chart of page 358 of the Commodore 128 System Guide

    CHAR ,0,0,CHR$(111)

    (a right-angle corner character, as in the top-left of a box)

    But if I am in GRAPHIC 1 mode and run the same line of code, I get a different character (a diagonal line). In fact it's CHR$(143) in GRAPHIC 1 mode that yields the same character.

    How can I understand this difference?

    Thanks!


    Get the C128 Programming guide.



    --


    Democracy: Three wolves and a lamb vote for dinner.
    Republic: Three wolves and a lamb vote for dinner,
    but the lamb is armed & has the right
    to an appeal in a court of law.
    Socialism: Three Wolves have eaten the lamb
    and are fighting amongst themselves
    for scraps.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From PaulM@3:770/3 to George on Mon Mar 2 11:25:54 2020
    On Monday, March 2, 2020 at 9:54:47 AM UTC-8, George wrote:
    On Sun, 1 Mar 2020 16:57:35 -0800 (PST), PaulM
    <paul.s.macmillan@gmail.com> wrote:

    If I run the following in immediate mode in GRAPHIC 0 mode, I see exactly
    what I expect to see based on the chart of page 358 of the Commodore 128 System Guide

    CHAR ,0,0,CHR$(111)

    (a right-angle corner character, as in the top-left of a box)

    But if I am in GRAPHIC 1 mode and run the same line of code, I get a
    different character (a diagonal line). In fact it's CHR$(143) in GRAPHIC 1 mode that yields the same character.

    How can I understand this difference?

    Thanks!


    Get the C128 Programming guide.



    --


    Democracy: Three wolves and a lamb vote for dinner.
    Republic: Three wolves and a lamb vote for dinner,
    but the lamb is armed & has the right
    to an appeal in a court of law.
    Socialism: Three Wolves have eaten the lamb
    and are fighting amongst themselves
    for scraps.

    No that's awesome, I have it right in front of me... what section were you thinking of? I did a test and the same character set is active whether I have GRAPHIC 0 or GRAPHIC 1, so still not clear how a string (CHR$(111)) would render differently on the
    two screens.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)