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.024s
<1234567…34>
  • WTF stupid machine10 LET X = 28672 or 61440 depending on how much memory you have 20 LET A$ = ?? 30 IF A$ = ?? THEN INPUT A$ 40 LET Y = CODE A$ ? 48:IF Y>9 THEN LET Y …

    ... A$
    40 LET Y = CODE A$ ? 48:IF Y> ... ? 7
    50 LET Z = CODE A$(2) ? 48: IF Z ... />
    Im learning machine code from the book mastering machine code on your zx ...
    Robin Robin September 2010 Sinclair Basic
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    ... screen.

    [CODE]1005 REM Attribute Block Routine ... br /> RETURN [/CODE]

    This code works perfectly and ... .

    [CODE]MCODE Version
    Parameters:< ... C9 RET ;RETURN to BASIC[/CODE]

    When ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • Another machine code problem, sorry[CODE] OPCODE HEX ADD LD A,00 3E00 F000 PUSH AF F5 F002 LD B,05 0605 F003 LD C,06 0E06 LOOP F005 POP AF F1 ADD A,C 80 DEC B 05 …

    [CODE]
    OPCODE HEX ADD
    < ... ),A 3200FA
    RET C9[/CODE]

    This is a ...
    Robin Robin September 2010 Sinclair Basic
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ... Game Compo which involves a machine code routine.

    The z80 ... nice to see how the code could be optimized.


    I would belive my code is probably very uneffective the ... reachable by JR.

    [CODE]
    org 50000

    Rickard Rickard October 2010 Development
  • z80 machine code assemblerHi everyone, Which assemblers have a nice user interface. Because i want to code in assembler on the computer and then assemble it. I dont want a co…

    ... interface. Because i want to code in assembler on the computer ...
    Robin Robin October 2010 Emulators
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    Hi everyone,

    How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet?

    When you kill something, do you just stop displaying it?

    thanks
    Robin Robin October 2010 Development
  • How to code a run and jumpHi all, Is there a way in basic to take action on two simultaneous key strokes. I want to add a run and jump i.e. keys Q and M but using inkey$ seem…

    ... . I am not ready for machine code yet so would like to ...
    hedge hedge January 2011 Development
  • machine code loadercan someone have a look at this loader and break down what its actually doing and also how i can stop it from executing the 2 loads of headerless blo…

    ...

    cheers

    [CODE]
    5B00 LD SP,5BFF ...
    5B3B NOP

    [/CODE]
    djgarf djgarf August 2011 Sinclair Miscellaneous
  • 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
  • Machine code RST10 problemHello! After 27 years of playing with Spectrums I'm starting to look into doing assembly language properly. All went swimmingly well until I wrote …

    ... underlying colour alone:

    [CODE]
    ;
    ; Output of Messages ... /> .msgfir defm " PRESS FIRE "
    [/CODE]

    On entering the ...
    snigfarp snigfarp November 2012 Development
  • 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 assistance please #1Dear all, Learning the ropes here, so please excuse these odd questions which may seem simplistic to you learned lot. This routine is placed at 33…

    ... it gives me 32867.
    [code]
    ld l,155
    ret
    [/code]

    When I add ... the beginning, the following...
    [code]
    ld hl,0
    ld bc,0
    [/code]
    ...it seems to work ...
    Tobo Tobo June 2013 Sinclair Miscellaneous
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • Amiga chit chat (sorry but it never really was a commode designed machine)I wish there was a forum like this for the Amiga, perhaps there is but I tried a few and they mostly seem pretty moribund and lots of the links at Am…

    ... /> Since I'll never master machine code - maximum kudos to those of ...
    mik3d3nch mik3d3nch February 2020 Chit chat
  • Prefered Tools for Developing Maching Code in 2021I am considering this year to fulfill my goal of actually writing machine code programs for the ZX Spectrum. I am an accomplished object oriented cod…

    ... my goal of actually writing machine code programs for the ZX Spectrum ...
    Scottie_uk Scottie_uk January 2021 Assembler
  • 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…

    ... would be appeciated.

    [code]Op Hex Notes
    LD ... C9 Return to basic
    [/code]
    Scottie_uk Scottie_uk February 2021 Assembler
  • whats your second favourite retro computerOk i'm going to assume that for most of us here the speccy is our favourite number 1 retro computer,its the best home computer in the world etc etc :…

    ... writing superb and very clever code. And the games I refered ... them next to a C64 scroller you like and tell me ... help novices to migrate to machine code. period. I should know because ...
    Arjun Arjun February 2004 Games
  • 3d Code... simple Anyone know where I can get some examples of 3d routines written in basic... I`ve done some googling, and come up with some source for PowerBasic or…

    ... - the jump from BASIC to Machine Code - I know, I was there ... took the jump into Z80 Machine Code as it looked too daunting ... a scroller using ROM routines, then using my own screen code, then ...
    Quazar Quazar September 2004 Development
  • What was the first game/program you wrote?Mine: ZX81 - a centipede clone with just one piece to shoot at - I called it Monopede :D Spectrum - a Basic game co-designed with a friend. I prog…

    ... side-scroller (which was my first attemp at integrating machine code with BASIC ... .),a Bingo game (with a machine code "search" routine). Also dabbled with ...
    Arjun Arjun May 2005 Games
  • Sam coup? - some questionsHi everyone. Got myself a sam coup&#233; without any kind of cables. I was a bit suspicious about it's working condition. Hooked it to a pc at psu a…

    ... , and my first machine code program was a simple scroller using the ROM ... another scroller but not using ROM routines, writing all my own code ...
    Quazar Quazar November 2006 Hardware
  • Sam coup? - some questionsHi everyone. Got myself a sam coup&#233; without any kind of cables. I was a bit suspicious about it's working condition. Hooked it to a pc at psu a…

    ... tinkering while starting out with machine code program back in the early ... !

    Although the first scroller I can remember reading, must ...
    Quazar Quazar November 2006 Hardware
  • Sam coup? - some questionsHi everyone. Got myself a sam coup&#233; without any kind of cables. I was a bit suspicious about it's working condition. Hooked it to a pc at psu a…

    ... , and my first machine code program was a simple scroller using the ROM ... another scroller but not using ROM routines, writing all my own code ... !

    i always liked scroller`s, they gotta have a ... keep you reading... best/fave scroller for me is the E ...
    CKay CKay November 2006 Hardware
<1234567…34>

Latest Posts

  • I am currently watching.....
    mel the bell on 5:54PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Luny on 5:14PM
  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • 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

HitBox

Word Docs Hits
machine 27.2K 35.6K
code 41.6K 91.2K
scroller 556 661

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 /…
  • 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 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…
  • Machine Code Challenge #1 ResultsWell at the stroke of midnight there were 3 <br /> entries so everybody gets to stand on the podium and the 3 Spectrum books will be going out to pri…
  • Machine CodeOk i had a spectrum when i was younger and only used it for playin games and typing simple BASIC programs - i mean really simple! Things like <br /> …

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
  • spectrum machine code ian stewart
  • machine code
  • machine code ay
  • machine code to rem

Copyright © 2024 World of Spectrum