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.129s
<1234567…34>
  • 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…

    ... (3) The stack is used to store local variables and function ... locals and globals are assigned to fixed memory addresses, which ... and you probably want to print scores with leading zeroes ... brief routines to do decimal to ascii conversion. It's very easy to wrap ...
    Alcoholics Anonymous Alcoholics Anonymous November 2013 Development
  • Key press to ASCII valueI need a bit of code that will give me an ASCII value when the key is pressed. I only really need a-z. I tried using the following code but it only s…

    ... that will give me an ASCII value when the key is ... code but it only seems to return zero or 32 if ...
    Mr Millside Mr Millside July 2005 Development
  • How to get WinXP folder contents listed in ASCII sequence?Having recently transferred a lot of source & data files from Win98 to WinXP I've just come to realise that, unlike Win98 or Win3 or MacOS or Unix or…

    ... contents sorted by name in ASCII sequence; it uses some unhelpful ... sectd.src, sectd7.src
    to list in that order when ... 'd'. These aberrations makes trying to find items in large folders ... Is there a way to revert WinXP to ASCII sorting of directory listings?
    Battle Bunny Battle Bunny October 2008 Chit chat
  • ZX EDITOR and export to ASCIIIs there a way to export ZX BASIC code in ZX_EDITOR (or any other tool) to normal ASCII file ? What I get with copy&paste is something like that: …

    Is there a way to export ZX BASIC code in ZX_EDITOR (or any other tool) to normal ASCII file ?
    What I get with copy&paste is something like that:

    10?32767
    20?""?
    30??32768
    kpuchatek kpuchatek June 2013 Development
  • Decimal to Binary stringHi all, Anyone got a less labour intensive BASIC routine than this? Example:- take 170 and convert to a string "10101010" take 4 and convert to a s…

    ... br /> take 170 and convert to a string "10101010"
    ... take 4 and convert to a string "00000100"
    ... my prog (not shown) to TAP but there's ... # SUB - Binary string conversion, A=decimal input, s$ is the output ... /> 1040 FOR l=126 TO 0 STEP -1
    ...
    IanJ IanJ August 2014 Sinclair Basic
  • Anyone for a hacking challenge ?I have to get the DSK version of Tomahawk to work. It uses the well-known Digital Integration "SECURITY CODE" lock just like in Bobsled, ATF, etc. Th…

    ... the following could be applied to all Lenslok games...
    to 5C00H.

    ...
    *you must get to the enter code screen before ... each one the favourite has to be E2A4H...

    to trace back to where there's ...
    BadBeard BadBeard August 2003 Sinclair Miscellaneous
  • Z80 coders compoIf you're interested in Z80 coders compo, visit my page [url="http://mbr.nm.ru/compo.html"]http://mbr.nm.ru/compo.html[/url]

    ... /> ld (hl),239 ; number to convert to ascii
    call convert ; digits stored ... what each bit contributes to the final decimal number.
    ;
    ; ... ; a = MMMM IIII; MMMM = highest decimal digit in BCD, IIII = middle ...
    Alcoholics Anonymous Alcoholics Anonymous November 2003 Development
  • Z80 coders compoIf you're interested in Z80 coders compo, visit my page [url="http://mbr.nm.ru/compo.html"]http://mbr.nm.ru/compo.html[/url]

    ... br /> ; enter:
    ; hl = where to store 3 digit acii string ... br /> ; (hl) = binary number to convert 76543210

    . ... ld bc,$030f ; b = 3 decimal digits, c = $0f nibble ... memory
    or $30 ; to ascii digits
    ld (hl),a ...
    Alcoholics Anonymous Alcoholics Anonymous November 2003 Development
  • 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…

    ... 'n$' from base 'o' to base 'p'; 'o' & ... can take a few seconds to produce an answer.
    decimal To base 'b'

    ... its value rather than its ASCII code.

    ... external key code prior to converting each character, giving ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…

    ... bytes of the 16-bit decimal quantity 10000. Had 10000 ... (signed integer), bcd (one decimal digit 0-9 encoded in ... , add, sub, rrd, rld), ascii characters (this is done by ... assembler), multiply, divide, etc. Using decimal to represent a bit pattern completely ...
    Alcoholics Anonymous Alcoholics Anonymous January 2012 Development
  • 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 …

    ... converts to ASCII) an integer number, up to 2040 bits in size, using decimal ... can be used (and optimized) to print 8, 16, 32 or ...
    mcleod_ideafix mcleod_ideafix June 2012 Development
  • 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 …

    ... /> [code]
    ; write unsigned decimal integer to ascii buffer


    XLIB ... /> [code]
    ; write unsigned decimal long to ascii buffer


    XLIB ... /> ; stdio_num2char
    ;
    ; translate digit to ascii char 0-9A-Z
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • 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…

    ... ; and return

    ; THE 'DECIMAL TO FLOATING POINT' SUBROUTINE
    org ... character
    sub '1' ; subtract ASCII '1'
    adc a, 0 ... int_to_fp ; else integer to last value
    cp '.' ; decimal?
    jr nz ...
    chev chev October 2013 Development
  • 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…

    ... + _flags) ; set 7-bit ASCII
    ret ; end of ... so
    cp '.' ; decimal point?
    jr z, renum_line_3 ... stack_num ; floating point number to calculator stack
    call ... a, '0' - 1 ; convert to ASCII
    ld (de), a ; store ...
    chev chev October 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…

    ...
    ; from right to left. Similarly, the decimal overwrites the octal form ... number

    ;convert octal to decimal
    ;d from o(123 ... a,(hl) ;convert BCD digits to ASCII
    add a,48
    Battle Bunny Battle Bunny 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…

    ... the octal numbers directly to the decimal routine rather than creating an ... /> exx

    ;convert octal to decimal
    ;d from o(123 ... a,(hl) ;convert BCD digits to ASCII
    cp $ff
    jp ...
    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…

    ... exx

    ;convert octal to decimal
    ;d from o(123 ... a,(hl) ;.... multiply cumulative decimal total by 8
    adc ... br /> rld ;convert BCD digits to ASCII
    cp d
    ...
    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…

    It's the octal-decimal conversion between CarryOn-EndLoop ... following PS's suggestions to get rid of the ... /> rld ;convert BCD digits to ASCII
    cp d ;D=$ ... RH-digit, then go to next byte
    ld ...
    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…

    ... ;738446]It's the octal-decimal conversion between CarryOn-EndLoop which ...
    rld ;convert BCD digits to ASCII
    cp d ;D=$00 ... digits
    inc hl ;go to next byte
    bit 7 ...
    Einar Saukas Einar Saukas 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…

    ... 32768, try to use itoa() to see if that ... />
    ; write unsigned decimal integer to ascii buffer
    ;
    ; ... buffer
    ; carry set to write leading zeroes
    ... /> ; write two leading zeroes to output string

    Alcoholics Anonymous Alcoholics Anonymous December 2013 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…

    ... decimal here :) )

    [code]
    ld hl,12345 ; number to convert to ascii ...
    call asm_utoa ; write number to ascii buffer
    .....

    buffer ... -base ascii conversion. If you want something smaller that does only decimal ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Development
  • Running out of fingers in AssemblyDear all, Still trying to learn Assembly and have put a few routines together. However, as my routines become a little more involved I find myself…

    ... unsigned 16-bit value to an ascii string using any radix ... you want the number in decimal, radix=16 for hex, ...

    call l_num2char ; to ascii
    scf
    push af ... code changes the remainder to an ascii digit and pushes it ...
    Alcoholics Anonymous Alcoholics Anonymous September 2016 Development
  • TASM, Z80 and Spec emusHi! Having some novice questions here regarding TASM and writing machine code for the Speccy emus... Now I have configured TASM into my EditPlus and…

    ... program in hex code (as ascii characters that is - not binary ... program converts the binary data to ASCII text).

    Two questions ... that the OBJ file contains ascii code as that is (I ... relative stuff). And how to insert data to specific memory cells, i ...
    ekoman ekoman July 2004 Development
  • help needed...Hi there, i'm trying to figure out a possible typo in William Tang's 'Spectrum Machine Language for the Absolute Beginner' on page 23 there's a prog…

    ... enable you to input to your
    Spectrum a decimal number and ... convert it to a
    ... value.

    100 REM decimal to hexdecimal conversion
    110 print ... ?Input decimal value??
    120 input n ...
    Glue Glue February 2007 Sinclair Basic
  • BASin r14c - maintenance releaseAfter the recent discussions, BASin has been released as version 14c. It's only a maintenance release, and some of the really big new features are un…

    ... br /> Added - Emulation speed to the Emulation options - set ... br /> Added - "Pixellise" tool to SCREEN$ Editor. This will eventually ... core of the "Convert screen to ASCII" tool.
    Added - ... (and corresponding menu item) to the Paintbox for opening the ...
    Dunny Dunny September 2008 Emulators
  • Kiwi OS for z80 computerHi everyone, Nearly made my z80 computer with 2K ROM 32K RAM. It has an OS im still writing called Kiwi (apple, blackberry, you get the idea ;D) he…

    ... /> OUT (2), A ;SEND ASCII CHARACTER TO DISPLAY
    DEC B ;CHARACTER ... IT TO ASCII
    OUT (2),A ;SEND A TO DISPLAY IN ASCII FORM ... IT TO ASCII
    OUT (2),A ;SEND A TO DISPLAY IN ASCII FORM ... 2 is the character (ASCII) data to display on LCD
    ...
    Robin Robin August 2011 Announcements
  • Invalid combination of operands and opcodesIt says the error in the title, why is this?? [CODE] ORG 0000 LD HL, 63000 ;LOAD HL WITH STACK LOCATION LD SP, HL ;SET STACK POINTER TO HL LD A, …

    ... br />
    ;*********************************
    ;(PRINT ASCII WORD)
    ;> B IS ... OUT (2), A ;SEND ASCII CHARACTER TO DISPLAY
    DEC B ... TO ASCII
    OUT (2),A ;SEND A TO DISPLAY IN ASCII ...
    Robin Robin December 2011 Sinclair Miscellaneous
  • OpenSE BASIC 3.1.1The eagle-eyed will have noticed that [url="http://www.worldofspectrum.org/infoseekid.cgi?id=0027510"]SE BASIC[/url] got an update last week. As a te…

    ... from SAM BASIC (thanks to Andrew Wright) and original ... and the solution was to machine reverse engineer it resulting ... Computer Programs) Regulations 1992 amendment to the UK Copyright, Designs and ... ), ~ (for converting 16-bit decimal to a string in hex format ...
    chev chev May 2012 Sinclair Basic
  • PSI ChessHi, Anybody out there remember the game "PSI Chess" by The Edge? Well, there seems to be no problem finding a snapshot ot tape image for this game …

    ... of 1-4 to change to each of ... "Setup" mode allows you to configure various game options such ... to "9" to adjust White's clock;
    "R" + "0" to "9" to ... (Press Caps Shift + BREAK to cancel any of these operations ... able to force a jump to address 4867 decimal to ...
    Ed Ed February 2002 Games
  • Which emulator and assembler?Hi, I am looking to learn z80 assembly language and I feel the best option is a spectrum emulator and an assembler. Can anybody recommend the best …

    ...


    To try this online with some ... (old) source code go to

    [ ...
    source converted to a PC file is available ... emulator to convert my binary Zeus source code to ASCII
    by listing to a file.
    Geoff Geoff August 2001 Sinclair Miscellaneous
<1234567…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 6:04PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21

HitBox

Word Docs Hits
decimal 853 1.3K
to 549.6K 1.6M
ascii 1K 1.5K

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…
  • 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…
  • Can anyone explain how to play Braxx Bluff to me?Well?

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
  • ascii to code
  • convert decimal to binary
  • decimal to binary
  • decimal to binary conversion
  • binary to decimal
  • basic character to ascii code
  • key press to ascii in basic
  • scancode to ascii
  • decimal to fp
  • basic source to ascii

Copyright © 2024 World of Spectrum