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 147 results in 0.000s
<12345>
  • Fastest redraw of screen from UDGsHere's a question for everyone, to generate a bit of code to be used in games: On a standard 48K Spectrum, what's the fastest way to redraw the scre…

    ... /> LD HL,Graphics_Start

    REPT 16 ;one screen pixel line ... of UGD chars

    REPT 16
    POP BC
    Ralf Ralf March 2013 Development
  • Fastest redraw of screen from UDGsHere's a question for everyone, to generate a bit of code to be used in games: On a standard 48K Spectrum, what's the fastest way to redraw the scre…

    ... routine like this:
    [CODE]REPT 7
    ld (hl),n ...
    Einar Saukas Einar Saukas March 2013 Development
  • Fastest redraw of screen from UDGsHere's a question for everyone, to generate a bit of code to be used in games: On a standard 48K Spectrum, what's the fastest way to redraw the scre…

    ... routine as follows:
    [CODE]REPT 7
    ld (hl),n ...
    Einar Saukas Einar Saukas March 2013 Development
  • Fastest redraw of screen from UDGsHere's a question for everyone, to generate a bit of code to be used in games: On a standard 48K Spectrum, what's the fastest way to redraw the scre…

    ... /> [CODE]
    pop hl
    REPT 7
    ld (hl),n ...
    Einar Saukas Einar Saukas March 2013 Development
  • Fastest redraw of screen from UDGsHere's a question for everyone, to generate a bit of code to be used in games: On a standard 48K Spectrum, what's the fastest way to redraw the scre…

    ... /> [CODE] ld h,a
    REPT 7
    ld (hl),n ...
    Einar Saukas Einar Saukas March 2013 Development
  • Fastest redraw of screen from UDGsHere's a question for everyone, to generate a bit of code to be used in games: On a standard 48K Spectrum, what's the fastest way to redraw the scre…

    ... for each char:
    [CODE]REPT 7
    ld (hl),n ...
    ld a,%00010000
    REPT 4
    ld (hl),a ... character
    xor a
    REPT 7
    ld (hl),a ...
    evilpaul evilpaul March 2013 Development
  • BIFROST* for graphic artists - part 1Using multicolor requires 2 very different skills: [I]programming[/I] and [I]graphic design[/I]. I already wrote several tutorials about the former …

    ... like this:

    [CODE]REPT 7
    ld hl,color_pair ...
    Einar Saukas Einar Saukas March 2013 Development
  • Scrolling by 2 pixelsWhat is the fastest way of scrolling a Spectrum screen line by 2 pixels left or right? When thinking about it I've come to this simple solution: [C…

    ... +255

    ScrollScreenBuffer2
    REPT 255
    RL (HL)
    Ralf Ralf August 2013 Development
  • Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…

    ... ld e,l

    REPT 16
    dec l
    Einar Saukas Einar Saukas September 2013 Development
  • Pasmo alignmentHi Is there anyway Pasmo can be encouraged to place data on boundaries? I can do it very crudely with something like [CODE]defs $4000-$ anus: def…

    ... ]
    ALIGN MACRO ?a
    REPT ?a - ($ & (?a-1))
    evilpaul evilpaul September 2013 Development
  • filled shape creating codeDevelopment is continuing well on a resurrected project of mine from about 20 years ago. Speed and size optimizations are going well along with displ…

    ... , a

    drcs_next_sector:
    REPT 7
    ld a, (hl ... /> ld d, a

    REPT 7
    ld a, (hl ...
    Einar Saukas Einar Saukas October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... /> EX AF,AF'

    REPT n2
    [B] ld sp ...
    Ralf Ralf October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... /> EX AF,AF'

    REPT 18
    LD SP,IX ...
    Ralf Ralf October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... AF,AF'

    [B]REPT 16[/B]
    LD SP ...
    Ralf Ralf October 2013 Development
  • Copy 4Kb in Assembly?Here's an interesting problem: what's the best way to copy a block of 4Kb in assembly? The most obvious solution is to use [B]LDIR[/B]: [CODE] l…

    ... AF,AF'

    [B]REPT 15[/B]
    LD SP ...
    Metalbrain Metalbrain October 2013 Development
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... see right now, only both "REPT 22, ROWREPT" would need to ...
    enthusi enthusi November 2013 Brand new software
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... />
    [code] xor a
    REPT 3
    sla e ;move ...
    Einar Saukas Einar Saukas December 2013 Development
  • mirroring bitsIf I have a string of 1408 bytes, each of which has one bit 'b' set, what's the shortest way of mirroring that string, so that each bit set at positi…

    ... :
    ld a,(hl)
    REPT 8
    rra
    rl ...
    Einar Saukas Einar Saukas January 2014 Development
  • Pac-Land: can be coloured?All versions of this game are full coloured, but not the Spectrum version. It has large sprites, but maybe the scroll is too fine to make a coloured …

    ... stuff
    ORG 63232
    REPT 640 ;20 rows * 32 columns ...
    Ralf Ralf January 2014 Games
  • 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 …

    ... ),de ;save bomber posn
    REPT 7
    ld a,(hl ... quarter of 10th line
    REPT 7
    ld a,(hl ... 9th line + 1 byte
    REPT 7
    ld a,(hl ... 10th line + 1 byte
    REPT 7
    ld a,(hl ...
    Einar Saukas Einar Saukas February 2014 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 …

    ... ),hl ;save bomber posn
    REPT 3
    pop de

    REPT 3
    pop de
    Einar Saukas Einar Saukas February 2014 Development
  • Pac-Land: can be coloured?All versions of this game are full coloured, but not the Spectrum version. It has large sprites, but maybe the scroll is too fine to make a coloured …

    ...

    ORG 63232
    REPT 640 ;20 rows * 32 columns ...
    Ralf Ralf February 2014 Games
  • 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 …

    ... ),hl ; save bomber posn
    REPT 3
    pop de ; load ... AT 9,16;

    REPT 3
    pop de ; load ...
    Einar Saukas Einar Saukas February 2014 Development
  • Using the stack to blit bufferI was using a ldir to blit my back buffer to the screen RAM, and it was working pretty well if not rather slow. After reading about using the stack …

    ... :
    LD B,20
    REPT 16
    PUSH HL
    Ralf Ralf February 2014 Development
  • Using the stack to blit bufferI was using a ldir to blit my back buffer to the screen RAM, and it was working pretty well if not rather slow. After reading about using the stack …

    ... :
    LD B,20
    REPT 16
    PUSH HL
    Atari_Jetman Atari_Jetman February 2014 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 +…

    ... = 3328 bytes
    colour_map_A
    REPT 16,colour_map_A_block
    defs 24 ... /> ENDM

    colour_map_A_side
    REPT 12
    defs 2,00001000b ... /> ENDM

    colour_map_A_sound
    REPT 12
    defb 00000000b
    joefish joefish March 2014 Development
  • Need help: pasmo z80 x-compiler macrosIs anyone here an expert on macros for the Pasmo Z80 cross assembler? I need to know how to write a macro to assemble "DW link", then redefine link t…

    ... local labels within macros or REPT blocks or the like, so ...
    joefish joefish March 2014 Development
<12345>

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
rept 147 301

Related Threads

  • SjASMPlus: REPT pseudo-opHi,<br /> <br /> The manual states that REPT is a synonym for DUP. What's the equivalent to EDUP? I thought that would be EREPT but that doesn't seem…
  • pasmo and rept macrosHi,<br /> <br /> I'm delving back into speccy coding again (and trying to remember Z80 along the way) and I'm trying to figure out how to use a varia…

Related Searches

  • pasmo macro rept
  • rept

Copyright © 2024 World of Spectrum