World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.015s
<1234567…34>
  • BASIC Keyword ReferenceRealised that the Sinclair Basic section would be a better place for discussion of BASIC keywords, so for reference the old thread is in [thread=2005…

    ... MOVE : E : SYM + 6
    ATTR : E : SYM + L NEW : ... OPEN # : E : SYM + 4
    BRIGHT : E : SYM + B OR : KLC ... colours within strings in a BASIC listing.

    Break ...
    icabod icabod March 2008 Sinclair Basic
  • GEDit syntax highlighting for Boriel's ZX BasicHi! I just tailored this syntax highlighting code and would like to share with he community. Suggestions are always welcome, though the file works w…

    ...
    bold
    border
    bright
    byref
    byval
    xor

    asc
    attr
    csrlin
    hex
    pkersey pkersey February 2014 Development
  • Sinclair Basic compiler for PC?I know we all can use BASin to play for a while in a little window. But... What about creating a 80x86 EXE program from scratch using Sinclair Basic…

    ... from scratch using Sinclair Basic? You know, the ATTR(), LET, SCREEN$, CODE ... plan to do) any Sinclair BASIC compiler for the '86 range ...
    Marcelo Marcelo September 2003 Sinclair Basic
  • ANN: Spectrum Host 0.40 for BBC BASICZXHost 0.40, the ZX Spectrum host for BBC BASIC now has working microdrive support. You can load, save and catalogue microdrives, and any other devic…

    ... ZX Spectrum host for BBC BASIC now has working microdrive support ... /> Recent updates also include BBC BASIC runnable in RAM and colour ... extended to include FLASH and BRIGHT .

    See [url]http ...
    Jonathan Harston Jonathan Harston July 2006 Development
  • Printing in 64 columns, from Basic?Not strictly a Sinclair Basic question but... Is there any known machine code utility that allows something similar to PRINT AT that can be called fr…

    Not strictly a Sinclair Basic question but... Is there any ... that can be called from Basic but uses 64 or maybe ... />
    I'm creating small Basic programs that allow me to ... /> I even thought of using BRIGHT to create a grid that ... easy to call from Basic? Thanks!
    zxbruno zxbruno October 2009 Sinclair Miscellaneous
  • An update on ZX BASIC support for the SpectranetOne for zxbruno, I hope :-) So just an example of what now can be done with the network filesystem and BASIC. The following listing is of a program …

    ... with the network filesystem and BASIC. The following listing is ... : PAPER 0: INK 7: BRIGHT 1
    14 DIM f ... this on the Spectrum, using BASIC and streams:

    ... send data over ethernet from BASIC. You can PRINT # to ... that expands the ZX BASIC tokens.
    Winston Winston March 2010 Sinclair Basic
  • Speeding up select processing...Hi Folks, I have the following code in my program and it works fine but is rather "sluggish". I have even moved it to the beginning of the program …

    ... has the address of the ATTR P system variable.
    [/LIST ... ]Line 270 [/B]- sets ATTR P to bright yellow paper with black ... original attributes using the cool basic memory move routine and go ... memory used by the cool basic memory move routine to store ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • BASIC: Find the nearestHello guys) A few days ago I found oldie ?Jeux et casse-tete a Programmer? by Jacques Arsac (Paris?85) and suggested my nephew to try a few in Basic…

    ... to try a few in Basic. He chose Game #8: Shadok ...
    NRA NRA January 2012 Sinclair Basic
  • MOVE_M Object Movement Manager for BASICAs moving things around on the screen is usually the slowest part of a game written in BASIC, I've been pottering around with this routine to handle …

    ... call NOTRAP to restore BASIC:
    REM To ... ; MOVE_M moving object control for BASIC
    ; runs with interrupts ... Vlohi+Hlohi+Vstep+Hstep+ATTR+ROW:COL+CHR$+ ... 1 horizontal step
    ; ATTR = attributes for graphic
    ... Hlo Hhi Vs Hs Attr row col chr ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • dumping protected BASIC loadersI wrote this a few weeks ago but forgot to post it. It will load & list from tape/TAP/TZX any BASIC program which has been saved with SAVE, including…

    ... tape/TAP/TZX any BASIC program which has been ... intended for dumping protected BASIC loaders, as was already ... THEN PRINT "not a BASIC program header": STOP
    BRIGHT bt; INK d;PEEK ... I've nearly finished the BASIC listing formatter, which in ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • 140 characters Basic game contestHey there, I've announced a new micro contest on my blog (in Czech language only). However, it might be interesting also for the non-Czech/Slovak …

    ... in the standard 48K Sinclair BASIC that will fit into 140 ... of the standard 48K Sinclair BASIC syntax
    [code]1 FOR ...
    Factor6 Factor6 May 2016 Sinclair Basic
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    ... the assembler listing and Sinclair BASIC wrapper must suffice. Have fun ...
    Volker Volker February 2021 Software
  • Fake screenshots? No - now it's REAL screenshotsOk then. A few weeks ago I said I will show You the new gfx-mode of Speccy and - here it is: [url="http://republika.pl/hooy_prg/hprg.zip"]http://rep…

    ... one color each with attr.- mock screens at my ... to have the same bright/flash attr.)which you already ... hope it works, dark basic and db pro just dont ... you have implementeda better bright detection, in laymans terms ... are set bright 0 and the others bright 1? know ...
    Amigo Amigo March 2003 Sinclair Miscellaneous
  • About z88dk and autoexecsThis weekend I was playing a little with z88dk C cross Compiler. Amazing tool! I have three questions: 1- Does anybody know how to change the initia…

    ...

    This is the basic char output routine that stdio ... vars to store print position, attr, etc. It has its own ... code clearly shows that flash/bright take 0 and 1 as ...
    Alcoholics Anonymous Alcoholics Anonymous February 2005 Development
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... />
    ====================

    * General BASIC tips
    --------------------

    * Place ... and read it with ATTR(y,x) for collission ... A
    10 IF ATTR(Y,X) 56 THEN ... various flags controlling the Basic system and generally should ...
    na_th_an na_th_an April 2005 Development
  • udg collision detectionhow do I detect a collision between udgs in basic?

    ... $ - and as Dr Beep says, ATTR will help but again will ... a particular, unique ink/paper/bright/flash combination.

    The ... /> Damn, I must get this BASIC FAQ done :)

    D ...
    Dunny Dunny July 2005 Sinclair Basic
  • Oh so BRIGHT!What is the SLOWEST way to change the attribute area to BRIGHT? It has to be legit! No meaningless instructions or doing stuff for the sake of it. …

    ... to also size-code*. In BASIC.
    Oh yes, I' ... doesn't exist in Sinclair BASIC! By a sheer fluke of ... least anything without FLASH or BRIGHT set anywhere, but it's ... 31
    30 LET b = ATTR (y,x)
    40 IF ... 8; INK 8; FLASH 8; BRIGHT 1; OVER 1; " "
    70 ...
    Matt_B Matt_B November 2006 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... :
    PRINT AT f,g; BRIGHT 1; INK f;CHR$ (145 ... =y+b:
    LET t=(ATTR (x,y)7): PRINT AT ... . The listing scrolls on 128K BASIC, but not on 48K.
    Matt_B Matt_B May 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... that the template places seven basic time units into PTU, 0 ... , keeping background paper and bright
    cs->attr = g_uchar0;
    }
    attr) used to colour the sprite ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Development
  • BASIC Keyword ReferenceHi. I do most of my ZX work on a grey-case +2 which, as we all know, is devoid of most of the 48k BASIC keywords (it has LOAD and stuff, but not much…

    ... welcome:
    [CODE]SINCLAIR BASIC Keyword Reference


    Sinclair BASIC has several modes of entry ... : E : SYM + E
    ATTR : E : SYM + L
    ... /> BORDER : K : B
    BRIGHT : E : SYM + B
    icabod icabod March 2008 Sinclair Miscellaneous
  • CSSCGC 2008 has now officially begunFor coming last in the 2007 crap game compo, I have the honour and privilege of hosting CSSCGC 2008! I have now put up the CSSCGC 2008 website at …

    ... of a character independently BRIGHT 0 or BRIGHT 1. However, this requires ... something you can do from BASIC.[/QUOTE]

    Thanks for ... be done by changing the ATTR byte in between the drawing ...
    Digital Prawn Digital Prawn December 2008 Games
  • Keyboard demoHere's a preview of a new keyboard for the special fx engine. Press any key to start/restart. [url]http://dl.dropbox.com/u/9498358/fire_keyboard.sn…

    ... source files... Its very basic and simply applys a ... ; GREEN PAPER + WHITE INK + BRIGHT
    JR PUTCOL1

    ATTR POSITION
    CH2ATTR: DEFW $ ... 0000 ; CH2 SAVED ATTR POSITION


    kgmcneil kgmcneil September 2010 Development
  • inverting graphics using basic?just curious if it could be done by poking screen memory ? and what's the structure. (foreground / background for each char ? ) reason I ask is I'd …

    ... attribute is composed of one BRIGHT bit, one FLASH bit, three ... ; 0 = Off)
    b6 (+64) = Bright (1 = On; 0 = Off)
    BASIC. The logic is as follows:
    [code]Attr(new) = (Attr & 192) | ((Attr ...
    BloodBaz BloodBaz December 2010 Sinclair Basic
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... line 1100):
    [CODE]1100 BRIGHT 8: IF p=5 THEN ... :
    [CODE]8010 PAPER 8: BRIGHT 1: LET p1=PEEK 23675 ... 23675,p1: POKE 23676,p2: BRIGHT 1: RETURN
    8400 LET ... /> 8420 IF (r=1 AND ATTR(x,y)
    Jimmy Jimmy June 2011 Games
  • So easy to use.Back in the 90s I was off work for 3 months following an operation, anyway in my boredom I dusted off my old speccy+ and the manual, and got my head …

    ... red in the listed basic, as opposed to say ... where 23693 is the [B]ATTR P[/B] system variable.< ... br />
    where [B]ATTR[/B] is:

    ... 8 * 0 to 7 ) +
    BRIGHT ( 64 ) +
    FLASH ( 128 )< ... br /> so if I wanted bright, red paper with yellow ink ...
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • BLOG- ZXSporgBasic RPG development thread- Inspired by the Spectrum 30 show, and after a six-month wait while I was busy playing loads of gigs, I have decided to do a spot of Spectrum coding…

    ... /> [CODE]10 REM zx sporg basic v0pt007 20130217 - next to do ...
    bigjon bigjon February 2013 Sinclair Basic
  • BLOG- ZXSporgBasic RPG development thread- Inspired by the Spectrum 30 show, and after a six-month wait while I was busy playing loads of gigs, I have decided to do a spot of Spectrum coding…

    ... /> [CODE]10 REM zx sporg basic v0pt008 20130218 - next to do ...
    bigjon bigjon February 2013 Sinclair Basic
  • BLOG- ZXSporgBasic RPG development thread- Inspired by the Spectrum 30 show, and after a six-month wait while I was busy playing loads of gigs, I have decided to do a spot of Spectrum coding…

    ... ]
    10 REM zx sporg basic v0pt009 20130218 - next to do ...
    bigjon bigjon February 2013 Sinclair Basic
  • BLOG- ZXSporgBasic RPG development thread- Inspired by the Spectrum 30 show, and after a six-month wait while I was busy playing loads of gigs, I have decided to do a spot of Spectrum coding…

    ... /> [CODE]10 REM zx sporg basic v0pt010 20130218 - next to do ...
    bigjon bigjon February 2013 Sinclair Basic
  • BLOG- ZXSporgBasic RPG development thread- Inspired by the Spectrum 30 show, and after a six-month wait while I was busy playing loads of gigs, I have decided to do a spot of Spectrum coding…

    ... /> [CODE]10 REM zx sporg basic v0pt011 20130219 - next to do ...
    bigjon bigjon February 2013 Sinclair Basic
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
attr 692 1.3K
bright 3K 4.5K
basic 24.7K 39K

Related Threads

  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a<br /> 48K Spectrum to one for the ZX81. It's obvious that some things cannot<br …
  • ZX Basic 1.2.5 - a BASIC CompilerWell, my old post about ZX BASIC seems to be gone (maybe this phorum purges old threads?), so I started a new one.<br /> <br /> After more than 6 mon…
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …
  • Loading basic from basic?Hi Guys,<br /> <br /> Could you please help me. I want to create a menu on my plus 3 disks. If I use the line below I just get "c nonsense in basic…
  • Couple of basic BASIC questionsPlaying around with BASin again in an effort to knock up a game and am wondering 2 things<br /> <br /> 1) Why when I run the program do my UDGs not a…

Related Searches

  • rst8 return to basic
  • rst8 basic
  • return to basic
  • basic tips tricks
  • best basic manual
  • writing music in basic
  • play in basic
  • play command in basic
  • basic upper lower case
  • basic toupper tolower
  • basic lcase ucase
  • basic change upper lower case
  • attr basic
  • flash 128 bright 64 paper 8 ink attr
  • basic attr
  • basic attr formula
  • basic attr flash
  • attr bright
  • attr basic flash beight ink
  • attr basic flash bright ink

Copyright © 2024 World of Spectrum