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.114s
<1…23242526272829…34>
  • Microdrive logic flow.Hi all, I've finally gotten my hands on an Interface 1 and Microdrive to continue my project, and have been analyzing the Microdrive with a logic …

    ... to load, because it's a string of 5 cartridges, which is ... The maximum theoretical size for a cartridge is 655360 bytes of ... DOS structure and load a directory into a microdrive slot. Then the ... showcarts" CODE could load in a screen image showing the cartridges ...
    cj7hawk cj7hawk June 2021 Hardware
  • Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…

    You can't compare a string to a number. You need IF VAL N$ >= 6. IF N$ >= "6" might work as well.
    I think anyway... been a while and some dialects of BASIC allow you to coerce strings into numbers.
    Paradigm Shifter Paradigm Shifter September 2021 Sinclair Miscellaneous
  • Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…

    Lets take a break for a minute to pose a rhetorical question.
    a bit frustrating when the ... cant directly give a numeric value to a string variable then perhaps ... you can assign a numeric ...
    mik3d3nch mik3d3nch September 2021 Sinclair Miscellaneous
  • Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…

    To assign a number to a string you need to use STR$ ... wont work (assuming s is a numeric variable, you'll need ... ). If it's just a placeholder for a numeric constant (like LET ... />
    Again it's been a while since I coded in ...
    Paradigm Shifter Paradigm Shifter September 2021 Sinclair Miscellaneous
  • Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…

    ... like "cd" or "cat" take string arguments only. So you'd ... br />
    There is also a "pwd" (path to working directory ... enhanced divmmc which makes it a much more useful peripheral than ... basic command "cd" which requires a string argument although it does the ...
    Alcoholics Anonymous Alcoholics Anonymous September 2021 Sinclair Miscellaneous
  • Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…

    ... is a difference between a string and a number.

    A string is ... look at a string or a number from the user. A string quite often ... gives you a lot of flexibility ... and that gets stored as a string. You might have to ...
    Alcoholics Anonymous Alcoholics Anonymous September 2021 Sinclair Miscellaneous
  • Whatever Happened To the ZX Spectrum "GAMES FOR GIRLS" Software Genre?I know something must have happened to it but I do not know what .

    ... that one is. Basically showing a postage stamp sized pre recording ... you didn’t need a string bikini, and a pair of DD’s ...
    dm_boozefreek dm_boozefreek October 2021 Games
  • Simple is not simplehttps://www.youtube.com/watch?v=9Gn4rmQTZek

    ... of sexual partners a man has had in a pub conversation and ... at all since 1998. Cue a string of scientists to dispute that ... . Scienists are a bunch of cheeky monkeys.
    Ælita Ælita June 2022 Chit chat
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... to draw a text string (looks like it's a null terminated string), I ... can see this does not handle the string ... :

    ; hl points to a string defined via dm (can't ... dm adds a 0 byte at the end of the string so ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... See if you can write a draw text routine that doesn ... have a null byte at the end of the string or ... the last byte of the string.. DC in the assembler ... See if you can make a version of text out ... , brightness, flashing) of a string. I used a macro helper for this ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... See if you can write a draw text routine that doesn ... have a null byte at the end of the string or ... the last byte of the string.. DC in the assembler ... See if you can make a version of text out ... , brightness, flashing) of a string. I used a macro helper for this ...
    Kotek Kotek June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... See if you can write a draw text routine that doesn ... have a null byte at the end of the string or ... the last byte of the string.. DC in the assembler ... See if you can make a version of text out ... , brightness, flashing) of a string. I used a macro helper for this ...
    Kotek Kotek June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    Character code 144 is UDG "A", code 164 is UDG "U" - ... can just put a raw character code in a dm like this ... , just put it after the string after a comma.
    str0 defm ... #0-UDG", 144 ; add UDG A at the end
    defm ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... because you only check after a string has been drawn (which could ... go off screen mid string) instead of after every character ...
    Paradigm Shifter Paradigm Shifter June 2022 Development
  • Advice on electric guitar learning, pleaseSo, briscaF1 junior (who is 10 and not the tallest person) has signed up for some "pop/rock" guitar tutoring at skool (sic) which basically translate…

    ... bikes that looks like a star or a snowflake is actually ... on these guitars (height of string above fretboard) is measured ... easy to "stop" the string, whereas the above mentioned cheap ... is difficult and intonation(when a string sounds correctly when played open ...
    moggy moggy August 2022 Chit chat
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> e.g. to define a string containing a CR, use
    my_string db ... /> ret

    ; output a null terminated string at current scr_out position ... /> ; HL = pointer to string
    puts:
    ld a, (hl)
    inc ...
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... an int. If it's a string HL just points to the ... /math#toc32
    ; parse numeric string pointed to by DE
    string
    ; Output: ASCII string at (DE)
    signedhltodecimal ... l, a
    ld a, 0 ; Note that XOR A or SUB A would ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... chars (required for quotes inside a string, will use \" for that). Then ... /> ret

    ; output a null terminated string at current scr_out position ... /> ; HL = pointer to string
    puts:
    ld a, (hl)
    inc ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... \" #22 allow to enter a " in a string literal, e.g. "this ... to enter a \ character in a character or string literal, e ... br />
    ; output a null terminated string at current scr_out position ... HL = pointer to string
    puts:
    ld a, (hl)
    ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... "Hello World" as a single string: Hello World
    ... a string with "This is a string containing a quote \"" -> string: This is a string containing a ... 1 for "escaped string" which the print routine ... or ', move into "tokenize string phase"
    ; or else ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... about abc"string" does it treat abc"string" as a symbol ... as 3 tokens though - string: Hello token:, token: Gandalf ...

    ; output a null terminated string at current scr_out position ... HL = pointer to string
    puts:
    ld a, (hl)
    ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... so "hello\0hidden" only displays string: hello

    [code]
    ret

    ; output a null terminated string at current scr_out position ... /> ; HL = pointer to string
    puts:
    ld a, (hl)
    inc ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... br />
    ; output a null terminated string at current scr_out position ... (will not have a null terminator between string and next token ... \" #22 allow to enter a " in a string literal, e.g. "this ... to enter a \ character in a character or string literal, e ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ret

    ; output a null terminated string at current scr_out position ... /> ; HL = pointer to string
    puts:
    ld a, (hl)
    inc ... puts

    ; output a null terminated string at current scr_out position ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ret

    ; output a null terminated string at current scr_out position ... /> ; HL = pointer to string
    puts:
    ld a, (hl)
    inc ... not being used
    ; output a string sequence at current scr_out position ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... />
    ; output a null terminated string at current scr_out position ... used
    ; output a string sequence at current scr_out position ... \" #22 allow to enter a " in a string literal, e.g. "this ... to enter a \ character in a character or string literal, ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... />
    ; output a null terminated string at current scr_out position ... used
    ; output a string sequence at current scr_out position ... \" #22 allow to enter a " in a string literal, e.g. "this ... to enter a \ character in a character or string literal, ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • Standard Development LibrariesSo after some time away I decided to re-register after a Twitter thread (https://twitter.com/SpectrumNez/status/1578158361236963328) led me to a Visu…

    ... data itself.
    So for a string you might have char[]='xyz ... .
    So a concrete example would be a routine for printing ... print.

    Structures - basically a way of organising memory. So ... specify where you want your string to be placed on screen ...
    deusexmachina deusexmachina October 2022 Assembler
<1…23242526272829…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 12:41AM
  • i am currently listening to........
    dmsmith on April 15
  • I am currently watching.....
    zx1 on April 15
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 15
  • Cooperative Games.
    harriusherbartio on April 15
  • Celebrity deaths...
    mel the bell on April 15
  • Minor British Sports that did become games on the ZX Spectrum
    dm_boozefreek on April 15
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 15
  • Inside No.9 favourite episodes
    Maroc's Other Projection on April 15
  • How we became brainwashed by social media
    Scottie_uk on April 15

HitBox

Word Docs Hits
reorder 45 49
a 589.5K 1.7M
string 2.8K 5.1K

Related Threads

  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • 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…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…

Related Searches

  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • create a batch file screen
  • change a letter
  • is there a system test for the spectrum
  • is there a system test tape for the spectrum
  • how to do a tzx file
  • how to create a tzx file
  • how to make a tzx file
  • composite screen goes yellow after a while
  • screen goes yellow after a while
  • validate input is a number
  • not a number
  • if input is not a number
  • inputting to a string array
  • detect a word string on the screen
  • colors in a string
  • attributes in a string
  • reverse a string

Copyright © 2024 World of Spectrum