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.007s
<1234567…34>
  • 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
  • how do i set this code up, so i can print more than one line of text?well i got it working but how do i set this code up, so i can print more than one line of text? with a loop or something? not sure where to start on …

    ... command, y, x,**,
    ;paper, **,ink, **, flash
    defb 19, 1, 21 ...
    digital digital June 2020 Assembler
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... "and $38" wipes out the ink, flash and bright :-)

    you already loose the INK in the old code above ... that C already is without INK-value[/QUOTE]

    ink value (it's ... also borrowing from the flash and bright and you ...
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Development
  • 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 …

    ... because if you have black ink on white paper, you'll ... 'INVERSED' chars to be white ink on black paper.

    FLASH*128 )+( BRIGHT*64 )+( PAPER*8 )+INK. FLASH and BRIGHT here ...
    Shaun.Bebbington Shaun.Bebbington July 2010 Sinclair Basic
  • ZX-Paintbrush 2.3 publishedDear readers, Today, I published version 2.3 of ZX-Paintbrush. Inspirated by kgmcneil, I decided to follow his ideas and implemented a switchable p…

    ... "T" to turn all Paper/Ink/Flash/Bright settings to Transparent (theres ...
    kgmcneil kgmcneil March 2013 Emulators
  • ZX-Paintbrush 2.3 publishedDear readers, Today, I published version 2.3 of ZX-Paintbrush. Inspirated by kgmcneil, I decided to follow his ideas and implemented a switchable p…

    ... "T" to turn all Paper/Ink/Flash/Bright settings to Transparent (theres ... be free for Bright and Flash functions as well. T for ...
    clausjahn clausjahn March 2013 Emulators
  • ZX-Paintbrush 2.3 publishedDear readers, Today, I published version 2.3 of ZX-Paintbrush. Inspirated by kgmcneil, I decided to follow his ideas and implemented a switchable p…

    ... "T" to turn all Paper/Ink/Flash/Bright settings to Transparent (theres ...
    clausjahn clausjahn October 2013 Emulators
  • 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…

    ... "+STR$ f: PRINT BRIGHT 1; INK 0;AT 10,f;"\a ...
    Tom-Cat Tom-Cat March 2006 Games
  • 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…

    ... : E : SYM + 6
    ATTR : E : SYM + L NEW : ... X RND : E : T
    FLASH : E : SYM + V RUN : ... : KLC : SYM + A
    INK : E : SYM + X STR$ ...
    icabod icabod March 2008 Sinclair Basic
  • Any MCODE programmers fancy a challenge?Hi Folks, I have been using the Micro-Print utility in the archive and found it to be really good. It is the one that provides 32, 36, 42, 51, 64 a…

    ... screen
    120 PAPER 0: INK 7: BRIGHT 0: PAUSE 1 ... REM ar=ATTR
    370 REM INK+(8*PAPER)+BRIGHT+FLASH
    380 ...
    Paddy Coleman Paddy Coleman November 2010 Development
  • 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…

    ...
    fastcall
    flash
    for
    ...
    if
    ink
    inkey
    ... />
    asc
    attr
    csrlin
    hex ...
    pkersey pkersey February 2014 Development
  • The flash feature (graphics attr)Flash feature on speccy is not an artist-friendly thing. But sometimes it is useable... Do you know any good use of flash in games? For example I re…

    Flash feature on speccy is not ... know any good use of flash in games? For example I ... screens with tricky use of flash (the big classic is JSW ...
    endi endi December 2016 Games
  • 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…

    ... POKE 63696,c: REM random ink, white paper

    500 ...
    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…

    ... pixel, one color each with attr.- mock screens at my site ... as 8x2 ( half paper and ink, so it kinda looks like ... to have the same bright/flash attr.)which you already know, i ...
    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…

    ... br /> - Blue ink? (should be blue!)
    - FLASH? (should be ... vars to store print position, attr, etc. It has its ... code clearly shows that flash/bright take 0 and ... not '0'/'1') and ink/paper take 0-7 as ... in hola.c and the ink and flash worked.

    ...
    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…

    ... controlcharacter and read it with ATTR(y,x) for collission.
    5 INK 0: PAPER 7: CLS
    INK 2; CHR$(144): REM UDG A
    10 IF ATTR(Y ...
    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 ... 's a particular, unique ink/paper/bright/flash combination.

    The ...
    Dunny Dunny July 2005 Sinclair Basic
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... 0xff for transparent
    uchar attr; // +7 sprite colour, logically ... change the "attr_mask" and "attr" members to change the ... set to INK only so that background PAPER/FLASH/BRIGHT ... bounds -- the RED-INK sprites in one rectangle ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Background image with SP1 and Z88DKWhat is the prefered way to place an entire (or very large) image in the background when using SP1? Should I convert it to a long (32*24=768 ) list o…

    ... /> ; 16 ink N*
    ; 17 paper N*
    ; 18 flash N*
    uchar attr; // +6 current attribute
    struct ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Basic Programming Routine Needed . . . HELP!Hello there, I though i would try and redo an old classic (pacman) in basic . . . BUT . . . I can't remember how to write the code to see what chara…

    ... SCREEN$ will work.

    ATTR(y,x) will give you ... (128 * flash setting) + (64 * bright setting) + (8 * paper colour) + (ink colour). Testing ...
    gasman gasman June 2006 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. …

    ... , or at least anything without FLASH or BRIGHT set anywhere, but ... modifications to deal with existing FLASH attributes so here's a ... 31
    30 LET b = ATTR (y,x)
    40 IF ... y-22,x; PAPER 8; INK 8; FLASH 8; BRIGHT 1; OVER ...
    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. …

    ... y-22,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
  • 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 ... y-22,x; PAPER 8; INK 8; FLASH 8; BRIGHT 1; OVER ...
    monty.mole monty.mole November 2006 Development
  • TommyGun 0.9.x updates** Should be available via the utilities page soon! Please be patient :-) ** I'll be posting all future updates in this thread, instead of creating …

    ... attr bits:
    00000000
    \ ink
    \ paper
    \ bright
    \ flash ... byte showing the ink/paper/bright/flash portions with the ... out corresponding bits in the attr byte written.

    Alcoholics Anonymous Alcoholics Anonymous March 2007 Development
  • TommyGun 0.9.x updates** Should be available via the utilities page soon! Please be patient :-) ** I'll be posting all future updates in this thread, instead of creating …

    ... these attr bits:
    00000000
    \ ink
    \ paper
    \ bright
    \ flash ... ". The output would be (attr_mask,attr) pairs with garbage in attr_mask ...
    Alcoholics Anonymous Alcoholics Anonymous March 2007 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…

    ... TO -RND*8:
    PRINT INK 2*(b>-9);AT ... )*(j=0):
    LET c=ATTR (y,x+3)>41 ... -i)*(j=0): LET c=ATTR (y,x+3
    )> ...
    Einar Saukas Einar Saukas August 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…

    ... players' colours in both the ink and paper bits (if ... holds an attribute with red ink and red paper). The ... /> [code]
    // bit 6 = xor flash in plot

    if ... d_ColourRect(struct sp1_Rect *r, uchar attr, uchar attr_mask)
    {
    ...
    Alcoholics Anonymous Alcoholics Anonymous September 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…

    ... extract the player colour's ink into "g_uchar0".

    ink only no flash, keeping background paper and bright
    cs->attr ... mask (attr_mask) and attribute (attr) used to colour the sprite ... to "g_uchar0" consisting of ink only, the value obtained ...
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Development
  • another c64 vs. Speccy site...[url]http://c64vsspectrum.com/[/url] 25 years and we are still brawling.. ;)

    ... bits used for attr control);

    c) No FLASH, please! Much ... better to have separate BRIGHT levels for ink and ...
    TVzombie TVzombie January 2008 Games
