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.007s
<1234567…34>
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... of HL

    ex af,af' ; save the carry flag

    add ... />
    even_col:
    ex af,af' ; restore char position carry flag
    jr c ... />
    odd_col:
    ex af,af' ; restore char position carry flag
    jr nc ...
    chev chev January 2007 Development
  • A fast DRAW routineI was investigating how to speed up the line drawing for the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=20225"]BASIC compiler[/URL]…

    ...
    ret nc
    ex af, af' ; Sets carry on F'
    scf ; which ...
    ret nc
    ex af, af' ; Sets carry on F'
    scf ; ...
    ret nz
    ex af, af' ; Sets carry on F'
    scf ; ...
    boriel boriel December 2010 Development
  • Any ideas on speeding up this assembler segment?It copies a pixel column of a rectangle which may be anywhere in the display file to a pixel column in d$. The source column may start at any bit pos…

    ... powerlp:rla ; 4 rotate Carry to correct position
    ... d$()
    ex de,hl ; 4
    ex af,af' ; 4
    inc a ; 4 A'=pt
    ex af,af' ...
    Battle Bunny Battle Bunny September 2012 Development
  • JSW2 - Game Loader DifferencesThere are three official releases of JSW2. I'm not counting the 'JSW2-128' version here as far as I'm aware this was not in any way 'official' as it …

    There are three official releases of JSW2. I'm not counting the 'JSW2-128' version here as far as I'm aware this was not in any way 'official' as it incorporates a built in cheat mode. Feedback on this point is appreciated. To quote the readme:

    spider spider September 2013 Sinclair Miscellaneous
  • LZ4 decoderI encountered the [URL="http://code.google.com/p/lz4/"]LZ4 compressor[/URL] a few weeks ago. Reading the [URL="http://fastcompression.blogspot.co.uk…

    ... many bytes

    ex af,af' ; switch token back into ... ;;
    ;; The routine leaves carry clear
    .getlength:
    ld ... 4T)
    and a ; clear carry (4T)
    .getlength_nocarry:
    ...
    stephenw32768 stephenw32768 October 2013 Development
  • Scrolling Bi-Colour Engine for 4-Player GamesJust putting this code up for people to have a look at. Far from finished. Should simply compile and run a bit of a demo. Only good for 128K and +…

    ... 10
    draw_char_frame_loop
    push af
    inc c
    < ...
    rl b ;catch carry bit
    add a,a ... /> add hl,bc
    ex de,hl ;de = address of ... 8 times

    ex de,hl
    ld a ... br /> ld sp,hl
    ex de,hl

    ...
    joefish joefish March 2014 Development
  • A sped up pixel-shift routine for 1-byte–wide spritesHere’s an optimized (for speed) real-time sprite shifting routine for sprites that are one byte wide. It uses no memory variables for storage of inte…

    ... dual function of [b]ex af,af’[/b]. When no shifting ... br />
    [code]
    ex af,af' ;store position (0-7) within ... xor a ;clear A and Carry
    ex af,af' ;restore pixel position ( ... our shift counter
    ex af,af' ;restore A with sprite ...
    Ast_A_Moore Ast_A_Moore February 2017 Development
  • Console frameworkStill working on Specotron, but at the point where working out the diagonal lines collision is not good at beer o'clock. In the meantime I've knoc…

    ... /> ex af, af'
    dec a
    jr z, .done
    ex af, af'
    carry is set if lower bit ... .getkeyval
    or a ; clear carry flag
    rra ; rotate right ... including carry
    jr c, .done< ...
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • Timex 80 column display driverI subsequently wrote an 80 column font driver for 512x192 mode.

    ... br />
    .loop1 ; carry reset here

    ... ld c,a
    ex af,af
    or c

    .loop2 ; carry reset here

    ... to right
    ; carry flag reset

    Alcoholics Anonymous Alcoholics Anonymous March 2006 Development
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ...
    and a ; clear the carry flag before
    ; calculation
    pop hl
    ex af,af' ; exchange registers for alternates
    ex af,af'
    push hl ; write 8 ...
    chev chev May 2009 Development
  • More colours II (Was: Most popular new features?)The suggested 4xCLUT multi-colour solution never took off.

    ... ; indicate data
    scf ; set carry flag - indicate loading
    ld ... (c), a ; select register
    ex af, af' ; save current register select
    ex af, af' ; restore current register
    inc ...
    chev chev November 2009 Emulators
  • Z80 'EXX' ConfusionI was working on a little Z80 routine last evening, and, having run out of registers, resorted to sticking one of the values into a memory location a…

    There's an extra EX AF,AF' instruction for doing that specifically. ... , IY and the Flags to carry data over from one set ... other. Or you can use AF' to save the flag state ... /POP). Or you can swap AF, BC, DE & HL and ...
    joefish joefish December 2009 Development
  • yeah - unix for zx spectrumI started a new hobby project. An operating system for ZX Spectrum. A unix clone. Talked to my friend about it and he asked me what if after I'm done…

    ... br /> ;; hl,bc,de,af,af'
    ;; ------------------------------------------------------------
    ... e
    keydown: ex af,af' ; alternate accu.< ... reset de
    endofscan: ex af,af'
    ret
    ...
    scf ; carry flag on
    ...
    tstih tstih March 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... , a ; clear H
    ex af, af' ; save the carry flag
    ld d ... />
    even_col:
    ex af, af' ; restore char position carry flag
    jr c ... />
    odd_col:
    ex af, af' ; restore char position carry flag
    jr nc ...
    chev chev March 2011 Development
  • GUI/OS for the Spectrum?Hi, Is anybody working on a WIMP/GUI system for the Spec? Is there anything current out there? [url]http://snakeoillabs.com/wordpress/2005/10/30/8…

    ... , 0 ; clear H
    ex af, af' ; save the carry flag
    add hl ... />
    even_col:
    ex af, af' ; restore char position carry flag
    jr c ... />
    odd_col:
    ex af, af' ; restore char position carry flag
    jr nc ...
    chev chev June 2011 Development
  • Saving and Loading from tape in MC?I'm actually having problems with saving and loading from the ROM routines for the interpreter... I'm currently using the following codes for saving…

    ... the zero flag without disturbing carry.
    EX AF,AF' ; preserve entry flags.
    carry.
    EX AF,AF' ; preserve entry flags.
    Dr BEEP Dr BEEP July 2011 Development
  • Fastest way to mirror a byte?I.E. turning 01100000 into 00000110, in assembly. I'm trying but I suck at stuff with rotation and the carry bit. Any pointers?

    ... br /> EX AF,AF' Exchange the contents of AF and AF'.
    EX DE,HL ... RLA Rotate left accumulator through carry.
    RLC (HL) Rotate ... RRA Rotate right accumulator through carry.
    RRC m Rotate ...
    Ralf Ralf October 2011 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... think I might have used EX AF,AF' in the past so I ... don't need to. Just carry on using whichever ones you ... separately from A (or strictly, AF), with the commands EXX and EX AF,AF'.
    joefish joefish January 2012 Development
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    This routine (48 bytes) provides a BASIC replacement for STR$ which fixes those two bugs; use "FN s$(numeric_expression)" instead of "STR$ numeric_expression". I copied the ROM's method used in CIRCLE & DRAW for checking -1
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Is there an SNA halt bug?Hello all, I noticed that some SNAs don't work on my emulator but they do work in almost everyone else's, SPUD fails with them too which is a tad sp…

    ... br /> exx
    pop af
    ex af, af'
    pop hl
    ... /> ld r,a
    pop af
    ld sp, (22B0h) ; ... (22B0h), sp
    push af
    ld a,r
    carry flag before.
    John Elliott John Elliott July 2013 Emulators
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8

