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.094s
<1…28293031323334>
  • The Spectrum's spectrumappears to be missing a few things... specifically I'm wondering about pink and brown my hazy attempts to mix red and white are not proving very su…

    ... to use brown and pink in a game but running into ... choices...

    Write some machine code that constantly flips the attributes ... select the right base colour set it should work due to ...
    David Jones David Jones September 2013 Sinclair Basic
  • display file addressing; screen slicingWhile working on this Compendium I'm updating or rewriting a lot of stuff. One thing I eventually came to appreciate was the simple & clever way in w…

    ... bit shifting and OR operations in BASIC... which was fun. ... to read.

    [CODE]10 REM plotting with poke ... 12 PAPER 0: BORDER 0: INK 6: CLS
    20 GOSUB ... table used to place pixels in a byte
    1005 ... Check for even and set bit
    1230 RETURN[/CODE]
    JonB JonB October 2013 Sinclair Basic
  • SE BasicAfter 13 years of development I thought I'd run out of things to optimize, but it turns out I was wrong. However, I'm now running out of time to work…

    ... 1.
    [*]8-bit character set support: UDG 0.
    [*]8 ... calling machine code.
    [*]Chloe font specially designed for maximum legibility in hi ... .
    [*]Scroll counter increased.
    [*]Set the permanent attribute: COLOR 7 ...
    chev chev October 2013 Sinclair Basic
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    ... possible to write a machine code routine to do the ... , it's important to set up the environment properly, ... 0 and the machine stack resides in this area (unless ... /> (right).

    In BASIC (using DOS)
    (after ...
    The_Bert The_Bert October 2013 Sinclair Basic
  • SoftPLAY: Use the PLAY command from 48 BASICNow you don't need 128 BASIC to use the [B]PLAY[/B] command. Just use [B]PRINT #8;[/B] instead. [url]https://dl.dropboxusercontent.com/u/15659782/So…

    ... /> Yes. The full set of PLAY syntax including MIDI ... one of the routines in the editor ROM triggering ... did however prepare the machine code routines for my laserharp ... are present in the 128 ROM version of the code.
    ... ROMs you can use in place of the BASIC ...
    chev chev October 2013 Brand new software
  • SoftPLAY: Use the PLAY command from 48 BASICNow you don't need 128 BASIC to use the [B]PLAY[/B] command. Just use [B]PRINT #8;[/B] instead. [url]https://dl.dropboxusercontent.com/u/15659782/So…

    ... ]Yes, but you need to set the ch-add system variable ... to write a machine code routine for an in game tune in 48k mode ...
    daveysludge daveysludge October 2013 Brand new software
  • SoftPLAY: Use the PLAY command from 48 BASICNow you don't need 128 BASIC to use the [B]PLAY[/B] command. Just use [B]PRINT #8;[/B] instead. [url]https://dl.dropboxusercontent.com/u/15659782/So…

    ... to write a machine code routine for an in game tune in 48k mode ... if you already have a set of PLAY commands for the ...
    chev chev October 2013 Brand new software
  • Problem with Pasmo Assembler/Speccy emulator?I'm at the start of trying to learn Z80 assembly for the ZX Spectrum. I'm using Speccy 1.7 as my emulator, Pasmo as my assembler, and am following t…

    ... program on this page in notepad, assembled the way ... selected rewind and start tape in the emulator settings, after ... command to run the machine code, did you by any ... version (HTML), which is in chapter by chapter form, ... and how to tune in your TV set, plus it gave ...
    The_Bert The_Bert December 2013 Development
  • Bomb Munchies - preview releaseBomb Munchies Preview release Version 12th Jan 2014 [URL=http://s979.photobucket.com/user/MatGubbins/media/bmsix_zpsc33279a2.gif.html][IMG]http://i…

    ... am still a novice at machine code (anyone experienced with Z80 ... the Bomb Munchies game code would probably be gnashing ... extra four players to the code - just got to ... and crowbar the movement routine in - they would all ... of keys can be set aside for either a ...
    MatGubbins MatGubbins January 2014 Brand new software
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... recognize a data pattern in the code that can map ... />
    The entire set of standard C libraries are ... lot about how a machine works by learning assembly ... same view of the machine as assembly language (you ... But you can't just code in asm using a C compiler ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • +3 Disk drive motorHi, I'm creating a disk file menu selector. I was wondering how to turn off the +3 drive motor and the motor timeout check from Basic (poking the co…

    ...
    randomize usr val "xxxxx"[/code][/QUOTE]

    Another reservation ... approach in BASIC is that if bit 3 is already set then ...
    SET 3, (HL)
    RET
    [/code]
    And the machine code is ...
    BloodBaz BloodBaz January 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... etc :razz:[/QUOTE]

    Machine code is almost impossible to learn ... (with some help)

    Machine code is just something you have ...
    Here is how you set the high byte:
    The ... colors each(this results in color clash in some games)
    ...
    slenkar slenkar February 2014 Development
  • ZX Spectrum code examplesThe shortage of sites with decent code examples seems to be few. The links to alot of sites that used to host them are disappearing into the ether. …

    ... pixels being set or cleared. Each address in that range ... The value you poke in will change the character ... /> Bit 2 to 0 = Ink colour

    Mapping ... which are represented by the set bits in that byte.
    ... was just easier to code up the firmware/ula ...
    alienbanana alienbanana February 2014 Development
  • Programming again with the ZX SpectrumI am going to take a blast at programming for the Spectrum again. Its bee a long time since I have done this. I need to refresh my memory and maybe l…

    I'd suggest going straight in with machine code. Trying to pick up BASIC ... , and get stuck in. On a PC, set yourself up with a ... be put in the 'BC' register(s) when your machine code program runs ...
    joefish joefish February 2014 Sinclair Basic
  • +3 Disk drive motorHi, I'm creating a disk file menu selector. I was wondering how to turn off the +3 drive motor and the motor timeout check from Basic (poking the co…

    ... 748714]Here is the assembly code to do it safely:< ... br /> [code]
    MotorOff:
    LD HL, 23399
    SET 3, (HL ... )
    RET
    [/code]
    And the machine code is ... />
    I'm using this in my assembly program now, I ...
    Speccy_James Speccy_James February 2014 Development
  • +3 Disk drive motorHi, I'm creating a disk file menu selector. I was wondering how to turn off the +3 drive motor and the motor timeout check from Basic (poking the co…

    ... ANY routine in the +3DOS ROM, you must first set the stack ... +3DOS routine - always remember to set up appropriate entry parameters where ... onwards, in the section "Chapter 8, Part 26 - Using Machine Code".
    Just ...
    The_Bert The_Bert February 2014 Development
  • +3 Disk drive motorHi, I'm creating a disk file menu selector. I was wondering how to turn off the +3 drive motor and the motor timeout check from Basic (poking the co…

    ... ANY routine in the +3DOS ROM, you must first set the stack ... +3DOS routine - always remember to set up appropriate entry parameters where ... onwards, in the section "Chapter 8, Part 26 - Using Machine Code".
    Just ...
    Speccy_James Speccy_James February 2014 Development
  • Is ESXDOS flexible enough to incorporate e.g. Spectranet commands?I was just discussing the idea with someone about the wish some people have to be able to combine interfaces such as DivIDE (Plus) / DivMMC EnJOY! wi…

    ... supply a decimal state machine:

    [code]
    __stdio_scanf_sm_decimal:
    < ... written)
    ; bc = remaining space in buffer

    ; consume ... , terminate iteration with carry flag set
    [/code]

    HL' ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Hardware
  • Best game writte in BasicThere's probably already a thread about this but who cares. I'm going for Rebelstar raiders.

    ... contained a fair bit of machine code.

    [QUOTE=zxbruno;756386 ... when I saw a Jet Set Willy (or was it Manic ... Miner?) written in Basic. There were also some ... games made in Spain in the past few years ...
    jonathan jonathan March 2014 Games
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... is taken from "advanced spectrum machine language"

    ld ... ,a ; address of screen position in de
    ret
    ; ... paper, black ink



    END startp[/CODE]
    < ...
    polomint polomint March 2014 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…

    ... - well, at the simplest level, machine code only really does a few ... values from registers in locations in RAM, it adds numbers in registers... and ... look at the Z80 instruction set, you'll notice a lot ... a register (the 'a' register in this case), and then storing ...
    LuMan LuMan March 2014 Development
  • TAPlist - the emulator versionI've got this working reasonably well; there's just a couple of small extra features which I want to add. (Recall that TAPlist writes a formatted lis…

    ... )))):
    STOP:
    PRINT "no code":
    STOP:
    PRINT "bad ... the runner set up to go. Although the m/code file is ... , as that will delete the machine code and then it won't ... work very well.(The m/code is in the string a$() - for ...
    Battle Bunny Battle Bunny April 2014 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…

    ... second screen can be set up in the memory that follows the ... includes the system variables, only machine code programs could do this trick ...
    1024MAK 1024MAK April 2014 Hardware
  • Spectrum as a business machineI was just looking through an issue of Crash from 1987 and found the Tech Niche section rather interesting. They reviewed a Videoface video capture …

    ... a character set design tool which only just fit in the Speccy ... out! There was also some machine code stuff. All I have left ...
    JonB JonB May 2014 Sinclair Miscellaneous
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... be done fairly easily in BASIC ...
    [code]
    [b] ... n
    [b]REM set n,(address)[/b]
    ... ,byte+2^n
    [/code]
    ... but the exponent ... and resetting every bit in turn in byte (23681), takes ... FN statements to some machine code to use the Z80 ...
    chev chev June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... DEF FN statements to some machine code to use the Z80 bitwise ... "Bit Operations in BASIC: AND,XOR,OR,BIT,RES,SET,CPL"; it ... 's also in the [url=http ... . I did do a set of m/c routines to ... BASIC, which are also in the Bitwise section of the ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • 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.

    ... colour from machine code you do OUT 254,A
    You set the ... ROM and change the colours in the code. I might be imagining ... a bit of the set-up in your own code, then jump into ...
    joefish joefish July 2014 Development
  • Jetset Willy ATTR Buffer 2Does anyone understand how Jetset Willy uses the system vars area as screen ATTR buffer 2? H5C00 D23552. Thanks

    ... return to BASIC after that code over-writes all the system ... want to call snippets of machine code from BASIC to copy data ... that your machine code routine and any data buffers are placed in memory ... uper limit in memory for the BASIC area that you set with ...
    joefish joefish September 2014 Sinclair Miscellaneous
  • Robot SantaAlien Ferox has grown beyond what could be accomplished on a humble Speccy - i've run out of memory AND ideas so that's indefinitely halted. BUT In…

    ... colors ? or use some ink that is different from white ... number

    then in the x sprite event write ... b is another counter (also set in the main loop event:
    in my example or to the ... to set b=0 in the first part of the code otherwise ...
    gabriele amore gabriele amore October 2014 Brand new software
<1…28293031323334>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • 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
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
set 29.1K 39.2K
ink 2.5K 5.8K
in 401.9K 810.5K
machine 27.2K 35.6K
code 41.6K 91.2K

Related Threads

  • 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 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…
  • +2 ramdisk - access in machine codeHow can you access the ramdisk in machine code?<br /> <br /> I've got a +2, and it seems the ramdisk has never been properly utilised.<br /> It would…
  • 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.<br /> <br /> The only machine code I…
  • 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<br /> clear the first 20 rows of the Spectrum's display<br /> (or any number of rows or columns) . …
  • 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…
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it.<br /> <br /> At the moment I'm grabbing the start address for each letter then printing them ou…

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
  • machine code sprite movement in basic
  • change tape to disk in machine code
  • machine code in loading screen
  • pause 0 in machine code
  • 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

Copyright © 2024 World of Spectrum