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.119s
<1…891011121314…34>
  • How did you learn to code on the Spectrum?Got to be honest, as much as I wish I did, I don't know anything about programming. I had a Spectrum (+2 and then +2B) when I was a kid, and my prog…

    ... /> I contend that trying to save the effort of becoming ... 't count in decimal, but in binary and ten isn' ... decimal? If expressed in hex it becomes much easier to ... different ideas on how to get started, so just ... will get the urge to go further and further).[/ ...
    guesser guesser March 2014 Development
  • How did you learn to code on the Spectrum?Got to be honest, as much as I wish I did, I don't know anything about programming. I had a Spectrum (+2 and then +2B) when I was a kid, and my prog…

    ... ;759793]I contend that trying to save the effort of becoming ... don't count in decimal, but in binary and ten isn't ... in decimal? If expressed in hex it becomes much easier to divine ...
    polomint polomint March 2014 Development
  • How did you learn to code on the Spectrum?Got to be honest, as much as I wish I did, I don't know anything about programming. I had a Spectrum (+2 and then +2B) when I was a kid, and my prog…

    ... miles and inches are to measurement what decimal is to machine code. They ... because it is shorter to write than binary, which you really want ... to use, without obliterating the visual ...
    Stefan Drissen Stefan Drissen March 2014 Development
  • How did you learn to code on the Spectrum?Got to be honest, as much as I wish I did, I don't know anything about programming. I had a Spectrum (+2 and then +2B) when I was a kid, and my prog…

    ... can use decimal. I don't personally like to, preferring to remain ... to me to work with weird decimal numbers, so disconnected from the binary ... screen memory to the shadow screen in decimal vs in ... br /> If you want to use decimal numbers everywhere then don' ...
    guesser guesser March 2014 Development
  • Help needed with calculating screen addressesCan anyone help me finally crack Jonathan Cauldwell's screen addressing calculator and, more to the point, is the reason I'm struggling because this …

    ... .asm[/URL] (screen address to pixel x)
    [URL ... />
    Jonathan likes to deal in decimal, I know, but this ... is something you have to understand in binary ... . All these routines are easy to write ...
    Alcoholics Anonymous Alcoholics Anonymous April 2014 Development
  • Basic program malfunctionHello. Please does anyone know why this basic program 10 LET x=0 20 LET x=x+0.1 30 print x 40 if x<>1 then goto 20 50 STOP does not properly work o…

    ... done yet" and that corresponds to "IF ABS(x-1) > ... ]
    It's not necessary to use ABS, as if the ...
    Alcoholics Anonymous Alcoholics Anonymous June 2014 Sinclair Basic
  • SkoolKit 4.4<div><font face="Arial, Verdana"><span style="font-size: 13.3333330154419px; line-height: normal;">Hey, first SkoolKit release announcement since the…

    To render a numeric value in ... a b (binary), c (character), d (decimal) or h (hexadecimal) prefix to the ...
    Morkin Morkin May 2015 Announcements
  • Floating Point Package Math48<br>I came across a neat little floating point package for the z80 and I'm adapting it now to work with z88dk and sdcc.&nbsp; There is an interesting…

    ... particular test the main contributor to runtime was printing the result ... the third decimal place or about the ninth or tenth binary digit ... the mantissa bits and adding to itself a version shifted right ... represented correctly all the way to the 40th mantissa bit ...
    Alcoholics Anonymous Alcoholics Anonymous June 2015 Development
  • ZX-Assembler version 0.8 (beta) releasedDear readers, yesterday I've published ZX-Assembler in its first version 0.8. It offers you some interesting features, even if I know there are …

    ... you are probably already planning to fix, but I will mention ... Current option to display all addresses and values in decimal or hexa ... , should also be applied when importing a binary ... file. Also there should be another option to switch ...
    Einar Saukas Einar Saukas July 2015 Emulators
  • ZX-Assembler version 0.8 (beta) releasedDear readers, yesterday I've published ZX-Assembler in its first version 0.8. It offers you some interesting features, even if I know there are …

    ... Current option to display all addresses and values in decimal or hexa ... , should also be applied when importing a binary ... file. Also there should be another option to switch ... set. But maybe this has to be checked again....
    The ...
    clausjahn clausjahn July 2015 Emulators
  • ZX-Assembler version 0.8 (beta) releasedDear readers, yesterday I've published ZX-Assembler in its first version 0.8. It offers you some interesting features, even if I know there are …

    ... Current option to display all addresses and values in decimal or hexa ... , should also be applied when importing a binary ... file. Also there should be another option to switch ... "Inserts code from a binary or assembler file" should insert ...
    clausjahn clausjahn August 2015 Emulators
  • 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

    ... a simple routine to put a decimal->binary conversion into a string ... =INT (dec/2):
    GO TO 20+NOT dec
    21 ...
    Battle Bunny Battle Bunny September 2015 Development
  • IN and OUT in hardware terms... what are 'ports'?Hi all, I understand PEEK and POKE, but have never managed to get my head around IN and OUT. The books all go on about how they read from and wri…

    ... hex or decimal but you’re still then thinking in binary at ... some level. Before you try to understand the ... A0 together with /IORQ to detect access to this I/O port ... /> It therefore makes sense to try to decode [i]more than just ...
    zub zub September 2015 Hardware
  • Interesting VAL featureHi Folks, No doubt most people know this but it is new to me! The following code generates the answer of 10. [code]10 LET A$="X+X" 20 LET X…

    ... it used INPUT LINE to get the answers and ... then used VAL to check if they were ... take long for us to figure out that you ... you aren't just limited to the basic maths operators. You ... quick way to convert a string of binary digits to a decimal number.< ...
    GReW GReW September 2016 Sinclair Basic
  • Interesting VAL featureHi Folks, No doubt most people know this but it is new to me! The following code generates the answer of 10. [code]10 LET A$="X+X" 20 LET X…

    ... /> Now that is really useful - Binary to Decimal conversion in one easy step ...
    Paddy Coleman Paddy Coleman September 2016 Sinclair Basic
  • UDG generator doesn't work, why?Typing in the UDG generator from the manual I get integer out of range when I run it. I'm going nuts trying to figure out whats wrong. Can someone pl…

    ... you are putting in decimal values & not binary?[/quote]
    Thanks ... miss the mags that used to be full of stuff you ...
    mik3d3nch mik3d3nch October 2016 Sinclair Basic
  • UDG generator doesn't work, why?Typing in the UDG generator from the manual I get integer out of range when I run it. I'm going nuts trying to figure out whats wrong. Can someone pl…

    Or convert the binary to decimal yourself for practice :)

    From left to right take the values:-

    128 64 32 16 8 4 2 1

    So, 00011000 is 32+16=48
    Lee Fogarty Lee Fogarty October 2016 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ...
    20 FOR x=16384 TO 23296 STEP s
    30 ... /> Using the decimal number 170 instead of the binary 10101010 will save ...
    20 FOR x=16384 TO 23296 STEP s
    30 ...
    GReW GReW October 2016 Sinclair Basic
  • Best place to start learning assembly on WOS ?So I'm pretty new at this forum but not the Speccy so my BASIC is pretty good. I can see lots of resources on WOS for doing machine code/assembly but…

    ... , although some concepts are easier to learn and understand in different ... tend to use a mix depending on the circumstances:

    Binary ... by WOS standards ;-)

    Decimal - User displayed values and constants ...
    GReW GReW October 2016 Development
  • Best place to start learning assembly on WOS ?So I'm pretty new at this forum but not the Speccy so my BASIC is pretty good. I can see lots of resources on WOS for doing machine code/assembly but…

    ... than in decimal or a long binary string that is difficult to visually ... possible to convert bit patterns to decimal, write long binary strings like %0100010010000011(**) to formulate ... that into a calculator to convert to a decimal value in their code ...
    Alcoholics Anonymous Alcoholics Anonymous October 2016 Development
  • Best place to start learning assembly on WOS ?So I'm pretty new at this forum but not the Speccy so my BASIC is pretty good. I can see lots of resources on WOS for doing machine code/assembly but…

    ... much closer related to the hardware itself, than decimal numbers.
    ... of representing binary. E.g. if you wanted to isolate one ... and 15

    To me, the decimal representation makes some code ... more sense in hex (or binary) IMO.

    For ...
    chriswyatt chriswyatt November 2016 Development
  • A few questions about sound and keys in BASICIf I want sound in my BASIC game I have to use BEEP right ? It seems to lock up the CPU for far too long . On Arjun's page I found how to use CALL 94…

    ... value and then pass control to the next statement. If more ... but you'd need to be able to check individual bits in ... commands you'd have to use arithmetic to check the bits, which ... />
    KEY_SCAN key codes: hex, decimal, binary
    [code]
    ? hh dd ...
    Battle Bunny Battle Bunny December 2016 Sinclair Basic
  • Code optimisation! 16bit number to 5 digit stringJust for interest this one, any thoughts on how to make this as fast as possible? Little optimisations to this routine or a complete reimagining? …

    ... nibble you OR 0x30 it to get ascii.

    ...and ... /development/msx-development/super-fast-binary-decimal-routine"]has already implemented it ...
    tstih tstih December 2016 Development
  • Code optimisation! 16bit number to 5 digit stringJust for interest this one, any thoughts on how to make this as fast as possible? Little optimisations to this routine or a complete reimagining? …

    ... carrying over anything over 10 to the next column.[/quote]

    BCD stores 2 decimal digits per byte. Mysterion is ... single decimal digit per byte. That will be slightly slower to ... and certainly faster than displaying binary.

    BCD's ...
    gp2000 gp2000 December 2016 Development
  • Code optimisation! 16bit number to 5 digit stringJust for interest this one, any thoughts on how to make this as fast as possible? Little optimisations to this routine or a complete reimagining? …

    ... 888843"]BCD stores 2 decimal digits per byte. Mysterion is ... decimal digit per byte. That will be slightly slower to ... and certainly faster than displaying binary.[/quote]

    Yep ... enormous numbers without having to worry about fitting everything ...
    Mysterion Mysterion December 2016 Development
  • Code optimisation! 16bit number to 5 digit stringJust for interest this one, any thoughts on how to make this as fast as possible? Little optimisations to this routine or a complete reimagining? …

    ... />
    BCD stores 2 decimal digits per byte. Mysterion is ... single decimal digit per byte. That will be slightly slower to ... but a fair bit faster to display. Pretty minor amount ... and certainly faster than displaying binary.
    [/quote]

    Sol_HSA Sol_HSA December 2016 Development
  • Fast way to clear the screen ?So I was wondering fastest way to clear the screen. I've tried this and this works but is it better than CLS ? LD HL,16384 LD BC, 6144 Loop…

    Probably boils down to programming. If you're used to BASIC then decimal addresses obviously become more familiar, whereas in z80, HEX or Binary becomes your preferred way of visualising.
    Arkannoyed Arkannoyed December 2016 Assembler
  • Fast way to clear the screen ?So I was wondering fastest way to clear the screen. I've tried this and this works but is it better than CLS ? LD HL,16384 LD BC, 6144 Loop…

    ... . If you're used to BASIC then decimal addresses obviously become more ... familiar, whereas in z80, HEX or Binary ...
    colonel32 colonel32 December 2016 Assembler
  • Code optimisation! 16bit number to 5 digit stringJust for interest this one, any thoughts on how to make this as fast as possible? Little optimisations to this routine or a complete reimagining? …

    ... msx-development/super-fast-binary-decimal-routine"]has already implemented ... converting a binary number to decimal by reading the binary number from ... left to right, ... doubling is of course decimal. So in the different ...
    Magne Magne December 2016 Development
  • "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…

    ... likely to anyway) are:

    - non-decimal number bases (binary ... and hexadecimal at least) and the ability to ... no longer has a decimal point, usually because there ... - PI is stored to 7 decimal places. Trig functions work ...
    The Mighty Dopethrone The Mighty Dopethrone March 2017 Sinclair Basic
<1…891011121314…34>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
decimal 853 1.3K
to 549.6K 1.6M
binary 3K 4.2K

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 …
  • Converting a decimal number to binary...Hi Folks,<br /> <br /> Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following:<br /> <br /> [CODE]100 RE…
  • 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…
  • Decimal to Binary stringHi all,<br /> <br /> Anyone got a less labour intensive BASIC routine than this?<br /> <br /> Example:-<br /> take 170 and convert to a string "10101…
  • 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…

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
  • decimal to binary
  • decimal to ascii
  • numbers to binary
  • decimal to binary conversion
  • binary to decimal
  • decimal to fp

Copyright © 2024 World of Spectrum