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…17181920212223…34>
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... /> LET i1=VAL "14": LET i2=VAL "15": LET i3=VAL "15": LET ... i4=VAL "2": LET ... list without using any extra memory (although in a practical application ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Encode two positive int numbers into one?Hi guys) Recently I've been trying to simulate short lists in Basic, but the point is that using limited values, say, 0-99 or 0-999, I remembered ho…

    ... ]

    Plus, as a string doesn't have the 14 ... ,8;b$;AT a,16;VAL b$
    140 NEXT a ... can be packed into a string and elements extracted as zero ... elements in a second string, with the number string holding pointer/length ...
    Battle Bunny Battle Bunny June 2012 Sinclair Basic
  • ESXDOS v0.8.0 released (with NMI Browser)Hello, To celebrate the speccy's 30th birthday, here's the latest version of ESXDOS for DivIDE users. The full changelog is too long to post here, s…

    ... line number, or if a string was entered the ROM switched ... to a full screen string editor. In addition to this ... doesn't have to do memory paging in odrer to tokenize ...
    chev chev June 2012 Announcements
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... hl ; hl = char *string
    ret ; carry ... pop hl ; hl = char *string
    ret ; carry reset< ... get bc bytes of memory
    jp nc, ... write n bytes to memory
    ; ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    ... VAL
    rst $28 ;FP_CALC
    defb $34,$B0 ;stk_data (short string ...
    Battle Bunny Battle Bunny July 2012 Development
  • INKEY$ giving me troubleHello, I have been using BASin (great program by the way...) Sad though it seems during the typhoon here I have been re-learning my spec-skills an…

    ... room for in memory, with a maximum of 26 string arrays and ...
    chev chev August 2012 Sinclair Basic
  • Sorceror of CLaymorgue CastleI feel a bit like a sore loser asking this, but am I alone in thinking that this adventure, whilst it looks very pretty (for its time), is relentless…

    ... let the user chain a string of commands together. Another plus ... the word; for instance (if memory serves) in Kentilla typing 'BREAK ...
    Dwayne Dibley Dwayne Dibley August 2012 Games
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    [QUOTE=WibbleBibble;649808]So with an array whats faster for basic to work with a array of strings or a numeric array if i have data that could be used either as a numeric array or i could just put them in a char array.[/QUOTE]

    Here's a simple ...
    Battle Bunny Battle Bunny September 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... .

    starting to have memory worries, I have inputed 25 ... me not knowing how and memory problems.

    I will ... 3, PLAYER 4 (trivial, 4 string arrays assigned before start of ...
    WibbleBibble WibbleBibble September 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... VAL I$(T)" statement, where I$() is a 100 byte string containing ...
    Battle Bunny Battle Bunny September 2012 Sinclair Basic
  • Type-in Checksum PuzzlerAt least one of the hex dump type-ins at [url=http://www.users.globalnet.co.uk/~jg27paw4/type-ins/typehome.htm]TTFn[/url] has a checksum routine a cu…

    ... c$ THEN PRINT "Error in string - input again": BEEP .2,-12 ...
    Battle Bunny Battle Bunny September 2012 Sinclair Basic
  • Conversion of Paralactika DemoHello, we are producing our disk magazine SCENE+ and wanted to release the demo PARALACTIKA by DeMarche. However, we failed to contact that group, b…

    ... /> [code]40 POKE VAL "23388",VAL "22": LOAD "PARALAM"CODE ... /> [code]40 OUT VAL "32765",VAL "22": LOAD "PARALAM"CODE ... memory for that...)

    [code]40 POKE VAL "23388",VAL "22": OUT VAL ... "32765",VAL "22":LOAD ...
    gasman gasman October 2012 Development
  • Conversion of Paralactika DemoHello, we are producing our disk magazine SCENE+ and wanted to release the demo PARALACTIKA by DeMarche. However, we failed to contact that group, b…

    ... /> [code]40 POKE VAL "23388",VAL "22": LOAD "PARALAM"CODE ... memory for that...)

    [code]40 POKE VAL "23388",VAL "22": OUT VAL ... "32765",VAL "22":LOAD ... "PARALAM"CODE VAL ...
    Speccyman Speccyman October 2012 Development
  • Boriels ZX CompilerI'm trying to compile a very simple program and I keep getting the error: unexpected end of file. Here's my code: [CODE]10 cls 20: let n=0 22 do 2…

    ... ]built in[/i] support for string slicing.[/QUOTE]

    I ... C lib had plenty of string slicing operations? I appreciate that ... cut down libraries due to memory and cpu constraints.

    RobeeeJay RobeeeJay October 2012 Development
  • Machine code RST10 problemHello! After 27 years of playing with Spectrums I'm starting to look into doing assembly language properly. All went swimmingly well until I wrote …

    ... /> .msgprt ld de,$5068 ; screen memory where messages will appear
    push hl ; store our string address while we borrow HL ... the correct row in screen memory
    inc e ; point ... to next character in screen memory
    pop hl ; retrieve character ...
    snigfarp snigfarp November 2012 Development
  • CAT!RAM and PUTRAMLast year sometime I posted a couple of routines to: * catalogue the 128k RAMdisk in BASIC; * move RAMTOP and the stacks from BASIC. CAT!RAM and PUTR…

    ... (n,d)=FN p(b)+VAL p$(PEEK (b+2)+1 ... =program, 1=numeric array, 2=string array, 3=bytes
    REM ...
    Battle Bunny Battle Bunny December 2012 Sinclair Basic
  • Project on ZX Spectrum in UniversityHi everyone, I am Max, student of media studies in berlin, and I have to do a little project on the spectrum. I am working on a sinclair zx spectrum…

    ... value of a integer or string, I don't know what ... did it;)
    a=val("hallo")
    a=val("15")


    val$="hallo"

    3. the ...
    lomax030 lomax030 December 2012 Announcements
  • Project on ZX Spectrum in UniversityHi everyone, I am Max, student of media studies in berlin, and I have to do a little project on the spectrum. I am working on a sinclair zx spectrum…

    ... NEXT.

    [QUOTE]2. (...) val$="hallo"[/QUOTE]

    I ... do here. The first two VAL lines you gave would work ... other characters in the play string, but I put them in ...
    snigfarp snigfarp December 2012 Announcements
  • Project on ZX Spectrum in UniversityHi everyone, I am Max, student of media studies in berlin, and I have to do a little project on the spectrum. I am working on a sinclair zx spectrum…

    ... the string does not include letters. Therefore:

    PRINT VAL "15 ... />
    VAL$ instead treats a text variable like a string. Therefore:

    LET a$ = "HELLO": PRINT VAL$ "a ...
    Alessandro Grussu Alessandro Grussu December 2012 Announcements
  • Project on ZX Spectrum in UniversityHi everyone, I am Max, student of media studies in berlin, and I have to do a little project on the spectrum. I am working on a sinclair zx spectrum…

    ... br /> VAL$ instead treats a text variable like a string. Therefore:< ... br />
    LET a$ = "HELLO": PRINT VAL$ " ... br /> [/QUOTE]

    VAL$ always puzzles me. I'm ... , it recognizes variables in a string,)

    MergeMe
    ...
    Arda Arda December 2012 Announcements
  • +3 BASIC DOS_DemoI got side-tracked while working on the Op.Wolf conversion and ended up writing this +3 DOS utility which provides most of the disk functions that mi…

    ... =INITIALISE n/a
    M=MEMORY CHECK b=line#, c=page ... =page, de=address,
    f$=string of length to read into ... =page, de=address,
    f$=string of data to write from ...
    Battle Bunny Battle Bunny January 2013 Sinclair Basic
  • Newbie Spectrum developer advice ....Hi, Im new to the site and to spectrum developing - well, not quite, I wrote Spectrum programmes in Basic 30 years ago but then went off into the wo…

    ... be done with the extra memory from BASIC, apart from ... something is loaded into main memory it overwrites what was there ... to see if any significant memory savings could be made within ... rather than explicit literals; using string instead of number arrays; using ...
    Battle Bunny Battle Bunny January 2013 Development
  • Newbie Spectrum developer advice ....Hi, Im new to the site and to spectrum developing - well, not quite, I wrote Spectrum programmes in Basic 30 years ago but then went off into the wo…

    ... also tempting to do the memory savings by shortening variable names ... />
    SUB printThis (thingToPrint as STRING)
    PRINT thingToPrint
    END ...
    Gedlion Gedlion January 2013 Development
  • Questions about SEUDI recently purchased SEUD (Shoot-em-up Designer, for those who do not know it) from Cronosoft and tried to familiarize with it, also by peering into …

    ... score, a six-digit ASCII string.


    Read more ... $ holds the score as a string, which can be turned into ... numeric variable by using the VAL function, e.g.: LET score ...
    Alessandro Grussu Alessandro Grussu January 2013 Development
  • Compiling Lisp to Z80.I am doing some thought experiments on this. Here is an example of a Lisp program. It adds two numbers together. [code] (define (add x y) (if (= …

    ... values in a register or memory location would cause problems if ... values in a register or memory location, you should never have ... multiple return values or a string, be warned.

    [QUOTE ...
    Timmy Timmy January 2013 Chit chat
  • Spectranet updateHi all It's been a busy summer, and in any case I've wanted a little bit of a break from doing Speccy stuff to avoid it getting old (pun intended). …

    ... you already have the Spectranet memory paged in, you don't ... block of 4 bytes of memory. The GET_IFCONFIG_INET call will place ... memory. The LONG2IPSTRING call will convert this into a human readable string ...
    Winston Winston February 2013 Hardware
  • Spectranet updateHi all It's been a busy summer, and in any case I've wanted a little bit of a break from doing Speccy stuff to avoid it getting old (pun intended). …

    ... you already have the Spectranet memory paged in, you don't ... block of 4 bytes of memory. The GET_IFCONFIG_INET call will place ... memory. The LONG2IPSTRING call will convert this into a human readable string ...
    BloodBaz BloodBaz February 2013 Hardware
  • +3e filebrowserHello everyone, Im writing a game/program loader for the +3e (with an IDE interface, but it can work with floppies too). The program lets you choose…

    ... for now) and creates a string variable with the file names ... media; it will take less memory, but I guess the overall ...
    BCH BCH February 2013 Development
  • The Disciple clone... doable?Hi. As a spectrum user in the 80's this was the dream interface all-in-one for me. I have a 48k+ and planning on get a 128K toast-rack later. Anyway…

    [QUOTE=roko;682423]My memory says that Disciple worked with ... ....[/QUOTE]

    The "BRUCE" string is stored in GDOS, and ...
    zub zub February 2013 Hardware
  • Compiling Lisp to Z80.I am doing some thought experiments on this. Here is an example of a Lisp program. It adds two numbers together. [code] (define (add x y) (if (= …

    ... is a number or a string, or some compound datatype or ... variables which would reside in memory rather than registers. Each variable ... 's type (1=Integer, 2=String etc.) followed by the data ...
    BloodBaz BloodBaz February 2013 Chit chat
<1…17181920212223…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