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>
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ... ]inc (hl)[/B] sets the zero flag and if [B]ld (hl ...
    Jonathan Harston Jonathan Harston 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…

    ... idea to have a 'kill' flag and process all the removes ... that have a count of zero. You need one array entry ... (non signed)
    MOVZX = Move zero extended (Clears upper bits of ... not equal (uses zero flag)
    JE = Jump equal (uses zero flag)
    RESD ...
    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…

    ... - Jump if zero flag on
    JPN - Jump if not zero flag on
    Robin Robin October 2010 Development
  • designing a computerHi everyone! I am designing a 4 bit computer and i need some advice, is this a good instruction set? [CODE] BINARY OPCODE DESCRIPTION 00000 nop…

    ...
    1001 JPZ - Jump if zero flag on
    1010 JPN - Jump ... if not zero flag on
    1011 RSV - Set ... flags, Z and NZ, zero and not zero
    I think i ...
    Robin Robin October 2010 Chit chat
  • designing a computerHi everyone! I am designing a 4 bit computer and i need some advice, is this a good instruction set? [CODE] BINARY OPCODE DESCRIPTION 00000 nop…

    ... start, you only need one zero flag - It is either set or ... the target CPU. The carry flag is easy as the sum ... be copied to the carry flag. Greater than or equal to ... of the carry flag (CF) and zero flag (ZF). The sign flag (SF) can ...
    ASM ASM October 2010 Chit chat
  • 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…

    ... /> ld bc,0 ; Set to zero
    ld hl,16384 ; Screen ... tip is to learn the zero flag (ZF) as soon as you ... '1' when a result is zero, otherwise it is set to ... '1' when a result is zero. There are enough comments in ...
    ASM ASM November 2010 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... 0.. XOR A will set zero flag for every value of A...
    ub880d ub880d 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…

    ... /> L0556: INC D ; reset the zero flag without disturbing carry.
    EX ... ]
    INC D ; reset the zero flag without disturbing carry.
    EX ...
    Dr BEEP Dr BEEP July 2011 Development
  • MCODE problem...Hi Folks, Trying to write a simple machine code program to hatch the screen. So far I have the following but even this is not working - it does not…

    ... faster and sets the zero flag when it reaches zero again (avoiding the ...
    obo obo October 2011 Development
  • MCODE problem...Hi Folks, Trying to write a simple machine code program to hatch the screen. So far I have the following but even this is not working - it does not…

    ... a register, and simplifying the zero check
    [*]With A no ... needed to check DE for zero, we can keep the fill ... 256 (currently E). For the zero flag to be set at the ...
    obo obo October 2011 Development
  • MCODE problem...Hi Folks, Trying to write a simple machine code program to hatch the screen. So far I have the following but even this is not working - it does not…

    ... 8-bit INC sets the zero flag when you INC from 255 ...
    BloodBaz BloodBaz October 2011 Development
  • MCODE problem...Hi Folks, Trying to write a simple machine code program to hatch the screen. So far I have the following but even this is not working - it does not…

    ... faster and sets the zero flag when it reaches zero again (avoiding the ...
    Paddy Coleman Paddy Coleman October 2011 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... bit is 0 so the zero flag is raised (I think?).
    R-Tape R-Tape October 2011 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... bit is 0 so the zero flag is raised (I think?).
    flag NZ is correct.

    csmith csmith October 2011 Development
  • Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …

    ... put down. It starts at zero, has 1 added to it ...
    ;ahhh....a check for zero...what does that mean? It ... it it now holds zero - so the zero flag is set) and need ...
    Turkwel Turkwel November 2011 Development
  • BREAK from GOSUBHere's another one. Just in case you wanted to break out of multiple GOSUB levels with a single command, here's a routine to do it, tested on all mod…

    ... br /> INC B ;reset Zero flag
    SETRET: LD BC ... AND A ;error if not zero
    JP NZ, $1F36 ... br /> inc a ;reset Zero flag
    push de ;restore ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • 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…

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

    Are you simply ...
    guesser guesser January 2012 Development
  • 2nd OpCode question.... pretty please...Whats 0xED 0x70 please? Sean's doc says: IN F,(C)* / IN (C)* That doesn't mean much to me :( Lower down in Sean's doc it says: ED 70 is IN F,(n) so…

    ... A,(n) but with the flag register?

    Is (C ... is set accordingly (so the Zero flag is set if the value ... read is zero, and Sign, 3, and 5 ...
    ccowley ccowley February 2012 Emulators
  • 2nd OpCode question.... pretty please...Whats 0xED 0x70 please? Sean's doc says: IN F,(C)* / IN (C)* That doesn't mean much to me :( Lower down in Sean's doc it says: ED 70 is IN F,(n) so…

    ... is set accordingly (so the Zero flag is set if the value ... read is zero, and Sign, 3, and 5 ...
    Korinel Korinel February 2012 Emulators
  • Inefficient code in ROM, from ram-check to RAM-DONEHere is the inefficient code: [CODE] ;; ram-check L11DA: LD H,D ; Transfer the top value to the HL register LD L,E …

    ... ; back to RAM-READ if zero flag was set.

    ;; RAM ...
    antoniovillena antoniovillena April 2012 Development
  • What's going on during a reset?Always wanted to know this. Why does the screen fill with garbage then white lines on black then just a totally black screen? What is happening?

    ... ; back to RAM-READ if zero flag was set.
    [/code]
    Dunny Dunny May 2012 Hardware
  • Using CP and JR Z commandI have been trying to [URL="http://www.worldofspectrum.org/forums/showthread.php?t=40011"]convert a BASIC routine to machine code[/URL], but to no av…

    ... 5 = 5-5 means 0, Zero flag will be set; but A ... CP 5 = 6-5, not zero, Z will be not set ...
    Shiru Shiru July 2012 Development
  • Oops, wrong flag!North Korean women's football team have reacted angrily to the South Korean flag being shown by accident on stadium screens during the warm-up. Not …

    I often get the test for the zero flag and carry flag mixed up. :D
    chev chev July 2012 Chit chat
  • 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…

    ... for jump relative if not zero. It skips over the ... carry, and set the carry flag to zero.
    'or' compares ... all the digits are zero, then the zero flag will be set, ... and Repeat (until bc is zero).
    Replace line 53 ... bit and sets the zero flag if it is 0)< ...
    buzzy buzzy September 2012 Development
  • Using R as a loop counterThis is just something silly I've found a while back. xD [b][How-to][/b] Setup your routine like this:[code] ld a,X ;see below ld r,a loop ;your …

    How does ld a,r set the zero flag?

    I thought load was flag free?
    Gedlion Gedlion October 2012 Development
  • Using R as a loop counterThis is just something silly I've found a while back. xD [b][How-to][/b] Setup your routine like this:[code] ld a,X ;see below ld r,a loop ;your …

    ... ld a,r set the zero flag?

    I thought load ... was flag free?[/QUOTE]

    Idk ... does. Same with the sign flag. P/V is different, it ...
    Hikaru Hikaru October 2012 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…

    ... avoid faffing about with the Zero flag, somewhere that $e1,$e9 occurs ...
    Battle Bunny Battle Bunny February 2013 Sinclair Miscellaneous
  • Machine code loopsDear all, 30 years too late I know, but I'm finally starting to get to grips with Machine Code - something I could never manage back in my early tee…

    ... also equal 0, affecting the zero flag accordingly?

    Can't ...
    Tobo Tobo June 2013 Development
  • Machine code loopsDear all, 30 years too late I know, but I'm finally starting to get to grips with Machine Code - something I could never manage back in my early tee…

    ... also equal 0, affecting the zero flag accordingly?
    [/QUOTE]

    Arjun Arjun June 2013 Development
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 9:50AM
  • Cooperative Games.
    harriusherbartio on 9:27AM
  • Happy 40th Birthday to the Amstrad CPC464!
    zx1 on 9:02AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Celebrity deaths...
    mel the bell on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
zero 5.2K 7.1K
flag 3K 4.8K

Related Threads

  • Five Zero Zero Zero!!!Yippee! Woo Hoo!!! and so on...<br /> <br /> :D :D :D :D :D<br /> <br /> Necros.
  • RLD - zero-flag resultI have very rarely found need to use the RLD instruction, well, actually just this once, but everything I can find on it says that the zero-flag is s…
  • Zero 0.7 / Zero 0.6.5 releasedAfter months of grueling work, I?m proud to announce the Vanilla version of Zero, which is a regular Windows version of the emulator. I?ve tried to m…
  • Interface Zero joystick interfaceHello<br /> <br /> I just built a joystick interface with instructions I found from Your Sinclair ( [url="http://www.users.globalnet.co.uk/~jg27paw4/…
  • 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…
  • 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<…
  • Zero magazine scans/mags available?Hello.<br /> <br /> Offtopic for a Spectrum forum I know but does anyone (Mort! ?) have scans available for the Zero series of magazines? It was the …
  • 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/…
  • Any "Capture The Flag" games?There used to be a really good DOS game called Capture The Flag which featured two teams of players starting in a land area split in two. The object …
  • Overflow Flag QuestionHello all,<br /> <br /> After a long hiatus (lost all code when my MacBook was stolen) i've gone back to the drawing board and am writing a Z80 emula…

Related Searches

  • zero emulator
  • compliment z flag
  • zero not starting
  • zero emulator starting
  • zero emulator windows 10
  • leading zero
  • flag in basic
  • target renegade zero
  • parity flag
  • tape zero point
  • loading zero point
  • code zero
  • ground zero
  • zero source code
  • zero emulator source code
  • zero
  • chequered flag 128
  • sgt helmet zero
  • pixel quest zero
  • flag k

Copyright © 2024 World of Spectrum