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.108s
<1234567…34>
  • HELP!I'm trying to replace a bit in a byte as follows, but having some sort of brain freeze trying to get it to do what I want. A=00 if bit to replace …

    ... m trying to replace a bit in a byte as follows, but having ... I want.

    A=00 if bit to replace ...
    (HL) is the target byte to have the bit (E ... as per the contents of A

    Hope ... XOR (HL)
    LD (HL),A

    nearly does it ...
    Arkannoyed Arkannoyed February 2017 Development
  • Fastest way of reading from EAR portI'm trying to work out the fastest way of reading data from the EAR port and assembling the bits into a byte. I came up with this code: IN A, (C) ; …

    ... and assembling the bits into a byte. I came up with this ... code:
    IN A, (C) ; read port FFFE, 12 ... the compare works; is that a fair assumption? Are there systems ... something else? Also is there a way to speed this up ...
    i love the z80s i love the z80s April 2017 Development
  • Key repeat weirdness with EI & IYI finally (after 35 years!) decided to write something a) for 48k speccy b) in z80 assembler. It's been over 20 years since I've written anything in …

    ... !) decided to write something a) for 48k speccy b) ... I knew beforehand was a) the speccy screen memory ... that I created was a routine that draws 16x16 ... thing was to create a keyboard and joystick routines. ... that when called populates a byte in memory with bits ...
    arttu arttu July 2017 Development
  • TZX/Taper headachesI've been doing a stocktake of all my Spectrum stuff, most of which I bought in a job lot a few years back, and there's a whole load of covertapes in…

    ... which I bought in a job lot a few years back, ... trouble turning them at a near-constant speed. So ... directed into a WAV recorder, i.e. a laptop with ... screen, there's a byte extra or a byte missing here and there ... surprise surprise, that's a 50 Hz mains signal, ...
    The Mighty Dopethrone The Mighty Dopethrone December 2017 Games
  • Tutorial: Using UDGs in SpecBASSpecBAS is capable of using graphics mode, in a similar manner to the original Spectrum. Like most things though, the extended nature of SPecBAS's ab…

    ... per pixel, making up one byte per row. Because SpecBAS ... uses one [i]byte[/i] per pixel, we need ... 't - they use 1 byte per row, SpecBAS uses 8 ... we do that by reading a byte, and then extracting each ... each BIT and not each BYTE, we need to store ...
    Dunny Dunny May 2018 Sinclair Basic
  • AticAtac DisassemblyHi Guys, I've been spending quite a bit of time the last 2-3 weeks working on the AticAtac disassembly, evolving it into a much more documented as…

    ... AticAtac disassembly, evolving it into a much more documented assembly with ... SNA which is a byte-for-byte match to a reference SNA (game ... distributable and I'm assuming a disassembly of the game will ... br />
    PS: There is a disassembly out there on the ...
    BloodBaz BloodBaz March 2019 Assembler
  • Raster effects - quick questionHi Guys Just a quick question regards what the ULA is doing as its drawing each scan line. Assuming the beam has finished drawing the border, am I…

    Hi Guys

    Just a quick question regards what the ULA is doing as its drawing each scan line. Assuming the beam has finished drawing the border, am I correct assuming its reading a byte of screen ram then an attribute byte, and so on...?
    Dax Trajero Dax Trajero August 2019 Development
  • Loading Schemes > 1-bit per 2 edgesHi Guys, I'm just having another look at loading schemes again (a subject that interests me). Does anyone know if there any loading schemes t…

    ... look at loading schemes again (a subject that interests me). < ... don't fit nicely into a byte).

    Also, did ... unpacking (as opposed to unpacking a compressed block had completed loading ... bytes could be achievable with a "normal" loading speed and ...
    BloodBaz BloodBaz August 2019 Games
  • Remainder (Mod) calculationsI've been figuring out how to calculate remainders after integer division by a constant divisor k (A mod k = A % k). I found that for most small di…

    ... and fast, down to a byte sized number A with the same remainder ... A,$40 with INC A before the shifts to save one byte if A ... $FF.
    A=$FF overflows to ... saves one shift and one byte for a 19 bytes (74cc) snippet ...
    Magne Magne October 2021 Assembler
  • How do i learn to programAll the years i had a computer the only one i could program was the Texas Instruments Ti99/4a and when using extended basic with its so simple sprite…

    ... br />
    The byte is a standard length of bits ( ... Now single registers are a byte in size and hence ... the second register of a pair stores the digits ... bit in a single register now represents a number 256 ... confound you) and use a compiler for that whilst ...
    cyborg cyborg January 2002 Games
  • ZX48k terminal...Hello everybody, I thought someone might help me. I connect my good old ZX48k to my PC via serial (IF1) link, and I was trying to write a little term…

    ... 't have a large enough buffer(ie 1 byte) to receive ... Interface 1 uses to receive a byte from the RS232 port ... SER_FL
    ld a,(hl)
    and a
    jp z ... /> inc hl
    ld a,(hl)
    scf
    ...
    john john December 2001 Sinclair Miscellaneous
  • 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) HL addresses the …

    ... is the first bit in a byte (i.e. bit 7); we ... '
    ......ld a,(hl) ;again we prepare the forcing byte
    ......rra ...
    ......ld c,a
    ......ex ...
    Mikie Mikie July 2002 Sinclair Miscellaneous
  • 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) HL addresses the …

    ... supper. I was thinking of a byte-wise method after building this ... If however you can find a shorter code, then I am ... /> INC HL
    LD A,(HL)
    RST #10
    LD A,(HL)
    INC DE
    CALL #22B1
    LD A,(HL)
    RST #10
    Dr BEEP Dr BEEP July 2002 Sinclair Miscellaneous
  • 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) HL addresses the …

    ... a,(hl)
    .....inc a ;test for #ff
    .....jr nz,found0 ;byte ... is the first bit in a byte (i.e. bit 7); we ... /> .....ld (hl),a
    .....inc hl ;move onto next byte
    .....pop ... of the previous byte (in cy)
    .....ld a,(hl)
    .....djnz ...
    Mikie Mikie July 2002 Sinclair Miscellaneous
  • TZX to TAPIs there an application for the mac which will convert TZX files to TAP? I've searched around but can't find any.

    ... eachother - TZX being a more capable version of ... flavours of Speedlocks, used a "clicking" pilot tone - ... bits to a byte, so 16 flips per byte. The distance ... between the flips denoted a 1 or a ... br />
    Creating a TZX from a WAV or VOC of ...
    Dunny Dunny July 2002 MIA/STP/SDP
  • TZX to TAPIs there an application for the mac which will convert TZX files to TAP? I've searched around but can't find any.

    ... " when the loader is INing a byte from the ear socket, and ...
    +CotL-DS +CotL-DS July 2002 MIA/STP/SDP
  • TZX to TAPIs there an application for the mac which will convert TZX files to TAP? I've searched around but can't find any.

    ... " when the loader is INing a byte from the ear socket, and ...
    Andrew Barker Andrew Barker July 2002 MIA/STP/SDP
  • TZX compatibility issuesI seem to have a problem with using TZX files on different emulators. Specifically, files Saved As TZX from emulator. I better explain: I have a fe…

    ... or TAP format? Spin has a "save" option, but apparently snapshots ... up the TZX file from a snapshot data. But is it ... that will have a BASIC laoder, followed by a byte code dump with ... one wishes to make a TZX file from a snapshot even if ...
    Arjun Arjun February 2003 Emulators
  • Are these really different ?What differences are there between the 1986 disk version and 1987 disk version for Gunship ? Obviously, I mean differences which actually count, not …

    I've checked them on a byte-by-byte basis. The disk versions for 1986 and 1987 are *EXACTLY* the same ! I don't know whether it's supposed to be like this - I'll notify Andrew Barker as soon as possible.
    GOC GOC July 2003 Games
  • Text compressionI'm sure I remember seeing a short machine code routine published in a (very random) multi-machine listings magazine way back in the mists of time, w…

    ... the ROM charset but have a lookup table containing the width ... />
    Actually, it's probably a bit more involved. In each ... bits for each (and have a byte/entry).

    Then to ... you'd need to do a bit of RR/RLing of ...
    Jon Needle Jon Needle October 2003 Games
  • help in byte mirroring.I need some help. What is the best way to mirror the byte? (for ex. 10010011 -> 11001001) I mean, if there is a simple way to do it (may be with OR, …

    ... I'm not talking of a faster or shorter method, ... just a method.period.

    ... carry flag to build up a byte in another register (say ... />
    loop: (to shift A reg right 8 times)
    shift A right
    add carry ...
    Arjun Arjun October 2003 Development
  • help in byte mirroring.I need some help. What is the best way to mirror the byte? (for ex. 10010011 -> 11001001) I mean, if there is a simple way to do it (may be with OR, …

    Java method to mirror a byte (from SPECSAISIE 1.3 - class ... />
    public static byte reverseByte (byte in) {
    byte out= 0;
    for ...
    andrewbroad andrewbroad October 2003 Development
  • help in byte mirroring.I need some help. What is the best way to mirror the byte? (for ex. 10010011 -> 11001001) I mean, if there is a simple way to do it (may be with OR, …

    ... the same method extended to flip a word and an 8x8 character ...
    Geoff Geoff October 2003 Development
  • help in byte mirroring.I need some help. What is the best way to mirror the byte? (for ex. 10010011 -> 11001001) I mean, if there is a simple way to do it (may be with OR, …

    ... contexts in which I use byte-mirroring, my priority is ... Jet Set Willy), mirroring a byte is a very occasional operation, and ... />
    For a game which involves much byte-mirroring during play ... , there may be a case ...
    andrewbroad andrewbroad October 2003 Development
  • Z80 coders compoIf you're interested in Z80 coders compo, visit my page [url="http://mbr.nm.ru/compo.html"]http://mbr.nm.ru/compo.html[/url]

    ... entry should be disqualified on a technicality?[/quote]

    Disqualification ... states nothing about executing on a spectrum, it's just Z80 ... words the entry must take a byte (0x00 - 0xFF) in any register ...
    Metalbrain Metalbrain November 2003 Development
  • help in byte mirroring.I need some help. What is the best way to mirror the byte? (for ex. 10010011 -> 11001001) I mean, if there is a simple way to do it (may be with OR, …

    ... way I know to mirror a byte is,

    ld b ... b,(hl) 7T
    ld a, 255 7T
    sub b ... I only tested it on a few numbers. :)
    What do ...
    Kiwi Kiwi January 2004 Development
  • Any Errors?Any errors you feel Sinclair Research or even Amstrad made with the speccy??

    ... if HL is pointing to a byte, INC H takes you down ... t hit the end of a character square or line).< ... times before we reach the byte we're using for ... character squares for the next byte.

    Therefore the ... but if you play with a few simple examples it may ...
    Philip Kendall Philip Kendall March 2004 Sinclair Miscellaneous
  • help in byte mirroring.I need some help. What is the best way to mirror the byte? (for ex. 10010011 -> 11001001) I mean, if there is a simple way to do it (may be with OR, …

    need a Table of 256 bytes stored on a 256byte boundary

    on entry: a=byte to mirror

    FlipByte:

    ld h,TableAdress/256
    ld l,a
    ld a,(hl)
    ret
    dansauk dansauk March 2004 Development
<1234567…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
flip 1.6K 2K
a 589.5K 1.7M
byte 7.3K 15.2K

Related Threads

  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • Sinclair QL: I'm searching for a Gold Card (or better a Super Gold Card) and a Super HermesIf someone here want to sell his Super Gold Card and Super Hemes I'm a big collector of QL stuff and I will pay very very well.<br /> <br /> Very tha…
  • Trying to find a magazine entry for a program I wrote as a child!Hi, <br /> <br /> Back when I was a child I wrote a program called "milkround" that we published in either your spectrum, your sinclair or sinclai…
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…
  • A TZX, a MIA and a previously unknown title from QLSThe Spanish website [url="http://trastero.speccy.org/"]El Trastero del Spectrum[/url] has a TZX of [url="http://www.worldofspectrum.org/infoseekid.cg…

Related Searches

  • byte scan
  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • create a batch file screen
  • ebug byte
  • bug byte
  • change a letter
  • parity byte block
  • is there a system test for the spectrum
  • is there a system test tape for the spectrum
  • how to do a tzx file
  • how to create a tzx file
  • how to make a tzx file
  • composite screen goes yellow after a while
  • screen goes yellow after a while
  • validate input is a number
  • how to code a 256 byte aligned look up table
  • how to align a 256 byte look up table
  • align a 256 byte look up table

Copyright © 2024 World of Spectrum