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.014s
<1…14151617181920…34>
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... stay away from using contented memory (both for code & data ... INIR.

    Will a string of 256 INI instructions be ...
    trellis trellis December 2010 Development
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    [QUOTE=Dr BEEP;499310]See [URL]http://www.z80.info/z80time.txt[/URL][/QUOTE]
    That list has quite a few errors, for example there exist no
    RetroTechie RetroTechie December 2010 Development
  • Z88DK tapfile creation questionHere's another question. The game I've just started working on (Sid Spanners 3), I'm concatenating the following tap files together, to make a big ta…

    ... */
    #include

    //Include string.h to get the function ...
    Digital Prawn Digital Prawn January 2011 Development
  • SpecBAS: Request for comment - SpritesHi all - Having been slaving away at the new SpecBAS release, I've decided to finally bite the bullet and implement a sprite engine. I've got a nice…

    ... being allowed to pass a string variable for the gfx$ parameter ... doesn't really care about memory usage. It allows you to ... use memory banks for PEEKing and POKEing ...
    Dunny Dunny January 2011 Sinclair Miscellaneous
  • +2A/+3 compatibility fixes thread!It might be a good idea to keep these fairly common +2A/+3 compatibility fixes (and requests) in a single thread for quick reference ;) Let's start …

    ... />
    [CODE]; -------------
    ; Memory Paging
    ; -------------
    ; Memory paging is controlled by ... (0-7) to page into memory map at $C000.
    ; ... 6: 1=Numeric variable, 0=String variable.
    ; Bit 7: ...
    jp jp January 2011 Games
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... you seem to use a string after the BIN command. I ... :
    [code]
    LET num=VAL ("BIN "+b$)
    [/code]
    gasman gasman February 2011 Sinclair Basic
  • Saving space...Hi Folks, Looking for ways to save some memory in a program I am writing. In a number of places I have the following code: [CODE]xxxx PAUSE 1: …

    ... stored separately. You can save memory using VAL "64564" instead, in this ...
    Shiru Shiru February 2011 Sinclair Basic
  • Saving space...Hi Folks, Looking for ways to save some memory in a program I am writing. In a number of places I have the following code: [CODE]xxxx PAUSE 1: …

    ... stored separately. You can save memory using VAL "64564" instead, in this ...
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • Saving space...Hi Folks, Looking for ways to save some memory in a program I am writing. In a number of places I have the following code: [CODE]xxxx PAUSE 1: …

    ... for ways to save some memory in a program I am ... [B]14 bytes [/B]in memory i.e.

    [FONT ... SGN PI:
    RANDOMIZE USR VAL "64564"[/CODE]

    SGN ... PI 2 bytes
    VAL "64564" 8 bytes

    Dr BEEP Dr BEEP February 2011 Sinclair Basic
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... on memory.

    Whatever compiler you use, things like VAL and VAL ...
    Matt_B Matt_B February 2011 Development
  • Saving space...Hi Folks, Looking for ways to save some memory in a program I am writing. In a number of places I have the following code: [CODE]xxxx PAUSE 1: …

    ... $ 192+"64564"
    ...
    RANDOMIZE VAL r$
    ...[/CODE]

    ...
    RANDOMIZE VAL r$[/code]

    Assuming ... you can use to save memory is to have two programs ... to be present, saving code memory.
    mcleod_ideafix mcleod_ideafix February 2011 Sinclair Basic
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... $ = a$ + "+x"
    40 PRINT VAL a$
    50 GO TO ... BASIC does. Variables are static memory addresses whilst Sinclair's ones ... them).

    ZX BASIC VAL only converts strings to numbers ...
    boriel boriel February 2011 Development
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... the reason explained above. Like VAL, Sinclair INPUT also accepts arithmetic ... and evaluated (see parser and VAL expressions above). This is why ... BASIC, the slower (and much memory bloated) it gets. Most of ...
    boriel boriel February 2011 Development
  • Specific memories attached to certain gamesThought it might be interesting to share a few memories attached to certain games. For me a few spring to mind... [B]Agent X[/B] One morning I had …

    ... years later there was this string of loose cassette tape hanging ... new Speccy,great game - great memory.

    [B]JSW II ...
    jammajup jammajup March 2011 Games
  • I cant get this listing to run!Ive read this through so many times my eyes are misting up! [url]ftp://ftp.worldofspectrum.org/pub/sinclair/magazines/DUC/Issue08/Pages/DUC0800039.jp…

    ... be entered as "LET size=VAL (CHR$ 196+b$(1 TO ... ought to be "LET size=VAL (CHR$ 196+b$(1 TO ... convert the token into the string 'BIN '.

    Try doing ...
    chev chev April 2011 Sinclair Basic
  • I cant get this listing to run!Ive read this through so many times my eyes are misting up! [url]ftp://ftp.worldofspectrum.org/pub/sinclair/magazines/DUC/Issue08/Pages/DUC0800039.jp…

    ... where a particular keyword is (memory's not too clever these ... ARCs and how to use VAL$.
    chev chev April 2011 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... the destination & source string names are in the next ... (Although VAL$ could be used to assign a variable source string name ... devise some other method.) Any string names (apart from m$, ... for up to two (optional) string variable definitions (destination & ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • SE Basic Type-ins^Pete suggested creating a sticky thread for SE Basic discussion. I thought a Type-ins thread might also be useful. Up to the mods if they want to ma…

    ... ": LET Gb=VAL "7": LET G=VAL "8": LET Ab = VAL "9": LET ... A=VAL "10": LET Bb=VAL "11": LET ... B=VAL "12"[/code ... /> Keeping the DATA statements in memory is wasteful so it is ...
    chev chev April 2011 Sinclair Basic
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... of FN m$() which handles string slicing in both destination & ... make room for possible (VAL "nnnnn" TO VAL "nnnnn").
    15 RETURN ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • DivIDE questionsHi All, I'm the proud owner of two DivIDE interfaces, that I have just "inherited" from a friend. One of them is the original one and the other one …

    ... to do block transfers into memory (which is possible because we ... could just change the long string of INIs to INI / INC ...
    gasman gasman April 2011 Hardware
  • DivIDE questionsHi All, I'm the proud owner of two DivIDE interfaces, that I have just "inherited" from a friend. One of them is the original one and the other one …

    ... to do block transfers into memory (which is possible because we ... could just change the long string of INIs to INI / INC ...
    chev chev April 2011 Hardware
  • Random numbers...Hi Folks, I am not an expert when it comes to random numbers. If I have the RANDOMIZE statement the beginning of a program and then proceed to gene…

    ... , just tried RESTORE VAL r$ (I had RANDOMIZE VAL r$ before) and ... . I will try LET var=VAL r$ now to see if ... ] [/B]OK, tried LET mm=VAL r$ and it works perfectly ... have reused so no additional memory overhead. BTW, r$ = CHR$ 192 ...
    Paddy Coleman Paddy Coleman May 2011 Sinclair Basic
  • Serial protocol, help!Hi, simply trying to find best way to transfer programs from PC to real ZX Spectrum for testing purposes. Under Windows I tried using Spxfr and it w…

    ... /> #include /* Standard library */
    #include /* String function definitions */
    #include /* UNIX ... /> close(fd);

    /* Free memory */
    free(pblock);

    tstih tstih May 2011 Development
  • Serial protocol, help!Hi, simply trying to find best way to transfer programs from PC to real ZX Spectrum for testing purposes. Under Windows I tried using Spxfr and it w…

    ... /> #include /* Standard library */
    #include /* String function definitions */
    #include /* UNIX ... /> close(fd);

    /* Free memory */
    free(pblock);

    tstih tstih May 2011 Development
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    ... of memory from BASIC as though it was defined as a string ...
    Battle Bunny Battle Bunny June 2011 Sinclair Basic
  • MicroSpeech Entry PointsHello Hardware Guys, Do any of you have any information regarding the MicroSpeech ROM. In particular: 1) Do you know what addressess cause it to p…

    ... , the SP0256 chip probably is memory mapped and may eventually occupy ... has to 'catch' the speech string somewhere. So I would be ...
    roko roko June 2011 Hardware
  • MicroSpeech Entry PointsHello Hardware Guys, Do any of you have any information regarding the MicroSpeech ROM. In particular: 1) Do you know what addressess cause it to p…

    ... to 'catch' the speech string somewhere. So I would be ... register.
    - Writing to memory at 1000h writes an allophone ... off.
    - Writing to memory at 3001h sets intonation on ... /> [QUOTE=Woody;541432]The two memory write addresses for intonation (3000h ...
    BloodBaz BloodBaz June 2011 Hardware
  • MicroSpeech Entry PointsHello Hardware Guys, Do any of you have any information regarding the MicroSpeech ROM. In particular: 1) Do you know what addressess cause it to p…

    ... and buffers any string value changes in upper memory and then marks ...
    Woody Woody June 2011 Hardware
  • Development choices, help!As a small part-time project I would like to convert my daily programming work (a workflow/bpel engine) to the Spectrum, purely for fun. I would like…

    ... />
    [code]
    string.h:

    ///////////////////////////
    // 7.20.3 MEMORY MANAGEMENT FUNCTIONS
    /////////////////////////////////////
    ... int system(const char *string); // OWNED BY ...
    Alcoholics Anonymous Alcoholics Anonymous June 2011 Development
<1…14151617181920…34>

Latest Posts

  • 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
  • European Software Titles with an English version
    harriusherbartio 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
val 705 2.3K
string 2.8K 5.1K
memory 21.8K 32.5K

Related Threads

  • 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:<br /> <br /> 16,2,19,1,22,1,1,14…
  • 32k memory Italian memory expansionNot mine but its an [URL="http://www.ebay.co.uk/itm/TENKOLEK-32K-RAM-Expansion-Sinclair-ZX-Spectrum-/320861810075?pt=UK_VintageComputing_RL&amp;hash=…
  • Basic listings memory occupationI remember readong someplace that due to basic's representation of number, in a program, in order to save space, it was better to represent integers …
  • What's you happiest speccy related memory?Mine would have to be coming home from school at lunchtime with a couple of friends, loading up manic miner or commando for a quick 30 minute game-pl…
  • Funniest Speccy related memoryOkay, there maybe won't be that many, but I have a couple that might conjour up some jolly jape memories.<br /> <br /> 1. Walking home from school wi…
  • What is your worst Speccy related memory?We've had the good times, but there were bad times too. I will give you two choice cuts from my back catalogue...<br /> Over at a friends house, want…
  • Memory usageBrowsing the online documentation for the Spectrum I came across a peculiar discrepency.<br /> As we all know the start of the RAM is at 16384 which …
  • Let a=val "1"I see some basic programs which use Let a=val "1" instead of let a=1 syntax.<br /> <br /> what is the difference between val "1" and 1?<br /> <br /> …
  • 128 Memory PagingI'm having a problem getting my brain around paging. Well, actually the bit I don't understand is how reading I/O ports works! I hope the collective …
  • ZX80/81 memory expansion and 48k + Lightpen for saleAll are in original packaging and the lightpen has it's software and manual.<br /> <br /> The memory expansion is a 16k one.<br /> <br /> E-mail me a…

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • lowest memory code
  • lowest memory
  • memory map
  • val
  • led storm memory
  • ld bc eostr string
  • string memory
  • string from memory
  • basic memory string copy
  • basic memory fast string copy
  • val string
  • val string save space
  • val string memory
  • val memory
  • beep val save memory
  • beep val save memory mcneal

Copyright © 2024 World of Spectrum