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…16171819202122…34>
  • So easy to use.Back in the 90s I was off work for 3 months following an operation, anyway in my boredom I dusted off my old speccy+ and the manual, and got my head …

    ... . or I have built a string containing the control codes externally ... equal to 23693 to reduce memory usage.

    Paddy
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • problem with RND (or maybe INT)I'm using this statement: LET m=(INT (RND*sn)+k1)*k2-k1 to give a pointer m to a 2-byte segment of a string l$. Items k1 & k2 are integer constants…

    ... the (variable) length of the string being scanned.

    The ... co THEN
    GO TO VAL "1350"
    1345! GO SUB ... /> LET o$="y": GO TO VAL "1356"
    REM Apply -ve ... $="y" THEN
    GO SUB VAL "1115"
    1356 LET yx ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... is figuring out how to string those few very simple, basic ... that moves bytes around in memory, and reads and writes I ...
    ccowley ccowley January 2012 Development
  • z88dk sticky?I've just tried to PM Alcoholics Anonymous and couldn't because "Alcoholics Anonymous has exceeded their stored private messages quota and cannot acc…

    ... allocated from a pool of memory whose size can be ... simultaneously open files. All stdio memory requirements will be satisfied through ... may be ideal for banked memory systems so that the ... such as getting character / text string size, etc.

    ...
    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • The curious case of the vanishing zerosRight, I'm back for more help guys This time I think I've figured out the code ok....but still it fails - well it works but only once... Basically …

    You still need to poke the numbers into memory so:

    170 POKE USR "P"+0, VAL (CHR$ 196 + "00011000")

    etc
    Rebelstar without a cause Rebelstar without a cause January 2012 Sinclair Basic
  • The curious case of the vanishing zerosRight, I'm back for more help guys This time I think I've figured out the code ok....but still it fails - well it works but only once... Basically …

    ... the result of the expression VAL (CHR$ 196+"10101010") would be ... change the address in memory. The results of VAL (CHR$ 196+"10101010 ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • Generating a constant of 2?Hi Folks, Through "The Wizard of WOS" I learnt that you can generate constants as follows: [B]NOT PI=0 SGN PI=1 INT PI=3[/B] Is there a quick way …

    ... .2 Frames
    LET a=VAL "2" takes 26,028 Ts ... actually uses less memory and is quicker that VAL "2"!

    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • Generating a constant of 2?Hi Folks, Through "The Wizard of WOS" I learnt that you can generate constants as follows: [B]NOT PI=0 SGN PI=1 INT PI=3[/B] Is there a quick way …

    ... me quite a bit of memory.

    [QUOTE=Battle Bunny ... defining:
    DEF FN c()=VAL "FN p(23621)"
    and ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • New Tool: CheqEdit[b]CheqEdit[/b] it's a simple and small program that helps you to draw 64x48 graphics on screen in GRAPHICS MODE. Program can output as text in CHR$ …

    ... most memory efficient, although Im in love with your Compressed string routine ...
    kgmcneil kgmcneil February 2012 Announcements
  • 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…

    ... be adding an empty string to a string which when evaluated ... returns an empty string.

    In fact ... Of course, VAL$ needs more than just an empty string, it needs ... evaluate, hence the empty string inside the "empty string". Neat :)
    ...
    Dunny Dunny February 2012 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…

    ... /> 0 00h N/A Simple string flag
    64 40h N ... be POKE'd in to memory anywhere as long as DEFADD ...
    Paddy Coleman Paddy Coleman February 2012 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…

    ... to a DEFADD destination string in free RAM which ... ] treated as a simple string, otherwise a new location ... my documentation regarding the simple string flag.

    ... that restores the UDG memory after use of the ... DEF FN memory move. If I use ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • RND numberHow do I go about selecting from the numbers 4,9,14 and 19? (RND*4)*5-1 ????? :-?

    ... not evenly spaced then a string function could be used;
    DEF FN b(a$,r)=VAL a$(r TO r+2 ... /> which will work with any string of 3-digit numbers, but ...
    Battle Bunny Battle Bunny March 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…

    ... referring to his VERY clever Memory Move Routine that I completed ... maintain the state of this memory (alternative memory locations can be used ... /> 0 00 N/A Simple string flag (1=Yes)
    64 ... receiving variable to an empty string and the DEFADD system variable ...
    Paddy Coleman Paddy Coleman March 2012 Sinclair Basic
  • RND numberHow do I go about selecting from the numbers 4,9,14 and 19? (RND*4)*5-1 ????? :-?

    ... not evenly spaced then a string function could be used;
    DEF FN b(a$,r)=VAL a$(r TO r+2 ... /> which will work with any string of 3-digit numbers, but ...
    Paddy Coleman Paddy Coleman March 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…

    ... poke a string of characters including colour control codes to memory, I ... do it by poking a string such as A$?[/QUOTE]
    Dr BEEP Dr BEEP March 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…

    Is there a way of READing a string and poking its CHR$ values to memory?
    daveysludge daveysludge March 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…

    ... into 22528, but not my string...[/QUOTE]

    The four ... the string is to be copied to or taken from in memory ...
    Battle Bunny Battle Bunny March 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…

    ... a string A$ then it's already [b]in[/b] a memory ... if it's a simple string in VARS then it will ...
    Battle Bunny Battle Bunny March 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…

    ... is that it uses more memory (obviously), but I find that ... uchar backwalls[];


    // Memory to define the background.
    AndyOaks AndyOaks March 2012 Development
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... ' to each after a matching string has been copied to the ... zero. The linear buffer in memory wraps in a circle, the ...
    Alcoholics Anonymous Alcoholics Anonymous March 2012 Development
  • A new multicolor engine called BIFROST*I'm glad to announce the release of a new multicolor engine implemented by yours truly, including high quality 16x16 tiles designed by R-Tape: [IMG]…

    ... is to get all available memory, but for non conversational adventures ... chunk of memory, it returns NULL (e.g. an empty string). Using ... occupies the beginning of the memory space after the program ( ... instead of the top of memory) then everything will just work ...
    boriel boriel March 2012 Brand new software
  • In Java for ZXHi All I am glad to notify you that I have opened the sources of my J2Z80 translator (0.1 version) which allows to use Java toolchain to generate Z8…

    ... GC, so there can be memory leaks
    [*]it supports JNI ... use string concatenations, but you can use String as constants (a string length ...
    Raydac Raydac March 2012 Development
  • type-ins in zmakebas formati were about coding some type-ins from MicroHobby magazine, and found that there are 'semanal' tape series available at http://www.worldofspectrum.or…

    ... are in the VARS memory space. Again, String arrays will be as ... just grab the
    VARS memory space, and use something like ... long hex string] -

    a simple dump of the memory. But ...
    Dunny Dunny March 2012 Support files
  • those darned recursive functions againI've been stuck on this one all evening. I want to dump out some memory in binary to debug a program. I've got a simple mod 2 division loop to do tha…

    ... which to build the binary string. The "("0" AND NOT n ... AND NOT LEN b$)
    +VAL$ (("FN b$("+STR$ INT (n ... can take a great long string of gubbins as in the ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • Multicolour demo using z88dk + BIFROST* (+source)This is just a demo to show how to show multicolour using z88dk, using the BIFROST* engine (more info [URL="http://www.worldofspectrum.org/forums/sho…

    ... code and data in specific memory regions.

    We' ... state and to communicate new string to tokenize
    ; 2: ... delim chars when tokenizing the string
    ; this means strsep ... a different screen configuration or memory map.

    The ...
    Alcoholics Anonymous Alcoholics Anonymous March 2012 Development
  • Turn UDG to Attrribute blocksI'm trying to enlarge my UDG's to 8 x 8 character blocks per pixel, but struggling, is there any subroutine/program for enlarging UDG's x 8?

    ... values, but that'd eat memory.

    You could ... -15, e.g. string 0="____", string 1="___X",... string 11="X_XX" etc ... part and pick the relevant string. This represents the first four ... four pixels. Then print that string of 8 characters, and move ...
    joefish joefish May 2012 Development
  • What if there was no memory or space limitation?What if there was no memory or space limitation? We've had topics about the limitations of the Speccy's hardware, topics where we discussed how good …

    ... treat the entire thing like memory. The operating system will ... difference is the large memory space means a large part ... . The minimum amount of memory the program needs to avoid ... 60000:
    print_string:
    ;; print string at address hl
    ....
    Alcoholics Anonymous Alcoholics Anonymous May 2012 Sinclair Miscellaneous
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... it in PRINT if a string slicing is used between the ... functions have this side effect? VAL$ maybe?
    BloodBaz BloodBaz May 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... it in PRINT if a string slicing is used between the ... functions have this side effect? VAL$ maybe?[/QUOTE]

    I ... think it's just STR$. VAL$ doesn't use the "R ...
    chev chev May 2012 Sinclair Basic
<1…16171819202122…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