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.003s
<1…567891011…34>
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    ... thought the poor relation of ATTR and POINT was SCREEN$. I ...
    Dunny Dunny May 2006 Sinclair Basic
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    ... to add colour and use ATTR or a well chosen POINT ...
    Matt_B Matt_B May 2006 Sinclair Basic
  • The Sing-clair ProjectFollowing on in a way from [url=http://www.worldofspectrum.org/forums/showthread.php?t=11800]this[/url] thread, I have had an idea. How about if we …

    ... screen
    little bit of ATTR data hitching a ride... and ...
    Digital Prawn Digital Prawn May 2006 Chit chat
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... 't work!. The sprite position calculation part seems to be fine ...
    48K 48K 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…

    ... current attribute mask
    uchar attr; // +6 current attribute
    struct ...
    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…

    ... $ in full (6912 bytes with attr data following the first 6144 ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • 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…

    ... and tile pairs
    uchar attr; // +0 colour
    uchar tile ...
    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 ...
    gasman gasman June 2006 Sinclair Basic
  • 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…

    ... has the slight advantage over ATTR that you don't have ...
    Matt_B Matt_B June 2006 Sinclair Basic
  • 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…

    Thanks for the quick responses - just tested the attr(a,b) and it works exactly as i need - may still use the array method though!
    What a fantastic community the spectrum STILL has!!!
    Regards and appreciation
    Drew
    DrewPee70 DrewPee70 June 2006 Sinclair Basic
  • RealXThis may be a dumb question but will RealX ever get released?

    ... where the ULA reads display/attr bytes from the display memory ...
    Dunny Dunny July 2006 Emulators
  • RealXThis may be a dumb question but will RealX ever get released?

    ... where the ULA reads display/attr bytes from the display memory ...
    Luca Luca July 2006 Emulators
  • Problem with rotating procedureHi folks! I wrote a proc in z80 asm, based on: x' = x * cos (z) - y * sin (z) y' = x * sin (z) + y * cos (z) I used a precalculated table of sin a…

    ... accurate 8.8 fixed point calculation. Anyway, the signed X * sin ...
    baze baze July 2006 Development
  • CLEAR does not RESTORE the DATA pointer??According to the Spectrum manual, one of the things that a CLEAR command does RESTORE the DATA pointer. Either it doesn't actually do this, or some…

    I compiled this list of ones that I had come across for css. However they are more an indication of last-minute changes than any poor standards. The book remains one of the best manuals ever.
    The ZX81 manual had a minor error in the RND explanation ...
    Geoff Geoff September 2006 Sinclair Basic
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... no flaw in the 3D calculation. It's really ugly though ...
    JamesD JamesD September 2006 Sinclair Miscellaneous
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... no flaw in the 3D calculation. It's really ugly though ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Sinclair Miscellaneous
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... /> Probably less pixel means less calculation, even if video-memory size ...
    piters piters September 2006 Sinclair Miscellaneous
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... ]Probably less pixel means less calculation, even if video-memory size ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Sinclair Miscellaneous
  • Pixel Explosion CodeJust a little snippet to cause explosive effects. It uses table lookups for the screen address, and can handle up to 32 pixel particles. A particle…

    And when calculation is only called once,
    then place calculationin the code, saves

    1 call and 1 ret = 17 + 10 = 27 T states
    Dr BEEP Dr BEEP September 2006 Development
  • Graphics in Basic??What is the fastest way to draw high rez graphics in Basic. Andrew.

    ... set but not UDGs. Though ATTR is the more common way ...
    Alcoholics Anonymous Alcoholics Anonymous October 2006 Development
  • Graphics in Basic??What is the fastest way to draw high rez graphics in Basic. Andrew.

    ... set but not UDGs. Though ATTR is the more common way ...
    Scottie_uk Scottie_uk October 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
  • 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. …

    ... 31
    30 LET b = ATTR (y,x)
    40 IF ...
    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. …

    ... ;" ";
    40 IF y64 OR (ATTR(y,x)>127 AND ...
    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 ...
    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. …

    ... ,a+((a127 AND a64 OR (ATTR (y,x+1)>127 ... AND ATTR (y,x+1)64 OR ... ,x-1)>127 AND ATTR (y,x-1)64 OR ... +1,x)>127 AND ATTR (y+1,x)64 OR ... (ATTR (y-1,x)>127 AND ATTR (y-1 ...
    Arda Arda November 2006 Development
  • Ways to use double buffering in basicI was meddling with woody's print stream code where you can print characters at any pixel location on screen. I was playing with 12 sprites, very ann…

    ... goto 3300
    3130 if attr(y,x)=48 then let ...
    NotFound NotFound November 2006 Sinclair Basic
  • Converting ZX Sprites to imagesSo, having written a program to convert images into ZX sprites, I now want something that I can use to convert sprite data into an image. The idea is…

    Hoorah!
    A quick change of the cursor mode and I can paint useful colours (rather than ATTR 0) over the image, then export as a bundle of .png files. Handy.
    Thanks chap.
    icabod icabod November 2006 Development
  • Timex Sinclair 2068Hi guys. This is my first post here, the first of many, I hope.. :) I have a Timex Sinclair 2068 but don?t know much about it. It was given as a gif…

    ... you need a bit of calculation you're doomed to have ...
    na_th_an na_th_an November 2006 Games
  • tips on optimizing assemblyI wrote a small routine to rotate right a whole screen character line complete with attributes. This is my third ever assembly routine, so I guess i…

    ... row
    ; convert hl to attr address, not shown
    ld ...
    Alcoholics Anonymous Alcoholics Anonymous November 2006 Development
<1…567891011…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
attr 692 1.3K
calculation 590 660

Related Threads

  • Pentagon 8x1 attr mode - what's the POKE?There isn't one. It's an OUT.
  • Big un-attr'd spritesHi all,<br /> <br /> I'm trying to find or come up with a generic sprite routine that can handle large (128x64) sprites. I've looked at DrwSprNC in t…
  • Using ATTR detection in machine codeIs there a ROM routine that can be called that reads the ATTR value of a co-ordinate?
  • Optimize this: Distance CalculationBased on a taylor series expansion, suggested by NA_TH_AN, I've got this so far, which is far far faster than SQR(X^2+y^2)<br /> <br /> Formula is: i…
  • Calculating screen address to alternative ATTR area?I'm using this small snippet of code to convert a screen address to an attribute cell address...<br /> <br /> [CODE]AttrDE: ld a, d ;…
  • Column and row numbers to attr address?[FONT=Calibri][SIZE=3]Can anyone provide me with a code snippet the will convert the column and row numbers into the screen attribute address. For ex…
  • Jetset Willy ATTR Buffer 2Does anyone understand how Jetset Willy uses the system vars area as screen ATTR buffer 2?<br /> <br /> H5C00 D23552.<br /> <br /> Thanks
  • 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…
  • ive found an attr scrolling routine but i want to remove the smaller scroller within it, etc.https://pastebin.com/K4nG3xbX<br /> <br /> also i would like to be able to change the colours and not have a shadow. <br /> <br /> http://www.wor…

Related Searches

  • find screen position of all attr
  • attr p
  • black square attr
  • attr
  • collision attr
  • attr collision
  • attr basic
  • attribures calculation
  • attributes calculation
  • flash 128 bright 64 paper 8 ink attr
  • multiple collisions attr
  • collisions attr
  • collision screen attr
  • attr collision below
  • attr y x
  • attr behold
  • attr behind
  • attr string
  • attr string change
  • attr value tsring

Copyright © 2024 World of Spectrum