HitBox

Word Docs Hits
ex 4.4K 7K
af 1.2K 5.4K
carry 3.8K 5.6K

Related Threads

  • deus ex and deus ex invisible war ?3 on steam.Just downloading these two games at the mo. I think there are a few fans of these games on here, if you want to grab em there cheap on steam at the m…
  • Deus Ex MachinaAm I the only person who loved Deus Ex Machina on the speccy?<br /> Just wondering.<br /> <br /> I've even got the soundtrack that i downloaded as mp…
  • An ex-Bloodwych fanatic speaks...I've got a s**t-load of maps that I carefully (and painstakingly) made back in the day, with the intention of sending them into YS, only for the maga…
  • Anyone here an ex speccy-journalist or programmer?Anyone here used to write for the Spectrum magazines or program the Speccy? Just curious ;)
  • ex-YU homepage updatedThe ex-YU Homepage has been updated, after almost 2 years. Added some really nice new stuff, including some commercial games that were developed by e…
  • ex-YU Homepage Updated !Hey All...<br /> <br /> This will probably be interesting only for the people here that are from ex-Yugoslav countries, but it might be interesting f…
  • Deus Ex MachinaHas anyone got a copy?
  • TransVersion EXHopefully my latest game will be of some interest here. :)<br /> <br /> A remake of an old 16k Spectrum game, but with online scores and Care Bears. …
  • XBasic or EX-Basic ???I found couple NIB Artic x- or ex-basic.<br /> Case and manual seys X-Basic but casette is EX-Basic.<br /> Is this MIA ?<br /> <br /> [url="http://ko…
  • new forum for ex retro gamer refuges[url="http://forum.retrosurvival.co.uk/index.php?act=idx"]http://forum.retrosurvival.co.uk/index.php?act=idx[/url]<br /> <br /> :)

Related Searches

  • deus ex machina
  • caf turco com os ex jugoslavos
  • regular ex
  • carry invert
  • ex sp hl
  • ex sp ix
  • ex sp iy
  • carry bit zero
  • tile ex
  • ex machina
  • half carry
  • deus ex machina mp3
  • deus ex machina stnx
  • deus ex machina sync
  • ex pat
  • ex hl de

Copyright © 2024 World of Spectrum