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…45678910…34>
  • Windows XP questionFor my mame cabinet I want to hide windows as much as I can. At the moment I have customised the motherboard bios splash screen so thats hidden, it t…

    ... the images that you want to eliminate (maybe by replacing them ... are the keys I used to set to prevent the light blue ... />
    String 'AutoAdminLogon', '1'
    String 'DefaultPassword', ''
    Integer 'DontDisplayLastUserName', 1
    Integer 'DisableCAD ...
    zxbruno zxbruno June 2009 Chit chat
  • A tidy loader for minigamesThe minigame competition doesn't permit the use of separate loaders like [code]10 LOAD "": RAND USR 32768[/code] The loader must be included in the b…

    ... , so it appears before the string variable in memory. The address ... variable doesn't have to be an integer.

    If you ... ]USR a[/b] will jump to address 23755. The disassembly:
    to use as you wish.
    ajmoss ajmoss June 2010 Development
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... you can't undestand how to return something at all, try ... you'll get it into integer variable and can use later ... /> [code] ld bc,string
    ret
    string
    db "bla",0 ... the memory, and will have to read all the letters in ... a+1
    60 GO TO 20[/code]
    Shiru Shiru June 2010 Sinclair Basic
  • New RZX Block Type Suggestion -- AnnotationWho is maintaining the RZX specification at the moment? I'd like to ask for the feasability of the following request. Annotations embedded within th…

    ... display duration, the text string to display, and display options.
    to use smaller integer type for encoding ... rendering, each Text string is subjected to word wrapping process ( ... Width, the Text string is subjected to line breaking and ...
    Patrik Rak Patrik Rak August 2010 Emulators
  • Z88DK tapfile creation questionHere's another question. The game I've just started working on (Sid Spanners 3), I'm concatenating the following tap files together, to make a big ta…

    ... both programs linked to were suitable to do what I ... br /> * Quick 'n' dirty mym to tap converter
    *
    * ... (overwriting if necessary) just ready to run.
    */


    //Include string.h to get the function prototypes for ...
    Digital Prawn Digital Prawn January 2011 Development
  • Recommend a dev environmentIt's been a while since I last wrote any Z80 assembler - must be over 20 years, and since I wrote any spectrum Z80 assembler more like 25 years. I n…

    ... between local and global names to automatically resolve name clashes. ... makes it more difficult than to have to sift through someone else ... number base out of a string being parsed from a file ... If I used the small integer math lib, l_mulu_40_32x8 is standalone ...
    Alcoholics Anonymous Alcoholics Anonymous March 2011 Development
  • Assembly help: EQUCan anyone explain in duffers language the purpose of the EQU term in assembly? I found this info in another thread: EQU: Equate a name to a specif…

    ... /> MACRO fbands ; binary and string
    defb 0x10
    ... MACRO fcps, n ; compare string (.le to .eq)
    defb 0x11 ...
    MACRO fcat ; concatenate string
    defb 0x17
    ENDM ... br />
    MACRO fint ; integer (rounded down)
    defb 0x27 ...
    chev chev April 2011 Development
  • Development choices, help!As a small part-time project I would like to convert my daily programming work (a workflow/bpel engine) to the Spectrum, purely for fun. I would like…

    ... />
    [code]
    string.h:

    ///////////////////////////
    * referring to either have been ... //////////////////////////////////////
    // 7.20.6 INTEGER ARITHMETIC FUNCTIONS
    //////////////////////////////////////
    ...
    Alcoholics Anonymous Alcoholics Anonymous June 2011 Development
  • 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…

    ... possible 5-byte float to a one-letter string and stacks it ... conversion takes time. Then a string-compare is done, with one ... single letter and converts it to an integer - which is faster than ... only a fast single-letter string compare.

    In general ...
    Dunny Dunny 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…

    ... 5]=6;" places an integer array at address 40000 ... aware that string constants are supposed to be allocated ... I tried to modify a string constant and ... then found another string constant was also ... involve a general multiply to access individual characters.
    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…

    ... p[5]=6;" places an integer array at address 40000. This ... address. By allowing sections to occupy the same address range ... not involve a general multiply to access individual characters.[/QUOTE]< ... returns errors if the common string length has not been ...
    Timmy Timmy July 2011 Development
  • 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…

    ... is the integer going to be converted into a binary string and the ... first argument i.e. the integer b passed
    DEFADD+ ... the last character of the string "0000000000000000" inside the DEF ... At "input" you have to give an integer and its binary representation ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • 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…

    ... converts a positive integer 'n$' from base 'o' to base 'p'; ... (n$,c) need a string pointer 'c' which is ... the digits in a string so that they occur ... 's position in the string determines its value rather ... external key code prior to converting each character, giving ...
    Battle Bunny Battle Bunny September 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…

    ... mean is say you want to print TAB 0, you can ... because 0 will terminate your string. i.e. 23,0,0 ... equivalent to TAB 0 terminator, but doesn't terminate the string early ... TAB... but does it cause integer out of range with AT ...
    guesser guesser October 2011 Development
  • Create a new microdrive cartridge image formatHi there, I'm working to emulate the IF1+Microdrives in JSpeccy.I've found what the "classic" MDR format ins't capable to store all the required inf…

    ... Unsigned 32 bit integer (4 bytes)
    [b]STRING[/b] -> ... [i]Major Version[/i] to [i]# Gap Entries[/i]]< ... can be used to warn to the user that ... when converting from mdr to mdv. The absolute minimum ... My implementation uses 10 bytes to reproduce the GAPs.
    ...
    zx81 zx81 December 2011 Emulators
  • 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…

    ... gives an odd +ve integer (1,3,5,7, ... the (variable) length of the string being scanned.


    To answer my question:
    < ... NOT co THEN
    GO TO VAL "1350"
    1345 ... /> LET o$="y": GO TO VAL "1356"
    REM ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • 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…

    ... This facilitates the usual integer file descriptor method of addressing ... chain from FILE* to FD* to device driver exist at ... for keyboards. Push corresponds to interrupt driven keypresses where ... such as getting character / text string size, etc.

    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • How much space does a number take?Hi Folks, Could someone please remind me how much memory a number takes up in a BASIC listing. For example, if you had: [CODE]100 LET a=3000[/CODE…

    ... it still takes 5 bytes to store it?

    Paddy ... has to occupy 5 bytes to intermingle with FP values and string descriptors ... and is $FF if the integer is negative. Only the fifth ... are not stored or saved to tape.
    Geoff Geoff March 2012 Sinclair Basic
  • 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?

    ... you mean enlarging them to one character per pixel? ... do it in advance to build up a table ... e.g. string 0="____", string 1="___X",... string 11="X_XX" ... take the integer part and pick the relevant string. This ... pixels. Then print that string of 8 characters, ...
    joefish joefish May 2012 Development
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    ... br /> call COPYDIG ;count integer
    pop de
    integer padding (signed)
    ... br /> call COPYDIG ;copy integer

    NEXTDEC ... digits up to character C to new number string
    COPYDIG ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • 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…

    To replicate the BASIC routine ... wouldn't it be best to just call "RND" in ... /> defb $34,$B0 ;stk_data (short string)
    defw $023F ;address of ... ,$40,$B0,$00 ;stk_data (small integer)
    defb $04 ;4< ...
    Battle Bunny Battle Bunny July 2012 Development
  • Relocation with SDCCI desperately need auto- relocation with SDCC. Something that will compile all of my code using start address 0 and generate relocation table so that…

    ... more push/pops have to be chained to get at them.< ... ] (mem_seg_alloc and mem_seg_find_addr) compare to this [URL="http://z88dk.cvs ... specify an integer index into this slab table to select slab ... , still more chars in search string

    notfound:
    < ...
    Alcoholics Anonymous Alcoholics Anonymous June 2013 Development
  • Fantasy Z80 instructions?This follows on from something catmeows said in another thread, and that I've been meaning to ask for a while. This may sound daft to people with mo…

    ... IXH were left undocumented to improve yields and therefore ... set bares a resemblance to the 68xx with features ... did this.

    Integer multiply and divide were sorely ... .google.com/#folders/0B6XhJJ33xpOWbWQ1aWd0eHBQTlk"] string functions[/URL] makes use ...
    Alcoholics Anonymous Alcoholics Anonymous June 2013 Development
  • Math problemI'm trying to solve/model a science problem, and I thought a simple BASIC program might help me, but I struggle to write it. Goal: Given a length of…

    ... new explanation indicates you want to keep all the pieces. In ... this case, you really need to sort it.[/QUOTE]

    string of length 5, with 2 integer-only cuts ... . Basically it becomes very unlikely to have longer fragments left.
    48K 48K August 2013 Sinclair Basic
  • Math problemI'm trying to solve/model a science problem, and I thought a simple BASIC program might help me, but I struggle to write it. Goal: Given a length of…

    ... of the process. And using integer lengths is an entirely different ... cut pieces of string even if they are computed to have zero ... you went to more decimal places, that piece of string might actually ... have a tiny bit of length to it ...
    joefish joefish August 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... /> defw x80_fbands ; binary and string
    defw x80_fcp ; $ ... exponent
    defw x80_fint ; integer
    defw x80_fsqrt ; ... dec de ; point to fifth string byte
    xor a ... /> dec de ; point to fourth string byte
    ld ...
    chev chev October 2013 Development
  • Mountains of Ket - Written in Basic?Was Mountains of Ket written in Basic? And if so is there any way to break into it? The parser's pretty impressive, I want to see how it was done.

    ... first space (or end of string) to memory
    USR compare (case ... characters in c$: POKE it to memory, USR compare with noun ... noun (if any) as two integer numbers.
    Logical evaluation, judging ...
    catmeows catmeows November 2013 Games
  • Elliptical ChallengeSubsequent to the recent "Graph Plot" thread, I wrote this general purpose ellipse drawing routine which will plot (although it doesn't actually use …

    With the integer coordinates in a string for all 8 distinct images ... ) it takes 0.48 second to display that pattern.

    Rotate: ;requires Bresenham ellipse coordinates to be in array p$()
    Battle Bunny Battle Bunny January 2014 Development
  • Elliptical ChallengeSubsequent to the recent "Graph Plot" thread, I wrote this general purpose ellipse drawing routine which will plot (although it doesn't actually use …

    ... rotation plot sequence into a string array I realised that I ... the coordinates were now in integer values and I need only ... updated the snapshot piclink above to include a conversion routine from ... /> This includes clean-up code to erase duplicate plots from q ...
    Battle Bunny Battle Bunny January 2014 Development
  • 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…

    ... that converts an unsigned integer (16-bits) to text in any base ... /> ld hl,12345 ; number to convert to ascii string
    ld bc,10 ... /> ld de,buffer ; where to write the ascii string

    LIB ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Development
<1…45678910…34>

Latest Posts

  • 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
  • European Software Titles with an English version
    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
integer 761 1.1K
to 549.6K 1.6M
string 2.8K 5.1K

Related Threads

  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here)<br /> <br /> in fact, I want to accelerate a car towa…
  • Now seems to be a good time to add to your collectionsI have bought a few spectrum items to add to my collection recently, had i bought them a year or two ago they would have cost double. This is one of …
  • Update to Image to ZX Spec to 1.3.1I'm inbetween jobs at the moment and felt the need to add a new feature - the ability to export anim gifs.<br /> <br /> [IMG]https://lh6.googleuserco…
  • simplest method to pass a string to m/code?The statement "RANDOMIZE numvar+USR mc" is a simple way of passing a single numeric parameter to a m/c routine, as mc can retrieve numvar from the to…
  • Alternative to Poke 23659,0 to prevent a 'break in' to a Basic Program.Good morning everyone,<br /> <br /> My memory fails me these days but in the early days of programming I used to use Poke 23659,0 as a crude way of…
  • How to download games to micro sd card to play on Sinclair zx spectrum vegaHello<br /> Could anyone tell me how to download games from a website to a micro sd card to play on a Sinclair zx spectrum vega , I mean do I use a …
  • A game to port to... to make for... ZX Spectrum ?Hey there,<br /> <br /> I'm a game coder on Commodore computers (C64,CPlus/4,VIC20,Amiga) and I loooove the ZX Spectrum.<br /> I grew up with Comm…
  • How to copy file from tape (*.tap) to disks (*.dsk) ?I am using zx32 with win98 and i want (in the emulate +3) copy files from virtual tapes to virtual disks.<br /> <br /> I use =&gt; load "NameOfFile" …
  • how to make a (protected) .DSK to disk transfer ?I know how to make file transfers between .DSK files and physical disks (logical copy).<br /> <br /> However, how can be done a physical sector trans…
  • how to move fdd300's files to pc emulator?Hi!<br /> I have some diskettes 3" for FDD3000 drive for Timex 2048. How can I read these 3"disk and move to PC ? I have some my own demos and rest s…

Related Searches

  • from bedrooms to billions
  • z80 to tape
  • snapshot to tape
  • linux tzx to wav
  • trd files to image
  • fastest way to clear screen
  • user name and password to download emulator
  • convert src files to
  • rst8 return to basic
  • return to basic
  • unable to log in
  • how to download games
  • how to download games for vega
  • usr0 to 128
  • the adventure game i m trying to complete
  • tzx to tape
  • inputting to a string array
  • hex to dez string
  • int32 to string
  • 32 integer to string

Copyright © 2024 World of Spectrum