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.095s
<1…26272829303132…34>
  • Resolution & Memory Question ...Hi, I'm hoping someone with some experience writing an emulator, or a vast knowledge of all things Spectrum can help me answer the following questio…

    ... screen has a fixed address in memory - you can't ... that would let things appear in different places (it's ... Attribute' data - the foreground/background (ink/paper) colour data that applies ... defined character images. When a machine code program is running, these ...
    joefish joefish April 2010 Emulators
  • Beepola v1.00.00Beepola is a new multi-channel, multi-engined, tracker-style Beeper music editor for Windows (although it should also run perfectly well on Linux or …

    ... part of Frobush's original code. The interrupt service routine checks ... (all that's needed in the code is to change two addresses ... be nicer for Beepola to set all this up automatically somehow ... never written a proper machine code speccy game in my life, so I ...
    ccowley ccowley April 2010 Announcements
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... /> The equivalent from machine code would be:
    [code]LD A,16
    RST #10 ; Select INK n
    etc.[/code]

    or ...
    DEFM "Blue in"
    DEFB "k"+128[/code]

    Similarly ...
    Jonathan Harston Jonathan Harston June 2010 Sinclair Basic
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    As proposed in [url=http://www.worldofspectrum ... be POKEd anywhere and the code becomes relocatable. Done with ... of Toni Baker's "Mastering Machine Code" book.

    The ... CHR$ 255.

    [code]
    ;set up DOS environment
    di ...
    Battle Bunny Battle Bunny June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... sometime... ;) ...I have it set up with scripts to automatically ... autorunning .TAP's of compiled machine code compressed using Megalz... Quite ... mainly) so far have been in other languages, using only ... this... And what I lack in speed when prototyping, I ...
    kgmcneil kgmcneil June 2010 Sinclair Basic
  • Platform Game Designer 2Right, with Telly Heroes out of the way, I've decided to have a second attempt at this. I've ditched the old PGD2 source, and started again with the…

    ... demonstration games are included in chunks of conditional assembly ... script and converts it to machine code. Then again, I ... difficult to convert to code - the editor had ... build the script to machine code process into TommyGun and ... 's predefined function set.
    Kiwi Kiwi July 2010 Development
  • Platform Game Designer 2Right, with Telly Heroes out of the way, I've decided to have a second attempt at this. I've ditched the old PGD2 source, and started again with the…

    ... me using the email address in the about box (or readme ... /> My internet connection is changing in a few days (hopefully) and ... to build the script to machine code process into TommyGun and also ... for PGD2's predefined function set.[/QUOTE]

    definately ...
    BiNMaN BiNMaN July 2010 Development
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... ?id=0008031"]The Complete Machine Code Tutor[/URL]. It takes ... examples change attribute data in the screen area, and ... br /> LDIR
    [/CODE]
    You initialize 1st memory ... sized block, so you set BC 1 smaller than ... (8000-FFFFh) filled in ~0.2 second... 8-)
    RetroTechie RetroTechie August 2010 Sinclair Basic
  • BITWISE operators...Hi Folks, Another question - is there a way (fast) to do bitwise operations in Sinclair BASIC? Many thanks Paddy

    ... HL) ;B holds first parameter in FN
    LD DE,$0008 ... can then set up a BASIC function to call the machine code and ... pass it parameters directly without needing to POKE values in ... .

    [CODE]
    10 DEF FN ...
    GReW GReW August 2010 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... program actually POKEs the data in to screen memory to create ... /> [CODE]100 PAUSE 1: BRIGHT 1: BORDER 1: PAPER 1: INK 7 ... (p$)
    270 LET T=CODE p$(a)
    280 IF ... is the prototype for the machine code version but the other one ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... 's quite an unfortunate flaw in a book that did so ... to dispel the myth of machine code being intimidating.[/QUOTE]
    Yeah ... this book was, it probably set back creative use of IM2 ...
    ccowley ccowley 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 …

    ... keys. I did that bit in basic and it worked. The ... on the other side. The machine code IS correct since i passed ... numbers like 30 and it set it to 2 (because its ...
    Robin Robin 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 …

    ... keys. I did that bit in basic and it worked. The ... on the other side. The machine code IS correct since i passed ... numbers like 30 and it set it to 2 (because its ... upper screen without extra MC-code in program and
    without the ...
    Dr BEEP Dr BEEP September 2010 Sinclair Basic
  • compressing basicI thought I'd ask here instead of the basic forum.. in the sense of giving me 1 command line, and NOT the whole listing joined up etc. and it uncom…

    ... would be:

    * Set RAMTOP as low as possible ... .
    * Load each program in turn.
    * For each ... a little bit of machine code with an LDIR to ... menu itself is included in the program stack, then ... to use a bit of machine code for speed.

    Battle Bunny Battle Bunny September 2010 Development
  • compressing basicI thought I'd ask here instead of the basic forum.. in the sense of giving me 1 command line, and NOT the whole listing joined up etc. and it uncom…

    Here's the machine code for manipulating the program ...
    To use the m/code routines:
    RANDOMIZE n ( ... is the program number in the range 0-18 ... , so RAMTOP should be set by CLEAR 25599.
    ... .


    [code]
    2 LET get=25600 ...
    Battle Bunny Battle Bunny September 2010 Development
  • SAM programmingHi Can anyone provide any example hello world or graphics/sprite printing style machine code routines for the SAM? I can't seem to find anything rem…

    ... emulator) with original ZX48 rom in low 16kB and manually test ... memory switching and testing from machine code is not so good for ... utility to your SAM and set in menu "START ZX MODE WITHOUT ...
    velesoft velesoft September 2010 Development
  • SAM programmingHi Can anyone provide any example hello world or graphics/sprite printing style machine code routines for the SAM? I can't seem to find anything rem…

    ... switching and testing from machine code is not so ...
    di
    in a,(vmpr) ; fetch current ... af

    in a,(hmpr) ; fetch page ... br /> out (vmpr),a ; set video mode

    obo obo September 2010 Development
  • Help! Reverse engineering a Spectrum game[deleted]

    ... the machine code (typically from a RANDOMIZE USR xxxxx in the ... files). Then disassemble the code at that address (I ... graphics are held, or set a breakpoint on writes ... sound effect or music code and work backwards from ... I avoid changing any code or data unless I ...
    ccowley ccowley September 2010 Development
  • Spectrum Keyboard Solutions?Hello, I'm new here and this is my first posting. I started with Sinclair computers back with the ZX81, then when the Spectrum came out I really wa…

    ... it, but since I'm in Canada, I had to go ... can try out those little machine code programs that only work on ... make life easier for typing in programs!

    I'm ... with stickytape to keep the ink from our fingers hence saving ...
    Dr BEEP Dr BEEP October 2010 Emulators
  • Assembly Programming for IDIOTSOk are there any websites guides for what opcodes do in a z80 or books... but for really really thick people like me :-) Something along the lines …

    ... ), central processing units (CPUs), machine code (the language that CPUs understand ... 'How To Program The Spectrum In Assembly Language'...

    set. It will tell you ... br />
    The Z80 in the Spectrum motors away running ...
    ASM ASM October 2010 Sinclair Miscellaneous
  • 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…

    ... add 'NOP' after a branch in some cases because the next ... to write any of it in Z80:

    Application screen ... .end

    ; ------------

    .set: or ecx,ebx
    mov ... /> As this thread is about machine code games, here is some PC ...
    ASM ASM October 2010 Development
  • 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…

    ... is cool in this ever growing debate of asembler/machine code programming ...
    The data bus was set at 64 BITS around 1993 ... decode the complex x86 instruction set. Why repeat the nightmare...< ... to be programming generic code in assembler on high end ...
    ASM ASM October 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... of the Z80 instruction set:

    [code]
    ; --------------------------------------------------------------------------

    code in the modern age. It ... the assembly - no more machine code will be processed after this ...
    ASM ASM November 2010 Development
  • zx microdrivesHello. I think those zx microdrives look damn sexy! There are a few on ebay, but seem to be quite pricey. Can anyone tell me if they are worth it in …

    ... Speed and reliability - When in good condition (the drive and ... these things to work in the context of mass ... to work with in both BASIC and machine code. Check out ... kit?, and are interested in tinkering with this old technology ... ?t got a TV set, so haven?t been ...
    RST#08 RST#08 November 2010 Wanted
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... the data into original location, set the registers and start the ... lowest start address of my machine code programs - that is only ... image and store some boot code in the stack area. It would ... 680 BYTES. The decompression code could sit in the stack area... ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... are poked into the machine code:

    [code]
    ; --------------------------------------------------------------------------

    set (negative) then the ... also including the depacker/restore code). In Cybernoid's case, pass ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Simple & Portible means to boost PC Soundcard Line Out?Hi Guys, My older computers were very good at driving a real spectrum's ear socket via their Line Out or Headphone socket. My new Dell's sound card…

    ... />
    The code:[code] LD BC, 254
    loop: IN A,(C)
    OR 8 ; set MIC
    OUT (C),A ... streaks of black in the blue and blue in the black. Debouncing ... ?


    BTW: The machine code for assembly is position independant ...
    BloodBaz BloodBaz November 2010 Hardware
  • Supertest 128 - Loader QuestionI wonder if someone could explain (in simple terms please) :) , the purpose of the switch code. I see what is doing (going to 48k mode via spectrum)…

    ... BASIC loader just runs the machine code:
    [code]
    10 CLEAR 24575 ... br /> DOS1346 EQU 013Fh ;DOS SET 1346
    DDOFF EQU 019Ch ...
    ;
    ; 1. Set cache to 2400h-2800h in bank 3 (buffers ... ),a
    ; 1. Set cache to 2400h-2800h in bank 3 (buffers ...
    John Elliott John Elliott January 2011 Games
  • Converting TRD-Dos into TapHello, there are still many programs appearing on TRD-Dos or SCL format and users of normal Spectrum cannot run them. Of course I know about emulator…

    ... * In an emulator's debugger (I use RealSpectrum) set a breakpoint ... result is all the code in one TAP file a ... instance of CALL $3D13 in the loader and replace ... the all_code.tap file in the emulator and let ... tape file containing the machine code loader and all the ...
    StuBruise StuBruise January 2011 Development
  • Gigascreen - programming guideDoes anyone know of a programming guide for the 128K gigascreen screen mode, specifically a persistence colours table, some code (pref. C level or BA…

    ... really need an interrupt-driven machine code routine to alternate the displayed ... program has to sit somewhere in-between. Someone with a 128 ... port 32765 should be kept set so that you always have ...
    gasman gasman February 2011 Development
<1…26272829303132…34>

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