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…15161718192021…34>
  • 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 ...
    BloodBaz BloodBaz June 2011 Hardware
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... bit with the call 8252 string.

    Does ... /> ld de,string ; start of score text string
    ld ... bc,12 ; length of string in bytes
    call ... print it

    string defb 17,2,16,5 ... but is a good and memory efficient way, the more ...
    R-Tape R-Tape June 2011 Development
  • numbers to binaryHi everyone, I have looked through the manual and have found nothing. How do you change a number to binary easily? I know you can go binary to decim…

    ... , like endless untill out off memory

    [IMG]http://home ... .hccnet.nl/c.born/Fuse-Memory%20Browser-recursiveDEF_FN.png[/IMG]
    string more "0" are connected until "out of memory" appears ...
    Dr BEEP Dr BEEP June 2011 Sinclair Basic
  • 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…

    ... achieve the performance using less memory? Without machine code! ;)[/QUOTE]
    string variable might be faster than ...
    mcleod_ideafix mcleod_ideafix June 2011 Sinclair Basic
  • 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…

    ... strings. But accessing a single string variable might be faster than ... at run time in to memory. I do not bother with ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... numeric literals for [B]VAL "" [/B]to save memory. However, for values ... ]. Not only does this save memory but it is also a ... lot faster than [B]VAL[/B].

    Hope this ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... numeric literals for [B]VAL "" [/B]to save memory. However, for values ... ]. Not only does this save memory but it is also a ... lot faster than [B]VAL[/B].

    Hope this ...
    Dr BEEP Dr BEEP June 2011 Sinclair Basic
  • Can anyone see a way to speed up the following line of code?Hi Folks, Been looking at bottle necks in my code using BASin's Profiler and the following line (well the 2nd LET statement) is somewhat slow. [COD…

    ... the CODE with string. string arrays are shorter in memory then number arrays ... , but using string arrays with ... where possible compare to a string literal but failing that use ...
    Paddy Coleman Paddy Coleman July 2011 Sinclair Basic
  • binutils questionSince there's a few people using binutils these days I thought I'd give it a go and see whether it solves my hunt for a replacement assembler/librari…

    ... can target the multiple memory banks of the 128k ... br /> Also be aware that string constants are supposed to be ... tried to modify a string constant and then found ... targetting a > 64k memory space and it will ... of programs with a far memory model (far pointers, ...
    Alcoholics Anonymous Alcoholics Anonymous July 2011 Development
  • binutils questionSince there's a few people using binutils these days I thought I'd give it a go and see whether it solves my hunt for a replacement assembler/librari…

    ... , you can target the multiple memory banks of the 128k spectrum ... is not the same as string[][]. If I remember correctly, there ... returns errors if the common string length has not been specified ...
    Timmy Timmy July 2011 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... :

    * Using VAL "number" to reduce memory use
    * Using single ...
    Paddy Coleman Paddy Coleman August 2011 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... Coleman;555910]* Using VAL "number" to reduce memory use[/QUOTE]
    < ... recommending this trick to save memory, but I can't ... performance.

    Using VAL "number" means the Spectrum has ... the reason this trick saves memory, but also the reason ...
    Einar Saukas Einar Saukas August 2011 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... recommending this trick to save memory, but I can't remember ... in performance.

    Using VAL "number" means the Spectrum has ... the reason this trick saves memory, but also the reason it ... a quicker and even more memory-efficient way for numbers between ...
    emleymoor emleymoor August 2011 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ...
    150 LET a=a+VAL "32"
    160 PRINT a ... use a literal number. If memory conservation is your aim the ... to use CODE and only VAL as the last resort.
    Paddy Coleman Paddy Coleman August 2011 Sinclair Basic
  • machine code loadercan someone have a look at this loader and break down what its actually doing and also how i can stop it from executing the 2 loads of headerless blo…

    ... above, replacing the BASIC string with whatever is suitable for ... 1" ;LOAD d1"ds" CODE VAL "16384"
    DEFB $0E,$ ... 1" ;LOAD d1"dc" CODE VAL "23734"
    DEFB $0E,$ ... $F9,$C0,$B0 ;RANDOMIZE USR VAL "53743"
    DEFM '"53743 ...
    Battle Bunny Battle Bunny August 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…

    ... ):
    DEF FN b(b)=VAL (("b-INT (b/2)*2 ... returning A in BC) in string B$. The FOR...NEXT loop ...
    Battle Bunny Battle Bunny September 2011 Development
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ... not found or if either string is null or if o ... ) but returns a convenient null string instead.

    The expression ... i(w$,o$,c)=
    VAL (("FN i(w$,o$,c ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • Any ideas on how to solve this equation?If I have three numbers 10:A:B where A & B are equal +ve integers <10, what formula could I apply to pairs of numbers (A,10) or (10,B) such that the …

    ... )=n-q*INT (n/q)+VAL ("0"+("+p*FN b(INT ... to store the number in string format whenever it's not ...
    Einar Saukas Einar Saukas September 2011 Development
  • numbers to binaryHi everyone, I have looked through the manual and have found nothing. How do you change a number to binary easily? I know you can go binary to decim…

    ... m(n$,c) need a string pointer 'c' which is passed ... all the digits in a string so that they occur in ... character's position in the string determines its value rather than ... ),1)*b^(LEN n$-c)+VAL (("FN f(n$,b,c ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …

    ... finishes.

    The empty string DATA item is so that ... br /> 9991 GO SUB VAL "9992": GO TO VAL "9991": DATA "","01234567891234567 ... br /> PAUSE k0: RANDOMIZE USR VAL "m+88": STOP
    ... s): NEXT s:
    RESTORE VAL "9991": READ f$: RANDOMIZE ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... A ( will be zero if string '$' - '$' )

    CALL Z,L28AB ... calculated.

    - Allocate stack memory by decreasing SP so that ... RST 18h routine for allocating memory.

    - Push to the ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... and you use 0 as string termination, then that print sequence ... have 'weird' values, write to memory locations outside the display area ...
    RetroTechie RetroTechie October 2011 Development
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... and you use 0 as string termination, then that print sequence ... have 'weird' values, write to memory locations outside the display area ...
    guesser guesser October 2011 Development
  • Need help with tzxing once again :)You people helped me so much in this thread witch a custom loader: [url]http://www.worldofspectrum.org/forums/showthread.php?t=36109[/url] Maybe we…

    ...
    Szybka Pamiec Tasmowa = Quick Memory Tape
    Nie zatrzymuj magnetofonu ... [QUOTE] 100 PRINT AT VAL "18",VAL "5"; FLASH SGN PI;" ... Zatrzymaj magnetofon!": PAUSE VAL "100": PRINT AT VAL "18",NOT PI ... 145 IF adr=VAL "16384" THEN GO TO VAL "155"
    ...
    lfaria lfaria October 2011 MIA/STP/SDP
  • Newbie says 'Alreet?'Hiya dudes, Just dropping a line to say hello as i've decided at 33 to try and fulfill a long time ambition to write a speccy game in machine code..…

    ... , no stl, no streams, no string.

    Then some minor ... loading a byte into pixel memory corresponds to setting 8 pixels ...
    Alcoholics Anonymous Alcoholics Anonymous November 2011 Development
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... , selected and then run using VAL; but when the editor printed ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... , selected and then run using VAL; but when the editor printed ...
    Dunny Dunny December 2011 Sinclair Basic
  • Tool for saving prog op codes in one neat column?[deleted]

    ... Dumper which will send a memory dump to screen or printer ... to append to a string or poke memory instead of printing. Fuse ...
    Battle Bunny Battle Bunny December 2011 Development
<1…15161718192021…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