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.025s
<1234567…34>
  • What should be the base address to set for my codeHi, I am new here and I have a simple question but one which I have not found an answer to. When I am developming my programs what should I set th…

    ... the base address for my code to (i.e. the ORG ... of the memory assigned to machine code can move arround and grow ... do I assume that the machine will have a microdrive, etc ...
    Scrapheap Scrapheap April 2006 Development
  • 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…

    ... /> I used some Rodnay Zaks code to order some bytes, and ... )

    This is the code I have so far (Copied ... an earlier thread)

    [code]

    org 8000h

    end 8000h
    [/code]
    robpearmain robpearmain August 2006 Development
  • Urgent Help needed to fix this: calling all machine code gurusI am currently trying to write tutorials on the amazing Orfeus music composer by Proxima which allows you to do multi channel music through the beepe…

    ... with a player. The code is exported to address 35000 ... /> I have disassembled the code, and got it to re ... .

    The code is here: [URL="http://www ... I have split the code into 2 posts as ... most appreciated:

    [code]
    ; Disassembly of the ...
    robpearmain robpearmain November 2006 Development
  • Running code from the display memory?Is it possible to run machine code from the memory area used by the display file? If you were really out of memory and some part of screen is not u…

    Is it possible to run machine code from the memory area used ... to black/black, load some code in the display area and ...
    Rickard Rickard May 2007 Development
  • How can I view code from a game?Hi All, I had a Spectrum years ago and it is what started my love for playing games. I have recently been playing some of the old games I used to pl…

    ... how they structure the code and how they did ... interested in copying the code straight from the original ... there anyway of extracting the code from the .tzx or ... game into and lists the code?

    With ... I don't understand machine code, I think that Striker ...
    euronymous euronymous August 2007 Sinclair Miscellaneous
  • SPIN's breakpoints - an overviewAs quite a few people have been asking how to set breakpoints on memory write etc. in SPIN, here's a description of the way the breakpoints work. Get…

    ... reaches 23296:
    [code]
    UNTIL 23296
    [/code]
    This would ... O: The Z80's port input/output ostensibly uses an 8 ... way of reading this in machine code is the "IN A, ( ... complex, as demonstrated next:
    [code]
    UNTIL 49152 IF (PC ...
    Marko Marko November 2007 Development
  • Spectrum Machine Language For The Absolute BeginnerNot quite sure if this should be in here but here goes. Having never delved into machine code before I thought id have a go at this book and its qui…

    ... />
    Having never delved into machine code before I thought id have ...
    ZX-MAD ZX-MAD April 2008 Sinclair Basic
  • So what about ethernet and ZX BASIC?Well, as of about 5 minutes ago, ZX BASIC for the first time properly wrote some packets to the network! OK, so it isn't perhaps 100% what Andrew Ow…

    ... t know C or machine code, but know how to ... 2000:

    [code]
    10 %connect #4," ... , using that stream number. INPUT #, INKEY$# (to poll ... ve got input done, then also requesting input will ... cause a flush, so that INPUT # works correctly).
    < ...
    Winston Winston July 2009 Hardware
  • Adjusting your code for screen refreshingOk, I'm aware that I should know it already after writing 5 Spectrum games in machine code but interrupts and screen refreshes were always my weaker …

    ... writing 5 Spectrum games in machine code but interrupts and screen refreshes ... must of course adjust my code for screen redrawing.
    ... I perform HALT command in machine code, the computer will wait ... Is there any way in machine code to determine where is my ...
    Ralf Ralf November 2009 Development
  • Resolving USR entry point into a data + m/code block?Well, I had another look at that Merlin listing and decided that blowing up the faint page made it possible to read everything (with a struggle). How…

    ... instructions expect 8768 bytes of CODE - there are 9594.
    + The ... of some sort rather than machine code. So my question is: How ... USR address to start the machine code?
    Battle Bunny Battle Bunny June 2010 Development
  • 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
  • bast, the Basic tapemaker for LinuxAnnouncing a new utility, [b]bast[/b], the BASIC Tapemaker. Now available: version 0.2.3 (alpha) for Linux. At: [url]http://github.com/ec429/bast/do…

    ... as its input plain text files containing Sinclair BASIC source code, and ... in object files containing hexadecimal machine code listings. Essentially, bast is like ... are mistakes in your source code you'll likely get a ...
    AY Chip AY Chip 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
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... should operate on assembly or machine code, right? Should I disassemble them ... useful information about emulation of input (keyboard/joystick) and output (screen ...
    PeterP PeterP April 2011 Emulators
  • 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
  • The Sinclair ZX Microdrive Resurrection Project (long)Dear Spectrum fans! [Management summary: Download [url]http://www.bartheld.net/temp/mdv2img.zip[/url] and tell me what you think. All help very much…

    ... of a crash later if machine code (or compressed data) is ... you want to tweak the machine code.

    Then connect ... program will autostart, POKE the machine code (takes some time), ask ... really appreciate is input on the Z80 assembler code (there might ...
    Volker Volker March 2012 Emulators
  • 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
  • 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
  • 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
  • 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
  • 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
<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
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 /…
  • 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…
  • 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…

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
  • input machine code
  • machine code input

Copyright © 2024 World of Spectrum