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.079s
<1234567…34>
  • 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…

    ... in Basic, or machine code? Any help gratefully received, as I am confused as to ... where I should concentrate my efforts. Learn Basic first ...
    Spadge Spadge March 2006 Development
  • 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 ->…

    ... 'm going to: file -> save binary file

    I ... /> directly from commands in basic or from machine code, that is not in ... to PC from the emulator as different binary files

    maeloterkim maeloterkim June 2019 Emulators
  • 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??

    Im 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??
    nonsenceinbasic nonsenceinbasic September 2013 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…

    ... whole new concepts in ZX BASIC that no one could have ... a resultant machine code program (up to 289 bytes of machine code).
    < ... ) keys. You can return to BASIC by pressing "a" (quit).
    code as "2^15" to save two chars.

    The [B]machine ...
    BloodBaz BloodBaz 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…

    ... a link

    [CODE];
    ; machine code microdrive file loader
    ; ... item on machine stack to be used as err return< ... save
    ;
    main exx
    push hl ; preserve return to basic ... set drive as 1
    ; ld (d_str1),hl ; basic will have ...
    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…

    ... a machine code function that returns the score to BASIC
    Machine code programs are ... the assembler, do File -> Save as and type something like mc30mintut ... main Spin display window and save as something like mc30mintut.sna. Here ...
    bigjon bigjon November 2009 Development
  • 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 …

    ... This installs machine code between the end of BASIC and the ... letter for a$() is encoded as 11000001 = $C1nn.
    < ... REM ** INSTALL MACHINE CODE
    This is done as a direct command ... 1:
    PRINT "Enter as direct commands:"'
    " POKE ...
    Battle Bunny Battle Bunny August 2010 Sinclair Basic
  • Loading BASIC programs stored as "bytes:"Hi all, I have a question regarding loading BASIC programs, that I managed to save as machine code (I suppose) when I was a child, as a result of e…

    ... regarding loading BASIC programs, that I managed to save as machine code (I ... suppose) when I was a child, as ... a result of experimentation with CODE, LINE ... ZX Spectrum 48k stores BASIC programs upon loading them. ...
    ZXMrk ZXMrk October 2010 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 in a ... the last line of BASIC, even though the m ... letter for a$() is encoded as 11000001 = $C1nn.

    BASIC to be typed other ... br />
    REM INSTALL MACHINE CODE... with GO TO 9161
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • 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 ... emulators and the ability to save and load programs easly. pretty ... br />
    Tension mounted as I entered the code....

    [IMG ... to be B and C... as a pair...

    ...
    wibble wibble August 2013 Development
  • 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…

    ... />
    ret[/code]

    Ta-da, BASIC program loaded as a headerless ... total crash. Loading BASIC as code from the 128 BASIC interpreter does work; it ... 's the return from machine code that ...
    stephenw32768 stephenw32768 September 2013 Development
  • Saving machine code on EmulatorI have been dabbling with Chapter 26 of Stephen Vicker's "ZX Spectrum Manual". [url="http://www.madhippy.com/8-bit/sinclair/zxspecman/zxmanchap26.htm…

    ... to input machine code and then finally tells you to save a basic header ... program that then loads the code to ... run. However, I cannot seem to save to ...
    ember ember March 2002 Emulators
  • 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 ... i can get started - just as something to do :)
    ... they do that in basic?! lol im just curious ... info, especially about the Machine code
    Alex
    alexsut alexsut July 2002 Sinclair Miscellaneous
  • 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…

    ... to machine code for Z80? We have a Sinclair Basic discussion ... forum but not one about assembly code/machine code for ... fall into this category such as [thread=16158]Sceen$ help ... so simply and fast in machine code.

    For me ...
    BloodBaz BloodBaz May 2007 Sinclair Miscellaneous
  • 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…

    I'm looking for a machine code routine which will
    as is
    how the ... bytes).
    However, this machine code routine, when I tested
    basic FOR F=0 TO ... The 'thirds' clear method is as follows :

    LD ...
    bobbyjaykid bobbyjaykid July 2007 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 ... example:

    [CODE]di
    ld de,23296 ...
    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
  • 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…

    ... 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
  • 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 ... 'main' not found. Using 32000 as entry point. How should I ... include 'main' and 32000 as the start point in the ... br /> scrlcount
    push bc ;save line counter
    dontmove ;copy ...
    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
  • Machine Code for BeginnersHi folks. [sort of] newbie alert. Not new to Spectrum - been there since getting first rubber key 48k in 84 and a regular visitor to WoS for many y…

    ... />
    Anyways... As a kid I never got beyond BASIC. Did a ... />
    However I never got Machine Code. And I really regret that ... (very belated) start at Z80 machine code?!?!?!?

    Many thanks.
    Captain Offensive Captain Offensive March 2010 Sinclair Miscellaneous
  • 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 ... in the same way as before, except that bit ... 3DOS
    ROM 3: 48 BASIC
    Bit 3: Disk ... I'm using 48K Basic together with an interrupt ...
    bverstee bverstee April 2010 Hardware
  • 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-…

    ... realized it isn't actually as hard as I though it would ... my little attempt at learning machine code on the Spectrum made me ... re-type your code, this time save your source code on tape before ... guessing if I was learning machine code on a real spectrum back ...
    memrah memrah September 2013 Sinclair Miscellaneous
  • Learning Machine Code the +2a wayHello again all, I thought I'd ask in this forum as the other categories seem less relevant. I keep re-reading the thread below with the advice given…

    ... ask in this forum as the other categories ... learn BASIC and some advising him to get into machine code. ... understand is the same machine. But there are ... information, sound chip, etc as the 128K/+2 machines' ... for reading all that - as always look forward to any ...
    sliderules sliderules April 2014 Sinclair Basic
  • Calling machine codeOccasionally I see on ZX computers (mostly the spectrum, but I think also the '80 and '81), how someone made their machine code and wrote the bytes i…

    ... their machine code and wrote the bytes into some memory which BASIC ... like this:
    [code]PRINT USR 60000[/code]
    If the ... also do
    [code]USR 60000[/code]
    if you are ... As I recall, I sometimes see
    [code]RANDOMISE USR 60000[/code]
    wilsonsamm wilsonsamm February 2016 Sinclair Miscellaneous
  • 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. Which i…

    ... knowledge I discovered a machine code loader in basic, and also z80 assemblers ...
    Duxbuz Duxbuz August 2001 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 ...
    the_misguided_fool the_misguided_fool August 2003 Games
  • any tips for learning spectrum machine code?hello there, I have some experince programming in basic, both sinclair 48+ (just need to recall most of what i learnt :D ) and Quickbasic. anyway i a…

    ... have some experince programming in basic, both sinclair 48+ (just need ... am intrested in learning spectrum machine code, can you give me any ...
    mestor mestor August 2005 Development
  • Machine Code: quicksort optimisationI came across this z80 quicksort implementation when going through the wikipedia article on the same. It's 44 bytes long. I was wondering if any of …

    ... wondering if any of the machine code punters here would like to ... go at wittling down the code or optimising it for speed ...
    Arjun Arjun January 2006 Development
  • Machine Code QuestionHi All Not sure if this is the right place for this but it seems closest. Am starting to read the Toni Baker Intro to Machine Code book and its ver…

    ... the Toni Baker Intro to Machine Code book and its very interesting ... , I know what BASIC is, and the hex machine code discussed in the ...
    Womble Womble February 2006 Sinclair Basic
  • Was learning machine code a waste of time?I remember computer magazines from the mid-1980s often had features about using machine code, which I duly skipped over as it seemed totally impenetr…

    ... features about using machine code, which I duly skipped over as it seemed ... told me no one uses machine code any more, so does this ...
    udgoverload udgoverload September 2006 Chit chat
<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
save 14.4K 19.9K
basic 24.7K 39K
as 228.1K 403.1K
machine 27.2K 35.6K
code 41.6K 91.2K

Related Threads

  • 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…
  • 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??
  • 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:<br /> <br /> [code];; load a 4000 byte BASIC …
  • 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 /…
  • 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…
  • 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…
  • 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 …
  • storing machine code in BASICA couple of years ago I posted a routine for storing machine code between PROG &amp; VARS, based on an idea in Toni Baker's "Mastering Machine Code".…

Related Searches

  • lowest memory position for machine code
  • lowest memory position machine code
  • basic save code
  • basic save code autorun
  • machine code sprite movement in basic
  • add machine code sprite movement to basic
  • save basic as machine code
  • save basic as code
  • delete basic program from machine code
  • basic machine code
  • mix basic and machine code emulator
  • basic from machine code
  • run basic program from machine code
  • pass variables from basic to machine code
  • save and load machine code from basic
  • machine code in basic
  • load basic as code
  • edit basic line from machine code
  • edit basic with machine code
  • calling machine code from basic

Copyright © 2024 World of Spectrum