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.225s
<1…16171819202122…34>
  • Russian Translations...As i have once again been reminded (by the "Homebrew games" thread), there are some funky looking Russian games that I can't play due to not understa…

    ... that address to move my code if the area proves ... br /> [code]
    ; A routine to draw bitmaps of 6-pixel ...
    ; Save the "Outer loop" Counter
    PUSH BC

    ; Restore Outer Counter
    POP BC
    DJNZ print_6x6_outer
    Digital Prawn Digital Prawn June 2009 Games
  • Interface One - New FunctionalityAs you may (or may not) be aware the Interface One is a pretty powerful piece of kit. One of it's greatest features is being able to easily extended …

    ... to stack the result and ensure the value can be returned to ... PUSH BC
    RST calbas
    DEFW 7833 ;Int. to BC
    POP ... jumpo DEFW = jump to the DEFW in 48K Spectrum ... do remember however that the 'RAMTOP' function only ...
    roko roko July 2009 Development
  • +3 Centronics port: How does it work?I've been trying to follow the code with Fuse's debugger and I can't see it writing anywhere except to port 0x1ffd. It also jumps through some fairly…

    ... /> 2207 f5 push af ;save the value we want to output

    ;Output byte to the printer latch.
    2223 f1 pop af
    2224 ...
    spodula spodula July 2009 Hardware
  • DivIDE QuestionHi all, I've been trying to work out how the DivIDE works and after reading and re-reading the DivIDE programming model document by Zilog I think it…

    ... , if I wanted to display text on the screen as part of ... can I use the Spectrum ROM functions to do the display (RST 16 ... NMI code.
    3) push registers to stack + your NMI code
    to 48rom you must pop all registers + jump to "map-off ...
    velesoft velesoft August 2009 Development
  • DivIDE QuestionHi all, I've been trying to work out how the DivIDE works and after reading and re-reading the DivIDE programming model document by Zilog I think it…

    ... allows you to call the ZX ROM, but will return to the DivIDE ROM ... does this to call out to the ZX ROM:

    * Push a code ... onto the stack ... must now pop off the next entry and examine it, to see whether ...
    Winston Winston August 2009 Development
  • +3 dead(!)Hi, When I turn on my +3 I see only white and black strips (vertical) on screen any idea on how to fix it? Thank you in advance Chris [IMG]http:…

    ... RAM for the stack with the first CALL or PUSH/POP, and a ... infinite loop. (Incidentally, the stripes on screen aren't ... (that doesn't use the stack) to find this out though. ... is being reached before the program counter loops back. ... trace/solder joint to memory).
    Winston Winston September 2009 Hardware
  • Snow on screen of 48K Speccyok you wizards I fixed up my 4116 ram issue as Winston and McLeod advised me before by replacing with 4164's.... all I could find here in Singapore (…

    ... - greets DG and McLoed - the +3e image is coming good ... to add to it - been converting all the best games from TRD - love the ... stuff with drawing screens using push/pop but when they leave interrupts ... gets messy to fix - I read in the software section the other ...
    nuggetreggae nuggetreggae October 2009 Hardware
  • Tinkering with Quique Llar?a's Midi2Ay tool...Im tinkering with Quique Llar?a's Midi2Ay tool, found at: [url]ftp://ftp.worldofspectrum.org/pub/sinclair/tools/pc/midi2ay-0.1.zip[/url] Im not a v…

    ... probably wants to move the stack out of the way of the AY data ... to the im2 interrupt routine
    ; save registers used here

    push ... regsiters

    pop hl
    pop bc
    pop af

    Alcoholics Anonymous Alcoholics Anonymous October 2009 Development
  • SP and IM2 woesI have a function that writes the backbuffer to the screen using the method by which SP is stored, I "POP" a load of registers and then chnge SP to t…

    ... just can't avoid the corruption if the interrupts are enabled, ... because even if you don't push & pop ... any register, the stack will always be used to store the ... a break in the middle of the big copy routine and ...
    Metalbrain Metalbrain November 2009 Development
  • Z80 'EXX' ConfusionI was working on a little Z80 routine last evening, and, having run out of registers, resorted to sticking one of the values into a memory location a…

    ... means you can use EXX to use the alternate BC', DE' ... data over from one set to the other. Or you can ... use AF' to save the flag state and restore ... (if you can't just PUSH/POP). Or you can swap AF ... , there are no alternates to the IX and IY registers.
    joefish joefish December 2009 Development
  • Memory concerns with z88dkI've retaken my old spectrum project and sadly I've reached a dead end very fast. I'll try to explain my worst problem in a few lines. I'm not a vet…

    ... I'm used to memory management to be transparent to the programmer and I ...

    push af
    push bc
    push de
    push hl

    XREF music_routine
    call music_routine

    pop ...
    Alcoholics Anonymous Alcoholics Anonymous December 2009 Development
  • Memory concerns with z88dkI've retaken my old spectrum project and sadly I've reached a dead end very fast. I'll try to explain my worst problem in a few lines. I'm not a vet…

    ... /> push af
    push bc
    push de
    push hl

    ; code to ...

    pop hl
    pop de
    pop bc
    pop af

    The z80 will respond to the interrupt with the sp1 bank present ...
    Alcoholics Anonymous Alcoholics Anonymous December 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... br /> ;Prints numbers 1-20 to the screen

    xor ... with a
    push af ;push a out of way ... rst 10h ;print Return
    pop af ;get back a
    pop hl
    ld a,(hl)
    inc hl
    push ... A'ing it to check the status of the zero flag, ...
    xyzzy xyzzy January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... ]
    ;Prints numbers 1-20 to the screen

    xor a ... bc with a
    push af ;push a out of way for ... /> rst 10h ;print Return
    pop af ;get back a
    pop hl
    ld a,(hl)
    inc hl
    push hl ...
    Chris Pile Chris Pile January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... ]
    ;Prints numbers 1-20 to the screen

    xor a ... bc with a
    push af ;push a out of way for ... /> rst 10h ;print Return
    pop af ;get back a
    to the mindset of bitty, flippy minimalist ...
    xyzzy xyzzy January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... significant portion of the information that's meaningful to the programmer is ... in computer programming between to 80s and the noughties.. I mean [ ... or whatever...

    So, the go-faster code now looks ... pop hl
    ld a,(hl)
    inc hl
    push ...
    xyzzy xyzzy January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... ]
    ;Prints numbers 1-20 to the screen

    xor a ... bc with a
    push af ;push a out of way for ... /> rst 10h ;print Return
    pop af ;get back a
    Dr BEEP Dr BEEP January 2010 Development
  • Double Dragon 128k - The graphicsAs you are all probably aware, I tried gathering a team of people together a few years back to make a totally re-programmed version of Double Dragon …

    ... you send me at the end of the day colour or otherwise ... ... As for "do you use PUSH BC/POP BC corectly?"... er... probably ... code from 2005 to spit out a map on to the screen though ... that I could use to bring the maps to life on a spectrum ...
    kgmcneil kgmcneil February 2010 Development
  • Help fix this keyboard read program?This code runs in an interrupt routine with DI. What would be the simplest way of making it so it doesn't auto repeat a keypress? [code]keys: ld a…

    ... /> push hl
    call keys ;
    pop hl ; Retrieve the register values
    pop ...
    ret ; enabled and return to the
    ; interrupted routine.
    [/code ...
    FrankT FrankT February 2010 Development
  • Character scrollingOk, first I'd like to say that I'm not looking for a complete routine (but that might help) because I am hoping to write it myself and learn a bit mo…

    ... modifying code, doesn't use PUSH/POP copy, uses LDIR, uses pre ... screen address HL to move eight pixels down on the display.

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;Fills the two tables with pointers.
    0sAND1s 0sAND1s February 2010 Development
  • 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…

    Congratulations, you saved a micro-jiffy!

    I'll put that in tomorrow when I'm more sober ;)

    If you can optimise the inner loop to remove the push / pop of hl that would be better ;)
    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…

    ... you can optimise the inner loop to remove the push / pop of hl that would ... />
    You seem to be more than able to do that yourself ... top notch! All you need to do now is twist it ...
    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…

    ... can optimise the inner loop to remove the push / pop of hl ... xor #e0 ; #a000 maps to #4000 now
    ld ... is ideal for using the stack pointer. Second attempt ... and destination address
    pop hl
    ld e, ... states off from the loop for the cost of setting ...
    The President The President February 2010 Games
  • shifting spriteshi. have anyone experience with shifting sprites by table ? some neat tricks ? i don't want to see complete code (really don't want, it trashes thr…

    ... to or the data together, but that was before I heard about the push/pop ... "copy 2 bytes at once" trick with modifying the stack ... pointer, so that was probably not the best ...
    Paradigm Shifter Paradigm Shifter February 2010 Development
  • Z80 compressorIs there one available? Is it any good? Peeps have been suggesting we should look into this, so here's a new thread! I'd do the compressor on the …

    ... symbol
    push hl
    exx
    pop hl ; hl ... br /> .writeloop
    pop af
    ld a,c ... h
    .foundchild
    push af ; save: nz = right ...
    jp encode ; on to the next encoded bit
    [/code ...
    Alcoholics Anonymous Alcoholics Anonymous February 2010 Development
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ... is a similar trick to the one used previously, but ... a different purpose - get the current PC, without relying ... work, it'll leave the address of "hlhere" in ... often doing a PUSH HL / POP IX combo, to give me a ... USR statement, BC contains the address called, and this ...
    Marko Marko March 2010 Development
  • New member here. And a spider! :)Hello everyone. My name is Sekrets. I'm quite a lonely individual, searching for a digital home where I might find fellow speccy enthusiasts to adopt…

    ...

    push hl
    pop de

    to load the value of ... all about moving the bits around to the format indicated in the WOS link ... :-) In fact, moving one char to the right can be done with ... adding one to the screen address (eg INC HL ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Midi2ayhello, Does anyone know how to use MIDI2AY ? FABIEN

    ... to the im2 interrupt routine
    ; save registers used here

    push ... saved regsiters
    pop hl
    pop bc
    pop af
    jp ... 56 ; we'll allow basic to ...
    kgmcneil kgmcneil March 2010 Emulators
  • Midi Out from machine codeI need to send midi-signals by machine code, while Basic is too slow for my current project. I already read I can use hookcode #11E, but I have some …

    ... need to disable interrupts, as the 128K ROM0 makes a call to the interrupt ... New"]ORG 40000
    PUSH AF
    PUSH BC
    LD A ... ; back to 48K rom (rom 1)
    POP BC
    POP AF
    RET[/FONT]

    This routine should store the ...
    bverstee bverstee April 2010 Hardware
  • Static vs stacked local variables in z88dkHello everyone. I'm doing a program for Spectrum 48KB with z88dk v1.8 (XX Mar 2008), and I eventually discovered that if your local variables in fun…

    ... accessed via push/pops.

    pop hl
    push hl ; ... />
    pop bc
    pop hl
    push hl
    push bc ; hl ... cleaning up the stack) the compiler / coder may not have to push values ... is something best left to the programmer's discretion.
    Alcoholics Anonymous Alcoholics Anonymous April 2010 Development
