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…28293031323334>
  • fast font engine possible?inspired by the recent "proportional font" thread for zx basic and ideas for gui and having done some of the work on this in the past i wonder if it …

    ... "proportional font" thread for zx basic and ideas for gui and ... functions - draw_text to draw a string in particular font and measure_text ...
    chev chev May 2011 Development
  • 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 …

    ... channel
    ld de,string ;point de at start of ... text string
    ld bc,8 ... ;length of string in bytes
    call 8252 ... your speccy though
    string defb 22,2,5,65 ... at the end of the basic manual, assemblers let you put ...
    R-Tape R-Tape June 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…

    ... want a clever trick in BASIC? You obviously haven't read ... ]Copying a SCREEN$ in ZX BASIC in 1 second?![/thread]
    BASIC as though it was defined as a string, so ...
    Battle Bunny Battle Bunny June 2011 Sinclair Basic
  • 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…

    A string definition is held as a ... number is held in a BASIC listing. The 0 is the ...
    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…

    ... captures the assignment of BASIC variables because it picks ... the uSource whcih monitors for BASIC variables "assemble", "debug", "forth" ... to 'catch' the speech string somewhere. So I would be ... . Any info on the BASIC var assignment monitoring address?
    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…

    ... ;541507]Any info on the BASIC var assignment monitoring address?[/QUOTE ... every interrupt and buffers any string value changes in upper memory ...
    Woody Woody June 2011 Hardware
  • 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…

    ... 11011011. But after that correct string more "0" are connected until ... .
    A recursive formula in BASIC needs a full coverage of ...
    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…

    ... in BASIC, which doesn't have any bit manipulation functions. String z ... the two numbers into two BASIC numeric variables. That's what ... get a program working in BASIC and then rewrite the slow ... of the data type from string to number and then back ...
    Battle Bunny Battle Bunny July 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…

    ... goes for the CODE with string. string arrays are shorter in memory ... then number arrays, but using string arrays with number interpretation would ... a 24 bit number in BASIC?
    probably you bake ... 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…

    ... , run the program, exit to basic and then run the program ... />
    Also be aware that string constants are supposed to be ... I tried to modify a string constant and then found another ... string constant was also changed.
    < ...
    Alcoholics Anonymous Alcoholics Anonymous July 2011 Development
  • Frank N SteinThis one > [url]http://www.worldofspectrum.org/infoseekid.cgi?id=0001849[/url] Always seems to crash about level 7 (maybe a bit more) or so with an …

    ... have found in them the string "ZX COMPILER V2.0 1983 ... /> I don't remember which basic compiler used dinamic in its ...
    SyX SyX July 2011 Games
  • 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…

    ... /> ORG $5B00
    LD HL,BASIC
    LD (23641),HL ;E_LINE ... of code above, replacing the BASIC string with whatever is suitable for ... /> ORG $5B00
    LD HL,BASIC
    LD (23641),HL ;E_LINE ...
    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…

    ... ]It can be used from BASIC, err, well, if you know ... returning A in BC) in string B$. The FOR...NEXT loop ...
    Battle Bunny Battle Bunny September 2011 Development
  • saving arraysHi. So i'm working on a small program. I'm almost finished, but i just hit a problem by the end. I would like to save (and load back later) four arra…

    ... a string ($) array.

    It's in the Spectrum BASIC manual ...
    SAVE string DATA arrayname()

    String is the name ... about the separate roles of string and array name. If ...
    You can save character (string) arrays in exactly the same ...
    polomint polomint September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... manipulation is very slow in basic but very fast in assembler ... be converted into a binary string and the routine at u ... the last character of the string "0000000000000000" inside the DEF FN ... m/c routine within the string a$ and find its starting ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... m/code into a BASIC program could be generalised ... being entered into a string which expanded by one ... would put the assembled string at the start of ... />
    The m/code string would need to be itself ... up VARS so that the string is protected (and invisible) ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... incorporating m/code into a BASIC program could be generalised and ... mind is having the "2A0B5C......" string in the DEF FN stmt ...
    roko roko September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... room directly as a constant string (with side-effect). Anyway your ... of m/code inside a string is just a funny exercise ... a byte-file separate from basic program.
    _M.
    mattsteel mattsteel September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... of m/code inside a string is just a funny exercise ... a byte-file separate from basic program.[/QUOTE] It took me ...
    roko roko September 2011 Sinclair Basic
  • 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 ... the perhaps little known ZX BASIC fact that the function w ... ) but returns a convenient null string instead.

    The expression ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • 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…

    ... wants to use it from BASIC
    ret

    ; --------------------------------------------------
    ;
    ; prints a string which is terminated with $ff ... /> cp 255 ; end of the string
    ret z ; so exit ...
    polomint polomint September 2011 Development
  • Display half a screenWorking in 128 Basic and saving screens to memory via - SAVE! "image" SCREEN$ . Is it possible to display just the top half (or the bottom half) of t…

    ... 3rd (middle) 1/6th. The BASIC is just to show that ... file as a string variable and then using string slicing to select ...
    Battle Bunny Battle Bunny October 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(…

    ... snapshot with patched ROM and BASIC test code[/url]

    string '$' - '$' )

    CALL Z,L28AB ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... wants to use it from BASIC
    ;ei
    ld (keyretval ... : print_message
    ;
    ; prints a string which is terminated with $ff ... /> cp 255 ; end of the string
    ret z ; so exit ...
    polomint polomint October 2011 Development
  • Auto generated spritesLooking around for some graphics I came across [url]http://blog.disktree.net/?p=19[/url] , one of several such pages. Need the odd 8x8 UDG or two (…

    ... /> call 5633
    ld de,string ;instructions
    ld bc,theendofthestring ... -string
    call 8252
    ;
    ...
    ret ;back to BASIC!
    ;
    string defb 22,0,0 ...
    R-Tape R-Tape December 2011 Development
  • PFlagsIs there an explantion somewhere of what bits mean what in the printing flags? 1 23658 FLAGS2 More flags. 1 23693 ATTR P Permanent current col…

    ... =1]4 - Unused by 48K BASIC.[/SIZE]
    [SIZE=1]5 ... - Set if handling a simple string.[/SIZE]
    [SIZE=1]1 ...
    roko roko December 2011 Development
  • What was the best Designed Speccy???So what does the World Of Spectrum think the best Designed Spectrum was? [URL=http://imageshack.us/photo/my-images/845/thespectrums.jpg/][IMG]http:…

    ... :)

    128k BASIC didn't use the tokens, so they weren ... want to jump to 48k BASIC (and USR 0 from 128k ... BASIC was an undocumented "feature") was ... 48k-only games, and the tokens needed for that [i]were ...
    Dunny Dunny December 2011 Sinclair Miscellaneous
