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.020s
<1…20212223242526…34>
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... zero
    pop hl ; limit value
    push hl ; ...
    l_numeric:
    push hl ; stack destination pointer
    push de ; stack pointer to ... so
    ldir ; else copy to workspace

    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ) ; restore pointer
    pop bc ; length
    push bc ; to BC
    inc bc ; increment length
    lddr ; copy ...
    pop hl ; unstack counter and discriminator byte
    push bc ; ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... exx ; alternate register set
    push hl ; stack pointer to next ... ldir ; copy
    ex de, hl ; exchange pointers
    pop hl ; unstack ... ; stack
    push hl ; routine address
    push bc ; stack address ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... /> end_tests:
    pop af ; unstack carry flag
    push af ; restack carry ... br /> other_str:
    pop bc ; unstack second
    pop hl ; string parameters ... add
    push de ; stack it
    ldir ; copy the string to ...
    chev chev October 2013 Development
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    [QUOTE=Zup;730789]In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not.

    There are any way to check it out from BASIC (without breaking the program if it does not exist)?[/QUOTE]

    ...
    The_Bert The_Bert October 2013 Sinclair Basic
  • 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…

    ... made some error in the copy routine that I published earlier ... kB

    [CODE] ;proper copy routine
    LD IX,49152 ... /> POP AF
    LD SP,IY
    PUSH AF
    PUSH BC
    PUSH ...
    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…

    ... part.

    [CODE] ;proper copy routine
    LD IX,49152 ... /> POP AF
    LD SP,IY
    PUSH AF
    PUSH BC
    PUSH ... DE
    PUSH HL
    EXX
    PUSH BC
    PUSH ...
    Metalbrain Metalbrain October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... 0x1d34
    f_l_and_s:
    push hl ; stack pointer
    ... fce ; exit calculator
    pop hl ; unstack pointer
    ... of limit
    ldir ; copy bytes
    ld hl, ... ; examine statements
    pop bc ; unstack end of ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... push af ; stack it
    call scanning ; evaluate expression
    pop ... hl, in_var_1 ; stack
    push hl ; return address
    ... br /> call ed_copy ; copy input to display
    ... ; reduce range
    push af ; stack color item< ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... cd_prms1 ; call subroutine
    push bc ; stack arc-count< ... br /> pop bc ; diagonal step to BC'
    push bc ; ... /> ld c, a ; copy A to C'
    call ... /> ld a, c ; copy C to A
    ... d, (hl) ; get a copy in D
    res 0 ...
    chev chev October 2013 Development
  • z88dk and im2I set up a minimal IM2 mode so I can draw sprites for a laff [code] #include <string.h> #include <stdio.h> #include <im2.h> #include <stdlib.h> #in…

    ... /> push bc
    push de
    push hl
    [/COLOR]

    //copy backbuffer ... ="Red"]
    pop hl
    pop de
    pop bc
    pop af
    Alcoholics Anonymous Alcoholics Anonymous October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... , hl ; swap pointers
    ldir ; copy initial channel table
    ex ... hl, init_strm ; source
    ldir ; copy initial streams table
    ld ... prog
    pop bc ; unstack length without parameters
    push bc ; restack ...
    chev chev October 2013 Development
  • z88dk and im2I set up a minimal IM2 mode so I can draw sprites for a laff [code] #include <string.h> #include <stdio.h> #include <im2.h> #include <stdlib.h> #in…

    ... /> //copy backbuffer to screen
    #asm
    push af
    push bc
    push ... />

    pop hl
    pop de
    pop bc
    pop af
    slenkar slenkar October 2013 Development
  • Renegade Hit Squad Re-releaseI've found a problem with TZX included in file [url]ftp://ftp.worldofspectrum.org/pub/sinclair/games/r/Renegade(TheHitSquad).tzx.zip[/url]. The Spee…

    ... , it's just that last block which can be fixed in ... in Spectaculator if you have fast loading switched on so maybe ... /> Anyway, my copy matches in TAPIR - just that last block differs because ... of the above: That last block needs a fix and then ...
    richl richl October 2013 MIA/STP/SDP
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... in old reference
    push hl ; stack current ... ; temporary buffer
    push hl ; stack line number< ... pop bc ; unstack digits in new line number
    ldir ; copy ... 0x3b79
    lines_to_de_2:
    push bc ; stack counter
    ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... push de ; stack destination
    push ...
    pop bc ; ... (hl) ; copy even bits
    chev chev November 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... push bc ; stack both
    push ... ; copy bytes ... pop bc ; unstack address
    pop ...
    chev chev November 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... push bc ; stack count
    call ed_left ; cursor left
    pop ... call nz, ed_copy ; copy line if so
    chev chev November 2013 Development
  • SCREEN$ bug fixI've been using the SCREEN$() function recently for reading data off the screen rather than taking up space with an array and I got fed up with the s…

    ... /> call $0b38 ;PO_GR_1 builds block graphic in MEMBOT
    ld ... ,$15,$90
    defw BLOCK ;recalculated by BlockGen
    ... ScrDol0 address
    push bc
    pop ix ;IX=ScrDol0 runtime ...
    Battle Bunny Battle Bunny November 2013 Sinclair Basic
  • Simple memory transfer routineI'm looking for a simple memory transfer routine that shifts 32 bytes of data from the address HL is set to 55143, I have tried using LDIR, but cant …

    ... you could do it blindingly fast using the stack...
    < ... /> pop af; 14
    pop bc; 16
    pop de; 18
    pop hl ... ; 20
    pop ix ... /> push af
    push bc
    push de
    push hl
    push ix
    push ...
    chev chev November 2013 Development
  • 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…

    ...
    pop de ;DE=display file address
    push de
    ld b,8 ;copy char to ...
    djnz PRINTAB
    pop de ;calculate next position
    Battle Bunny Battle Bunny December 2013 Development
  • Small demo to show my sprite engine for ZX Spectrum 48KThis demo shows 13 sprites moving at 50fps totally flicker free: 12 enemies bouncing in edges and the main character, controllable with OPSA (note S …

    ... thing, isn't using LD:PUSH in a flip screen game ... like this, say[code] ;...
    pop de
    ld a,(hl ... this engine is a very fast routine that prints pre-shifted ...
    antoniovillena antoniovillena December 2013 Development
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... next block
    push hl ; I preserve the index
    push bc
    pop ... ,5
    call dos_read
    pop hl ; I restore my index ...
    Zup Zup December 2013 Development
  • Clearing 22 lines of the screenHow do I go about clearing the top 22 lines of the screen and leave the bottom #0 area untouched? I have a routine to reset the attributes, but cant…

    ... C, from row top HL, fast enough.

    [CODE ... row top
    loop3: push hl ;keep char cell top ...
    loop2: push hl ;keep start of line ... ;repeat 'b' times
    pop hl ;back to start of ... the above happens
    pop hl ;one row done, ...
    R-Tape R-Tape January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... a loop writing to a block of memory); modern compilers expend ... ,_result ; string destination
    push hl
    ld hl,33 ... exx registers changed

    push hl
    rst $10 ; forgive ... rusty with ROM code
    pop hl

    inc ...
    Alcoholics Anonymous Alcoholics Anonymous 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 …

    ... LD H,0
    PUSH HL
    PUSH DE

    ... AF'

    POP DE
    POP HL

    ...
    PrepareMap_Mod1 ;63872
    ;change copy tiles to buffer in loop ...
    PrepareMap_Mod2 ;63892
    ;change copy single tile to buffer code ...
    Ralf Ralf January 2014 Games
  • Outputting debug trace to RS232 (assembly)Hi Guys, I'm working on a game at the moment (written in assembly) but I am really needing to write out a debug trace of what is going on with the p…

    ... A
    RET Z
    PUSH HL
    RST 8
    POP HL
    INC HL
    copy and paste in a default ...
    BloodBaz BloodBaz January 2014 Development
  • Help with File Compressor by Mladen PopovicHi, I'm trying to compress BombJack (MCM) and transfer it to a +3 disk (Yes I own the original game :) ). I'm unsure about the addresses to enter in…

    ... ;BC=number of bytes to copy
    add hl,de
    push hl
    sbc hl,de ;old - new
    pop hl ...
    Speccy_James Speccy_James January 2014 Development
  • Help with File Compressor by Mladen PopovicHi, I'm trying to compress BombJack (MCM) and transfer it to a +3 disk (Yes I own the original game :) ). I'm unsure about the addresses to enter in…

    ... "Saboteur", I transfered the code block from the tape to disk ... hl,40000 ; address of compressed block
    ld de,25200 ; address ...
    m3 dec b
    push hl
    ld l,c ... b,0
    ldir
    pop hl
    jr m0
    Speccy_James Speccy_James January 2014 Development
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... next block
    push hl ; I preserve the index
    push bc
    pop ...
    call dos_read ; read block
    pop hl ; I restore my index ...
    Speccy_James Speccy_James February 2014 Development
<1…20212223242526…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
fast 10.8K 12.3K
block 7.9K 13.4K
copy 17.9K 22.8K
push 4.9K 12.7K
pop 6.4K 13.2K

Related Threads

  • Push/Pop methodMachine code question:<br /> Could somebody explain, how do we use the stack in assembler to copy data from one place of memory to another?<br /> I'v…
  • Push-Push Penguin Online HighScores UpdateHey all! <br /> <br /> If you like Speccy games then you will probably like this one. It is basically a Pengo remake with A LOT of extras. This one i…
  • How do I manually BLOCK pop-ups in Ff?I'm using Ff 3.0.15<br /> <br /> When I go Tools -&gt; Options -&gt; Content -&gt; Block pop-up windows -&gt; Exceptions it only allows me to type in…
  • Push/Pop data copyingWe all know that stack pointer cheese and push/pop is faster to move data than LDIR - which in turn is slower than unrolled LDI's anyway.<br /> <br /…
  • Trouble with rainbow effect push/popI'm having a bit of bother getting my rainbow graphics to behave themselves.<br /> <br /> Basically I want a rainbow effect to last for say 4 seconds…
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions:<br /> [code]<br /> LD HL,16384<br /> <br /> …
  • How to copy file from tape (*.tap) to disks (*.dsk) ?I am using zx32 with win98 and i want (in the emulate +3) copy files from virtual tapes to virtual disks.<br /> <br /> I use =&gt; load "NameOfFile" …
  • The LIBELOUS copy of 'crash' ? that mag that was pulled that libeled the BBC chiefI will pay 15 for a copy any one got it?
  • Where can I get a working copy of Chuckie Egg 2 ?I downloaded Chuckie Egg 2 from this site, but it doesn't work! Every time I load it up using ZX32, it resets the speccy emulator.<br /> <br /> Does …
  • Anyone got a copy of 'Z80 for primates'?This Z80 lark isnt easy, in fact it makes me feel very much like Washoe the chimp trying to learn learn sign language, I just dont think I've got the…

Related Searches

  • push pop
  • push pop to the screeb
  • push pop to the screen
  • copy buffer fast
  • fast loader block
  • fast block
  • fast block copy
  • block copy push pop
  • fast push pop copy
  • fast block copy push pop chase hq
  • fast copy push pop chase hq
  • chase hq push pop
  • fast screen copy
  • fast screen copy chase hq
  • push pop copy chase hq
  • fast copy push pop
  • copy push pop
  • basic fast copy
  • push pop xy
  • screen copy push pop

Copyright © 2024 World of Spectrum