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.235s
<1…19202122232425…34>
  • Store and restore attribute valuesI am needing ideas on how to write a machine code routine that will store/restore (more important to restore) attribute values to the 22528 area. I …

    ... needing ideas on how to write a machine code routine that will store ... /restore (more important to restore) attribute values to ... 256 bytes = 0,0 to 16,16[/CODE]

    ldir ... using this recently so am in the habit.
    R-Tape R-Tape May 2012 Development
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    Another approach would be to create a new INPUT channel in machine code and associate a stream with it. Then you could do an INPUT #4; A$ in BASIC to invoke it.
    chev chev May 2012 Sinclair Basic
  • Official CSSCGC 2012 Competition Threadcsscgc2012 already got it's first entry (from R-Tape) :) So I'm almost forced to start the new official csscgc thread here. The official c.s.s Crap …

    ... crap to respond. So I re-coded the main bit in machine code. It ... I left the old code as a bonus to confuse the nosey ... t figure out how to set it correctly in machine code during my lunch ... that to have been carried over correctly.

    The machine code ...
    spud spud June 2012 Games
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    I recommend checking [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]this thread[/URL], it shows how to generate 8 bit random number in machine code which you can easily use for what you need.

    Patrik
    Patrik Rak Patrik Rak July 2012 Development
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    To replicate the BASIC routine with the "RND in machine code", wouldn't it be ... best to just call "RND" in machine code? - then ... /> defw $023F ;address of "RND" code in key table
    defb $01 ...
    Battle Bunny Battle Bunny July 2012 Development
  • 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...

    ... and calling the BASIC routine to execute that line. There was ... article on how to do just this (perform maths in machine code by using ... 'm 99% certain it was in Your Spectrum, but I can ... /> which shows how to use any BASIC command from machine code, but the ...
    ewgf ewgf July 2012 Development
  • 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...

    ... comprehensive guide to using the ROM calculator directly in machine code (rather ... /zx-comp/mccalc.zip]Machine Code Calculator[/url] series from ... calculator" by Ian Logan in Pop.Com.Weekly 21. ... : "calc", "arith", "math", "machine", "BASIC". The Hewson's Helpline ...
    Battle Bunny Battle Bunny July 2012 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... this forum that can think in machine code instead of assembly. Hope you ... my simpleton notes to it (it helps me to understand, might help ... others who can't).

    [CODE ... ;..puts 32 in e, then next time round to loop1 is xor ...
    R-Tape R-Tape July 2012 Development
  • Play command on divideHi, i thought I'd have a quick go on divide seeing as i had an afternoon spare.However,i can't seem to get the 'play' command on the screen?. It see…

    ... to call the PLAY routine from machine code. But I had troubles paging in ... the 128K rom, even when I used USR) to get to ... ]

    Interesting. In another thread I suggested implementing ... to BASIC or did you just send it strings of notes in machine code ...
    chev chev July 2012 Hardware
  • Play command on divideHi, i thought I'd have a quick go on divide seeing as i had an afternoon spare.However,i can't seem to get the 'play' command on the screen?. It see…

    ... to BASIC or did you just send it strings of notes in machine code ... ?[/QUOTE]

    I just wanted to send MIDI ... routine in the ROM.
    So I call it from machine code, ... but I had to copy the assembly ...
    bverstee bverstee August 2012 Hardware
  • Brazilian TK90X and TK95SpecEmu provides explicit support for Brazilian TK90X. Other emulators provide indirect support (perhaps the "Spectrum 48K NTSC" option in Fuse?). Al…

    ... (HL),C ; change attribute to INK 2 (red)[/CODE]
    And it ... These measured ranges correspond to the variations in the HALT delay ( ... finished executing, in all 4 cases corresponding to the 4 ... to WoS (including source code) and it will be available in ...
    Einar Saukas Einar Saukas August 2012 Emulators
  • Currah microspeech schematics?Has anyone got details on the currah microspeech? I've found the ROM online and the manual is available but that seems to be about all. What I'm afte…

    ... 've decided to put the machine code example that's in the manual ... be able to work out when the ROM switches in and how ... it shifts the speech data out to the ... course if pogo turns out to be really addictive it ... before I get around to it. :D
    Basher Basher August 2012 Hardware
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... machine (if not a bit flakey). But theres loads of ideas in ... moment. how im firmly stuck in 1982 for now..

    to either learn machine code (and i have not ... to run on the orignal machine when i can make it better in ...
    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... that I will have to either learn machine code (and i have not ... first idea even to get the assembler working in the emulator lol ... number of routines in assmbler ready rolled for you to use. You ... Sinclair ROM in any case due to my being able to utilise fantastic ...
    Dunny Dunny August 2012 Sinclair Basic
  • Interview with Steve Wetherill (Odin)Hi you all!!! Here is the interview done to STEVE WETHERILL (Nodes of Yesod, Robin of The Wood, Arc of Yesod, Heartland... ?Odin!) and published at […

    ... was easier to hack it :-) The emulator had a built-in machine code editor ... machine code and could feel my childhood way of thinking comming back to ... never as gifted with Z80 machine code as with 6510/6502. ... tricks to get a few nice effects (all numbers are in ...
    Icecream Icecream September 2012 Sinclair Miscellaneous
  • How much memory on sprites, maps etc.I've been tinkering with shifting & pre-shifting sprites recently, but as I haven't had that much experience with Z80 assembly I sometimes find it ha…

    ... was the 6k screen buffer in the Mole Rat source that ... tend to forget about a little defs 6144, which in machine code terms is ...
    R-Tape R-Tape September 2012 Development
  • Code execution logging/profilingAs revealed in [url="http://www.worldofspectrum.org/forums/showthread.php?t=41666"]this thread[/url], I'm adding support for reading code execution l…

    ... , so I'm only interested in machine code. Thanks![/QUOTE]
    Ok, I ... ) and -z (limit output to Z80 code only, so no BASIC).
    to do some code moving before startup -- that ... I was following the jumps to code that wasn't there yet ...
    obo obo December 2012 Emulators
  • Red DwarfA Red Dwarf video game - good or bad idea? (given its recent resurgence in popularity in the UK) My ideas: [b]Plots[/b] - An interquel which bridg…

    ... BASIC loader that uses OUT to change the paging and load a ... running program to crash? Does it need to be a machine-code loader?
    to the editor.
    joefish joefish February 2013 New game ideas
  • RANDOMIZE USRI always thought that this particular basic command was not intuitive! If I understand correctly is means run the code from the memory address, is t…

    RANDOMIZE is a good choice to call a machine code program using the USR ... . Unlike RUN USR or GO TO USR or PRINT USR, it ... I am wanting to view the results returned in the BC register ...
    BloodBaz BloodBaz February 2013 Sinclair Basic
  • Assembler v Machine CodeHi. I've been looking at a lot of the code examples in the Development section and can see that Assembler is the way to go. However, I was wondering …

    Assembler! Though I'm beginning to think about the benefits of ... interested to know the extent people have done/can do pure machine code ... ], where Dr Beep demonstrates 'thinking in machine code' in one of the routines (I ...
    R-Tape R-Tape March 2013 Development
  • Assembler v Machine CodeHi. I've been looking at a lot of the code examples in the Development section and can see that Assembler is the way to go. However, I was wondering …

    ... to care about the number of bytes in each instruction... no code ... address of your code as well as the machine code side by ... side with your programming.

    I used to ... know the machine code values for many Z ...
    ASM ASM March 2013 Development
  • Assembler v Machine CodeHi. I've been looking at a lot of the code examples in the Development section and can see that Assembler is the way to go. However, I was wondering …

    I am surprised to know that there is someone programming in machine code nowadays. :o ... , there is no good reason to do so, except for fun ... machine code does not offer anything that already could not be available in ...
    TK90XFan TK90XFan March 2013 Development
  • Assembler v Machine CodeHi. I've been looking at a lot of the code examples in the Development section and can see that Assembler is the way to go. However, I was wondering …

    ... quizzed on your ability to deal with machine code during your job interview ... eschews compilers and shared libraries in favour of reinventing every wheel ...
    guesser guesser March 2013 Development
  • Assembler v Machine CodeHi. I've been looking at a lot of the code examples in the Development section and can see that Assembler is the way to go. However, I was wondering …

    ... quizzed on your ability to deal with machine code during your job ... C/C++ (mainly C) - to get the most use out ... called them - this was back in '96 - my Amiga had ... an 060@50 in them days - that was ... nothing was getting done and in that business there so ...
    Zetr0 Zetr0 March 2013 Development
  • Transferring ZX Spectrum software from tape to digital formatAs the title says, can anyone tell me the simplest way of doing this using a normal, modern desktop PC and maybe some string? Ta.

    ... Spectrum. I can copy a tape to disk and then convert these files ... that disk drives are not anymore included. However, to transfer a tape you ... ) and you load from Tape and save to your PC (or use ... /> I have seen an USB-tape recorder in a store. Anybody have ...
    Speccyman Speccyman April 2013 Sinclair Miscellaneous
  • Designing an icon-driven adventure: looking for adviceHi fellas, after the release of Funky Fungus, I am currently contemplating the possibility of designing an icon-driven adventure with location graph…

    ... unfinished game in machine code with an interface a bit similar to Monkey Island ... but you can't talk to the door etc.)
    5 ... we just to some found memory address and perform specific code for ... some money on the table in the game I'd make ...
    Ralf Ralf April 2013 Development
  • Font hack that was used in a lot of early gamesThere was a little hack for changing the fonts on a spectrum and I remember it being used in a couple of old games on the 48k, it was a sort of ye od…

    ... to provide your own designed font in memory, then use two pokes to ... make the system use your font instead of the one in ... including the program listing) in your font.
    ... in machine code, you can write your own PRINT routine to ... in some way related to ASCII.
    joefish joefish April 2013 Sinclair Basic
  • DEFB on ZX SpinIs there any way I can define a 2 bit value i.e. 50000 using defb on ZX Spin? I'm sick of having to work the 2 separate values out i.e. defb 80,195

    ... ;696286]Doesn't DEFW work in Spin?[/QUOTE]

    Yep ... you're after davey. Sorry to hear you've been doing ... maybe good practise for thinking in machine code)
    R-Tape R-Tape April 2013 Development
  • Joystick Interfaces on +2AJust found out that my DK'Tronics joystick interface doesn't want to play with my +2A (black). The Kempston port works OK, but not the Sinclair port…

    ... come with through-ports to be able to daisy chain them like ... the modified interface would continue to be Kempston compatible - it ... you've just programmed in an IN 31 in machine code, the high byte could ... joystick input and it comes to nobbling a cheap Kempston ...
    joefish joefish April 2013 Hardware
  • Joystick Interfaces on +2AJust found out that my DK'Tronics joystick interface doesn't want to play with my +2A (black). The Kempston port works OK, but not the Sinclair port…

    ... with through-ports to be able to daisy chain ... modified interface would continue to be Kempston compatible - ... ve just programmed in an IN 31 in machine code, the high ... but possibly makes the code to read inputs easier?
    to be pressed to start a ...
    guesser guesser April 2013 Hardware
<1…19202122232425…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
change 18.5K 21.8K
tape 31.9K 47.7K
to 549.6K 1.6M
disk 12.1K 20.2K
in 401.9K 810.5K
machine 27.2K 35.6K
code 41.6K 91.2K

Related Threads

  • 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…
  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here)<br /> <br /> in fact, I want to accelerate a car towa…
  • 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…
  • How to load a +3 dos file from disk to memory in z80Hi all again,<br /> <br /> Are there any example z80 code listings (not BASIC) to load a +3 binary dos file from disk to a specific memory destinatio…
  • 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…
  • Is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of fileHi,<br /> <br /> is there a way to suppress error R Tape Loading Error in Basic when trying to load only part of file.<br /> <br /> E.g.: I have …
  • Alternative to Poke 23659,0 to prevent a 'break in' to a Basic Program.Good morning everyone,<br /> <br /> My memory fails me these days but in the early days of programming I used to use Poke 23659,0 as a crude way of…
  • How to copy file from tape (*.tap) to disks (*.dsk) ?I am using zx32 with win98 and i want (in the emulate +3) copy files from virtual tapes to virtual disks.<br /> <br /> I use =&gt; load "NameOfFile" …
  • Screen$ +3 disk to tape helpHi,<br /> <br /> I have several full screen pictures of my +3 disks (Screen$).<br /> <br /> How can I transfer these pictures onto tape without losin…
  • how to make a (protected) .DSK to disk transfer ?I know how to make file transfers between .DSK files and physical disks (logical copy).<br /> <br /> However, how can be done a physical sector trans…

Related Searches

  • disk to tape
  • save to disk instead tape
  • machine code sprite movement in basic
  • add machine code sprite movement to basic
  • poke to change line number in basic
  • how to load a tape in 3
  • machine code to rem
  • 3 disk backup to tape
  • tape to disk loader
  • tape to disk loader emulator
  • machine code in loading screen
  • using user defined function to run machine code
  • passing variables to machine code
  • machine code to speccy
  • tape to disk
  • pause 0 in machine code
  • tape to 3 disk
  • tape to 3 disk paw
  • divide in machine code
  • convert tape to disk

Copyright © 2024 World of Spectrum