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.026s
<1234567…34>
  • Problem with PRINT #stream on +128kWorking on a +128k, I want to choose whether all report output goes to screen or printer, so I use PRINT #stream where stream = 2 or 3 for screen or …

    ... if you have black ink on white paper, you'll need the ... ' chars to be white ink on black paper.

    The formula ... working this out is ( FLASH*128 )+( BRIGHT*64 )+( PAPER*8 )+INK. FLASH and BRIGHT here can only be one ...
    Shaun.Bebbington Shaun.Bebbington July 2010 Sinclair Basic
  • ive found an attr scrolling routine but i want to remove the smaller scroller within it, etc.https://pastebin.com/K4nG3xbX also i would like to be able to change the colours and not have a shadow. http://www.worldofspectrum.org/pub/sin…

    ... some other value, where value = FLASH*128 + BRIGHT*64 + PAPER*8 + INK
    So $3E = 0 + 0 ... + 111 + 110 = white PAPER + yellow INK.

    From the original ...
    Battle Bunny Battle Bunny November 2017 Development
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... by doing maths like (bright * 64) + ( paper * 8 ) + ink. Separating them is harder.< ... assuming you haven't used FLASH.

    The ... x, then do ( 8 * INT ( x / 8 ) ) + ink. In other words, ... OVER 1 and INK 8, BRIGHT 8, a set PAPER colour and printing ...
    joefish joefish June 2014 Sinclair Basic
  • Struggling with this routine... Any ideas?I'm trying to write a routine that plots 3 pixels to decrease the energy bar in the top right corner by 5 units, but it just wont have it! There mus…

    ... = ATTRIBUTE FILE ADDRESS
    a = ATTR(b,c)
    DF-CC ... de,(DFCCP)
    ld b,8
    NXTROW ld a,(hl ... a,(hl)
    add a,8
    ld (hl),a
    38H = FLASH 0, BRIGHT 0, PAPER 7, INK 0
    ld (ATT ...
    Shando Shando July 2013 Development
  • printing to the screen using pokei remember there being a way to print to the screen using pokes, which would allow you to print a character anywhere in the 175x255 matrix. can anyon…

    ... jr c,OK
    rst 8
    defb 4 ;report "5 ... attributes
    ldir ;FLASH 1, BRIGHT 1, PAPER 5, INK 2
    ret< ... /> defm " (UK) Ltd"
    ;128+CHR 46="."
    defb 174 ...
    Battle Bunny Battle Bunny August 2018 Development
  • printing to the screen using pokei remember there being a way to print to the screen using pokes, which would allow you to print a character anywhere in the 175x255 matrix. can anyon…

    ... jr c,OK
    rst 8
    defb 4 ;report " ... attributes
    ldir ;FLASH 1, BRIGHT 1, PAPER 5, INK 2
    ret< ... /> ; defm " (UK) Ltd"
    ;128+CHR 46="."
    defb 144
    digital digital August 2018 Development
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    ... : PAPER 0: INK 7: CLS
    110 REM FAST
    120 BRIGHT 1 ... a,PEEK a-(64 AND PEEK a>64): NEXT a
    BRIGHT 0; PAPER 8; INK 8;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    170 REM
    240 REM PAPER 8
    250 LET c$=c ...
    Paddy Coleman Paddy Coleman May 2012 Development
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    ... PRINT AT 0,0; BRIGHT 0; PAPER 8; INK 8; OVER 1;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,;[/code][/QUOTE ... org/infoseekid.cgi?id=0027130"]64#4[/URL] has support ... PRINT AT 0,0; BRIGHT 0; PAPER 8; INK 8; OVER 1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,[/code]
    Einar Saukas Einar Saukas May 2012 Development
  • printing to the screen using pokei remember there being a way to print to the screen using pokes, which would allow you to print a character anywhere in the 175x255 matrix. can anyon…

    ... de,(23675)
    ld bc,8
    ldir
    < ... jr c,OK
    rst 8
    defb 4 ;report ... br /> ldir ;FLASH 1, BRIGHT 1, PAPER 5, INK 2
    ret ... SCREEN
    ld b,8
    L1: ld a ...
    Sokurah Sokurah August 2018 Development
  • Dead Spectrum SocietySo I'm getting back into real Sinclair computers rather than emulators. During the summer months I was lucky enough to buy a working ZX81 and was giv…

    ... area is filled with flash 0, bright 0, paper 0, ink 2, which causes ... is: the paper area should be black paper, with red ink, but what ... I was seeing was green paper ... , with... maybe red or black ink. If we ...
    mcleod_ideafix mcleod_ideafix October 2011 Hardware
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    That's what I did back in the day, but I used four commas :D

    [code]100 PRINT AT 0,0;:FOR i=0 TO 10:PRINT BRIGHT 0; PAPER 8; INK 8; OVER 1;,,,,;:NEXT i[/code]
    na_th_an na_th_an May 2012 Development
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    In fact, this may be faster... And not very massive:

    [code]100 PRINT AT 0,0; BRIGHT 0; PAPER 8; INK 8; OVER 1;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,;[/code]
    na_th_an na_th_an May 2012 Development
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    ... ]100 PRINT AT 0,0; BRIGHT 0; PAPER 8; INK 8; OVER 1;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,;[/code][/QUOTE ...
    Arda Arda May 2012 Development
  • Change PAPER and BORDER colours from machine codeHow do you go about changing PAPER and BORDER colours from machine code? I've forgotten the system variables for border and paper.

    ... usual way:
    D7 Flash, D6 Bright, D543 Paper, D210 Ink.
    Whereas writing ... the BORDER colour from the PAPER colour in BORDCR, so the ...
    Battle Bunny Battle Bunny July 2014 Development
  • Pixel Color IncorrectHello i am new to the ZX Spectrum and z80 assembly language. I am coding my first game and am having a small problem. I am trying to make the botom r…

    What FrankT said.

    You can set the attribute for any combination by using the formula:
    attr = 128*flash + 64*bright + paper*8 + ink

    where, flash = 1/0 (on/off), bright = 1/0(on/off), paper = 0..7, ink = 0..7
    Arjun Arjun June 2011 Development
  • 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. …

    ... fluke of syntax (AND 64 will always return TRUE) ... at least anything without FLASH or BRIGHT set anywhere, but ... to deal with existing FLASH attributes so here's ... br /> 30 LET b = ATTR (y,x)
    40 ... #0; AT y-22,x; PAPER 8; INK 8; FLASH 8; BRIGHT 1; OVER 1; " "
    Matt_B Matt_B November 2006 Development
  • 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. …

    ... ,x; PAPER 8; INK 8; FLASH 8; BRIGHT 1; OVER 1;" ";
    40 IF y64 OR (ATTR(y ... ,x)>127 AND ATTR(y,x)
    gasman gasman November 2006 Development
  • Amazing Short Type-InsHey all ! Been having some pretty stressfull days lately so I tought I would type in some games. There was a very nice type-in book here in Slovenia…

    ...
    30 LET b$="8": BORDER 2: PAPER 7: LET c=0 ... $+"10"+STR$ f: PRINT BRIGHT 1; INK 0;AT 10,f;"\a ...
    Tom-Cat Tom-Cat March 2006 Games
  • 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. …

    ... 110
    50 LET b = ATTR (y,x)
    60 IF ... #0; AT y-22,x; PAPER 8; INK 8; FLASH 8; BRIGHT 1; OVER 1; " "
    90 ...
    monty.mole monty.mole November 2006 Development
  • 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. …

    ... needing to set each attribute 64 times.

    [CODE]10 ...
    30 PAPER 8: INK 8: FLASH 8: OVER 1
    40 PLOT BRIGHT 1;g,f ...
    50 PLOT BRIGHT 1;g,f
    60 ...
    Matt_B Matt_B November 2006 Development
  • 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. …

    [CODE]
    10 FOR y = 0 TO 23
    20 FOR x = 0 TO 31
    30 LET b = ATTR (y,x)
    40 IF b>127 THEN LET b=b-127
    50 IF b>63 THEN GOTO 80
    60 IF y>21 THEN PRINT #0; AT y-22,x; PAPER 8; INK 8; BRIGHT 1; OVER 1; " "
    70 IF y
    monty.mole monty.mole November 2006 Development
  • More colours II (Was: Most popular new features?)The suggested 4xCLUT multi-colour solution never took off.

    ... paper and possibly one border. Would it help if say, only FLASH ... 0 BRIGHT 0 PAPER 0 could be accessed ... the border and the paper of a whole row, ... screen.

    64 colours really is enough to ... in the border (just 8 colours) but I wouldn ...
    joefish joefish November 2009 Emulators
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... : 8=PAPER 1 (should be 0..7 *8 ), 7=INK 7 (0..7), 64=BRIGHT 1 ... (either 0 or 64). You can make other expression: (paper*8 )+ink+(bright*64), where paper ... and ink are 0..7, and ...
    Shiru Shiru June 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... V7
    120 LET p=.8:
    LET b=n*p ... Screen
    250 BRIGHT 0:
    PAPER 0:
    INK 7:
    PAUSE ... ):
    RANDOMIZE :
    LET n=64:
    DIM a$(n,1 ... ;
    AT 5,0;"Progress : "; PAPER 5;l$(1,1 TO ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... 110 REM COMB SORT V4.8
    120 LET b= ...
    210 BRIGHT 0:
    PAPER 0:
    INK 7:
    ... 0,0;"COMB SORT v4.8";
    AT 2,0 ... =0:
    LET b=64:
    DIM a$(b, ... =0:
    PRINT AT 8,0;"Array Contents...":
    ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... 110 REM COMB SORT V4.8
    120 LET b ... =INT (n*.8):
    IF ba$(a ... Screen
    210 BRIGHT 0:
    PAPER 0:
    INK 7:
    LET b=64:
    DIM a$(b): ... 0:
    PRINT AT 8,0;"Array Contents...":
    ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • SE Basic Type-ins^Pete suggested creating a sticky thread for SE Basic discussion. I thought a Type-ins thread might also be useful. Up to the mods if they want to ma…

    This demo uses PAPER 8, FLASH 8, and BRIGHT 8, to set up a 24 ... /> [code] 10 BORDER 0: PALETTE 64,1
    20 POKE USR ... x-22,y; PEN 0; PAPER 8; FLASH 8; BRIGHT 8;CHR$ 144
    320 PAUSE ... #0;AT x-22,y; PAPER 8; FLASH 1; BRIGHT 0;" "
    350 GO ...
    chev chev April 2011 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
flash 5.4K 7.5K
128 9.4K 14.8K
bright 3K 4.5K
64 6.9K 10.9K
paper 6.8K 9.8K
8 30.2K 46.2K
ink 2.5K 5.8K
attr 692 1.3K

Related Threads

  • What is difference between "128" and "128+"?What is the difference between a "Spectrum 128" and a "Spectrum 128+" ??<br /> <br /> And I am not talking about the different looking +2's, etc.<br …
  • Changing MP3's from 128+ to just 128I have a number of MP3's that are bigger than 128 bit rate and i want to convert them all in one go to 128. <br /> <br /> Could you guys recommend s…
  • Change PAPER and INK, but nothing else?Can you in BASIC change the colour attributes in the screen without changing what is already printed at that location? I.e. change the PAPER and INK,…
  • Enterprise 64/128 thingimagigYeah, I know I'm a dim-bulb but I'm curious...<br /> <br /> Whats this do?<br /> <br /> [url]http://cgi.ebay.co.uk/ENTERPRISE-64-128-SPECTRUM-EMULATO…
  • Famous 8 x 8 graphicsHi All,<br /> <br /> Part of a game I'm writing involves collecting falling 8x8 graphics, one level will be fonts (got this bit sorted) and another w…
  • List of 128 only games and 128 games that were different to the 48k versions.Can anyone think of any 128 games that were different to 48k and i'm not talking about music enhancments but more graphical,or speed or bigger maps e…
  • bright light bright lightfeel like a flippin gremlin today... due to an odd light bulb..<br /> <br /> dunno if anyone else has had this with fluorescent light , the tube sort…
  • ANN: Lunar Jetman for Window Phone 7/8/8.1Finally... after work getting in the way of play... it's released!!!<br /> <br /> Lunar Jetman is a tough cookie (pun intended :lol: ), in my opinion…
  • FS] Enterprise 64, 128 and SVI 728 MSXI have a few juicy spares or repairs machines up on auction atm [URL="http://www.ebay.co.uk/sch/microsprout0161/m.html?item=281382588559&amp;hash=ite…
  • The flash feature (graphics attr)Flash feature on speccy is not an artist-friendly thing. But sometimes it is useable...<br /> Do you know any good use of flash in games? For exampl…

Related Searches

  • z88dk paper ink
  • ink 8
  • change ink and paper colour
  • change ink and paper colour basic
  • paper 8 flash 128
  • flash 128 bright 64 paper 8 ink
  • paper same ink reveal
  • attr paper
  • attribute flash bright
  • basic attr flash
  • attr bright
  • attr bright basic
  • attr basic flash beight ink
  • attr basic flash bright ink
  • paper 8
  • paper 8 transparent
  • 01320 print at 0 paper 8 ink a message that is easy to read
  • 2000 let atr attr y x tinta 8 int papel 63 return
  • alien 8 128
  • attr ink flash

Copyright © 2024 World of Spectrum