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>
  • SjASMPlus: REPT pseudo-opHi, 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 to work. C…

    Hi,

    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 to work.

    Cheers
    J
    TrueVideo TrueVideo January 2007 Development
  • pasmo and rept macrosHi, 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 variable in a rep…

    ... macro. for example:

    rept 8
    ld a,(ix ...
    sack sack July 2010 Development
  • Announce Pasmo 0.5.1Hello. New release 0.5.1 of Pasmo, multiplatform Z80 cross-assmbler. The main news are related to macros: the MACRO parameters now are expanded ins…

    ... parameters now are expanded inside REPT and IRPD nested, a new ... undetermined number of parameters, and REPT now can have a loop ...
    NotFound NotFound December 2004 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 …

    ... />
    ;Copy the colours:
    REPT 24,char_row ;PASMO Macro for ... 24 rows
    REPT 8,pixel_row ;PASMO Macro for ... data:
    ;------------
    colour_map
    REPT 24 ;PASMO Macro - 24 lines ...
    joefish joefish May 2009 Development
  • Using the stack to copy memory blocksA [b]PUSH[/b] and a [b]POP[/b] instruction together take less time than two [b]LDI[/b], so long [b]POP/PUSH[/b] sequences are sometimes used to copy …

    ... arguably:
    [code]loop:
    rept 8
    ldi ; 128 = 16 ...
    ajmoss ajmoss August 2010 Development
  • Macros in Z80 assemblerI don't know if the title of this post is good, so let me explain what I mean If have for example code [SIZE="1"]LDI LDI LDI LDI LDI[/SIZE] I can…

    ... />
    [SIZE="1"][COLOR="Blue"]REPT 5[/COLOR]
    LDI

    [SIZE="1"][COLOR="blue"]REPT 5 (N=1 TO 5 ...
    Ralf Ralf January 2011 Development
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ... /> ld (sp_cache), sp

    REPT 48, attr ; write the attributes ... blit
    ENDM

    REPT 3, chunk ; write the bitmap ...
    REPT 8, row
    REPT 8, cell
    REPT 2, line ...
    chev chev April 2012 Development
  • Chronos (BUGFIX)Please add the following "known errors" entry to [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0000951"]Chronos[/URL]: [QUOTE]Bugfix provid…

    ... pixel lines

    58434: REPT 29
    rld
    dec ... pixel lines

    58431: REPT 4
    rld
    dec ... of misaligned buffer

    REPT 25
    rld
    dec ...
    Einar Saukas Einar Saukas May 2013 Infoseek database
  • 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…

    ... 8 bytes:
    [CODE]
    REPT 292, COUNTER
    ld sp ... +128*256
    loop:
    REPT 32
    ldi
    ENDR ...
    Einar Saukas Einar Saukas 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 +…

    ... br />
    print_char_hl_de
    REPT 7
    ld a,(hl ... />
    sprite_interrupt

    REPT 8,int_render_sprite
    SPRITE_BASE DEFL ... will not affect b
    REPT 8
    pop de ... =attr row table
    REPT 8,int_sprite_attr_loop
    pop de ...
    joefish joefish March 2014 Development
  • Strange keyboard port reads on 48+Hi all, I don't know whether it was already discussed (I also searched forum, but there are too much of results searching "48k keyboard" so I didn't…

    ...
    test
    loop
    rept 3270
    ld bc,+
    ub880d ub880d January 2015 Hardware
  • draw single pixel in the borderI have problems with drawing in the border. I can get it to draw a line ,but it always becomes a line and not a single pixel. <br><br>rept 3580 <br…

    ... single pixel.


    rept 3580

    nop
     out (c),b

    rept 120

    nop
    micken micken May 2015 Development
  • No AY sound from online emulatorsI've writing an app that makes sound using the AY. I have a simple update mechanism that works like this: 1. During a frame, I write values to a b…

    ... c,LOW(AYCTRL)

    REPT 11
    ld b,HIGH ...
    evilpaul evilpaul June 2020 Development
  • Announce Pasmo 0.5.1Hello. New release 0.5.1 of Pasmo, multiplatform Z80 cross-assmbler. The main news are related to macros: the MACRO parameters now are expanded ins…

    ... be easily done with then REPT direcitve, I think this way ...
    NotFound NotFound January 2005 Development
  • Announce Pasmo 0.5.1Hello. New release 0.5.1 of Pasmo, multiplatform Z80 cross-assmbler. The main news are related to macros: the MACRO parameters now are expanded ins…

    ... be easily done with then REPT direcitve, I think this way ...
    Erlstoned Erlstoned January 2005 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    You can use the REPT directive instead of DS.

    REPT len / 2
    PUSH DE
    ENDM

    Larger, but you don't need to hard code the instruction.
    NotFound NotFound April 2005 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... :
    You can use the REPT directive instead of DS.

    REPT len / 2
    PUSH DE ...
    AE.Vasconcelos AE.Vasconcelos April 2005 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    Yes, it can. The file rept.asm, included in the souce package, has several examples of use in combination with macros. You only must to be careful to nest adequately (but if you forget an ENDM or put one more than needed pasmo will warn you).
    NotFound NotFound April 2005 Development
  • Fastest way to write something to screen$Hi, I just got pasmo.exe and start playing with attr scrolling, well, not scrolling, just write different values to a block and see if I can introdu…

    ... /> Yes, it can. The file rept.asm, included in the souce ...
    AE.Vasconcelos AE.Vasconcelos April 2005 Development
  • SjASMPlus: REPT pseudo-opHi, 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 to work. C…

    ... />
    The manual states that REPT is a synonym for DUP ...
    aprisobal aprisobal January 2007 Development
  • Fastest way to clear a screen.We haven't had an optimizing fun for some time, so let's have some: What's the fastest way to clear a screen (i.e., filling the 6912 bytes at 16384 w…

    ... B,6912/32
    LOOP REPT 32
    PUSH HL
    evilpaul evilpaul February 2009 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 …

    ... />
    ; copy the colours
    REPT 24,char_row ; PASMO Macro for ... 24 rows
    REPT 8,pixel_row ; PASMO Macro for ...
    chev chev May 2009 Development
  • Spin Assembler DirectivesLeading on from [URL="http://www.worldofspectrum.org/forums/showpost.php?p=402514&postcount=65"]jp's recent post in Spin 0.7 Public Testing thread[/U…

    ... ), (S: 'REPEAT'; I: 175), (S: 'REPT'; I: 175),
    (S: 'RES ...
    Dunny Dunny November 2009 Emulators
  • Spin Assembler DirectivesLeading on from [URL="http://www.worldofspectrum.org/forums/showpost.php?p=402514&postcount=65"]jp's recent post in Spin 0.7 Public Testing thread[/U…

    ... ), (S: 'REPEAT'; I: 175), (S: 'REPT'; I: 175),
    (S: 'RES ...
    jp jp November 2009 Emulators
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... LDIR ;) Or rather I use REPT and LDI ENDR ;)

    Paradigm Shifter Paradigm Shifter February 2010 Games
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... LDIR ;) Or rather I use REPT and LDI ENDR ;)

    frobush frobush February 2010 Games
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... /> ld d, a

    REPT 8
    ; copy data
    Paradigm Shifter Paradigm Shifter February 2010 Games
  • Please test my Manic Miner remake!Thanks to everyone who downloaded my sneak preview of Manic Miner Turbo. Thanks especially to na_th_an who is the only person so far to give feedback…

    ... /> ld d, a

    REPT 8
    ; copy data
    ld d, a

    REPT 8
    ; copy data
    The President The President February 2010 Games
  • pasmo and rept macrosHi, 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 variable in a rep…

    Looking at the rept.asm example included in pasmo, ... want:

    [code]
    rept 8, counter
    ld a ...
    gasman gasman July 2010 Development
  • pasmo and rept macrosHi, 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 variable in a rep…

    I did yep :)

    and crisis averted for now - it seems there's multiple versions of the documentation out there and I found one that explained exactly what I wanted to do.

    rept iterations, somevar, start,increment
    sack sack July 2010 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