Talk:GCOL

From BeebWiki

Jump to: navigation, search

Good information for BASIC 1 through to BASIC IV. But please note that BASIC V also allows the addition of the TINT parameter to the GCOL statement. I'm not sure whether the 2 parameters before the TINT are changed or not for BASIC V.

Kranser - 6th January 2009.


I don't have a manual on BASIC V. Can you point me to an electronic copy? Darren 02:44, 6 January 2009 (UTC)


I know of this document: [1]

and the PDF version of it is here: [2]

Does BASIC V on the Arc really allow the COLOUR and GCOL to define the red,green,blue variations as described in this guide? (i.e. COLOUR(255,0,0) = red?)

Kranser 6 January 2009


Another link describing the options for GCOL and COLOUR that is related to the Arc version of BASIC V - [3].

Kranser 6 January 2009


Thanks for the links. I wasn't sure what version you guys were working on and since I don't have my Master 128 anymore I didn't know what version of Basic it used. Correct me if I'm wrong but I believe it used Basic IV. Therefore Basic V relates to the Archimedes. I didn't think this wiki was about the Archimedes since the main page says 8-bit numerous times and nothing about 32-bit. I don't know a thing about the Archimedes. How much 32-bit info are you expecting in the wiki or is it strictly 8-bit? Cheers. Darren 11:11, 6 January 2009 (UTC)


Yes the Master uses BASIC IV.

Well, as far as I know there is no definition as to how 32-bit and 8-bit should be handled. However, some articles (for example IF) have syntax definitions for both BASIC IV and below and for BASIC V. I'm not saying you need to add the BASIC V definition for GCOL, but you may just need to note that the definition you have given is for BASIC I through to IV.

By the way, the last link from the RISCOS manual is probably the most accurate syntax used for COLOUR and GCOL for the Archimedes.

Kranser 6 January 2009


The Wiki is mainly for 8-bit systems, but as 80x86, 32016 and ARM coprocessors can be connected to a BBC and can run BASIC V (and there's a 6502 BASIC V), appropriate BASIC V information is appropriate. Also, there's nothing wrong with detailing extensions to MOS APIs (eg extra GCOL numbers, extra OSFILE calls, etc.) as there's nothing to stop them being 'retrofitted' to 8-bit systems. For instance, some BBC filing systems have added calls intruduced in Arthur, eg OSARGS call to read file allocations, etc.

Personal tools