<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
ink 2.5K 5.8K
flash 5.4K 7.5K

Related Threads

  • 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…
  • Spectrum Flash IntroYou can see Speccy Flash Intro here:<br /> [url="http://nd.vitebsk.net/speccy.php"]http://nd.vitebsk.net/speccy.php[/url]
  • The Flash Beer TrilogyIt's a new full game by WSS Team (2002) with everything which connects for ZX-Spectrum (for ex. loader, intro-screen, cassette with inlay card). The …
  • Flash Beer ZX Competition!!!The first, who will send us the answers of 2 questions about the game, will take 5 EUROs and a FREE dedicated cassette of Flash Beer Trilogy!<br /> <…
  • Dizzy as a flash and java gameGo here [url="http://necromanthus.com"]http://necromanthus.com[/url], enter or skip intro, click on flash games. There's a Dizzy game, presumably der…
  • Flash Beer crashes with Spectaculator 6.2I've been trying to get the game Flash Beer to work with Spectaculator 6.2. Whenever I try and load the TZX files, the emulated spectrum resets. I've…
  • Speccy Flash Mobbing....I got realy fed up with PC world the other day, and I and sure that many other computer users have as well at some point.<br /> <br /> So I think its…
  • Flash game using Spectrum game characters[url="http://www.newgrounds.com/portal/view/201329"]http://www.newgrounds.com/portal/view/201329[/url]
  • Flash GamesDo you like games written in Macromedia Flash? If so, what are your fovourite ones? As for me I like the Russian flash game in which you visit the MT…
  • Compact Flash IDE adapterHELP! I lost the link, can someone give me a prod in the right direction. Thanks

Related Searches

  • flash
  • find screen position of all attr
  • compact flash
  • compact flash image
  • z88dk paper ink
  • flash border
  • ink 8
  • ink 9
  • border flash no audio
  • change ink and paper colour
  • change ink and paper colour basic
  • attr p
  • dump compact flash
  • black square attr
  • flash 128 bright 64 paper 8 ink
  • basic attr flash
  • attr basic flash beight ink
  • attr basic flash bright ink
  • attr int flash
  • attr ink flash

Copyright © 2024 World of Spectrum