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.015s
<1234567…34>
  • Leading Zeroes on a Score in BASICI'm trying to print the score with leading zeroes such that it's always 6 characters wide, i.e.: 000010, 000150, 006100 etc. I quickly knocked thi…

    ... to print the score with leading zeroes such that it's always ... way to do this in BASIC?
    MykeP MykeP July 2016 Sinclair Basic
  • "ZX80 Brain" RPN CalculatorIt is at times like [url=https://www.worldofspectrum.org/forums/discussion/54176/depression]when threads such as this are posted[/url] that I get the…

    ... of Starfire, the early, mostly BASIC-based release from Virgin Games ... made some routines work in BASIC that I could never have ... beyond 99,999,999
    - leading zeroes aren't entered

    BASIC editor, I've had to ...
    The Mighty Dopethrone The Mighty Dopethrone March 2017 Sinclair Basic
  • Math Quiz - MultiplicationThe topic is fast multiplication routines, from 8x8 to 32x32 and all points in between. These functions sit underneath floating point libraries, gen…

    ... d,a

    ; eliminate leading zero bits

    loop_00 ... is 10 cycles per extra leading 0 bit of the ... has at least two more leading zeroes than the larger one. That ... c,h

    ; eliminate leading zero bits

    loop_00 ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • yeah - unix for zx spectrumI started a new hobby project. An operating system for ZX Spectrum. A unix clone. Talked to my friend about it and he asked me what if after I'm done…

    ... loop iterations by looking for leading zeroes. It also unrolls many loops ...
    Alcoholics Anonymous Alcoholics Anonymous January 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…

    ... );

    ctz, count trailing zeroes

    unsigned int igcd ... final version (things like count leading zeroes, parity, etc).

    Regarding ...
    Alcoholics Anonymous Alcoholics Anonymous June 2011 Development
  • Some questions for us big-brains to ponder...1) In this week's Micro Mart (well, tomorrow it will be last weeks, but I only got around to reading it today) it says that it's untrue that PC compo…

    ... you solve by maintaining the leading zeroes.

    If it's ...
    guesser guesser December 2011 Chit chat
  • Encode two positive int numbers into one?Hi guys) Recently I've been trying to simulate short lists in Basic, but the point is that using limited values, say, 0-99 or 0-999, I remembered ho…

    ... less than 3 digits with leading zeroes in the string case?
    The_Bert The_Bert June 2012 Sinclair Basic
  • Encode two positive int numbers into one?Hi guys) Recently I've been trying to simulate short lists in Basic, but the point is that using limited values, say, 0-99 or 0-999, I remembered ho…

    ... less than 3 digits with leading zeroes in the string case?[/QUOTE ...
    Battle Bunny Battle Bunny June 2012 Sinclair Basic
  • Suggestion for adding CPC version links to CPC-Power...Well, as the title says, [URL="http://www.cpc-power.com/"]CPC-Power[/URL] is the equivalent to Infoseek in the CPC world, it's a serious project runn…

    ... must be 7 digits, with leading zeroes where necessary.
    Infoseek now ...
    mheide mheide June 2012 Infoseek database
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... buffer
    ; carry = write leading zeroes
    ;
    ; exit ... buffer
    ; carry = write leading zeroes
    ;
    ; exit ... or a ; no leading zeroes
    jp stdio_atou ; ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... would be replaced by packing leading zeroes (and first one). On other ...
    catmeows catmeows January 2013 Brand new software
  • Documentation for SP1 for Z88DK?(I was going to post in [URL="http://www.worldofspectrum.org/forums/showthread.php?t=11729"]the other thread[/URL], so if a mod thinks this should go…

    ... want to print scores with leading zeroes, which would require extra work ... a string that will do leading zeroes. Or you can look up ...
    Alcoholics Anonymous Alcoholics Anonymous November 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ...
    jr z,Next1 ;skip leading zeroes
    ld d,$ff ;print ... other zeroes
    add a,e ;A ...
    Battle Bunny Battle Bunny December 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... /> jr z,Next1 ;skip leading zeroes
    ld d,$ff ; ... print other zeroes
    add a,e ... SEARCH: cp (hl) ;skip leading zeroes
    jr nz, FOUND
    Einar Saukas Einar Saukas December 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... byte
    cp (hl) ;skip leading zeroes
    jr c,BCD2ALH ;if ...
    Battle Bunny Battle Bunny December 2013 Development
  • Documentation for SP1 for Z88DK?(I was going to post in [URL="http://www.worldofspectrum.org/forums/showthread.php?t=11729"]the other thread[/URL], so if a mod thinks this should go…

    ...
    ; carry set to write leading zeroes
    ;
    ; exit : ;;de;; hl ... , no_leading_zeroes

    ; write two leading zeroes to output string

    If [B]flag=1[/B], leading zeroes will be written. Returns a ...
    Alcoholics Anonymous Alcoholics Anonymous December 2013 Development
  • Math Quiz - MultiplicationThe topic is fast multiplication routines, from 8x8 to 32x32 and all points in between. These functions sit underneath floating point libraries, gen…

    ... the unrolling and testing for leading zeroes, aside from checking for overflows ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Development
  • Math Quiz - MultiplicationThe topic is fast multiplication routines, from 8x8 to 32x32 and all points in between. These functions sit underneath floating point libraries, gen…

    ... the unrolling and testing for leading zeroes, aside from checking for overflows ...
    catmeows catmeows February 2014 Development
  • Is ESXDOS flexible enough to incorporate e.g. Spectranet commands?I was just discussing the idea with someone about the wish some people have to be able to combine interfaces such as DivIDE (Plus) / DivMMC EnJOY! wi…

    ... ; next time look for leading zeroes

    cp ... state_2 ; next time consume leading zeroes
    jp __stdio_scanf_sm_write ... ret z ; throw away leading zeroes

    __stdio_scanf_sm_decimal_join:< ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Hardware
  • Flappy Bird Simulator Hi-Score Challenge!Maybe development isn't the best place for a HSC, so hope Timmy doesn't mind my starting this thread here :-) [URL="http://www.sendspace.com/file/b0…

    ... perplexed about the number of leading zeroes that Timmy saw fit to ...
    Morkin Morkin February 2014 Games
  • Routine for handling large scores?[FONT=Calibri][SIZE=3]I want to store various numbers for scores and levels etc. Some of these can be very large so will need to be held in multiple …

    ... blank space, instead of printing leading zeroes.

    Then I have ... buffer (which should mostly be zeroes - typically you only set one ...
    joefish joefish March 2014 Development
  • New Game - Cap'n Rescue: ReprisalHello, I'd just like to announce my new game Cap'n Rescue: Reprisal for the ZX Spectrum is almost complete. This is the third game in the series…

    ... amount of ammo - trouble with leading zeroes is causing me problems when ...
    LoadingScreech LoadingScreech July 2016 Brand new software
  • How to separate a character from a number in a string?Hi 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 you w…

    You can just do IF A$(n)>="0" AND A$(n)
    joefish joefish May 2017 Sinclair Basic
  • Headerless tape loading blocksIs there any way to convert headerless machine code blocks to regular headed blocks? I imagine it involves Taper. I ask because now that I know I'…

    ... "001" command in there already - leading zeroes and all - which was handy ...
    The Mighty Dopethrone The Mighty Dopethrone November 2017 Sinclair Miscellaneous
  • 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…

    ... and the (not trimmed multiple leading zeroes) decimal value (always signed, but ...
    Paradigm Shifter Paradigm Shifter September 2022 Development
  • GEDit syntax highlighting for Boriel's ZX BasicHi! I just tailored this syntax highlighting code and would like to share with he community. Suggestions are always welcome, though the file works w…

    ... />
    ^\s*#\s*

    \\( # leading backslash
    [\\\`\*] | # escaped characters
    pkersey pkersey February 2014 Development
  • Help With AY Music Program in BASICHi, last year I started writing a BASIC program for making and recording AY Music. I thought it would be easier than learning how to use Soundtracker…

    ... year I started writing a BASIC program for making and recording ... could help me fix the BASIC program, I'd be very ... ]

    [b][u][u]BASIC listing:[/u][/u][/b]
    RetroPhase2014 RetroPhase2014 December 2015 Sinclair Basic
  • A snapshot to transfer converterI'm programming a tool that takes an snapshot file and convert it to a tape file that mimics those created with transfers. This is a long term projec…

    ... a 128k mode and that "BASIC" mode that uses different loaders ... with 128k without using 48K BASIC.
    -b can make "easy ... memory pages (cut out leading and trailing zeroes so it saves less ...
    Zup Zup June 2020 Development
  • BASIC-code challengeFor the BASIC-coders among us. There is a number that has following aspects. divided by 16 remains 15 divided by 15 remains 14 divided by 14 remain…

    For the BASIC-coders among us.

    ... program below.
    The fastest BASIC-program wins.
    Timing will ...
    Dr BEEP Dr BEEP July 2002 Sinclair Miscellaneous
  • Laser BasicDid anyone else out there buy Laser Basic and Laser Compiler? I just noticed Laser Basic while I was looking thru a website, and it reminded me about…

    ... else out there buy Laser Basic and Laser Compiler?
    I ... just noticed Laser Basic while I was looking thru ... could write programs in Laser Basic, but if you wanted to ...
    Neil^P Neil^P July 2002 Games
<1234567…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott 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
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
basic 24.7K 39K
leading 1.1K 1.2K
zeroes 215 315

Related Threads

  • Leading Zeroes on a Score in BASICI'm trying to print the score with leading zeroes such that it's always 6 characters wide, i.e.: 000010, 000150, 006100 etc.<br /> <br /> I quickly…
  • 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…
  • 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 …
  • Loading basic from basic?Hi Guys,<br /> <br /> Could you please help me. I want to create a menu on my plus 3 disks. If I use the line below I just get "c nonsense in basic…

Related Searches

  • 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
  • flicker basic
  • two charcters basic
  • basic sprites
  • basic sprites flicker
  • leading zeroes
  • print leading zeroes

Copyright © 2024 World of Spectrum