News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_mr_lou

Create new colours + scanlines on LCD screens with BASIC!

Started by mr_lou, 16:37, 07 July 17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mr_lou

Ok, probably useless, and also probably known to most, but I thought this is worth sharing at least.

I think most of us are using modern monitors nowadays? LCD rather than CRT, right?

This actually makes it possible to do some trickery regarding colours, fake-creating some that the CPC doesn't really have - in BASIC!

The way to do is simple: Set inks and border to blink between two colours you wanna mix. And set a speed ink 1,1. Example:

SPEED INK 1,1
INK 0,6,24 ' New orange colour (with "scanlines")
BORDER 15 ' For comparison

Now the two colours will blink at 50 hz on a 60 hz monitor, resulting in a scanline-like look with colours you've never seen on the CPC before.  :)

Mixing the right colours can also create some groovy font light/shadow effects.

Useless or kinda fun? You decide.

Gryzor

Useless or not, it's fun :) Pity I only use my CPCs with CRTs - these days, with a 1084...

ASiC

Quote from: Gryzor on 08:45, 25 August 17
Pity I only use my CPCs with CRTs - these days, with a 1084...


Poor you...
I can swap your 1084 with a 32" LCD if you like  ;D

Gryzor

Eheheh... good try :D


[ot]One of the reasons I love it so much is because it's one of those models that also have a Green button, so I can turn it into a green monitor! Amazing![/ot]

AMSDOS

Just acknowledging the use of second INK colours and the use of SPEED INK has helped me to improve the coding for next years BASIC 10-Liner Compo.
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Powered by SMFPacks Menu Editor Mod