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>
  • Pixel level collision detection[SIZE=3][FONT=Calibri]I need to do some pixel level collision detection. Assuming I have a byte of my ?player? sprite in DE and a byte of screen to t…

    ... /> [SIZE=3][FONT=Calibri]check z flag for collision[/FONT][/SIZE]
    Mr Millside Mr Millside November 2014 Development
  • ZERO Emulator - BugsI have been using Zero emulator to experiment a few routines in assembly, since it has a somewhat usable debugger. However I believe I found a few b…

    I have been using Zero emulator to experiment a few routines in assembly, since it has a somewhat usable debugger.
    However I believe I found a few bugs, some in "zero" application, and some on emulation itself.

    The following example ...
    RMartins RMartins July 2015 Emulators
  • Bug in ZX SpinADD HL,BC sets Z-flag when adding #faff and #501. By design ADD HL,rr does not set zero flag.

    ADD HL,BC sets Z-flag when adding #faff and #501.

    By design ADD HL,rr does not set zero flag.
    Dr BEEP Dr BEEP April 2019 Emulators
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    Pity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the ZX Spectrum 48K. It was for a text/graphic adventure I'm working on. The algorithm is based on [url="http ...
    Volker Volker February 2021 Software
  • 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…

    ...
    inc a ; clear z flag
    ret
    .somethingpressed ... /> dec a
    jr z, .pressingsymbolshift
    jr . ... z, .onlysymshiftpressed
    .getkeyval
    or a ; clear carry flag ... which case we return with Z flag clear
    neg ; ...
    Paradigm Shifter Paradigm Shifter August 2022 Development
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... in screen
    ; effect on Z flag but we just pushed AF ...
    Fikee Fikee May 2005 Development
  • The best games from 2000 to 2005Hi everybody, I am writing because I need your help, I would like to know which are the best 10 games of these last 5 years, since 2000. All kind of …

    ... the game that tests the Z flag after a SLL instruction).
    Jmk Jmk August 2005 Games
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... is that clearing the carry flag can be done with ... that set then complement the flag.

    In here ... LDI sets the P/V flag when BC reaches 0 -- ... mess with the P/V flag.

    [quote]
    ...
    "dec d" sets the Z flag if it reaches zero, so ...
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Development
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... (besides the alteration of the Z-flag)
    Dr BEEP Dr BEEP May 2007 Development
  • Question on Z80 R/W cycles.Snipped from the complete spectrum ROM disassembly: [CODE] Now the memory is checked. 11DA RAM-CHECK LD H,D Transfer the value…

    ... of the decrement is ZERO (Z flag set in F register), then ... jump is taken ([B]JR Z[/B] instruction).
    So what ... pair [B]DEC (HL) : JR Z, 11EF[/B] is doing in ...
    Marcelo Marcelo August 2007 Sinclair Miscellaneous
  • VIC 20 emulation on the SpectrumI'm sure most people are aware of the my attempt at bringing the full Commodore experience to Sinclair users with the "Twenty Commodes" program. It e…

    ... the mask? The zero flag should be set from ( ... must set either N or Z flag value, and decides by ... since they only affect the Z flag there's almost no ... it. The combined N/Z flag handling hasn't been a ... imm should only affect the Z flag. This doesn't seem to ...
    obo obo August 2008 Sinclair Miscellaneous
  • Using INPUT without clearing last two lines of screen?I'm trying to print to the 22nd row of the screen using the ol' print #0 trick. Unfortunately, I require user INPUT which seems to wipe out the botto…

    ... BC doesn't set the Z flag when the BC register pair ... OR will set the zero flag (because the result of ... will not set the zero flag.

    Again, don ... A is zero
    ret z
    rst 16
    ... in the zero flag being set, so RET Z executes and ...
    Winston Winston January 2009 Sinclair Basic
  • 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 …

    ... indicate if something is zero (Z), carried (C), etc. You ... , like the [B]JR Z[/B] above. The thing ... ] you do will set a flag.
    That's why ... and so will set the Z flag if the result is ... it doesn't set the flag. If you used [B ... that depends on the Z flag.
    joefish joefish April 2009 Development
  • Tips on optimizing some newbie assembly routinesI'm starting to learn some assembly language. The best way to learn is to actually code something you are going to use, so I'm creating a very simple…

    ...
    cp 255
    jp z, _b1aok
    inc c
    Z flag to signal the third change ...
    Metalbrain Metalbrain June 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... 20 ;a-20=...
    ret z ;exit if 20-20=0 ... above will set/reset the Z flag[/COLOR][/B]

    jr ...
    and a
    ret z
    rst 10h
    jr ...
    Chris Pile Chris Pile January 2010 Development
  • Bit functions speedI just stared nonplussed at the documentation for the bit functions. Apparently, if you're using the accumulator, using AND and OR is faster than se…

    ... when speaking about effect on flag. and finaly BIT is non ... /> [/code]
    which just set Z flag in 8T

    with ... destroys A, sets CY and Z and cost 11 T
    Fikee Fikee February 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…

    ... DEC BC does not affect Z flag. usual way how to check ...
    Fikee Fikee August 2010 Sinclair Basic
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... instruction 'INI' even sets the Z flag when B-1=0.
    Jimmy Jimmy December 2010 Development
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... instruction 'INI' even sets the Z flag when B-1=0.
    sekrets sekrets December 2010 Development
  • Why doesn't my loop work?Can anyone help me understand why my loop doesn't work? Is it to do with how DEC HL affects the flags? [code] ; Read 32k bytes from port 191 as fa…

    ... instruction 'INI' even sets the Z flag when B-1=0.
    trellis trellis December 2010 Development
  • And 255I've had a good think and I'm pretty certain of this: Surely, surely there can't be a use for this command: 'AND 255'. Please tell me I'm right! (…

    [QUOTE=Digital Prawn;535640]"compliment carry flag".[/QUOTE]

    That's a lovely carry flag you have there! Sorry, couldn't resist. :)
    chev chev May 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?

    ... opcode is for a JP Z. Doesn't found any better ... . Fortunetly in all cases the Z flag is unset at this point ...
    antoniovillena antoniovillena October 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?

    ... opcode is for a JP Z. Doesn't found any better ... . Fortunetly in all cases the Z flag is unset at this point ...
    Dr BEEP Dr BEEP October 2011 Development
  • Loading the display with data from memoryTrying to load part of the screen(4k's worth) with data from memory location 53000, I've written this routine, but it doesnt work... [I]ld b,4000 ld…

    ... supposed to set the zero flag to exit the loop? The ... routines don't affect the Z flag.

    Are you simply ...
    guesser guesser January 2012 Development
  • DK Tronics Compilation Tapes....MIA ??I have two tapes (no inlays) of compilaitons of DK Tronics games. One is from DK Tronics themselves, has a white label with black text, and contains…

    ... loaded without a "Flag" byte (ROM called with z' flag set), so these ...
    lfaria lfaria May 2012 MIA/STP/SDP
  • 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 …

    ...
    ;
    ; z flag set indicates '0' digit
    jp z, stdio_error_zc ; return NULL and ... bit 7,h
    jr z, positive
    call l_neg_16 ... exit with known carry flag state (for m/ ... or minus) and associated flag. However a lot of ...
    Alcoholics Anonymous Alcoholics Anonymous June 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 …

    ... s1==s2 : hl = 0, NC+Z flag set
    ; if s1s2 : hl ... > 0, NC+NZ flag set
    ; de = ptr in ...
    or l
    ret z ; if no items
    dec ...
    or e
    ret z

    pop hl
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • Ticks, the first command line Z80 emulatorThe project page is in Spanish: [url]http://retrolandia.net/foro/showthread.php?tid=43[/url] So I will expain a little. Ticks is an emulator that …

    ... file poker that activates the Z flag in the .mem file (to ...
    antoniovillena antoniovillena January 2013 Development
  • Getting PC into HLHello, here's a conundrum for you... Is there a way to obtain the value of the PC register (say into HL) without using absolute addressing such as C…

    ... :
    [CODE] or $ff ; reset Z flag
    call $1fc6 ; load PC ... /> [CODE] pop hl
    ret z
    jp (hl)[/CODE]
    Einar Saukas Einar Saukas February 2013 Sinclair Miscellaneous
  • Getting PC into HLHello, here's a conundrum for you... Is there a way to obtain the value of the PC register (say into HL) without using absolute addressing such as C…

    ...
    or a
    jr z, hurray

    ld (hl ... A instruction to test for Z flag is not necessary. Either DEC ... INC A will update the Z flag.

    It's ok ...
    mcleod_ideafix mcleod_ideafix February 2013 Sinclair Miscellaneous
<1234567…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Goodbye Z80
    zx1 on 7:11PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
compliment 331 340
z 4.6K 11.6K
flag 3K 4.8K

Related Threads

  • "Z"Right, now that I've finally found a Speccy forum, does anyone have any further info on these two games beginning with "Z"?<br /> <br /> (1) Zoot (an…
  • Calling Inform Z-code users...This is just a wild swing really. <br /> <br /> I've been using Inform 6 to try and develop an adventure game. Inform, if u didn't know, is a program…
  • Outrun vs Chequered FlagIn the latest issue of Retro Gamer its stated that Out Run was the first racer to have undulating hills etc. I reckon Chequered flag was, however cra…
  • Idea for a new feature to compliment a debugger in an emulatorI had an idea for an emulator feature yesterday. Don't recall having seen this idea before, but I'm sure you'll correct me if it has. :)<br /> <br />…
  • Need help with my P flag!Not sure if I've emulated the P flag correctly when its comes to overflows. Here's what I've done:<br /> <br /> LD A,123<br /> LD B,16<br /> ADD A,B<…
  • Czy jest tu ktoś z Polski? (Is there anybody from Poland?)Pytanie jak w tytule. Jestem poprostu ciekawy, czy na tym forum sa Polacy.<br /> <br /> [ This Message was edited by: PopoCop on 2005-06-23 13:49 ]
  • The A-Z of Classic Computer GamesI was looking around a local bookshop today and I came across this brilliant little book. The author, Jack Railton, appears to be a big fan of the Sp…
  • Amazon charge a fortune to use Z-SHOPSI sold a Dr Who vhs video ( The Face Of Evil ) using Amazon just to see how much they charge for using their service, I sold the video for £7.99 and …
  • Z-Man loading screen wrongthe Z-man loading screen doesn't appear.<br /> <br /> cheerssss
  • Union flag on Sabre Wulf game boxLooking at this pic, I noticed that the Sabre Wulf box has a Union flag style sticker on it:<br /> <br /> [url]http://www.digitalarcade.co.uk/speccy/…

Related Searches

  • x y z
  • flag in basic
  • parity flag
  • z exemplar
  • midi play z
  • ice slider z
  • f i z floppy
  • f i z
  • chequered flag 128
  • let z usr
  • let z usr randomize
  • z vega
  • z man
  • flag k
  • z machine
  • z b
  • z db
  • jr z integer out of range
  • z 80and8080assemblylanguageprogramming zip
  • z out

Copyright © 2024 World of Spectrum