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.009s
<1234567…34>
  • Using ATTR detection in machine codeIs there a ROM routine that can be called that reads the ATTR value of a co-ordinate?

    Is there a ROM routine that can be called that reads the ATTR value of a co-ordinate?
    daveysludge daveysludge January 2012 Development
  • Troublesome routine, help needed!Having problems with this routine, it basically fires a rocket up the screen, but refuses to detect collisions. I'm using attribute blocks for detect…

    ... bright background i.e. ATTR value 1 but simply will not ... ,b ;load a with value of b
    dec ... ;load co-ords into print string
    push bc
    av1 defb 0 ;attr co-ord vals
    defb ... defb 0
    attr LD A, (rx1) ;calculate ATTR
    LD ( ...
    daveysludge daveysludge November 2013 Development
  • Troublesome routine, help needed!Having problems with this routine, it basically fires a rocket up the screen, but refuses to detect collisions. I'm using attribute blocks for detect…

    ... bright background i.e. ATTR value 1 but simply will ... ,b ;load a with value of b
    dec ... ;load co-ords into print string
    push bc
    attr LD A, (rx1) ;calculate ATTR
    LD ( ... first: i cant see call attr
    second: check bold ...
    Jerri Jerri November 2013 Development
  • New game, LAFIX III'd like to announce my newly developed game, LAFIX II. The url is [url="https://simonsnake.itch.io/lafix-ii"]here[/url]. It is a puzzle game bas…

    ... squares that have a particular ATTR value), each line of each sprite ... still adding those to a string and printing in one go ...
    SimonSideburns SimonSideburns December 2019 Announcements
  • 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…

    ... HL has position of new attr value
    LDI move attribute from ... /> TABLE:
    DB $00 Attribute value 0 -> 0
    DB ...
    omega omega April 2007 Development
  • 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…

    ... HL has position of new attr value
    LDI move attribute from ... /> TABLE:
    DB $00 Attribute value 0 -> 0
    DB ...
    bobs bobs April 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…

    ... ) is based on 'u', the ATTR value of the biscuit. So, we ... biscuits, which will have an ATTR value of 3. (Also change 'IF ...
    Digital Prawn Digital Prawn September 2007 Development
  • Questions about the Speccy and it's emulationOut of interest, and to raise another interesting discussion, I have some questions about the Spectrum and it's emulation; 1) Is everything known ab…

    ... screen with a known attribute (ATTR) value, and then use an ... comparing the result to that ATTR value, exiting the loop when ... only when the value is found.

    ... those systems, never reading the ATTR value that would allow exiting from ...
    Digital Prawn Digital Prawn September 2008 Emulators
  • Assembly help: EQUCan anyone explain in duffers language the purpose of the EQU term in assembly? I found this info in another thread: EQU: Equate a name to a specif…

    ... /> MACRO fbands ; binary and string
    defb 0x10
    ENDM ... br />
    MACRO fvals ; value string
    defb 0x18
    ENDM ... /> MACRO flen ; length of string
    defb 0x1e
    ... br />
    MACRO fstrs ; string
    defb 0x2e
    ENDM ...
    chev chev April 2011 Development
  • screen$ out ?I've converted something via a scan and dithered it/saved out as a png in 7-up.. It'll load into 7-up , but I can't export it as a screen$ .. and …

    ... right part of the screen, Attr value will be over 128 and ...
    Metalbrain Metalbrain September 2011 Development
  • Using ATTR detection in machine codeIs there a ROM routine that can be called that reads the ATTR value of a co-ordinate?

    ... be called that reads the ATTR value of a co-ordinate?[/QUOTE ...
    Matt_B Matt_B January 2012 Development
  • A new multicolor engine called BIFROST*I'm glad to announce the release of a new multicolor engine implemented by yours truly, including high quality 16x16 tiles designed by R-Tape: [IMG]…

    ... explain that Gloryv2 has inverted ATTR, is that like an INK ... complement (CPL) of the 3bit ATTR value?[/QUOTE]
    It was a ...
    LCD LCD March 2012 Brand new software
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... this code to get the attr address.

    note: it ... /> I then get the colour attr value from my tile definition and ...
    polomint polomint March 2014 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. …

    ... , (byteloop)
    ; hl = attr memory address
    ; a = attr value to poke
    attr value
    pabm_loop:
    ld (hl ... /> call get_attr_address
    ; return attr from attr address
    ld b, 0 ...
    polomint polomint June 2014 Sinclair Basic
  • LgK image compressorOk people, i decided to make it proper thread since i've finally got something tested & useful for everyone. Here is my "chunky" ZX image compressor …

    ... ) or just load the new attr value from the bitstream (or small ... former action (not the former attr!) is coded with one bit ...
    Lethargeek Lethargeek January 2016 Development
  • Simple Spectrum Character Creator Web AppHey guys, Here is a simple web app i wrote to create ZX Spectrum 8 x 8 characters: http://www.amelyn.com/speccy_character_builder/index.htm …

    ... that you can append the ATTR value for the character to the ...
    BigBadMick BigBadMick June 2016 Development
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... ------------------------------------------------------------------------------
    ; Calculate the ATTR area starting address of X ... a,(ATTR)
    ld c,a ; ATTR value to ... /> ; Store C = ATTR value

    ...
    Paddy Coleman Paddy Coleman September 2017 Development
  • [Asm] Is this nested loop faster than LDIR or a bunch of unrolled LDI's?Hi all. I'm learning Z80 asm on Speccy 48K, and to start with I decided to write my own "CLS" routine (without relying on ROM calls or LDIR) as a lea…

    ... ,$5b00
    ld hl,$3838 ;ATTR value
    ld b,192
    ld hl,$aaaa ;screen fill value
    ;B is now 0 ...
    Ast_A_Moore Ast_A_Moore November 2018 Development
  • BASin Release 6 available for DownloadHi all - It's another cut'n'paste from CSS :) I've been tapping away again, and seeing as a couple of people have recently seen BASin's latest bits…

    ... edit boxes that expect a value from the user can accept ... such stuff as ATTR). Any that require a string input should have ... you want to specify a string expression rather than a literal ... string.

    As is usual ...
    Dunny Dunny June 2003 Emulators
  • String slicing for UDG definitionHey everyone. Got a bit of a string slicing/string to variable conversion problem. 10 let a$="01100110" 20 let pokevalue=???? What expression do I…

    ... a bit of a string slicing/string to variable conversion problem.
    value from 0 to 255 (i ... .e. the numerical value of the binary expression in ...
    BigBadMick BigBadMick April 2005 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…

    ... /> xor

    asc
    attr
    csrlin
    hex
    screen



    string
    byte
    ubyte
    pkersey pkersey February 2014 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…

    ... area, the second an attr-only occluding sprite of highest ... mirror area. Because the attr-only occluding sprite is of ... #include
    [/code]

    string.h is included to get ... is reassigned from the return value of sp1_PreShiftSpr() after each shifted ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 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…

    ... bytes, remember) and another string containing delimiter characters (characters ... />
    case 0x14:
    attr = *(++s);
    break;
    ... poke with the attribute value. An alternative would have ...
    Alcoholics Anonymous Alcoholics Anonymous July 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…

    ... and present in z88dk's string library) memopi() to copy ... and will write the value returned by this function into ... (u->screen); // get attr address for this char from ... d_ColourRect(struct sp1_Rect *r, uchar attr, uchar attr_mask)
    {
    Alcoholics Anonymous Alcoholics Anonymous September 2007 Development
  • '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 ... />
    or, as an embedded string:
    [code]text: DEFB 16 ... /> Similarly for AT, an embedded string such as:
    [code]text ...
    Jonathan Harston Jonathan Harston June 2010 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 …

    ... . or I have built a string containing the control codes externally ... /> 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
  • 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…

    ... br />
    ; THE 'EXPECT NUMERIC / STRING EXPRESSIONS' SUBROUTINE
    org 0x1c79 ... syntax
    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…

    ... , (iy + _flags) ; signal string variable
    rst next_char ; next ... stk_fetch ; call stk-fetch if string
    jp nz, print_fp ... 6, (iy + _flags) ; string variable?
    jp nz, report_c ... ; value to A
    call co_change ; update attr-t< ...
    chev chev October 2013 Development
  • Russian Pascal CompilerHello,<div><br></div><div>Unfortunately I started a discussion (as OutBush) on the Temporary Forum Board not knowing how long it would be until the W…

    ... ] - 1-dimensional (N) array of string with string length S

    attr) - set a current attributes, attr=attribute byteScreenThaw - gradual ... - variable name (byte type) for value of found elements;- MapVarX,MapVarY ...
    Andrew771 Andrew771 June 2015 Sinclair Miscellaneous
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • 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

HitBox

Word Docs Hits
attr 692 1.3K
value 9.4K 14.6K
string 2.8K 5.1K

Related Threads

  • Scrolling string variablesCan anyone help me with this for a program I'm writing on the spectrum.<br /> There was a command in speccy basic that would let you scroll a string …
  • 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…
  • String slicing for UDG definitionHey everyone.<br /> <br /> Got a bit of a string slicing/string to variable conversion problem.<br /> <br /> 10 let a$="01100110"<br /> 20 let pokeva…
  • 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…
  • Method to read byte as binary string rather than dec?Hi all<br /> <br /> Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it ba…
  • 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 …
  • Insane string of bad luckWhat a horrendous past 3 months. :cry:<br /> All my computers died (including WoS), 2 of my guinea pigs died, my holidays got canceled and tonight my…
  • Pentagon 8x1 attr mode - what's the POKE?There isn't one. It's an OUT.
  • BASIC: Fast way of filling a string?Recently I decided to use string slicing to extract random numbers from a sequence in the one-liner Lottery picker:<br /> <br /> [quote]<br /> 20 RAN…

Related Searches

  • find screen position of all attr
  • ld bc eostr string
  • value
  • reorder a string
  • change characters in string
  • add constant value to ix
  • games value
  • inputting to a string array
  • detect a word string on the screen
  • attr p
  • black square attr
  • attr
  • initial value z80
  • hex to dez string
  • colors in a string
  • attributes in a string
  • string
  • attr string
  • attr string change
  • attr value tsring

Copyright © 2024 World of Spectrum