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
<1234567…34>
  • saving to asmMy another question... I know I can save part of Spectrum memory to .bin file. However I would like to save it (or convert .bin file)into .txt file w…

    ... you want the bytes in decimal, just comment the line with ... or not def write in decimal
    binmode(STDIN);

    {
    print ".byte ";

    for(my $f ...
    AE.Vasconcelos AE.Vasconcelos April 2005 Development
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…

    ... that just deal with 2-byte decimal numbers; ie. up to ... 24;E
    102 PRINT STR$ USR LMUL10: GO ... "Number 2: ";E$
    102 PRINT STR$ USR (LMUL10+3): GO ... ;1000 REM LMUL:
    ;1001 PRINT " ";FN b$(V)+FN b ... NEXT a
    ;1393 PRINT "= "'a$(a TO)'32-a ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • The incredible shrinking screendumpIn this topic I stated that I would be impressed if the screendump could be smaller than 37 bytes. [url="http://www.worldofspectrum.org/forums/viewt…

    ... b,(hl) ; B = high byte or 192 at end of ... inc hl ; Goto next byte in table
    ld e ... ld a,(hl) ; Fetch byte for print
    rst 16 ; Printing ... screen
    jr prbyte ; Print byte from screen
    table ...
    Dr BEEP Dr BEEP September 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…

    ... to your
    Spectrum a decimal number and convert it to ... hexdecimal conversion
    110 print ?Input decimal value??
    120 input n ... : print n
    130 let ... $
    160 if n2=0then print:print ?Hexdecimal =0?; s$;? h?: ...
    Glue Glue February 2007 Sinclair Basic
  • 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…

    ... hexdecimal conversion
    110 print ?Input decimal value??
    120 input n ... : print n
    130 let s ...
    Arjun Arjun February 2007 Sinclair Basic
  • 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…

    ... ]100 REM decimal to hexdecimal conversion
    110 PRINT "Input decimal value..."
    120 INPUT n: PRINT n
    160 IF n2=0 THEN PRINT : PRINT "Hexdecimal =0";s$;"h": FOR ...
    Matt_B Matt_B February 2007 Sinclair Basic
  • Hisoft Devpac and the MGT Plus DI've got (potentially) a bit of an odd one here that might cut across a couple of areas so I thought I would put it in misc. I am trying to Hisoft's…

    ... $#4+256*CODE INKEY$#4: PRINT length
    50 FOR p ... /> 60 LET codead=65536-length: PRINT codead
    70 FOR p ... -1:
    LET byte=CODE INKEY$#4: PRINT byte;" ";: POKE p,byte:
    NEXT ...
    Battle Bunny Battle Bunny April 2012 Sinclair Miscellaneous
  • Method to read byte as binary string rather than dec?Hi all Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it back in upside…

    ... . If I could read each byte as binary I could have ... an 8 byte buffer to store the 0 ... read backwards, but as its decimal I cant do this easily ...
    Womble Womble February 2006 Sinclair Basic
  • ISO ROM 128 with TR-DOS 5.05(cz)This is new correct version of ISO ROM for ZX + BETADISK. Some extra basic command is designed specially for use in conmination with TR-DOS 5.05(cz).…

    ... )
    "hallo" (print text "hallo" on screen - PRINT command is ignored ... - PRINT command is ignored)
    /257 (show 16bit value as low byte ... /> $FF (convertHEX value FF to decimal value)

    All trdos ...
    velesoft velesoft April 2010 Sinclair Basic
  • printing a fixed number of decimal placesDoes anyone have a bit of code that will print a number with a fixed two decimal places? The example below should demonstrate the function, but the S…

    ... that will print a number with a fixed two decimal places? The ... column to always print two digits after the decimal point.
    < ... STEP 0.1
    7001 PRINT a;
    ".00" AND ... (none of the remaining numbers print the trailing zeroes)
    [/code ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Converting a decimal number to binary...Hi Folks, Been thinking about ways to convert a decimal number to 8 bit binary and came up with the following: [CODE]100 REM ----------------------…

    ... about ways to convert a decimal number to 8 bit binary ...
    Paddy Coleman Paddy Coleman February 2011 Sinclair Basic
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ... sprite and text routines to print to the buffered display and ... .

    [code]; Byte Order Backbuffer - Pop And Push ... - (attr * 16)
    ; last byte of the back_buffer - 16
    ; last byte of the screen
    ld ...
    chev chev April 2012 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 very easy to print it. It's easy because ... of the number, plus one byte for each two BCD digits ... b,0 ;Flag to not print leading zeros
    ld hl ...
    mcleod_ideafix mcleod_ideafix November 2013 Development
  • What to do when INT doesn't work?Due to the limitations of the Spectrum's floating point number format, two slightly different large numbers, or two slightly different small fraction…

    ... encoded with the same 5-byte value. Alternatively, the result of ... base 26 number converted to decimal, so:
    "abcd" = 1*26 ... t=19010
    PRINT t 19010
    PRINT INT (t/69) 275 ...
    Battle Bunny Battle Bunny January 2014 Sinclair Basic
  • 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…

    ...
    plot
    poke
    print
    randomize
    return



    string
    byte
    ubyte
    long
    pkersey pkersey February 2014 Development
  • PLOTTER - display file utilityI've been disassembling Gyron and needed something to help with working out where things were being put on the screen, so I wrote this program. I was…

    ... the program will
    print both coordinate & address forms ... /> display file address
    decimal values
    2nd DACPH defaults ... prints a display point at decimal address 20199.
    ...
    rightmost pixel of that byte.
    [/quote]

    Battle Bunny Battle Bunny August 2014 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…

    ... /> # SUB - Binary string conversion, A=decimal input, s$ is the output ... LET sf=0
    1035 PRINT AT 21,0;"PLEASE WAIT ... s$ = "0000000" + s$
    1099 PRINT AT 21,0;" "
    1100 ...
    IanJ IanJ August 2014 Sinclair Basic
  • ROM PRINT routine issuesHi all, I am using the ROM print routines a lot in my assembly program and I'm experiencing issues. I am changing the system variable DF CC to po…

    ... I am using the ROM print routines a lot in ... point to the first byte of the character I ... as normal, knocking subsequent PRINT commands off by 1 ... 'm assuming the ROM print routines are updating other ... 11563
    CALL 11747. PRINT CONTENTS OF BC TO SCREEN ...
    Kevin_C Kevin_C December 2016 Development
  • New Utility ZXSTLC[b]New Utility ZX Spectrum Tape (& Disk) Loader Creator[/b] I made this utility to easily create tape and +3 disk loaders for my projects and have…

    ...
    | both -s & -c print size of the headerless block ... load the binary file in decimal i.e. 24576
    | equivalent ... to run the code in decimal i.e. 32768
    | equivalent ...
    TomD TomD August 2020 Brand new software
  • CODE instruction in array$ PRINTSo I'm still plugging away at BASIC and have found a line of code (another!) that's really puzzling me. The line is as follows: PRINT A$(P+Q TO P…

    ... line is as follows:
    PRINT A$(P+Q TO P ... /> The A$ values (in memory, decimal) are:
    478 8
    Print the characters from index 481 ... is 8).
    i.e. PRINT A$(481 TO 488). The ...
    LevelUp LevelUp October 2020 BASIC
  • Sort 2 byte words (x, y) on ypos, also question about swap (DE), (HL)Well that was a lot of debugging ;) But if you want a routine which takes an array of 16 byte words x, y and then sort them on y (ignoring x), I'm…

    ... takes an array of 16 byte words x, y and then ... to an array of 16 byte values and those are x ... />
    // A utility function to print array of size n
    Paradigm Shifter Paradigm Shifter July 2022 Development
  • Speccy machine code info where is it?Recently I've been trying to learn Z80 and I've managed to make limited progress (some of my routines even compile now!) but I seem to be having trou…

    ... there are 32 columns. Each byte in the display file represents ... lines denoted by "SSS". To print the letter 'A' there:

    or in decimal:

    POKE 18508,0 ... l ; move left a screen byte
    ; (decrease CCCCC by 1 ...
    Alcoholics Anonymous Alcoholics Anonymous June 2003 Sinclair Miscellaneous
  • 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…

    ... 03 AND 03 ;the high-byte will now
    ;contain 0 ... all the results compute and print out.

    Let's ...
    BadBeard BadBeard August 2003 Sinclair Miscellaneous
  • i want to start writing my own gamesi want to start writing my own games but have no idea how. is there any downloadable dummys guides or some software that teaches u how. the only expe…

    ... to see something from a PRINT USR statement that's actually ... to load BC. The last byte is RET, C9, or 201 ... /> If you asked me what PRINT USR 32760 would display I ... , but I dont want to. Decimal I find is easier to ...
    cyborg cyborg February 2004 Development
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... /> 10 REM START AFTER REM : PRINT "HELLO"

    POKE ... REM COLLISION
    20 PRINT AT Y,X;"*": LET OY ... ROM starting at address 5010 decimal. The end of the ... one indicates that the print output is to be ... 255*PEEK 23614
    20 PRINT PEEK A; TAB 10; ...
    na_th_an na_th_an April 2005 Development
  • Autorun BASIC programsIs it possible to write a basic program which will autorun after typing in LOAD ""? Thanks

    ... examine the BASIC listing and decimal contents of that loader. I ... INK 7:CLS
    30 PRINT #0;" Desculador de cabeceras PRESS ... n;:NEXT n
    110 PRINT AT 7,0;("Start address ... 50026
    130 PRINT AT 15,0;"Byte quantity:";cby
    140 ...
    Marcelo Marcelo April 2007 Sinclair Basic
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... /> // s = string to print, can contain:
    // \ ... shorthand for hex 16 = decimal 22, eg). If ... 0x16 (hex 16 = decimal 22) then we execute ... is 0x14 (hex 14 = decimal 20) then execute the " ... recognized command byte. For the 0x16 case (PRINT AT) ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Handling RST8 on a +3Well, I've come to that bit of my project that I wasn't really looking forward to (because I don't understand enough about the ZX BASIC ROM) - extend…

    ... QUOTE=aowen;286615] If I PRINT #9 CHR$ 0-255 ... m effectively sending a single byte to the channel. In ... byte so I can duplicate the effect of OUT n, with PRINT ... from a hostname or dotted decimal into a 32 bit ... INKEY$# removes the first byte (if there's anything ...
    Winston Winston July 2008 Development
<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
print 8.5K 20.4K
byte 7.3K 15.2K
decimal 853 1.3K

Related Threads

  • Byte Bitten - Sea Hawk KeysCould someone please tell me what keys are needed to control your helicopter in the Sea Hawk part of this game. No key seems to have any effect apart…
  • How to print with colour using DiscipleHi!<br /> <br /> I was wondering if there is any way of printing in colour using the Disciple. I am using an Epson Stylus 600 Printer with one of my …
  • Sinclair User: Blue Print Double DragonI'm not sure what issue the Blue Print of Double Dragon appeared, I think it was issue 78 (September 88)<br /> <br /> Even a scan would do. Cheers
  • STP: Computer Cookery 1 & 2 - Bug ByteI'm 99% sure these two titles are actually The Computer Cook Book (Bug Byte) that is listed in Infoseek.<br /> <br /> However, The Computer Cook Book…
  • help in byte mirroring.I need some help.<br /> What is the best way to mirror the byte?<br /> (for ex. 10010011 -&gt; 11001001)<br /> I mean, if there is a simple way to do…
  • Bug-Byte games wantedHi, Does anyone out there have the following games which they'd be willing to sell / trade? The games have to have specific coloured writing on the i…
  • 42 column text, Sinclair Print Utilities, etcI'm currently developing the next of the ZXIF text adventures - "43 Minutes" and, as a side issue, I'm really interested in 42 column text for this g…
  • Print 'n' Plotter SPRITE MACHINEJust got this from an ebay seller this afternoon. I just TZXd it and sent it to the Steve at the vault, yet it might be a while before it gets put up…
  • print at line 22 and 23I have a faint recollection of POKES to allow print at 22,x and 23,x, anyone know what they are? (rather than using the print #0 #1 stuff..)
  • PRINT AT in assemblerHello everyone,<br /> <br /> I am very new to this forums. Like perhaps many others I had a Spectrum as a child and did pretty much simple BASIC prog…

Related Searches

  • byte scan
  • print a char in asm
  • ebug byte
  • bug byte
  • parity byte block
  • print variables
  • byte back
  • decimal
  • decimal places
  • print on border
  • print leading zeroes
  • print at 23
  • print through
  • asm text print
  • assembly print text
  • assembly print text at pixel
  • rotate decimal
  • convert decimal to binary
  • software projects bug byte manic miner differents
  • fast decimal print asm

Copyright © 2024 World of Spectrum