<1…28293031323334>

Latest Posts

  • European Software Titles with an English version
    Antiriad2097 on 6:40AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
string 2.8K 5.1K
tokens 374 492
basic 24.7K 39K

Related Threads

  • getting c nonsense in basic when trying to load a program through a string in +3 basicstrangely if i use load s$(to 8), it says nonsense in basic but works when i run it. but when i execute the command without a line no it works withou…
  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • BASIC: Fast way of filling a string?Recently I decided to use string slicing to extract random numbers from a sequence in the one-liner Lottery picker:<br /> <br /> [quote]<br /> 20 RAN…
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a<br /> 48K Spectrum to one for the ZX81. It's obvious that some things cannot<br …
  • ZX Basic 1.2.5 - a BASIC CompilerWell, my old post about ZX BASIC seems to be gone (maybe this phorum purges old threads?), so I started a new one.<br /> <br /> After more than 6 mon…
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …

Related Searches

  • tokens
  • rst8 return to basic
  • rst8 basic
  • return to basic
  • basic tips tricks
  • best basic manual
  • writing music in basic
  • play in basic
  • play command in basic
  • basic upper lower case
  • basic toupper tolower
  • basic lcase ucase
  • basic change upper lower case
  • basic
  • basic flicker
  • string graphic blocks basic
  • basic string
  • basic memory string copy
  • basic memory fast string copy
  • basic screen string

Copyright © 2024 World of Spectrum