Re: [cc65] wrong colors in conio

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2002-12-11 01:19:20


On Wednesday 11 December 2002 00:56, Christian Groessler wrote:

> That tetris runs w/o problems with a null textcolor function is a
> result of your selection of the background color. With other colors
> you won't be lucky. I don't think this is acceptable behaviour.

well, no :o) with a monochrome target, the background is _expected_ to be 
black (unless specifically defined otherwise, which i have never seen before 
in other apis). in other words, yes, using a different background color may 
lead into trouble - yet it makes the program non portable and thus trouble 
are expected :)

that said, i can't see any problem with the atari though...at worst make the 
conio constructor set bgcolor to black and textcolor to whatever you like 
(except black ofcoz :0)) - or any other combination for that matter. (this 
may infact be an even better solution, since a monochrome target should 
indeed have fixed colors)

however, since someone mentioned it before... why dont you come up with a 
textmode that doesnt have all these limitations? :o)

-- 
          ___ ___ .___________________ .___________ _______.
    c=64 /   |   \|   \__    ___/     \ \_   _____/ \      \ [groepaz]
     gb /    '    \   | |    | /  \ /  \ |    __)_  /   |   \ gp32
    cgb \    .    /   | |    |/    '    \|        \/    |    \ psx
     gba \___|_  /|___| |____|\____|__  /_______  /\____|__  / dc
          -----\/-----'---------------\/--------\/---------\/
       http://www.hitmen-console.org    Hitmen WWW Headquarters
       http://fly.to/hitmen-groepaz     my personal playground
       http://rr.c64.org/silversurfer   home of the RR debugger
       ftp.musoftware.de/pub/groepaz    cc65 dump site

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-11 01:21:36 CET