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.029s
<1…45678910…34>
  • 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…

    ... of code that needed reimplementing, and the solution was to machine reverse ... (e.g. PR. instead of PRINT). The EDIT key is gone ... the LDIR block data copy machine code command), ON ERROR (error trapping ... your own code (not a lot on a 48K machine, but quite ...
    chev chev May 2012 Sinclair Basic
  • SpecBAS 0.747 Now available!Hiya folks - it's update time again! SpecBAS has had a load of new fixes, as well as some new additions! Firstly, as you all wanted it, SpecBAS can…

    ... what's new:

    [code]
    What's new for ... /> CENTRE as part of the PRINT/INPUT items list - takes one parameter ... , not the specified line
    [/code]

    The new ORIGIN ...
    Dunny Dunny July 2012 Sinclair Miscellaneous
  • Best books & Sugested reading..Hi i was trying to search the forum but couldnt find it. Looking at WOS there is a number of books on BASIC, programming, machine code ect.. I mess…

    ... able to do simple things, input, output, maths, changing the ... am reading Introduction to Spectrum machine code now.

    But what ... how can change the actual input to some other color than ... CHR$ 16+CHR$ 2+"INPUT SOMTHING:"
    20 INPUT (A$); LINE A ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • Machine code loopsThis might sound a bit daft, but I,ve forgotten how to do loops using th 'b' register... I want to loop this x mount of times: [CODE]ld a,r and 6 i…

    ... mount of times:

    [CODE]ld a,r
    and ... /> call 43100
    call 45000[/CODE]

    There is any ...
    daveysludge daveysludge August 2012 Development
  • saving time populating large arraysI use a variation on this idea for storing machine code at the end of programs without interfering with LIST, then it occurred to me that it would al…

    ... on this idea for storing machine code at the end of ... 9999:
    IF checksum THEN PRINT "d$() undefined": STOP
    ... 23670: POKE 23628,PEEK 23671: PRINT "d$() available":
    FOR ... 23670: POKE 23628,PEEK 23671: PRINT "d$() hidden":
    STOP ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • A Miscellany of Dangerous TipsHere's a selection of ideas for using some of the more obscure system variables which I've found handy on occasion. They can be very convenient if us…

    ... sinclair/books/MasteringMachineCodeOnYourZXSpectrum.pdf]Mastering Machine Code on Your ZX Spectrum[/url ... />
    References:
    * storing machine code in BASIC (Jan)
    * more ... br /> * General purpose full screen input routine (May)
    * saving ...
    Battle Bunny Battle Bunny October 2012 Sinclair Basic
  • New Game: Advanced Premiership SimulatorHi Friends, I discovered BASin last Saturday, and I've found it rather fun to play with. I ended up producing this; It's basically (no pun intended)…

    ... using digital samples (achieved using machine code). There is also some extra ... the season without any user input.

    You can ... of BASIC and 25k of machine code and data. There's also ... in C/Java and hobbyist machine coding have certainly changed the ...
    joe joe February 2013 Brand new software
  • I thought I'd give assembly a goAnd well being an absolute newb,I'm absolutely useless.I need your help. I thought I'd give this a go in zxspin [url]http://chuntey.wordpress.com/20…

    ... /01/12/tutorial-zx-spectrum-machine-code-game-30-minutes/[/url].

    Then after entering 10 PRINT AT 0,0; ?Your score ...
    bully bully March 2013 Sinclair Basic
  • CODE SCREEN$ in MCIs there any way of determining what character is displayed at a certain co-ordinate from machine code like the 'IF CODE SCREEN$=' arrangement in bas…

    Is there any way of determining what character is displayed at a certain co-ordinate from machine code like the 'IF CODE SCREEN$=' arrangement in basic?
    daveysludge daveysludge June 2013 Development
  • Machine code optimisationI'm geting back into z80 coding and wonder what the best way of showing how efficient the code is. I've got Rodney Zaks book and see there are timin…

    ... of showing how efficient the code is.

    I've ... to determine how fast the code runs?
    rune rune September 2013 Sinclair Miscellaneous
  • 128 BASIC-compatible way of loading BASIC as code?On a 48K Speccy (or from 48 BASIC or USR 0 mode on a 128K machine), one can do a silly trick like this: [code];; load a 4000 byte BASIC program ld i…

    ... machine), one can do a silly trick like this:

    [code ... (23620),1

    ret[/code]

    Ta-da, BASIC ... total crash. Loading BASIC as code from the 128 BASIC interpreter ... ; it's the return from machine code that doesn't.

    stephenw32768 stephenw32768 September 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 very easy to print it. It's easy because ... it a try as Z80 machine code implementation, to see if it ... br />
    The listing:
    [code] org 40000

    Principal ... b,0 ;Flag to not print leading zeros
    ld hl ...
    mcleod_ideafix mcleod_ideafix November 2013 Development
  • Self modifying code ??I made a game in C that was mostly accessing arrays and using FOR NEXT loops, I ran out of memory, so I was thinking would it be possible to use sel…

    ... possible to use self-modifying code so that say 20 FOR ... NEXT loops use the same code?
    or 20 array look ... ups can use the same code?

    When using C ... always write out all the machine code necessary to do loops and ...
    slenkar slenkar December 2013 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…

    ... ended, I started reading about machine code (in fact one of my ... seeing you all exchange assembly code and wondering how the & ... these guides on how to code, but I can't for ... an "easy" guide called Mastering Machine Code on your ZX Spectrum. Needless ...
    alexsut alexsut March 2014 Development
  • misunderstanding screen addressingHi I am just reading mastering machine code Toni Baker: [url]ftp://ftp.worldofspectrum.org/pub/sinclair/books/MasteringMachineCodeOnYourZXSpectrum…

    ... /> I am just reading mastering machine code Toni Baker:
    [ ... the address of the “print position”
    for any ... consider the point whose PRINT AT co-ordinates are ... the address of this print position are
    40 ... the 5,4 in the PRINT AT example.

    username username April 2014 Sinclair Miscellaneous
  • Timex contended memory timings, the TS2068 kludge board and EXROM at $4000 - $7FFFI haven't seen this documented anywhere yet so I thought I'd share my findings. I've been investigating contended memory timings on the Timex Sinclai…

    ... which plays beeps using a machine code routine which steps through $4000 ... of a 74LS00 quad 2-input NAND gate chip; however it ... EXROM chip in the standard machine is only 8K long and ...
    rga24 rga24 May 2014 Hardware
  • How big is the program?I've got the following one line program (running in a 48K Spectrum emulator) [CODE]1 input n:let n=n-int(n/4)*4:print "1 i -1-i"(n*2+1 to n*2+2)[/CO…

    ... [CODE]1 input n:let n=n-int(n/4)*4:print "1 ... +1 to n*2+2)[/CODE]

    With one ... got an old snippet of code from ages ago that ... has executed

    [CODE]print "bytes:";peek 23641+256*peek ... 23635+256*peek 23636)+1[/CODE]

    this returns ...
    branflayk branflayk March 2015 Sinclair Basic
  • z80 assembly helpEver since I was a child I wanted to program my zx81 then my zx spectrum + 2. However, it was such a mystical beast and I only ever used BASIC not kn…

    ... a thing as "machine code". 30 years later ... ASCII control code for AT.
    rst 16 ; print it.< ... .
    rst 16 ; print it.
    ld a,( ... coordinate.
    rst 16 ; print it.
    ret
    ...
    antonyjones101 antonyjones101 September 2015 Development
  • Comparison of RS232 port on Interface 1 with that on Spectrum +3/+2AHi everyone, I'm writing a tool (in machine code) to transfer data (for example, an emulator snapshot) between a PC and a real ZX Spectrum, over t…

    ... 'm writing a tool (in machine code) to transfer data (for example ... difference being that the +3 code accesses the serial port via ... controller, wheras the Interface 1 code uses the ports on whatever ... cope with 19,200 bps input?

    Thanks in advance ...
    Georgeo Georgeo February 2016 Development
  • Simple bit of machine code not working [SOLVED]ishHi all. It's late and I'm tired and I have no idea why the following piece of code wont display a little smiley face [code]ld hl,udg ld (236…

    ... why the following piece of code wont display a little smiley ... face


    [code]ld hl,udg
    ld ... ,126,126,66,60,24[/code]

    I'm using ...
    Tobo Tobo March 2016 Development
  • 140 characters Basic game contestHey there, I've announced a new micro contest on my blog (in Czech language only). However, it might be interesting also for the non-Czech/Slovak …

    ... example:

    [code]1 PRINT "Hello world"[/code]
    - are 21 characters ...
    [code]1 FOR f=10 TO 20 STEP 2: PRINT f ...
    Factor6 Factor6 May 2016 Sinclair Basic
  • New Game (2016 revival): A Yankee in Iraq (1992)Hello everyone, Way back in 1992, I wrote a shoot-em-up called [i]A Yankee in Iraq[/i]. The entire game was written in Sinclair BASIC. Recently, I…

    ... tips on loading BASIC using machine code can be found here: [url ... LPRINT routine with a plain PRINT statement to display the name ...
    Ast_A_Moore Ast_A_Moore August 2016 Brand new software
  • how to load machine codeI'm reading Jon Caldwell's how to write Spectrum games but can't enter the code! Here's an example:_ LD BC, (score) Call 6683 I tried putting…

    ... but can't enter the code! Here's an example:_ ...
    mik3d3nch mik3d3nch November 2016 Sinclair Miscellaneous
  • Random Numbers, USR Return Values & Timing BASICI've been trying out Jon Ritman's random number routine, published in Your Sinclair Aug'87. Apart from a timing comparison I also did a frequency ana…

    ... part 4 of the "Machine Code Calculator" series in ZX ... /> 3276 31940950 0
    [/code]

    http://www ... 9999: LET st=t0: PRINT #0;AT 0,0;" ... 9999: LET ft=t0: PRINT #0;AT 1,0;"Finish ... st)*100+0.5)/100: PRINT #0;" Time=";time;" secs ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • The Complete Machine Code Tutor - bug?Dear all, I'm having a fiddle with The Complete Machine Tutor and have come to the bit where they're adding registers together. The image on the l…

    ... a fiddle with The Complete Machine Tutor and have come to ...
    Tobo Tobo February 2017 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…

    ... the keypress with LET i=CODE INKEY$, then z(i) would ... means, I know nothing about machine code, and I'm never going ... every time I want to PRINT something on the stack, and ...
    The Mighty Dopethrone The Mighty Dopethrone March 2017 Sinclair Basic
  • The trouble with good code isLots of times I've come here to ask for help and always got it pretty promptly. Which is wonderful and one of the reasons why I don't think there's a…

    ... trying to learn hex and machine code until I have a thorough ...
    mik3d3nch mik3d3nch May 2017 Chit chat
  • Flood Fill IssueHi Folks, Came across the following Flood Fill routine by John Metcalf: [code]; scanline fill by John Metcalf ; call with d=x-coord, e=y-coo…

    ... Metcalf:


    [code]; scanline fill by John Metcalf ... br /> jp (hl) 60102 E9[/code]

    Thought I ... program:


    [code]100 CLEAR 60000
    110 ... br /> 160 PRINT "Hex ";H$;" ";
    170 LET H= CODE H$(1 ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Using BASIC from Machine CodeHi Folks, Came across a very interesting article by Toni Baker in Your Spectrum: http://www.users.globalnet.co.uk/~jg27paw4/yr11/yr11_66.htm …

    ... 's assembler:


    [code]
    ORG 62000

    [/code]

    The above ... it via:


    [code]100 CLEAR 61999
    110 ... /> 120 LET A=USR 62000[/code]

    The Spectrum crashes ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Custom Menus on the ZX Spectrum +3Today, my Friends, i have the pleasure of presenting a program i have written which gives a set of custom menus on the +3. The main features of my p…

    ... : permitting the use of a Machine Code Monitor (MONP3 from the HiSoft ... the same as the [b]Print[/b] in the standard menu ...
    The_Bert The_Bert October 2017 Sinclair Basic
<1…45678910…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