<1…16171819202122…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
push 4.9K 12.7K
pop 6.4K 13.2K
to 549.6K 1.6M
the 704.9K 3.1M
screeb 1 1

Related Threads

  • How to load the "Cromwell at War" and "The Wars of the Roses" TZX filesHello<br /> <br /> The new TZX versions of the "Cromwell at War" and "The Wars of the Roses" available from the archives (and I take this opportunity…
  • Which would be the best game to play while listening to The Cure?I'm just interested in what you all think because I can't think of any :(<br /> <br /> I bought the Deluxe Edition of Faith last week and Pornography…
  • Which would be the best game to play while listening to The Smiths?This Charming Man - Jet Set Willy<br /> <br /> Big Mouth Strikes Again - any fast moving game. A classic track.<br /> <br /> Erm, that's all I can th…
  • Which would be the best game to play while listening to the AY Ridersno seriously
  • Which would be the best game to play while listening to the Dr. Who themesorry, I couldn't resist it :)
  • Why did the Commodore 64 lose to the Spectrum in the UK?The Commodore 64 was released in the UK in 1983. As we all know, it was a great machine from a US company with a much larger financial backing than t…
  • The 1980's The Good the Bad and the Ugly.Was listening to random 80's music on youtube today and could not help notice the video to Lionel Richie's Hello. Were a lecturer falls in love with …
  • 2nd Spectrum Compo: "From the Arcade and the 16bits (ST, Amiga, PC) to the Spectrum"The second edition of the Compo has already started, with more prizes, more posible games to convert (now its also allowed to convert Spanish games w…
  • Did you know: Clicking the number to the right will allow you to view postsIt's a temporary measure while the forum is being fixed. I promise I won't spam the forum anymore. Just wanted to draw your attention to this. :)
  • Wanted: A Quickshot IV With the Interchangeable Grips to be Imported to the U.S.Greetings everyone. I'm Back and this time I will try my hand at making some Deals. I am in the US and I couldn't get the Sticks that the people in t…

Related Searches

  • the adventure game i m trying to complete
  • how to access the ftp
  • everybody s gone to the rapture
  • it s usually better to simply execute the else part in all cases
  • horace to the rescue
  • journey to the centre of earth
  • message to all the devs
  • a message to all the devs in this section
  • push pop
  • push pop to the screen
  • the ultimate guide to games for zx spectrum
  • i can only log into the forum why not login to main site
  • why does my login only allow mi can log into the forum i not to main site
  • why does my login only allow me to go the forum and not main site
  • when i login can not to the main sit why
  • why when i login can not to the main site as well
  • block copy push pop
  • fast push pop copy
  • fast block copy push pop
  • fast block copy push pop chase hq

Copyright © 2024 World of Spectrum