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

    ... the same for a string variable but haven't ... then a call to SCANNING to get the string details onto the ... mc can obtain the string details from within the DEF ... to set up a location for the name of the string to ... be pointed to by CH_ADD so ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • 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…

    ... convert to a string "10101010"
    take 4 and convert to a string "00000100 ... of my prog (not shown) to TAP but there's certain ... />
    [code]
    # SUB - Binary string conversion, A=decimal input, s ... "
    1040 FOR l=126 TO 0 STEP -1
    1050 ...
    IanJ IanJ August 2014 Sinclair Basic
  • 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
  • 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 ... l,c ;HL back to start of string
    dec de ;decrease ... ,lp
    ret
    ;
    string:
    db '00000' ;16 bit ...
    R-Tape R-Tape December 2016 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 ... draws according to what you give it. Say ... character it reads in the string a$ is a number or ...
    ivanb303 ivanb303 May 2017 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 ... wraparound - can anyone remember how to do it?
    eg
    I seem to remember it only worked in ...
    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…

    ... /> Got a bit of a string slicing/string to variable conversion problem.
    to put in line 20, to give pokevalue a ... value from 0 to 255 (i.e. the numerical ...
    BigBadMick BigBadMick April 2005 Development
  • Method to read byte as binary string rather than dec?Hi all Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it back in upside…

    ... and have written a routine to scan the screenbuffer into upper ... , I am trying to find a way to reverse each 8x8 square ... have an 8 byte buffer to store the 0 and 1s ...
    Womble Womble February 2006 Sinclair Basic
  • 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 ... I fully expect my house to burn down tomorrow...

    Edit: forgot to mention the 2 WoS outages ... of nine hours each due to routers dying.
    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 from a ... : LET a$="": FOR f=1 TO 49: LET a$=a$+CHR ... ): NEXT f: FOR g=1 TO 8: PRINT AT g-1 ... ";STR$ (g);":": FOR f=1 TO 6: LET b=1+INT ... -1,8+((f-1)*3);" "( TO (CODE a$(b)
    Dunny Dunny November 2008 Development
  • .DSK to .TZX?Can I convert a .DSK image to .TAP or .TZX? If not, is there a way to get information from the 'CAT' command and use it as a string so that I can sav…

    ... I convert a .DSK image to .TAP or .TZX? If not ... , is there a way to get information from the 'CAT ... and use it as a string so that I can save ... all contents to a virtual tape in Spectaculator ... .

    If I have to do it one by one ...
    zxbruno zxbruno December 2008 Sinclair Basic
  • So you want to make a cardgame......but you haven't got a good deck to display. Well here is a fully relocatable routine that will do the job for you. Place the code anywhere in me…

    ... The string after the USR holds the card to print.
    to prove relocatable

    RET ; back to BASIC

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

    ... never good at understanding how to do something random in Sinclair ... found myself stuck while trying to help my kids with their ... be the best way to randomly scramble the string?

    ... words? Does such routine need to check A$ character by character ...
    zxbruno zxbruno October 2009 Sinclair Basic
  • More questions to ponder/argue/ignore as you wish...Just copying some stuff to a memory stick, and I found some old questions I'd intended to post on these forums to provoke debate, that I'd never got …

    ... (20455 characters). Please shorten it to 16384 characters long."
    < ... paid footballers are really inferior to lower paid footballers, even ... think I'd choose a (string) version of Pachelbel's Canon ... I can't claim to be eligable to judge properly, but I ...
    ewgf ewgf February 2010 Chit chat
  • 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…

    ... I'm wanting to use multi dimension string arrays, if it ... For example if I was to create a 2D character array ...
    It would allow me to store 10 strings of 10 ...
    Is it then possible to say

    DIM ... ,10,10)

    To create ten arrays of ten ...
    Scottie_uk Scottie_uk August 2010 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…

    ... a number from a string and converts it to a 32-bit ... s strtol if it helps to nail down the details.
    to 2^n-1 cannot ... a bit soft so over to you.


    ... Edit: It amounts to proving this:

    Let ...
    Alcoholics Anonymous Alcoholics Anonymous April 2012 Development
  • appending data while saving to tapeBefore trying to do this I just wanted to check if there's a possibility that it might actually work. I have a number of string arrays which I want t…

    ... number of string arrays which I want to save as ... -LOOP, instead of jumping to finish at SA-PARITY, ... has just occurred to me, which is to DIM the ... data + headers. The string data would be interspersed with ... the string array headers but that ...
    Battle Bunny Battle Bunny September 2012 Development
  • A 128 Routine to Put Tokens in StringsI was writing a DEF FN on the +128k and decided that I'd had enough of not being able to put function tokens in strings without a great palaver and s…

    ... enough of not being able to put function tokens in ... wrote this little BASIC routine to do it for me. ... Just define the functions to be inserted as lower case ... wherever it is to occur within a quoted string. So for ... /> PRINT CHR$ p;: GO TO 9995-(3 AND b> ...
    Battle Bunny Battle Bunny December 2012 Sinclair Basic
  • From RAM to dim v$() "video buffer" SPEED UP!Hi! This question is related to "quick RAM copy using LET in Basic" ([url]http://www.worldofspectrum.org/forums/showthread.php?t=44296[/url]). Wel…

    ... /> This question is related to "quick RAM copy using LET ... with 160 bytes corresponding to 16*10 tiles. Each ... a bucle from 0 to 159 bytes for read ... to end...

    This routine load/converts/make my v$ string ... I try changing POKE to v$(pos to pos+1)=chr$( ...
    Hark0 Hark0 March 2014 Sinclair Basic
  • How to Write ZX Spectrum Games - Jonathan CauldwellHello, I'm trying to improve my very basic level of assembler by reading the Jonathan Cauldwell guide. I'm fine with the basics LD, CP, and JP,…

    ... />
    I'm trying to improve my very basic level ... to the assember instructions.

    Can someone explain the 'eostr-string ... br /> ld de,string
    ld bc,eostr-string
    call ... /> jp loop

    string defb 'ZX Spectrum is cool ...
    jonesypeter jonesypeter October 2015 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
  • Can't Get My Simple Code To RunHello again, I'm trying to run the following simple code: [code] org 32768 main ld b, 21 ; x coordinate is …

    ... of text
    ld de, string ; string to print
    ld bc, eostring ... indefinitely

    ; ***************************************
    ; de string to print
    ; be length of ...
    Scorpion_Realities Scorpion_Realities October 2017 Development
  • Random-Access to Microdrive FileI am working on a BASIC program to backup a microdrive text-file to standard tape array-file. To backup a text-file from one microdrive to a secon…

    ... but my purpose is to backup to tape, so I tried ... stream area to a normal string S$. Many thanks to Battle Bunny ... from stream area to a normal string S$. I use ... the first 9 UDG bytes to ... forcing the subsequent write to the right position within ...
    mattsteel mattsteel May 2018 Sinclair Basic
  • type in to learn about IM2I'm trying to mess around with learning about IM2 and I found a nice little article in Sinclair User September 1988, issue 78, Page 70-71 [url="https…

    I'm trying to mess around with learning about ... I haven't been able to figure out what it is ... am using PASMO to compile it with the string

    [code ... is going wrong and how to fix it.

    Thanks ...
    andydansby andydansby July 2020 Development
  • getting c nonsense in basic when trying to load a program through a string in +3 basicstrangely if i use load s$(to 8), it says nonsense in basic but works when i run it. but when i execute the command without a line no it works withou…

    strangely if i use load s$(to 8), it says nonsense in basic but works when i run it. but when i execute the command without a line no it works without an error. why is this?
    digital digital August 2020 Sinclair Basic
  • How to use SPECTRUM emulator for playstationAnybody got an idea how to add roms to the SPECTRUM emulator for the playstation? I burn the .exe on the cd and it works fine with built-in game, but…

    Anybody got an idea how to add roms to the SPECTRUM emulator for ... 't been able to find ANY instructions regarding to this emulator... Thanks ...
    Pavel Chernikov Pavel Chernikov November 2001 Emulators
  • Can I convert a sna to a real tape ?Hi I just want to know if there is a way to convert a spectrum files for emulator to a real tape that I can load to my real spectrum. Or convert a r…

    Hi
    I just want to know if there is a way to convert a spectrum files for emulator to a real tape that I can load to my real spectrum. Or convert a real zx files to the emulator ?
    Thanks
    Amit Amit October 2001 Emulators
  • AY to MID?I didn't see it in the WOS archive so this is a long shot... Anyone know of an AY to MIDI converter. I'd like to post spec game tunes on a site.

    I didn't see it in the WOS archive so this is a long shot...

    Anyone know of an AY to MIDI converter. I'd like to post spec game tunes on a site.
    Fuzzbucket Fuzzbucket September 2001 Emulators
  • WinCE Emulator HELP PLZZZ!!!I have LG Phenom Handheld. Just installed Spectrum Emu for WinCE. When I try to load game it looks like it is loading but very quickly and then scree…

    ... for WinCE. When I try to load game it looks like ... and then screen returns to blank with Copyright string. What I do ... wrong? Please help.

    Pls reply to ...
    WinCE211 WinCE211 September 2001 Emulators
<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
int32 4 16
to 549.6K 1.6M
string 2.8K 5.1K

Related Threads

  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here)<br /> <br /> in fact, I want to accelerate a car towa…
  • Now seems to be a good time to add to your collectionsI have bought a few spectrum items to add to my collection recently, had i bought them a year or two ago they would have cost double. This is one of …
  • Update to Image to ZX Spec to 1.3.1I'm inbetween jobs at the moment and felt the need to add a new feature - the ability to export anim gifs.<br /> <br /> [IMG]https://lh6.googleuserco…
  • 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…
  • Alternative to Poke 23659,0 to prevent a 'break in' to a Basic Program.Good morning everyone,<br /> <br /> My memory fails me these days but in the early days of programming I used to use Poke 23659,0 as a crude way of…
  • How to download games to micro sd card to play on Sinclair zx spectrum vegaHello<br /> Could anyone tell me how to download games from a website to a micro sd card to play on a Sinclair zx spectrum vega , I mean do I use a …
  • A game to port to... to make for... ZX Spectrum ?Hey there,<br /> <br /> I'm a game coder on Commodore computers (C64,CPlus/4,VIC20,Amiga) and I loooove the ZX Spectrum.<br /> I grew up with Comm…
  • How to copy file from tape (*.tap) to disks (*.dsk) ?I am using zx32 with win98 and i want (in the emulate +3) copy files from virtual tapes to virtual disks.<br /> <br /> I use =&gt; load "NameOfFile" …
  • how to make a (protected) .DSK to disk transfer ?I know how to make file transfers between .DSK files and physical disks (logical copy).<br /> <br /> However, how can be done a physical sector trans…
  • how to move fdd300's files to pc emulator?Hi!<br /> I have some diskettes 3" for FDD3000 drive for Timex 2048. How can I read these 3"disk and move to PC ? I have some my own demos and rest s…

Related Searches

  • from bedrooms to billions
  • z80 to tape
  • snapshot to tape
  • linux tzx to wav
  • trd files to image
  • fastest way to clear screen
  • user name and password to download emulator
  • convert src files to
  • rst8 return to basic
  • return to basic
  • unable to log in
  • how to download games
  • how to download games for vega
  • usr0 to 128
  • the adventure game i m trying to complete
  • tzx to tape
  • inputting to a string array
  • hex to dez string
  • integer to string
  • 32 integer to string

Copyright © 2024 World of Spectrum