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.008s
<1234567…34>
  • Detecting a Kempton joystick...I've been playing with the idea in the games I'm currently developing so that once the Kempston joystick has been selected you can hold FIRE down to …

    ... ULA is pulling screen and attr data off of RAM.
    value 56", hence my line of ...
    BloodBaz BloodBaz January 2008 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…

    ... rather than than a (mask,attr) pair. I will have ... /> I construct the mask value then apply the mask to ... the attribute value before it is written ... writing out a constant value x number of times?< ... only writes out 1 mask value (with the attribute mask ...
    Kiwi Kiwi February 2008 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…

    ... 247028]I construct the mask value then apply the mask ... to the attribute value before it is written ... value x number of times?
    [/quote]

    The (attr_mask, attr ... mask value to all sprite characters when outputting the (attr_mask, attr) ...
    Alcoholics Anonymous Alcoholics Anonymous February 2008 Development
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    [QUOTE=bigjon;256767]I started to think about doing a lightforce-style scroller[/QUOTE]

    Looks promising!

    Notice that instead of this:

    [CODE]
    s-(IN 64510
    Einar Saukas Einar Saukas March 2008 Development
  • 'orange' on a spectrumalways wondered why spectrums could never seem to achieve the colour orange? wasn't one of the default colours, and don't remember seeing anything th…

    ... it's probably the right value.[/QUOTE]

    Thanks for ... by the blockiness of the ATTR squares though. Of course you ...
    Digital Prawn Digital Prawn August 2008 Sinclair Miscellaneous
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... =fog;447728]it would be "ATTR" ? $AB? for bright
    $DA ... codes are those with a value under 32.

    So ...
    Jonathan Harston Jonathan Harston June 2010 Sinclair Basic
  • Screen$ command, ROM routineHi All, Does anyone know which ROM routine to call for the Screen$ command (and/or the ATTR command)? Any comments on how well it works or the spee…

    ... Screen$ command (and/or the ATTR command)? Any comments on how ... />
    SCREEN$ will store the value on the stack and you ... must get the value from it.

    I ...
    Dr BEEP Dr BEEP January 2011 Development
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... is that two bytes (screen + attr) must be read at almost ... attribute address are of same value, and that's all you ... /> [code]
    ROW HEX RASTER/ATTR BIN RASTER/ATTRIBUTE
    1 ...
    TVzombie TVzombie February 2011 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 …

    ... /> 8420 IF (r=1 AND ATTR(x,y)
    Jimmy Jimmy June 2011 Games
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... [B]POKE [/B]the [B]ATTR P [/B]system variable and ... />
    The value [B]POKE[/B]'d to [B]ATTR P [/B ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... moving the cursor within a value and inserting additional characters. Even ... REM
    790 POKE p,ATTR (i2,i1+i7): PRINT AT ...
    Paddy Coleman Paddy Coleman August 2011 Sinclair Basic
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…

    ... on c64.. ya get the value of the keyboard buffer (or ... k=23560
    230 REM ATTR P
    240 LET p ... =23693
    250 REM Setup ATTR storage
    260 GO SUB ...
    Paddy Coleman Paddy Coleman October 2011 Sinclair Basic
  • 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 …

    ... /> where 23693 is the [B]ATTR P[/B] system variable.

    where [B]ATTR[/B] is:

    INK ... then I would POKE a value of 86 (6+(8*2 ...
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • Is there a limit to the numberof variables you can have in BASIC..... Reason I ask is I've got an idea....but using my "lowest common denominator" approach to code I fear that I'…

    ... a cause;598080]Use the ATTR command to check screen locations ... what I'm reading says ATTR assigns things like colour, flash ... 'm looking to assign a value

    so....

    Wookiee Wookiee January 2012 Sinclair Basic
  • IF....AND......THEN statementsSorry...more questions Now initially I thought this should work....but now thinking about it it is doomed to fail as if the player's x co ordinate a…

    ... black paper?

    Your ATTR 1 will match any character ... ,5;"a"
    30 PRINT ATTR (20,5)

    < ... line 2090 checks the same value of xred, but if ... is not checking the same value of xred as was checked ... what I want is the value of redpill to be ...
    Wookiee Wookiee February 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    At a guess it's caused by STR$ switching to channel R and thus forgetting about the temporary value in ATTR-T.
    chev chev May 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... STR$, having saved the channels value before setting channel R, restores ... the value and then calls the channel ... , and that sets ATTR-T to hold the value of ATTR-P.
    chev chev May 2012 Sinclair Basic
  • Work out attribute location in MCHow do I go about writing a MC routine which calculates the attribute address from a set of PRINT co-ordinates. I know you in basic you multiply the…

    ... (10) = 11000(2). Shifting this value 5 times left moves bit ... bits 0 and 1), buts value of bits 0-2 do ... ).

    2. Start of attr ram is 0x5800(16) = 0101 ...
    tstih tstih August 2012 Development
  • 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 ... and sets ATTRIBUTES to the value given in ?a?.

    Shando Shando July 2013 Development
  • Can a guy that traveled on the short bus learn machine code...Hmmm So after some soul searching I figured it was time to finaly nail spectrum machine code. Its so frustrating to sit infront of a basic listing w…

    ... . (I want to bit diddle ATTR-P) but the example I ... ; LD A,02 [I]Load value of the chanel I want ...
    wibble wibble September 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ...

    ; THE 'FETCH A VALUE' SUBROUTINE
    org 0x1c56
    ld hl, (attr_t) ; attr-t and mask-t to ... /> ld (attr_p), hl ; HL to attr-p and mask-p
    ld (hl), a ; write new value
    res 6, (iy + _p_flag ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ld a, b ; second value
    rst print_a ; print ... character
    call class_1 ; get value
    set 7, (iy ...
    call val_fet_2 ; get value
    rst get_char ; get ... c ; value to A
    call co_change ; update attr-t
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... value to A
    xor e ; mask-t
    and d ; attr ... set new attribute value
    ret ...
    chev chev November 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ld hl, (attr_t) ; get attr-t
    push hl ; ... call cl_set ; give matching value to df-cc
    ...
    chev chev November 2013 Development
  • P47 Thunderbolt Colour/Attribute hacking?I've seen someone (can't remember who now, sorry) hacking into monochrome games such as After The War and Outrun Europa and adding/changing the colou…

    ... PAPER blue & INK cyan (ATTR=1*8+5=13), the ... continuous chunk of the same value as the playing area is ... a row are: 00 00 {ATTR*28} 00 00.

    Battle Bunny Battle Bunny December 2013 Games
  • P47 Thunderbolt Colour/Attribute hacking?I've seen someone (can't remember who now, sorry) hacking into monochrome games such as After The War and Outrun Europa and adding/changing the colou…

    ... of each pair is the ATTR code for the main playing ... the ATTR colour scheme for all levels to the (HL) value - and ... /> ld hl,$8A11 ;start of ATTR codes list
    ld (hl ... /> ld bc,15 ;size of ATTR codes list - 1
    ldir ...
    Battle Bunny Battle Bunny December 2013 Games
  • SpecBAS 0.800 Released!Hi folks, it's that time again for another release. I was going to add a few more features, but I have other projects on the go at the moment, and it…

    ... : CLS
    30 REM some value checks
    40 INK 1 ... ,0): PRINT ATTR (0,1): PRINT ATTR (0,2): PRINT ATTR (0,3 ... ): PRINT ATTR (0,4 ... ): PRINT ATTR (0,5 ...
    Wookiee Wookiee January 2014 Sinclair Basic
<1234567…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
value 9.4K 14.6K
tsring 0 0

Related Threads

  • rip off or value for moneyhello everyone<br /> <br /> I am slowly starting to get my sinclair spectrum collection together again when i noticed this auction on ebay 8154099500…
  • Key press to ASCII valueI need a bit of code that will give me an ASCII value when the key is pressed. I only really need a-z. I tried using the following code but it only s…
  • TZX Hardware Type value errorsIn the Turtles Coinop TZX there is a Hardware Type block that has a number of hardware values of 04 and one of 49!<br /> The TZX spec states that the…
  • finding largest value (z80 assembly)suppose we have to write z80 program which requires to find the biggest value in a block of memory starts from the address 101h until address stored …
  • Pentagon 8x1 attr mode - what's the POKE?There isn't one. It's an OUT.
  • Value for money?As part of the misses christmas present I bought her "Professor Layton and the Curious Village" on the DS. This was after she had seen it advertised …
  • Would you want instructions and back cover scan for Value Pack (Beau Jolly)Just bought this in an Oxfam for ?2! Gutted it is missing the tape for Zip Zip (or whatever it's called) and Alchemist, but whoever owned it put an o…
  • Are you getting value for money from you MP[url]http://spreadsheets.google.com/pub?key=p_Q3_-CakkCvX7ZpN3GexUA[/url]<br /> <br /> Is a page showing how much every MP claimed in expenses<br /> …
  • Desperately need help with .TAP file bug (probably a wrong value error)I'm trying to create a .tap file with Java and have been following the specification at <br /> [url]http://www.zxmodules.de/fileformats/tapformat.htm…
  • Good ValueA couple of weeks ago I was in B &amp; Q and they had a do-it-yourself freesat setup of dish, LNB, Reciever, cables and fixings for ?40.<br /> <br />…

Related Searches

  • find screen position of all attr
  • value
  • add constant value to ix
  • games value
  • attr p
  • black square attr
  • attr
  • initial value z80
  • attr calculation
  • routine value cells
  • routine same value cells
  • collision attr
  • poke fix value
  • find value in memory
  • attr collision
  • attr basic
  • flash 128 bright 64 paper 8 ink attr
  • multiple collisions attr
  • collisions attr
  • attr value string

Copyright © 2024 World of Spectrum