Welcome, Guest. Please login or register.

Author Topic: colour pens question..  (Read 3831 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline yakumo9275Topic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2008
  • Posts: 301
    • Show all replies
    • http://mega-tokyo.com/blog
colour pens question..
« on: February 10, 2012, 01:53:29 AM »
So when I test on my stock wb3.1, everything goes fine., doing SetDrMd(rport, JAM1 | INVERSVID);, it all looks good.

when I test on wb3.1 using 32bit screen depth, using inversvid, does not do anything.

I assume its the colourpens not working the same in a 32bit screenmode? is there a way to know if the colourpen will do what I want when I invoke inversvid?

when I invoke inversvid on the 32bit screen depth, its like just using JAM1 without change...

just not sure what I need to do to get it working across all screenmodes/depths...

I've tried setting the B pen, but again got odd results.

Right now B pen is default -1 as described in the window creation structure.

/tears hair out
--/\\-[ Stu ]-/\\--
Commodore 128DCR, JiffyDOS, Ultimate 1541 II, uIEC/SD, CBM 1902A  Monitor
 

Offline yakumo9275Topic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2008
  • Posts: 301
    • Show all replies
    • http://mega-tokyo.com/blog
Re: colour pens question..
« Reply #1 on: February 10, 2012, 01:29:16 PM »
I had a thought driving to work this morning.. I wonder if colour pen is using a 32bit RGB value in a 32bit video mode and an colour index in an <=8bit mode...
--/\\-[ Stu ]-/\\--
Commodore 128DCR, JiffyDOS, Ultimate 1541 II, uIEC/SD, CBM 1902A  Monitor
 

Offline yakumo9275Topic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2008
  • Posts: 301
    • Show all replies
    • http://mega-tokyo.com/blog
Re: colour pens question..
« Reply #2 on: February 10, 2012, 02:49:44 PM »
I am only using Text(), so I expect to see what was in your screenshot, and I get that but only on my basic wb screen but not on my 32bit wb screen. I will have to investigate more and see if I am doing something wrong.
--/\\-[ Stu ]-/\\--
Commodore 128DCR, JiffyDOS, Ultimate 1541 II, uIEC/SD, CBM 1902A  Monitor
 

Offline yakumo9275Topic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2008
  • Posts: 301
    • Show all replies
    • http://mega-tokyo.com/blog
Re: colour pens question..
« Reply #3 on: February 10, 2012, 03:29:53 PM »
Quote from: Thomas;680083
Cybergfx or Picasso96?


I believe my test system for this is a "Classic Workbench P96" install.
--/\\-[ Stu ]-/\\--
Commodore 128DCR, JiffyDOS, Ultimate 1541 II, uIEC/SD, CBM 1902A  Monitor
 

Offline yakumo9275Topic starter

  • Sr. Member
  • ****
  • Join Date: Jun 2008
  • Posts: 301
    • Show all replies
    • http://mega-tokyo.com/blog
Re: colour pens question..
« Reply #4 on: February 13, 2012, 02:17:52 PM »
Its on euae, the last release from a few years back. I've not had a lot of luck with puae so I'm still on euae something wip4.

I've narrowed it down to ClearEOL(rport) not doing the clear (as I expect it to). Text renders with jam1/jam2 and combos of INVERSVID just fine but calling ClearEOL does not clear to the line as I expect if I do JAM1|INVERSVID.

For some reason ClearEOL is behaving differently on a stock wb3.1 ecs with basic screen mode vs the p96 32bit screen mode.

to make clear, my testing with euae

stock wb3.1 install on a 'a2000' style machine, ECS chip, '020, 1mb chip ram
'classic wb p96' install of wb3.1 on an 'a1200' style machine, heaps of ram, '040.
--/\\-[ Stu ]-/\\--
Commodore 128DCR, JiffyDOS, Ultimate 1541 II, uIEC/SD, CBM 1902A  Monitor