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.027s
<1234567…34>
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... in machine code.

    Please does anyone have a routine to print ... .

    Oh and a print routine too that I can ...
    alienbanana alienbanana February 2014 Development
  • RANDOMIZE USR, PRINT USR etcHello just wondering why is it called RANDOMIZE UsR what does randomising have to do with it ? When calling machine code routine from adress x you ty…

    ... do with it ? When calling machine code routine from adress x you ... ? I just tried PRINT USR 65368 it resets the machine! Why doesn ... 't it print the UDG at ...
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • Last Problem in Chapter 3 of Toni Baker's Mastering Machine Code on your ZX Spectrum.Chapter 3 of this great book is all about how to use the registers and covers the operations LD, ADD, ADC, SUB, SBC, INC, DEC, SCF and CCF. The la…

    ... , and I invoke it by PRINT USR 61440. However, I can ... would be appeciated.

    [code]Op Hex Notes
    LD ... C9 Return to basic
    [/code]
    Scottie_uk Scottie_uk February 2021 Assembler
  • Screen$ +3 disk to tape helpHi, I have several full screen pictures of my +3 disks (Screen$). How can I transfer these pictures onto tape without losing the last to lines beca…

    ... following routine

    10 PRINT #0; "Save Me as well ... POKE 23737,17 : REM alter input address #10A8 to #111B (KEY ... /> The CLS command restores the input/output channels of the keyboard ... but wrote a short
    machine code routine to save the complete ...
    Geoff Geoff February 2001 Sinclair Miscellaneous
  • 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…

    ... The dark art of speccy machine code is obscure and mysterious, thats ... 31)

    To print a character at (10,12 ... denoted by "SSS". To print the letter 'A' there ... "screenaddress" subdirectory. The "input" directory contains code for scanning the keyboard ...
    Alcoholics Anonymous Alcoholics Anonymous June 2003 Sinclair Miscellaneous
  • 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…

    ... your program) to the machine code routine. The problem ... Print Utilities is different is that the machine code routine accepts input ... in the machine code routine for this input, which is ... lines) to the Print Utilities machine code routine rather than straight ...
    woodcock88 woodcock88 February 2004 Development
  • AmericaI've been wondering, was the Spectrum released in America? Was it popular? Are there Spectrum games that were made in America? There must be a few A…

    ... was inappropriate as a consumer machine and gained a bad ... expansion memory and would use print#, input#, etc to communicate with ... being rewritten" because the machine was released before it was ... had much of this experimental code present in unused patches, the ...
    Alcoholics Anonymous Alcoholics Anonymous August 2004 Games
  • PokesDoes anyone know where I can find a list of Pokes for my Speccy games? I am trying to find some for On the Bench ! Thanks

    ... (the process where you input your name, choose your ... well be stored in the machine code section :(

    ... TO 22: INPUT T$(A,B): PRINT A;"-";B;"-";T ... $(A,B): NEXT B: NEXT A[/code ... you went into the machine code and found a database ...
    jil jil September 2004 Games
  • 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 23618 ... command mode or during an INPUT. It starts off at zero ... using ROM routines in a machine code program.

    * 23613/4 ... is most apparent during an INPUT statement. The value is reset ...
    na_th_an na_th_an April 2005 Development
  • Writing for MultifaceI was just wondering, is it possible to write a BASIC program, compile it and use the Multiface to run it? I'd like to write a small util to edit te…

    ... much about ROM routines, and machine code in general, hence wanting to ... compile the basic.

    [code]

    1 POKE 23658 ...
    mulder mulder November 2005 Development
  • Noob to Z80 needing +3 helpI'm quite new to z80 programming, but i'm attempting to write some kind of windowing system that will run alongside BASIC on my +3 with Kempston mous…

    ... return values from, my own machine code subroutines? The examples in the ... stream i/o can have input as well as an output ... line from your machine code routine. Eg:

    [code]
    let r ... converter if you don't print longs?). There are such options ...
    Alcoholics Anonymous Alcoholics Anonymous January 2007 Development
  • ANNOUNCE: BASin r14 is up. New SCREEN$ paintbox included.Hi all, Well, I can't sit on this any longer - so I've released it. Let's all get a good testing session going, eh? You can get the new BASin [url=…

    ... have two options of keyboard input available, or combine both?
    machine code routines from Bloodbaz, but I ... complete scr2udg. The character-to-Print-Lines sounds a lot better ...
    Dunny Dunny March 2008 Emulators
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a 48K Spectrum to one for the ZX81. It's obvious that some things cannot be done o…

    ... problems

    * INPUT statements should be changed to ... multiple of them - INPUT prompts should be changed ... /> * Replace unquoted apostrophe in print statements with a new statement ... (insert stuff about PEEK/POKE/machine code here - someone with more ...
    Muzer Muzer November 2009 Sinclair Basic
  • Random access, file sizes and more.A few days ago Aowen mentioned that random access to saved data is not a problem. Here are my thoughts, doubts and suggestions regarding this subject…

    ... using PRINT# and INPUT# from BASIC, or calling read/write in a machine code ... tape). So instead of LOAD ... CODE STEP, you stick the data ... you can have multiple LOAD ... CODE commands as if you had ...
    Winston Winston January 2010 Development
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... need to keep the machine code portion of the program ... tested)

    [CODE]
    10 CLEAR 48882
    50 INPUT "Name=";n$;".";s$: LET ... 80 IF NOT open THEN PRINT f$;" does not exist"< ... /> 85 IF open THEN PRINT f$;" exists": LET close ...
    spodula spodula May 2010 Sinclair Basic
  • compressing basicI thought I'd ask here instead of the basic forum.. in the sense of giving me 1 command line, and NOT the whole listing joined up etc. and it uncom…

    Here's the machine code for manipulating the program stack ... prog=prog AND prog255:
    PRINT "Program#";this;" PUT as #";prog ...
    1035 PRINT "This is program ";this
    1040 INPUT "Again? [yn ...
    Battle Bunny Battle Bunny September 2010 Development
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... , so it needed rewriting in machine code before it could be of ... />
    [code]
    1 REM Shell Sort
    10 INPUT n: DIM ... i=1 TO n:
    PRINT v$(i);:
    NEXT i ... :
    PRINT : STOP
    90 LET t1 ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Spanner seeks helpHello, and HNY, all. I am presently writing a game in BASIC. It's a bit - a lot - crap, but I'm enjoying it! Anyway, a couple of questions, if you …

    ... is to write your own input routine using INKEY$ rather than ... relying on the INPUT statement - essentially, you start with ... the end of a$ (and print it to the screen) and ... job (converting your program to machine code to give it a good ...
    gasman gasman January 2011 Sinclair Basic
  • Spanner seeks helpHello, and HNY, all. I am presently writing a game in BASIC. It's a bit - a lot - crap, but I'm enjoying it! Anyway, a couple of questions, if you …

    ... is to write your own input routine using INKEY$ rather than ... relying on the INPUT statement - essentially, you start with ... the end of a$ (and print it to the screen) and ... job (converting your program to machine code to give it a good ...
    Paddy Coleman Paddy Coleman January 2011 Sinclair Basic
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... going to compile a "INPUT n: GOTO n*1000" ... way between interpreted BASIC and machine code. That's why it ... a/2) = a/2 THEN PRINT "EVEN": NEXT a
    ... 2) a/2 THEN PRINT "ODD": NEXT a[/code]

    code (variable acceses cannot be ...
    na_th_an na_th_an February 2011 Development
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... should operate on assembly or machine code, right? Should I disassemble ... useful information about emulation of input (keyboard/joystick) and output ... . Like this:
    10 PRINT "Hello World"
    20 ... interrupt?" The vbSpec source code is a good place to ...
    Arjun Arjun May 2011 Emulators
  • Words of adviceHi all This is my first post on World of Spectrum and I'm gradually starting to discover the wonders of the machine. Just to give you a bit of bac…

    ... at the speeds attained by machine code, and I firmly believed that ... - line numbers, statements, command-line code input etc. So I decided to ... have character-square limitations on PRINT? So I added the ... MOVE parameter - PRINT MOVE x,y;"Hello!" will ...
    Dunny Dunny January 2012 Sinclair Basic
  • LZ77 en/decodingI've written an LZ77 en/decoding routine as I couldn't find one around for the Spectrum. Initially I'm just doing it in BASIC to get the logic right.…

    ... /output (max. input 10000 bytes)
    64000 -> 65367 : machine code (about 500 ... RUN, enter length, text flag, print flag (defaults 2048,1,1 ... screen; if text=0 and print=1 then the output will ... done "GO TO 10" will print statistics, although this part is ...
    Battle Bunny Battle Bunny March 2012 Development
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... wanted to check out the code from the programs in the ... it at first.

    [CODE]
    10 LET PLAYERHITCHANCE=0 ... IF PLAYERHITCHANCE>=MONSTERDEFENCECHANCE THEN PRINT "PLAYER HAS HIT THE"'M ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • calculator and sinusok, look at the Sysel's routine: [PHP]3 5b00 *s 4 5b00 tabsin = #7000 03 mksin 19.11.1995 Busy soft …

    ... included, that being allowing hex input in RUN 2000 (the " ... .

    [code]
    1 REM Machine Code Calculator
    part 1 ... TO 1015
    1020 INPUT "number ";x: PRINT x;TAB 9;"= ";< ... 1330 NEXT i
    1340 PRINT TAB 11;
    1345 RETURN ...
    Battle Bunny Battle Bunny January 2013 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…

    ... +ve answer.

    [code]
    100 INPUT "Enter two 16-digit ... /> ;1000 REM LMUL:
    ;1001 PRINT " ";FN b$(V)+FN b ... $2ab1 ;STK_ST_0
    ;reorganise the machine stack so that this string ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • coding guruOk I'm looking for a to help me in my quest to do my first proper game. The 80's child in me thinks he can do it, But the 2013 man in me knows zip. …

    ... : use a rom routine. (print, border color, print at ect..)
    3 ... ect....)
    5: get a input routine working.
    6: read ... somthing with it predicated on input.

    now at this ... parts of the program in machine code. the guys on the forum ...
    wibble wibble September 2013 Sinclair Miscellaneous
  • TAPlist - the emulator versionI've got this working reasonably well; there's just a couple of small extra features which I want to add. (Recall that TAPlist writes a formatted lis…

    ... (FN v()+4)1900)):
    INPUT "margin: ";marg,"tabstop: ";tabs:
    STOP:
    PRINT "no code":
    STOP:
    PRINT "bad margin":
    machine code and then it won't ...
    Battle Bunny Battle Bunny April 2014 Sinclair Basic
  • Interface 1bis updateSupport for connecting a standard PC keyboard to the interface?s PS/2 socket, in place of a mouse, has been added. The external keyboard?s output is …

    ... of the server machine, is loaded into ... BREAK key code
    ;
    ; Print server command ... ; *
    ; External keyboard input routine
    ;
    3884 ...
    Dan Antohi Dan Antohi April 2014 Hardware
  • Interface 1bis RAM Drive modificationAll Interface 1bis users I hope I am not interfering with Dan, but I saw on his site that he has a RAM Drive upgrade/modification for the Interface …

    ... dozen, or so, code lines had to be ... character-oriented instructions: OPEN#, CLOSE#, PRINT#, INPUT# and INKEY$#.

    machine connected via the USB port ... device ( "V" ) a server machine on the ( Ethernet ) network
    Dan Antohi Dan Antohi October 2014 Hardware
<1234567…34>

Latest Posts

  • Frankie's ZX Spectrum Digouts
    Zup on 1:58PM
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on 1:02PM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 12:42AM
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6
  • Tradtional games that were not programmed on the ZX Spectrum
    harriusherbartio on April 6

HitBox

Word Docs Hits
machine 27.2K 35.6K
code 41.6K 91.2K
print 8.5K 20.4K
input 7.1K 10.4K

Related Threads

  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it<br /> <br /> Note, for 48k spectrum using TASM<br /> <br /…
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it.<br /> <br /> At the moment I'm grabbing the start address for each letter then printing them ou…
  • Converting Basic code into machine codeIm just interested to know if I can converter a game I've written in basic into Machine code, Is their a program that can do this??
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code?<br /> <br /> I have written the following MC routine that fits into a REM statement in a basic program.<br…
  • Machine Code input / assemblers [naive questions alert]Excuse me for the naive questions...in advance :)<br /> <br /> When I was a kid, I was struggling to understand how to input machine code into Spec…
  • machine code basicsWondered if anyone can help me out. I have been playing round with some disassemblers (Zeus). And Machine code loaders.<br /> <br /> All I want to do…
  • Machine code loaderI was wondering how people wrote games. On the trail to this knowledge I discovered a machine code loader in basic, and also z80 assemblers.<br /> <b…
  • Saving machine code on EmulatorI have been dabbling with Chapter 26 of Stephen Vicker's "ZX Spectrum Manual".<br /> [url="http://www.madhippy.com/8-bit/sinclair/zxspecman/zxmanchap…
  • Machine Code ChallengeHere's a challenge for all you Z80 programmers. Points to be awarded for elegance and brevity. (I haven't got the solution either)<br /> <br /> HL ad…

Related Searches

  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • mastering machine code on your zx spectrum by toni baker
  • mastering machine code on your zx spectrum by toni baker disassembler
  • mastering machine code on your zx spectrum by toni baker pdf
  • machine code routines
  • ultimate games 3 machine code
  • learning machine code
  • spectrum machine code
  • machine code sprite movement in basic
  • add machine code sprite movement to basic
  • beeper from machine code
  • new machine code
  • machine code ide
  • machine code tutorial
  • print number machine code
  • print lower screen with machine code
  • input machine code
  • machine code input

Copyright © 2024 World of Spectrum