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.013s
<1…25262728293031…34>
  • Help needed with calculating screen addressesCan anyone help me finally crack Jonathan Cauldwell's screen addressing calculator and, more to the point, is the reason I'm struggling because this …

    simple plot:
    [CODE]
    call 022B0h;A=y,c=X
    inc a
    ld b,a
    xor a:scf
    bwlp:rra:djnz bwlp
    or (hl):ld (hl),a
    [/CODE]
    g0blinish g0blinish June 2014 Development
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... $2307
    LD A, C
    CP B
    ... LD L, C
    PUSH DE
    XOR A
    ... L_24CB
    L_24C4: OR C
    RET Z
    ... /> EXX
    LD A, C
    DJNZ L_24CE
    POP ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • FUSE serial communication sample anyone?Hi, in [URL="http://manpages.ubuntu.com/manpages/precise/man1/fuse.1.html"]FUSE man pages[/URL] one finds switches for serial comms. By using --inte…

    ... /> srl d
    rla
    xor b
    out (RS232_DTA),a ... =buffer size
    ld c,#RS232_DTA ; c=data port
    ld ... /> in a,(c)
    in a,(c)
    in a,(c)
    < ... br /> [B]serial.c[/B][CODE]/*
    * serial.c
    * serial ...
    tstih tstih July 2014 Development
  • Block RoutineHi Folks, I want to draw a block on the screen dependent on providing the X,Y,W,H values. I came up with the following: [CODE]100 LET l$=" …

    ... ;set h limit
    XOR A
    a63068: LD ... value
    ld a,c ;save row counter
    ... column counter
    ld c,a ;restore row counter
    dec c
    jr nz,rowloop< ...
    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Frames Per SecondHow many frames per second did the ZX Spectrum run at? I've found games that are 12.5fps but Ive recently been informed some games were at 25fps ...…

    ... [/url]

    Keep hitting 'c' to create more sprites. The ... around them), some are XOR (sprite graphics XOR with background), etc. Because ...
    Alcoholics Anonymous Alcoholics Anonymous August 2014 Development
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... generate a native 16-bit xor prng using some other triple ... follow what is happening in C++ somewhat for some of the ... a library of containers from C and I think I will ... same for random numbers, eventually. C++ now has a means to ...
    Alcoholics Anonymous Alcoholics Anonymous September 2014 Development
  • ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…

    ... , atof, ceil, compare, cos, cosh.c, dadd, dcompar, ddiv, deq, dge ... , fmod, fmull, fradd, fsub, ftoa.c, ftoe.c, hladd, hlsub, ifix, incr ... kind of sprite: masked, OR, XOR, LOAD, ATTR. If this were ... you proposed - needed only in C. Java or similar. In assembler ...
    Alcoholics Anonymous Alcoholics Anonymous September 2014 Emulators
  • ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…

    ... , atof, ceil, compare, cos, cosh.c, dadd, dcompar, ddiv, deq, dge ... , fmod, fmull, fradd, fsub, ftoa.c, ftoe.c, hladd, hlsub, ifix, incr ... kind of sprite: masked, OR, XOR, LOAD, ATTR. If this were ...
    clausjahn clausjahn September 2014 Emulators
  • ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…

    ... ), OR (1/2 byte def), XOR (1/2 byte def), LOAD ... use it are written in C was a choice of the ... , people who are using the C compilers are already comfortable with ... people who are familiar with C would be the first to ...
    Alcoholics Anonymous Alcoholics Anonymous September 2014 Emulators
  • Issue 6 repair with a twist...(Starting with a slight grump - the forum ate my first attempt at this so this'll probably end up being a bit terse :)) I got a Issue 6 48K machine …

    ... ld a, b
    or c
    jr nz, .marchtest1.loop ... ld a, b
    or c
    jr nz, .marchtest2.loop ... , .marchtest3.next

    xor a
    MARCHBORKED
    jp ... ld a, b
    or c
    jr nz, .marchtest3.loop ...
    balford balford September 2014 Hardware
  • Simple text scrolling routine...I'm having trouble writing a very simple text scroller, the idea is to use the ROM printer routine to print 32 characters each time the routine is ca…

    ... test
    in a,(c)
    rra:jr c,demo
    ret ... /> scroll_text:
    push hl
    xor a

    dup 32 ...
    g0blinish g0blinish October 2014 Development
  • Making noises with the AYHow do you go about making noises from the AY chip in machine code? I'm wanting to make a pulsating humming noise that increases in volume as you ge…

    ... D,(HL)
    OUT (C),D
    LD BC ... D,(HL)
    OUT (C),D
    INC HL ... JR NZ,waveloop
    XOR A ; = LD A, ... BC,49149
    OUT (C),A
    INC D ...
    MatGubbins MatGubbins October 2014 Development
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... ld bc,17873
    xor a
    sbc hl ... />
    ld c,18 ;C= 18 rows (1-18 ... 0)
    ld c,a ;C =cell type
    ... 28B2 ;LOOK_VARS
    jp c,$0670 ;"2 - Variable not ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Creating a linked list in Z80[FONT=Calibri][SIZE=3]I am using a circular buffer to store tiles to be displayed on the screen. Tiles only appear for a set period of time, so when …

    ...
    ld hl,linkbuf
    xor a
    lp_ini
    ld ...

    ex_del ld a,c ;save new number of live ...
    char char October 2014 Development
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code? I have written the following MC routine that fits into a REM statement in a basic program. I want to cal…

    ... ; set our screen colours.
    xor a ; quick way to load ... ;16+6=22
    out (c),a

    ld hl ... a,#10 ;16
    out (c),a
    [/B]
    ;LOAD ...
    Jerri Jerri October 2014 Development
  • Alkatraz Protection System - "How to" and compo?I'm thinking about writing a "how to" regarding the [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0020807"]Alkatraz Protection System[/URL].…

    ... Loader:

    [INDENT]1: XOR (RM+?)
    2: SRL A ... bc, $7ffd
    xor a
    out (c), a
    ld a ... /> ld a, $10
    out (c), a
    loop rlc (hl ...
    jp jp November 2014 Announcements
  • Ensure my interrupt handler begins at the same T-stateHi! Is there a way to ensure that an IM 2 interrupt handler starts always at the same T-state (related to the moment the ULA triggers the INT line, w…

    ... ; align ver.0.3 copyright (c) 2013 introspec
    ;
    ... br /> ;
    ; flag C indicates M1-delays as observed ... yellow" Scorpion.
    ; register C contains
    ; #11 for ... /> DoItAgain: ei ; 4t
    xor a ; 4t

    MeasuringLoop ...
    introspec introspec November 2014 Development
  • Snowfall effectHow do you go about creating a snowfall effect like the one in Yeti? Now don't laugh, I'm currently printing 32 UDG's of dots OVER the top of my gam…

    ... 're doing it. Changing to XOR might work better for you ... of screen yet?
    jr c,drawsnowball
    ld (ix+1 ...
    R-Tape R-Tape December 2014 Development
  • Snowfall effectHow do you go about creating a snowfall effect like the one in Yeti? Now don't laugh, I'm currently printing 32 UDG's of dots OVER the top of my gam…

    ... though.

    The XOR solution will look naff because ... of screen yet?
    jr c,drawsnowball
    ld (ix+ ... /> cp bottom_ycor
    jr c,missball
    ld (ix+1 ... ld de,32
    ld c,11
    dblp2 ld b ... add hl,de
    dec c
    jr nz,dblp2
    R-Tape R-Tape December 2014 Development
  • Which emulators support ULA+Tried ZX Spin 7.0, but its unstable. Tried to drag and drop .scr files onto it, but it comes out all wrong. Don't understand the TAP file that's sp…

    ... d,0
    ld c,ZXIPORT

    ... ,ULAPLUSADDR
    out (c),d
    ld b ... br /> out (c),a

    xor a
    ...
    mcleod_ideafix mcleod_ideafix December 2014 Development
  • RANDOMIZE - still not sure what it does...Whenever I wish a random number I use RND like: 10 LET a=RND*100 20 PRINT a 30 GO TO 0 and "a" will truly be random. But if is do the following: …

    ... AA xor d
    171 AB xor e ...
    065 41 ld b,c ... /> 079 4F ld c,a ; w = ...
    Paddy Coleman Paddy Coleman January 2015 Sinclair Basic
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... with both an asm and c interface. It's untested but ... ]added print modes[/B] (OR, XOR, CLEAR and INVERT)

    XOR/CLEAR/INVERT draw functions)
    Alcoholics Anonymous Alcoholics Anonymous January 2015 Brand new software
  • New Game(s): Sir Ababol 2 and Sir Ababol DXHere is our own Christmas Present from Mojonia! We weren't going to release these games (at least, by the moment) but we decided just yesterday to fi…

    ... jr plp
    ;
    no_key xor a ;wait for no key ... )
    and 31
    xor 31
    jr nz,no_key ... ret
    ;
    get_key ld c,254 ;the highest port, 254 ... in both b and c
    ld b,c
    rdlp1 ... all ports
    in a,(c) ;read that key row, ...
    R-Tape R-Tape January 2015 Brand new software
  • Simple sprite inertiaDoes anyone have or can anyone point me to any good examples of sprite inertia (in assembly)? I'm not after anything vector related, just simple x,y…

    ... RET NZ

    XOR A
    LD (PL_XMOVE), ... CP PL_MAXSPEED
    JP C, RETADDR
    LD A ... CP PL_MAXSPEED
    JP C, RETADDR
    LD A ...
    dmsmith dmsmith January 2015 Development
  • Random object placementI'm looking for some advice on placing objects randomly in a game. I have a routine that reads a table and prints the corresponding object: 0 prints…

    ...
    seed equ $-2
    xor a
    ld h,a ... #4a
    neg
    ld c,a
    add hl,bc ...
    Jerri Jerri February 2015 Development
  • Random object placementI'm looking for some advice on placing objects randomly in a game. I have a routine that reads a table and prints the corresponding object: 0 prints…

    ...
    seed equ $-2
    xor a
    ld h,a ... #4a
    neg
    ld c,a
    add hl,bc ...
    Einar Saukas Einar Saukas February 2015 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... ;--------------------------------------------------------
    SECTION code_compiler
    ;sp1_exc1.c:61: main()
    ; ---------------------------------
    ... ld d,(hl)
    xor a, a
    sub ... ;sp1_exc1.c:107: }
    ld d,(hl)
    xor a, a ...
    slenkar slenkar February 2015 Development
  • CMWC random number generator for Z80Seeing the interest regarding the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=23070"]Xor-Shift random number generator for Z80[/URL]…

    ... ,bc

    ld a,c ; i = ( i + 1 ) & ... ,hl

    ld h,c ; t = 256 * y
    rnd_cy ... (rnd+1),a

    xor a
    ld b,a ... ,hl

    ld h,c ; t = 256 * y
    ...
    Patrik Rak Patrik Rak May 2015 Development
<1…25262728293031…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • 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
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
xor 1.9K 4.8K
c 20.3K 48.8K

Related Threads

  • comp.sys.sinclair Crap Games Competition (C.S.S.C.G.C. 2022) is here!Welcome one and all!<br /> <br /> [img]https://i.postimg.cc/3yYpjjbH/cropped-CCG2022.png[/img]<br /> <br /> I am proud to announce the opening of…
  • Arrays in C and C++ from a Java Programmer.I have been looking arround the web and found many conflicting answers to this question so I thaught I'd ask you folkes.<br /> <br /> What is the C a…
  • Z80 disassembler C/C++ source codeHello,<br /> <br /> I just thought I might share the [URL="http://zxds.raxoft.cz/docs/z80d.cpp"]source code[/URL] of the Z80 disassembler I have writ…
  • c & c red alert 2 freeanother day.. another freebie<br /> <br /> http://www.pcgamer.com/command-conquer-red-alert-2-is-free-on-origin/
  • C CompilerIs there an IDE based C compiler for the 128. I've heard rumours...
  • C&VG magsI have quite a number of these for sale ranging from Aug.1982 to Jan 1988 and am open to offers. Also the C&amp;VG Book of Games III.<br /> …
  • .$b and .$c format helpHi, i have downloaded agame of lemmings (it took ages to find one that might work) i have downloaded about 5 and none of them worked.<br /> I have fo…
  • Quiz V - the revenge of D`n`COk, 50 quick fire questions.. some cryptic - you`ll have un unravel the clues to get the game name, while others are description of the game. <br /> …
  • C'mon Arjun make a quiz!!!!!!Arjun you've joined in all the quizes (is that how u quiz in plural?) I wanna have a go at yours!<br /> <br /> I know there'll be a few text adventur…

Related Searches

  • xor sprite
  • hisoft c manual
  • xor erase
  • xor and or
  • xor sprites
  • xor masked sprite erase
  • sprite xor and
  • masked xor
  • xor sprite mask
  • speccy c
  • developing in c
  • divmmc c
  • xor c loop
  • ld a b xor c loop
  • ld a b or c loop
  • pacmen c
  • nirvana xor
  • emulator c
  • emulator c source
  • attributes xor

Copyright © 2024 World of Spectrum