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.012s
<1234567…34>
  • Spin Assembler DirectivesLeading on from [URL="http://www.worldofspectrum.org/forums/showpost.php?p=402514&postcount=65"]jp's recent post in Spin 0.7 Public Testing thread[/U…

    ... a,b,... ;Specify literal bytes, numerically...
    DEFB "string",... ;or as strings ... ...
    DEFB a,"string",b,... ;or both.
    < ... 1+(2*3) ;Reserves seven bytes.

    [B]DEFW:[/ ... to 'DEFB "ABC"', i.e. bytes NOT words.

    [ ...
    RoseCotton RoseCotton November 2009 Emulators
  • A tidy loader for minigamesThe minigame competition doesn't permit the use of separate loaders like [code]10 LOAD "": RAND USR 32768[/code] The loader must be included in the b…

    ... It uses two variables: a string variable contains all the machine ... 239 Length of variable (in bytes)
    10 3
    1020 0 Exponent (4 bytes)
    1021 203
    ... code]

    Overhead = 17 bytes

    ===========
    Deep ...
    ajmoss ajmoss June 2010 Development
  • 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
  • SpecBAS 0.646 now available.Yay! Here's another round of bugfixes and additions to the Program. Not so much of the extract coding features, but more back-to-basics this time: […

    ... put it into the specified string variable.
    The ITEM ... DATA, 1 - number, 2 - string).
    The FPEEK function and ... reading/writing floating point values (bytes in size) from and to ... br />
    Will assign the string "Hello there!" to a$. This ...
    Dunny Dunny May 2011 Sinclair Miscellaneous
  • fast font engine possible?inspired by the recent "proportional font" thread for zx basic and ideas for gui and having done some of the work on this in the past i wonder if it …

    ... - draw_text to draw a string in particular font and measure_text ... byte8 ascent;
    byte8 bytes_per_line; /* bytes per one raster line */
    (each 8 bytes are one character…)
    < ... /> byte 5: 2 … 2 bytes per line gives max. width ...
    tstih tstih May 2011 Development
  • Back to BASIC[U][B]Archaeology guide to programs compiled used MCODERII.d[/B][/U] After various people have been talking about "Frank'n'stein" I decided to finis…

    ... variables are defined, all 26 string variables (A$-Z$, the ... Each numeric, string and array variable consumes 6 bytes. As all ... /> [*]base+0 = pointer to string
    [*]base+2 = length ... +4 = absolute maximum length of string
    [/LIST]
    Additional ...
    Jimmy Jimmy May 2011 Development
  • Drawing a "window"...Hi Folks, I want to display a blank window over an existing screen. It then draws a border around it but that is not the point of my question. Ini…

    ... /> As you can see the string contains the PAPER and AT ... VERY quick but uses 359 bytes.

    Anyone know of ... ). This approach only uses 82 bytes (not too bad) and is ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Kiwi OS for z80 computerHi everyone, Nearly made my z80 computer with 2K ROM 32K RAM. It has an OS im still writing called Kiwi (apple, blackberry, you get the idea ;D) he…

    ... NOT NEW, JUMP A FEW BYTES TO NEXT COMPARE
    ... NOT RUN, JUMP A FEW BYTES TO NEXT COMPARE
    ... NOT SAVE, JUMP A FEW BYTES TO NEXT COMPARE
    ... NOT LOAD, JUMP A FEW BYTES TO NEXT COMPARE
    ... 1527 ;LOAD HL WITH ADDRESS STRING LOCATION
    CALL ASCII ; ...
    Robin Robin August 2011 Announcements
  • Plus 3 Mate +3 TroubleshootingHi folks, Similar to the DB1 thread over here: [url]http://www.worldofspectrum.org/forums/showthread.php?t=35643[/url] ... I thought I'd raise the i…

    ... .
    On Sector 4 the string "PROTECTION V2.0" can be ... /> 250Kbps MFM, 9 sectors, 512 bytes:
    0:0 1 2 ... /> 250Kbps MFM, 9 sectors, 512 bytes, cyl=0:
    38:0 ...
    Andrew Barker Andrew Barker September 2011 Sinclair Miscellaneous
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... . It currently compiles to 340 bytes, and I know that can ... : print_message
    ;
    ; prints a string which is terminated with $ff ... /> cp 255 ; end of the string
    ret z ; so exit ...
    polomint polomint September 2011 Development
  • Find-Fill-Copy functions for BASICThere's not much going on here, so here's three m/code routines to provide some data manipulation functions which are otherwise slow to do from BASIC…

    ... copy string 'c' to address 'a' then]
    . copy 'l' bytes from ... .

    If no initialisation string is defined then 'copy' will ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • z88dk stdio fopenI'm trying to write a fcntl library, based on the p3.lib one. Looking at fopen(), it calls freopen_z88() which turns the mode string into mode and f…

    ... turns the mode string into mode and flag bytes. It then calls ...
    guesser guesser November 2011 Development
  • Undefine functionHere's a routine to selectively remove variables from the VARS area and reclaim the space. This can be done partially from BASIC already by assigning…

    ... completely. Although at 92 bytes, unless there's a ...
    jr z,STRARR ;string or any array
    < ... /> jr CHKNXT

    ;string or any array
    STRARR ... ,(hl) ;BC=length of string or any array
    ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how easy it actually is. (Actually I've already published this one some time ago, but this time the source is ...
    Timmy Timmy January 2012 Development
  • more on storing mazesPrompted by Wookiee's escapades, I've been pondering on how to use DATA statements directly for displaying background graphics, thus avoiding the dup…

    ... order to locate each graphics string;
    * to print a background ... in an array), plus 4 bytes for each place marker and ... anywhere, even in a DATA string within the program code).
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • stuck on recursive functionI want this function to PEEK 'l' bytes from memory starting at 's' and return them as a string, but however much I fiddle about with quoting and pare…

    ... ' bytes from memory starting at 's' and return them as a string ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • 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
  • Screen2StringFurther to writing that BASIC one-liner to redirect CAT to a string I thought that I'd do a general redirection routine for anything which normally p…

    ... the first 20 bytes being occupied by the string definition, pointer ... /> REM sa=string address; sl=string length; sd=DEFADD ... REM string pointer (incremented by m/code as bytes are ... RETURN
    REM update string definition
    21 LET ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    ... be ([strike]138 lines, 194 bytes[/strike]) but that probably means ... get USR to return a string rather than a number. The ... reduced to 127 lines, 166 bytes.
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... 16-bit decimal to a string in hex format).

    bytes immediately after the screen are ... ULAplus screen as 6,976 bytes of data at 16384, then ... , freeing up an extra 168 bytes for BASIC or your own ...
    chev chev May 2012 Sinclair Basic
  • SUPER INPUTA couple days ago I searched for an "INPUT string" routine that I could use in Assembly programs and supported multiple lines, but I found none. Thus…

    ... I searched for an "INPUT string" routine that I could use ... entire routine is only 340 bytes, although the first part is ... Assembly programs are under 300 bytes.

    I also made ...
    Einar Saukas Einar Saukas June 2012 Development
  • Developing apps for ZX Spectrum with SDCCDue to troubles with makebin utility which always starts coversion at memory address 0x0000 and can only produce binaries < 32KB, it can't be used to…

    ... : .word 1

    ;; 1024 bytes of operating system stack
    tstih tstih July 2012 Development
  • space available in bytes - questionHi, question: - if i create a *.txt file in pee cee: if empty it will show 0 bytes if i put text "abcde" it will show 5 bytes if i put texte (in 2 l…

    ... empty it will show 0 bytes
    if i put text ... "abcde" it will show 5 bytes
    if i put texte ...
    it will show 7 bytes.... i count 5, what are ... "
    will it be 16 bytes ?? Both memory and in tape ...
    tiago tiago August 2012 Sinclair Basic
  • merging bytesPicturing three bytes with their bits identified by letters to make the visualisation easier, what's the best way to perform this transformation? [co…

    Picturing three bytes with their bits identified by ...
    Battle Bunny Battle Bunny August 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…

    ... . I have a number of string arrays which I want to ... a modified version of SA-BYTES would work, whereby when DE ... length of data + headers. The string data would be interspersed with ... the string array headers but that's ...
    Battle Bunny Battle Bunny September 2012 Development
  • multi-scroll m/c subroutine for BASICArising from recent posts, here's a scrolling routine that will manage multiple left/right scrollings for any (sensible) line width or step; (ie. whe…

    Arising from recent posts, here's a scrolling routine that will manage multiple left/right scrollings for any (sensible) line width or step; (ie. where width is
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • A Miscellany of Dangerous TipsHere's a selection of ideas for using some of the more obscure system variables which I've found handy on occasion. They can be very convenient if us…

    ... as a hex dump DATA string, so that the decoding loop ... which, in blocks of three bytes ending with the inscrutable rune ... mazes (Feb)
    * Poking a string to memory... (Mar)
    * Keyboard ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
<1234567…34>

Latest Posts

  • Celebrity deaths...
    Paradigm Shifter on 4:41PM
  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8

HitBox

Word Docs Hits
string 2.8K 5.1K
bytes 9.1K 16.6K

Related Threads

  • Finding the length of loaded Bytes:Is there a way from BASIC of finding out how big a block of bytes loaded from tape was? <br /> <br /> i.e. - if you do LOAD""CODE and load in a lump …
  • 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 …
  • Retro Bytes PR and other services.Hi folks,<br /> <br /> For anyone who is interested, I'm setting up a PR agency called Retro Bytes PR. We specialise in handling the press for small …
  • 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…
  • RETRO:BYTES Magazine.Hi Speccy people,<br /> <br /> Just in case you've missed it (which is likely), I'm working with Alten8.com and other investors to launch a retro mag…
  • Avoid "Program:" and "Bytes:" messagesI converted some original +D programs into TZX files. That works fine, but I'm worry about the "Program:" or "Bytes:" messages of the program blocks …
  • RETRO:BYTES download section.I've uploaded a temporary download page at [url="http://www.retro-bytes.co.uk/downloads.htm"]http://www.retro-bytes.co.uk/downloads.htm[/url] - I've …
  • RETRO:BYTES Lite magazine cover.At last! I can say something...<br /> <br /> Well, we're on the home-straight with the 'Lite' version. You may see this here:<br /> <br /> [url="http…
  • Optimisation Needed! Is this the Fastest way to copy bytes from screen and back again?I have the screen address (say 0,0 i.e 16384)<br /> <br /> I want to copy 4 bytes wide by 32 bytes high from the screen to an area of memory.<br /> <…
  • RETRO:BYTES Lite... at last!R:B Lite is *finally* available to buy from [url="http://www.download-trader.com"]http://www.download-trader.com[/url] for just ?1 sterling! It comes…

Related Searches

  • ld bytes
  • sa bytes
  • 256 bytes
  • ld bc eostr string
  • bytes hide
  • reorder a string
  • change characters in string
  • forum size bytes
  • inputting to a string array
  • detect a word string on the screen
  • poke hide bytes
  • hide bytes
  • 924 bytes
  • hex to dez string
  • colors in a string
  • attributes in a string
  • disable loading bytes
  • disable bytes
  • string
  • reverse a string

Copyright © 2024 World of Spectrum