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
<1234567…34>
  • 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…

    ... 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
  • Sinclair Basic compiler for PC?I know we all can use BASin to play for a while in a little window. But... What about creating a 80x86 EXE program from scratch using Sinclair Basic…

    ... Sinclair Basic? You know, the ATTR(), LET, SCREEN$, CODE, A$(x ... />
    You could input a string like (1+2) and the ...
    Marcelo Marcelo September 2003 Sinclair Basic
  • Scrolling string variablesCan anyone help me with this for a program I'm writing on the spectrum. There was a command in speccy basic that would let you scroll a string variab…

    ... would let you scroll a string variable left or right one ...
    Neil^P Neil^P December 2003 Games
  • 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.
    BigBadMick BigBadMick April 2005 Development
  • Insane string of bad luckWhat a horrendous past 3 months. :cry: All my computers died (including WoS), 2 of my guinea pigs died, my holidays got canceled and tonight my DVD p…

    ... out.
    Surely such a string of bad luck was thought ...
    mheide mheide February 2008 Chit chat
  • 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: [quote] 20 RANDOMIZE : LET a$=""…

    Recently I decided to use string slicing to extract random numbers ...
    Dunny Dunny November 2008 Development
  • John Elliot does it again! Re: TOS disks.[url]http://groups.google.co.uk/group/comp.sys.amstrad.8bit/browse_thread/thread/aa809b6f6b9c6f7f#[/url] It is now possible (and easier) to extract …

    ...

    Name Bytes Recs Attr update create
    ------------ ------ ------ ---- ----------------- -----------------
    ASM ...
    zxbruno zxbruno December 2008 Development
  • 2 questions about matrix and string handlingI was never good at understanding how to do something random in Sinclair Basic without repeating something that was already done. Had problems unders…

    ... way to randomly scramble the string?

    Second question. Let ...
    zxbruno zxbruno October 2009 Sinclair Basic
  • Multi Dimension String Arrays.Ok so I've been playing with Sinclair Basic though BASIN and I'm wanting to use multi dimension string arrays, if it is possible. I know what when a…

    ... wanting to use multi dimension string arrays, if it is possible ...
    Scottie_uk Scottie_uk August 2010 Sinclair Basic
  • 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
  • Poking a string to memory...I'm looking to poke a string of characters including colour control codes to memory, I'm currently doing it by hand: 16,2,19,1,22,1,1,144 That equa…

    ... 'm looking to poke a string of characters including colour control ... do it by poking a string such as A$?
    daveysludge daveysludge March 2012 Sinclair Basic
  • Overflow Detection while Scanning a Number from a StringI've got some strange behaviour from a subroutine that reads a number from a string and converts it to a 32-bit long. It's C's strtol if it helps to…

    ... reads a number from a string and converts it to a ...
    Alcoholics Anonymous Alcoholics Anonymous April 2012 Development
  • simplest method to pass a string to m/code?The statement "RANDOMIZE numvar+USR mc" is a simple way of passing a single numeric parameter to a m/c routine, as mc can retrieve numvar from the to…

    ... doing the same for a string variable but haven't done ... to SCANNING to get the string details onto the calculator stack ... $): whereby mc can obtain the string details from within the DEF ... for the name of the string to be pointed to by ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • 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…

    ... un-bright background i.e. ATTR value 1 but simply will ... ;load co-ords into print string
    push bc
    call ... /> ret
    av1 defb 0 ;attr co-ord vals
    defb ... /> defb 0
    attr LD A, (rx1) ;calculate ATTR
    LD (av1 ...
    daveysludge daveysludge November 2013 Development
  • 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... [CODE]AttrDE: ld a, d ; get the hig…

    ... me the address of an ATTR cell placed somewhere else (like ...
    Sokurah Sokurah January 2014 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
  • Decimal to Binary stringHi all, Anyone got a less labour intensive BASIC routine than this? Example:- take 170 and convert to a string "10101010" take 4 and convert to a s…

    ... 170 and convert to a string "10101010"
    take 4 and ... convert to a string "00000100"

    I have ... />
    [code]
    # SUB - Binary string conversion, A=decimal input, s ...
    IanJ IanJ August 2014 Sinclair Basic
  • Jetset Willy ATTR Buffer 2Does anyone understand how Jetset Willy uses the system vars area as screen ATTR buffer 2? H5C00 D23552. Thanks

    Does anyone understand how Jetset Willy uses the system vars area as screen ATTR buffer 2?

    H5C00 D23552.

    Thanks
    stevebroad stevebroad September 2014 Sinclair Miscellaneous
  • Simple text scrolling routine...I'm having trouble writing a very simple text scroller, the idea is to use the ROM printer routine to print 32 characters each time the routine is ca…

    ... is called, updating the de string start address by 1 every ... start of text
    call attr ;call colour changer
    call ... 8525
    ret

    attr
    ld hl,23264
    daveysludge daveysludge September 2014 Development
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on

    im looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
    digital digital September 2015 Development
  • how do i convert a binary string into hex in basic?how do i convert a binary string into hex in basic?

    how do i convert a binary string into hex in basic?
    digital digital September 2015 Development
  • Code optimisation! 16bit number to 5 digit stringJust for interest this one, any thoughts on how to make this as fast as possible? Little optimisations to this routine or a complete reimagining? …

    ... , HL at end of string,assume string doesn't straddle word boundary ...
    lp: inc (hl) ;increase string number
    ld a,(hl ... ;HL back to start of string
    dec de ;decrease number ... ,lp
    ret
    ;
    string:
    db '00000' ;16 bit ...
    R-Tape R-Tape December 2016 Development
  • flash in a stringhi, is it possible to store flash in a string? u can store colours, bright, etc.

    hi,

    is it possible to store flash in a string? u can store colours, bright, etc.
    digital digital January 2017 Sinclair Basic
  • ZXSCLZF - Yet another Screen CompressorQuick disclaimer before I continue, this compressor does not shrink screens as small as some of the others posted here, in particular the very good z…

    ... the screen char by char (attr+8pixelrows)
    // Can compress ... -31 means just paste literal string length 1-32
    // ... start to start of buffer attr space
    (*store_c)=0; // ... ;;
    ;; move de back to attr space
    ld a,d ...
    TomD TomD April 2017 Development
  • How to separate a character from a number in a string?Hi I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say you w…

    ... in BASIC that takes a string a$ from INPUT and then ... character it reads in the string a$ is a number or ...
    ivanb303 ivanb303 May 2017 Sinclair Basic
  • z88dk sp1lib with fzxThe numbers dont seem to display properly? fzx by itself works [quote] // for targets supporting fzx // zcc +zx -vn -startup=31 -O3 -clib…

    ... ;attr_mask = cmask;
    c->attr = colour;
    }

    // Variables ...
    slenkar slenkar June 2017 Development
  • udg collision detectionhow do I detect a collision between udgs in basic?

    ... set) will return an empty string from a SCREEN$ call.
    ATTR will help but again will ...
    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…

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

    string.h is included to get ...
    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…

    ... ---- -------
    ; 0 terminate string
    ; 1 logically AND into ... struct sp1_pss { // "print string struct" A struct holding print ... attribute mask
    uchar attr; // +6 current attribute ...
    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…

    ... 8 pixels: mask, graphic, attr mask, attr not only makes things slower ... the single-byte entries for attr and attr mask would be used ... . The first method with attr byte specified within the sprite ... supports byte commands within a string to move cursors up, down ...
    Alcoholics Anonymous Alcoholics Anonymous December 2006 Development
<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
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 …
  • 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…
  • 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…
  • 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…
  • 2 questions about matrix and string handlingI was never good at understanding how to do something random in Sinclair Basic without repeating something that was already done. Had problems unders…
  • Multi Dimension String Arrays.Ok so I've been playing with Sinclair Basic though BASIN and I'm wanting to use multi dimension string arrays, if it is possible.<br /> <br /> I know…
  • 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?

Related Searches

  • find screen position of all attr
  • ld bc eostr string
  • reorder a string
  • change characters in string
  • inputting to a string array
  • detect a word string on the screen
  • attr p
  • black square attr
  • attr
  • hex to dez string
  • colors in a string
  • attributes in a string
  • string
  • reverse a string
  • attr calculation
  • random string
  • filter string
  • collision attr
  • attr string change
  • attr value string

Copyright © 2024 World of Spectrum