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.243s
<1234567…34>
  • Fast division in machine codeHi Does anyone know what is the fastest way to divide a 16 bit number by 24 in machine code. Derek [ This Message was edited by: dmsmith on 2004-0…

    Hi

    Does anyone know what is the fastest way to divide a 16 bit number by 24 in machine code.

    Derek

    [ This Message was edited by: dmsmith on 2004-09-24 20:04 ]
    dmsmith dmsmith September 2004 Development
  • +2 ramdisk - access in machine codeHow can you access the ramdisk in machine code? I've got a +2, and it seems the ramdisk has never been properly utilised. It would be a handy little…

    How can you access the ramdisk in machine code?

    I've got a +2, and it seems the ramdisk has never been properly utilised.
    It would be a handy little area to use.


    Thanks in advance,

    --

    cat
    cat cat October 2006 Development
  • IF and control flow in machine codeHi everyone, Basic has a nice control flow like if statements. How can these be done in machine code since i cant find anything thanks

    Hi everyone,

    Basic has a nice control flow like if statements.
    How can these be done in machine code since i cant find anything

    thanks
    Robin Robin September 2010 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... program in machine code!

    CHAPTER 1 - Create a machine code function ... was 0"? Congratulations - you have coded your first machine code program ... black road we need 0 in the accumulator (ch16 of ... add something like 20 PAUSE 0 to your basic program ...
    bigjon bigjon November 2009 Development
  • How do I clear only a specific area of a screen (quickly) in machine code ?I'm looking for a machine code routine which will clear the first 20 rows of the Spectrum's display (or any number of rows or columns) . I have found…

    ... how the display is mapped in memory), which can
    ... bytes).
    However, this machine code routine, when I tested
    0 TO 19 :
    ... PRINT AT F,0;"" : NEXT F

    LD HL,4000H 33 0 64
    LD BC,17FFH ...
    bobbyjaykid bobbyjaykid July 2007 Development
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code? I have written the following MC routine that fits into a REM statement in a basic program. I want to cal…

    How do you LOAD "" CODE from machine code?

    I have written ... worth of 128 code in bank 6?

    [CODE]ld a,64 ... ; white ink (7) on black paper (0),

    ld a,0
    ld (23624),a ;bottom ...
    daveysludge daveysludge October 2014 Development
  • 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 10 Pri…

    ... i want to do something in machine code. I've seen a lot ... the loaders and seein the code was all blocked out or ... a line 0 (zero) - how did they do that in basic?! lol ... any info, especially about the Machine code
    Alex
    alexsut alexsut July 2002 Sinclair Miscellaneous
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    ... simple BASIC routine (below) to machine code, but to no avail.

    Many thanks in advance...
    daveysludge daveysludge July 2012 Development
  • Can a guy that traveled on the short bus learn machine code...Hmmm So after some soul searching I figured it was time to finaly nail spectrum machine code. Its so frustrating to sit infront of a basic listing w…

    ... be much faster in machine code.. all the cool kids use machine code.."
    < ... up trying to get 0,

    [code]
    0600
    ... Perhaps the 0 was from some side efect...

    [code]

    0

    Makes sence ...
    wibble wibble August 2013 Development
  • All my Machine Code Books Up For GrabsSee [url=http://www.worldofspectrum.org/forums/showthread.php?p=139192#post139192]here[/url] for details. You too can learn to program the Speccy in…

    See [url=http://www.worldofspectrum.org/forums/showthread.php?p=139192#post139192]here[/url] for details.

    You too can learn to program the Speccy in Machine Code
    robpearmain robpearmain July 2006 Development
  • New Discussion Group? Sinclair Machine Code/AssemblyHello, What do people think about whether we should have a new discussion group relating to machine code for Z80? We have a Sinclair Basic discussi…

    ... new discussion group relating to machine code for Z80? We have a ... but not one about assembly code/machine code for the spectrum.
    < ... are a number of postings in the forums which could fall ... is so simply and fast in machine code.

    For me, Z80 ...
    BloodBaz BloodBaz May 2007 Sinclair Miscellaneous
  • ccompletly baffeled machine codeHi everyone, BEFORE you ask i have not asked help for loads of problems i have recently now encountered and i figured the problems out myself, hones…

    ... a character at this position in machine code. But thats where the problem ... starts. its done in a really difficult way. I ... cant just plug in the x co because the ... point on the screen grid in machine code. For example, 5,4 is ...
    Robin Robin September 2010 Sinclair Miscellaneous
  • Machine code sub routinesHi everyone, I have noticed that in machine code you can call different "preset" routines like rst 16 or something, or call 6533... where can i fi…

    ... />
    I have noticed that in machine code you can call different "preset ...
    Robin Robin October 2010 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…

    How 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 know where to start... :confused:
    daveysludge daveysludge January 2012 Development
  • Help a small machine code game.Hello all you clever wossers are there any GOOD?? games that are in machine code (no basic apart from the loader,rnd usr bit) but are very small ma…

    ... any GOOD?? games that are in machine code (no basic apart from the ... small

    max 4k in size

    or a ...
    ASH-II ASH-II January 2014 Games
  • storing machine code in BASICA couple of years ago I posted a routine for storing machine code between PROG & VARS, based on an idea in Toni Baker's "Mastering Machine Code". Thi…

    ... on an idea in Toni Baker's "Mastering Machine Code". This enables ... l$+CHR$ 14+CHR$ 0+CHR$ 0+CHR$ FN g(n ... $ FN h(n)+CHR$ 0+",":
    DEF FN p ... p(va)-o-(o>0):
    LET s$= ... =23627: POKE da,0: POKE da+1,0: RETURN
    ... s=0 TO LEN s$-1: POKE df+s,CODE s ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position. I used some Rodnay Zaks code to order some bytes…

    ... am having difficulty ordering them in ascending order (Changing " ... earlier thread)

    [code]

    org 8000h< ... flag,h ; exchanged flag=0
    ld b,c< ... ret

    temp: defw 0

    numbers:
    ...
    robpearmain robpearmain August 2006 Development
  • First steps in Z80 machine codeI never got into machine code much back when I had a speccy, as I didn't have any development tools at the time. The only machine code I'd previousl…

    I never got into machine code much back when I ...
    The only machine code I'd previously done in the past was ... to the basics of Z80 machine code.

    I ... don't laugh at the code, I'm a Z80 ... learning the basics of Z80 machine code, seems like loads of ...
    Digital Prawn Digital Prawn July 2007 Development
  • One Liner - Machine CodeHi Dr. BEEP, Digital Prawn, et. al., I think that what you guys have achieved with the one liner contest is absolutely amazing. It brought about wh…

    ... machine code in an ASCII format
    3) the "length" (in bytes) of the machine code ... in a Hex-esque form as follows:
    [code]
    Hex Digit: 0 ... E F
    Char Used: 0 1 2 3 4 5 ...
    BloodBaz BloodBaz November 2007 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... have started to code my first machine code program, a simple ... pixel scrolldown routine in 40 Best Machine Code Routines for the ... bits
    cp 0 ;check we aren't ... *8lines
    cp 0 ;have we reached the ...
    ret
    [/code]Your help is much appreciated ...
    bigjon bigjon February 2008 Development
  • Midi Out from machine codeI need to send midi-signals by machine code, while Basic is too slow for my current project. I already read I can use hookcode #11E, but I have some …

    ... to send midi-signals by machine code, while Basic is too slow ... displayed. The normal screen is in bank 5, whilst the shadow ... /> Bit 0: Paging mode. 0=normal, 1=special
    Bit 1: In normal ... :
    1. OUT #7FFD, (23388 ) - in 23388 the previous value is ...
    bverstee bverstee April 2010 Hardware
  • storing machine code in BASICApart from putting m/c above RAMTOP, which means that it has to be POKEd or LOADed separately after the BASIC program; or putting it in a REM, which …

    ... method, described in Toni Baker's "Mastering Machine Code", which provides ... LOAD "filename" CODE mcpos,machine_code_length:
    PRINT "machine code starts at ";mcpos ... STOP
    9999 REM *** MACHINE CODE STARTS
    AFTER THIS LINE ...
    Battle Bunny Battle Bunny August 2010 Sinclair Basic
  • Automatic opcode to machine codeHi everyone, Would people use a program that you enter opcodes and it automatically converts them to machine code and saves them to a file. So if yo…

    ... it automatically converts them to machine code and saves them to a ... A,B
    LD B,0
    LD C,A
    machine code program to help me make programs. I would make it in ...
    Robin Robin September 2010 Development
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... quickly as doing an LDIR in machine code, but using only standard ZX ... /> 36 IF INKEY$"j" THEN PAUSE 0: GO TO 36
    40 ... 51 IF INKEY$"j" THEN PAUSE 0: GO TO 51
    60 ... $:
    POKE defadd,0: POKE defadd+1,0: PAUSE 0
    [/code]

    [ ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • Small Machine Code Routines Which Maybe UsefulAs part of creating Flynn's Adventure in Bombland I created a lot of little routines to do all sorts of things. A lot of these I created based on inp…

    ... while I was learning z80 machine code.

    Anyway ... input - h-ypos (0-23), l-xpos (0-31), a-ascii ... br /> ; move to correct place in ROM for character graphic
    0 0000000x
    or e ; ...
    TomD TomD April 2011 Development
  • Machine code loopsDear all, 30 years too late I know, but I'm finally starting to get to grips with Machine Code - something I could never manage back in my early tee…

    ... grips with Machine Code - something I could never manage back in my early ... the b register isn't 0, but I'm not sure ... how cpdr is actually used in a listing - where is it ...
    Tobo Tobo June 2013 Development
  • Machine code/Assembly language back in the dayHello. Back in the 80s when I was a kid, I didn't learn Z-80 machine code, but I was always curious about it. Just recently I decided to explore Z-…

    ... didn't learn Z-80 machine code, but I was always curious ... my little attempt at learning machine code on the Spectrum made me ... I was learning machine code on a real spectrum back in the 80s ... for people who were learning machine code back in the 80s?

    memrah memrah September 2013 Sinclair Miscellaneous
  • Machine Code in 30 minutes - car gameWotcha folks, 30 years on and I'm still struggling with Machine Code. I'm going through the 30-minute tutorial on the Chuntey blog and it's all made…

    ... I'm still struggling with Machine Code. I'm going through ... caps to v
    in a,(c)
    cp ... space to b
    in a,(c)
    cp ... br /> dec l
    dontmove[/code]

    Unfortunately, there ... into BC, but what is 'IN A,(C)' actually doing? ...
    Tobo Tobo August 2014 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 …

    ... interesting article by Toni Baker in Your Spectrum:

    http ... the following in to Basin's assembler:


    [code]


    [code]100 CLEAR 61999
    110 PAUSE 0
    120 LET ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Setting breakpoints in source code to make debugging easierAfter two years I've resumed my Speccy coding project. I'm porting a yet "unported" game from C64/Atari to 48k Spectrum using Z80 assembler. At the m…

    ... Pasmo (v. 0.5.3) to compile my code and Marat Fayzullin ... sort of instruction or macro in the code, which when encountered, ... in the code in the "interesting place", so when my program seems to pause ... and memory, continuing the code execution is not possible as ...
    arttu arttu August 2019 Development
<1234567…34>

Latest Posts

  • 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
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • 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
  • +3 Disk drive motor
    AndyC on April 21

HitBox

Word Docs Hits
pause 2.6K 5K
0 940.2K 1M
in 401.9K 810.5K
machine 27.2K 35.6K
code 41.6K 91.2K

Related Threads

  • ANNOUNCE: Fuse 0.6.1, libspectrum 0.2.0, fuse-utils 0.6.1I'm pleased to announce the release of the Free Unix Spectrum Emulator (Fuse) 0.6.1, which is now available from its [url="http://www.srcf.ucam.org/~…
  • 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…
  • Fuse 0.5.1 and libspectrum 0.1.0 releasedVersion 0.5.1 of Fuse, the Free Unix Spectrum Emulator, is now available from its homepage, [url="http://www.srcf.ucam.org/~pak21/spectrum/fuse.html"…
  • ANNOUNCE: Fuse 0.6.1.1, libspectrum 0.2.0.1Hi all.<br /> <br /> The recently released Fuse 0.6.1 and libspectrum 0.2.0 contained a couple of moderately serious bugs:<br /> <br /> * The SVGAlib…
  • Release candidates for Fuse 0.7.0 and libspectrum 0.2.2Hi all.<br /> <br /> Release candidates for [url="http://fuse-emulator.sourceforge.net/fuse-0.7.0pre1.tar.gz"]Fuse 0.7.0[/url] (and [url="http://fuse…
  • (Belated) ANNOUNCE: Fuse 0.7.0 and libspectrum 0.2.2 releasedThe Fuse team is pleased to announce that release of Fuse 0.7.0, the associated utilities and version 0.2.2 of the Spectrum emulator support library,…
  • 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 /…
  • Fast division in machine codeHi<br /> <br /> Does anyone know what is the fastest way to divide a 16 bit number by 24 in machine code.<br /> <br /> Derek<br /> <br /> [ This Mess…
  • In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position.<br /> <br /> I used some Rodnay Zaks code to orde…

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
  • machine code sprite movement in basic
  • change tape to disk in machine code
  • machine code in loading screen
  • pause 0 in assembly
  • divide in machine code
  • machine code in rem
  • plot in machine code
  • machine code paint type in
  • machine code graphics type in
  • machine code in basic
  • loading in machine code
  • pause 0 machine code
  • set ink in machine code

Copyright © 2024 World of Spectrum