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.067s
<1234567…34>
  • Can I record binaries from any emulator with Basic commands, machine code, macros or something?Hello I do not know if this is the right place to put this question Normally with ZXSpin if I want to save a binary file, I'm going to: file ->…

    ... , etc
    directly from commands in basic or from machine code, that is not in ... is recorded directly to PC from the emulator as different binary ...
    maeloterkim maeloterkim June 2019 Emulators
  • Change PAPER and BORDER colours from machine codeHow do you go about changing PAPER and BORDER colours from machine code? I've forgotten the system variables for border and paper.

    How do you go about changing PAPER and BORDER colours from machine code?

    I've forgotten the system variables for border and paper.
    daveysludge daveysludge July 2014 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 ... a REM statement in a basic program.

    I want ...
    ld (23624),a ;bottom line colour

    ;LOAD loading ...
    daveysludge daveysludge October 2014 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 …

    ... send midi-signals by machine code, while Basic is too slow ... system; ROM 1 contains 48K BASIC.

    Bit ...
    ROM 3: 48 BASIC
    Bit 3: Disk ... I'm using 48K Basic together with an interrupt ... the exact lines of code will be Z80-compatible ...
    bverstee bverstee April 2010 Hardware
  • Hacks to improve existing gamesDoes everyone remember those hacked versions of Commando and Action Force II that had AY soundtracks hacked into them? How about hacking some other …

    ... level loader to work from BASIC, so it could be ... machine code loader with a call to BASIC to a certain line ... done (returning to BASIC to certain line from machine code), assuming the system ... load from tape. What's different in what you suggest???? (Edit: ...
    Dr BEEP Dr BEEP November 2008 Games
  • URGENT programming question !I've gotta draw a line from machine code using the standard routine at 24B7, which expects the delta-X and delta-Y values on the BASIC stack. I put t…

    I've gotta draw a line from machine code using the standard routine at ... delta-Y values on the BASIC stack. I put these values ... by calling 2D2B (BC -> BASIC stack). However, it seems that ... a negative BC on the BASIC stack ?
    GOC GOC July 2003 Sinclair Miscellaneous
  • Help hacking Split PersonalitiesI`ve been hacking away at Split Personalities for the purpose of putting new screens and graphics (items). The current screen is at 41187 and is 160…

    ... know how to save a basic program from machine code with a predefined filename ... assemble into 23296 on 48k machine type in the latest Spin ... /> Edit:
    Made a tzx of my demo from the save code. To ... takes place.

    2nd Edit:
    Here is a fix ...
    FrankT FrankT August 2007 Games
  • Hacks to improve existing gamesDoes everyone remember those hacked versions of Commando and Action Force II that had AY soundtracks hacked into them? How about hacking some other …

    ... games level loader to work from BASIC, so it could be ... loaded from tape or any other ... the machine code loader with a call to BASIC to a certain line ... be done (returning to BASIC to certain line from machine code), assuming the system variables ...
    0sAND1s 0sAND1s November 2008 Games
  • Multiply the value of 'a' by 5Is there a way of multiplying the value of 'a' by 5? I've tried 'add a,a' etc. but only get multiples of 2...

    ... up a fake line of BASIC and calling the BASIC routine to ... execute that line. There was an ... (perform maths in machine code by using the BASIC maths routine) which ... how to use any BASIC command from machine code, but the article I ...
    ewgf ewgf July 2012 Development
  • Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source & destination variables can themselves be defined in var…

    ... arguments from being evaluated in advance by the BASIC interpreter ... error" or "Nonsense in BASIC".

    It ... assigning values to BASIC variables from machine code. Just put the ... /> FETCHS: equ $2bf1 ;from calculator stack: AEDCB
    ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • Totally random idea for the hardware nuts to exploreWhen it comes to multi-player games, how hard would it be to generate a second display from a single Speccy, instead of trying to link up machines, s…

    ... expect it to be used from BASIC, and from machine code you should then avoid ...
    joefish joefish April 2014 Hardware
  • Can I record binaries from any emulator with Basic commands, machine code, macros or something?Hello I do not know if this is the right place to put this question Normally with ZXSpin if I want to save a binary file, I'm going to: file ->…

    ... , etc
    directly from commands in basic or from machine code, that is not in ... you save an address range from a specific memory bank straight ...
    colonel32 colonel32 June 2019 Emulators
  • 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 …

    Apart from putting m/c above RAMTOP, ... worlds. This installs machine code between the end of BASIC and the beginning ... :
    STOP
    9999 REM *** MACHINE CODE STARTS
    AFTER THIS LINE
    [/code]
    Battle Bunny Battle Bunny August 2010 Sinclair Basic
  • Starting on machine code - BASIC first?Howdy. If I wanted to start learning machine code for the speccy, from scratch, would you recommend I learn BASIC first or is it entirely possible to…

    ... learning machine code for the speccy, from scratch, would you recommend I learn BASIC ... entirely possible to start machine code with minimal BASIC knowledge?
    Also (and ... type machine code into the speccy in the first place without the BASIC ...
    Vertigo Vertigo November 2007 Development
  • Machine Code Microdrive File LoaderI've been experimenting with transferring games to run from microdrive. Typically I like to see a loading screen while things are happening, and I li…

    ... transferring games to run from microdrive.
    Typically ... link

    [CODE];
    ; machine code microdrive file loader
    ; ... /> hd_11 equ $5ced ; line number
    copies equ $ ... /> push hl ; preserve return to basic
    exx
    ;
    jp jp August 2009 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…

    ... Low byte)
    Any machine code function called from basic will return the value ... these four bytes of machine code, enter this one-line program in the ... our blindingly fast machine code.
    Insert the following into line 106 (as ...
    bigjon bigjon November 2009 Development
  • 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…

    ... & loaded with the BASIC, as if it was ... stops when it encounters a line number >= $40nn ... LISTed after the last line of BASIC, even though the m ... doesn't need any BASIC to be typed other ... br />
    REM INSTALL MACHINE CODE... with GO TO 9161
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • 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…

    ... my_loader

    ;; run program from line 100
    ld hl,100 ... load working but not resuming from the line and statement placed into ... BASIC as code from the 128 BASIC interpreter does work; it's the return from machine code ...
    stephenw32768 stephenw32768 September 2013 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…

    ... playin games and typing simple BASIC programs - i mean really ... want to do something in machine code. I've seen a ... code was all blocked out or it was a line ... 0 (zero) - how did they do that in basic?! ... info, especially about the Machine code
    Alex
    alexsut alexsut July 2002 Sinclair Miscellaneous
  • Z80 Machine CodeHello again chaps, Hope I'm in the right category for this question - I suppose it could be under 'Game Creation / Programming'. hehe Ive got far t…

    ... , and learn machine code.

    I got familiar with basic when I ... me to anazlyze and learn from?

    I need to ... /> Ive got a speccy coming from ebay this week - should be ...
    the_misguided_fool the_misguided_fool August 2003 Games
  • Basic or Machine code?Hopefully the correct area of the site to post this question. Anyways, I have got hold of several books on programming my spectrum, and I was wonderi…

    ... should learn to program in Basic, or machine code? Any help gratefully received ... should concentrate my efforts. Learn Basic first? Then MC, or just ...
    Spadge Spadge March 2006 Development
  • A few questions about machine codeOh no... another noob. I'm giving my first steps in assembler (finally, after 20 years stuck in BASIC). I read a SU article explaining that if I wan…

    ... 20 years stuck in BASIC). I read a SU ... call 1366
    jp 30285[/CODE]

    Another question ... I call a routine from the spectrum rom, because ...
    I have a machine code tutorial here and I will ... I still see registers as BASIC variables, and I want ...
    zxbruno zxbruno August 2007 Sinclair Miscellaneous
  • 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…

    ... ZX BASIC that no one could have dreamed of. Apart from my ... a resultant machine code program (up to 289 bytes of machine code).

    BASIC by pressing "a" (quit).
    from here:[/B][/color]
    [ ...
    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…

    I have started to code my first machine code program, a simple roadrace ... scrlcount
    push bc ;save line counter
    dontmove ;copy line2 ... byte back along the line to be copied from
    dec hl ... ;ditto line to be copied ...
    bigjon bigjon February 2008 Development
  • Machine code and Basic system variablesSpectrum system variables (I mean 48KB model) are essential for Basic. But what if I started my machine code program and it's never going to return t…

    ... essential for Basic. But what if I started my machine code program and ... it's never going to return to Basic ... had something to do with code executed during interrupts. I ... I guess that the interrupt code uses system variables somehow.< ...
    Ralf Ralf January 2009 Sinclair Basic
  • HTML Transcription of Mastering Machine Code on Your ZX81Hi :) I've spent the last couple of months transcribing Toni Baker's "Mastering Machine Code on Your ZX81 or ZX80" from a PDF to HTML. The freely do…

    ... 's "Mastering Machine Code on Your ZX81 or ZX80" from a PDF to ... to learn how to write machine code programs, but also I wanted ... happened when adding the final code from Draughts Three. Anyway, I've ... /> Thunor Sif Ese

    [EDIT]
    Sorry, I think I ...
    Thunor Thunor October 2009 Development
  • machine code player routineHi all, Collecting all my courage to ask more (rather stupid attitude from me, but so difficult to ask questions and bother other people, don't unde…

    ... ask more (rather stupid attitude from me, but so difficult to ... old method to save machine code to first REM line (I was told ... effects and saves them starting from address 30000 in blocks of ... data block of length XX from address XXXXX,
    calls playing ...
    jukka_k jukka_k March 2010 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…

    ... I created based on input from reading the posts of ... on WOS forums, some from books and some I just ... while I was learning z80 machine code.

    Anyway will ... ; 13/8t (1183t per char line)
    ; *************************************
    ; move one ...
    TomD TomD April 2011 Development
  • 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
  • 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…

    ... spectrum machine code. Its so frustrating to sit infront of a basic listing ... games and tying in programs from the magazines.
    But ... the 0 was from some side efect...

    [code]
    0601 ... affect the outcome (aside from adding extra opps to the ...
    wibble wibble August 2013 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
edit 17.6K 19.7K
basic 24.7K 39K
line 19.4K 33.7K
from 169.9K 237.3K
machine 27.2K 35.6K
code 41.6K 91.2K

Related Threads

  • 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??
  • Using BASIC from Machine CodeHi Folks,<br /> <br /> Came across a very interesting article by Toni Baker in Your Spectrum:<br /> <br /> http://www.users.globalnet.co.uk/~jg27…
  • Can I record binaries from any emulator with Basic commands, machine code, macros or something?Hello<br /> <br /> I do not know if this is the right place to put this question<br /> <br /> Normally with ZXSpin if I want to save a binary fil…
  • 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 /…
  • Saving BASIC code as CODE... can't start programHi guys!<br /> <br /> I'm trying to create an adventure game for the Speccy in BASIC, called The Legend Of The Red Dragon.<br /> <br /> I'm using the…
  • Basic or Machine code?Hopefully the correct area of the site to post this question.<br /> Anyways, I have got hold of several books on programming my spectrum, and I was w…
  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • Starting on machine code - BASIC first?Howdy.<br /> If I wanted to start learning machine code for the speccy, from scratch, would you recommend I learn BASIC first or is it entirely possi…
  • Machine code and Basic system variablesSpectrum system variables (I mean 48KB model) are essential for Basic. But what if I started my machine code program and it's never going to return t…

Related Searches

  • machine code sprite movement in basic
  • add machine code sprite movement to basic
  • beeper from machine code
  • loading basic from code
  • save basic program as machine code
  • save basic as machine code
  • delete basic program from machine code
  • loading from machine code
  • basic machine code
  • mix basic and machine code emulator
  • load code from basic in emulator
  • basic from machine code
  • run basic program from machine code
  • call 3 disk loading from machine code
  • pass variables from basic to machine code
  • draw line function from machine code
  • single line of basic code
  • save and load machine code from basic
  • edit basic with machine code
  • calling machine code from basic

Copyright © 2024 World of Spectrum