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.009s
<1234567…34>
  • Zynaps scrolling - anyone ever reverse enginnered this?Zynaps has IMO some impressive scrolling - it utilises 18 character rows of the display file, so quite a large active play area, and scrolls 2 pixels…

    ... certain limit, it runs a delay routine according to this counter to ... that using this sort of delay mechanism makes timings 'somewhat' more ... , and it also uses some delay routines to balance the timings ...
    Hikaru Hikaru July 2020 Games
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling. As promised here is the code for the routine. It's pretty long and fairl…

    ... .

    Basically the routine works by redrawing the tiles ... /> LD A,0
    MLOOP HALT
    LD (SCRPOS),A ;SCROLL ... br />
    LD A,76 ;delay to wait until raster is ... />



    * This routine shifts tiles into 4 positions ...
    dmsmith dmsmith September 2004 Development
  • Sprites flickeringI am trying to write a Spectrum game in machine code. I am still a beginner in programming, however I did much progress recently, i believe. Now I am…

    ... trying to make sprite movement routine. Actually I did it, however ... with screen refeshing, interrupts and HALT command, but I still dont ... much about it .
    My routine is as follows
    1 ... sprite into background
    3. Delay loop
    4. Draw stored ...
    Ralf Ralf October 2004 Development
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... just copied the screen rendering routine from the one all you ... look to my fade out routine and tell me how it ... /> NextPass:
    halt
    halt
    halt
    halt ;just a delay (1/50)*4 ...
    HexDump HexDump April 2007 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... .

    It is a routine that moves an 8x8 character ...

    [B]loadloop[/B] ;routine to write graphic into screen ... /> halt ;halt when all row is completed

    [B]restoreh[/B] ;routine ...
    Rickard Rickard May 2007 Development
  • IM2 calls to player routine on 128k?Hi all, Apologies for being crap, and not even in a funky, skillo kind of way but it's been over 20 years since I last wrote anything in machine cod…

    ... found that calling the play routine before halt keeps munging my registers ...
    SnakeOilSteve SnakeOilSteve March 2011 Development
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ...
    ret

    ; ----------------------------------------------
    ; ROUTINE: print_message
    ;
    ; prints a ... getting confused, :)

    ; -----------------------------------------------
    delay: ld bc,32768
    ld ...
    polomint polomint September 2011 Development
  • What's wrong with this code ?OK, working my way through Jonathan Cauldwells 'How To' tome and I can't get the following to run in either spin or basin. ( iused the assembler in b…

    ... br />
    call 3503 ; ROM routine - clears screen, opens chan 2 ... splayr ; show player.

    halt ; delay.

    ; Jump back to ... s gunbase position,
    ; this routine is called prior to display ...
    Saboteur Saboteur May 2012 Development
  • BIFROST* Advanced Programming - part 2This second demo shows animated and moving tiles together, and also how to implement collision detection. This knowledge should be enough to implemen…

    ... "erase" (routine BIFROST_fillTileAttrH) or "draw" (routine BIFROST_drawTileH) there ... br /> }


    // delay
    for (f = 0; f ... /> // frame sync
    asm("halt");
    }

    ...
    Einar Saukas Einar Saukas July 2012 Development
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... /> [code]
    ;Redefine Keys routine
    ;By Ast A. Moore ... /> call 8859 ;inside ROM routine BORDER ($2294)
    call ...
    ;A crude debounce routine to prevent
    ;registering keys ... a short pause
    3$ halt ;before
    djnz 3$ ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • why am i getting b integer out of range in this code?ive tried running this in spin but thats what i get [code]main org 40000; ; We want a black screen. ld a,71 ; white ink (7) on black paper (0…

    ... game.
    call 3503 ; ROM routine - clears screen, opens chan 2 ... /> call splayr ; show player.
    halt ; delay.
    ; Jump back to beginning ... 's gunbase position,
    ; this routine is called prior to display ...
    digital digital June 2020 Assembler
  • this code wont give me a random starfieldim using a peice of code that ive copied from a book, ignore most of it as it is redundant. for some reason i get a strange random starfield instead …

    ... game.
    call 3503 ; ROM routine - clears screen, opens chan 2 ... /> call splayr ; show player.
    halt ; delay.
    ; Jump back to beginning ... 's gunbase position,
    ; this routine is called prior to display ...
    digital digital July 2020 Assembler
  • WANTED: tape replacement for +2?Any tape replacement possible for a +2? My +2 works wonderfully but the incorporated datacorder is simply worn out and won't load ANYTHING. Dirty sig…

    ...
    ORG 50000
    HALT ;synchronize with interrupts
    LD ... OUT (254),A
    HALT ;wait 20ms
    LD ... The explanation for this delay is that there are ... and the ROM beep routine contains a OR 8 ...
    Dr BEEP Dr BEEP November 2001 Sales
  • Sprites flickeringI am trying to write a Spectrum game in machine code. I am still a beginner in programming, however I did much progress recently, i believe. Now I am…

    ... that point, by using a delay timed for the correct number ... cleared that space, by using HALT, and then waiting for (128 ... then make sure your sprite routine has finished drawing the sprites ...
    dmsmith dmsmith October 2004 Development
  • New game! Nanako in CJMC for ZX81!Yup, that's true. We've been busy in crafting a nice, small, simple library to code games in text mode (this is, standard, unexpanded) for the 16K ZX…

    ... am also working on a routine to replace RST 16 to ... delayhi
    ld a,r ;delay
    ld b,192 ;192 ...

    dfile: db 118 ; halt
    di
    jp hires ...
    Dr BEEP Dr BEEP May 2011 Brand new software
  • What paging scheme is the "standard" for 128K models?Sinclair implemented an arrangement so that even numbered pages are non-contended, and odd numbered pages are contended (quoting from memory, haven't…

    ... both machines, the keyboard interrupt routine is almost the same.
    [code] org 32768
    loop: halt
    xor a
    out ... /> ld bc,0
    delay: djnz delay
    ld a,7
    mcleod_ideafix mcleod_ideafix November 2011 Hardware
  • Which Speccy game had best border effectsIn truth, I'm just trying to remember a game from my youth, and the amazing border effect during pause is the only thing I can clearly recall about i…

    ... if you can use a HALT to wait for it.
    HALT, that works like a lot ... 1-3 T-State delay before your routine begins. You can factor ...
    joefish joefish December 2011 Games
  • Which Speccy game had best border effectsIn truth, I'm just trying to remember a game from my youth, and the amazing border effect during pause is the only thing I can clearly recall about i…

    ... if you can use a HALT to wait for it.
    HALT, that works like a lot ... 1-3 T-State delay before your routine begins. You can factor ...
    weesam weesam December 2011 Games
  • A new multicolor engine called BIFROST*I'm glad to announce the release of a new multicolor engine implemented by yours truly, including high quality 16x16 tiles designed by R-Tape: [IMG]…

    ... Re-implement the tile rendering routine in a way that Assembly ... avoid the 135 ms delay on average, and also ... programmer would then call HALT, erase the last sprite ... the idea of calling HALT first, and I had ... when I release the routine to render tiles directly.< ...
    Einar Saukas Einar Saukas March 2012 Brand new software
  • Spectrum30 Show in Cambridge, 08th-09th September 2012Hello Spectrum-fans, after many months of preparation we now proudly present what will be the biggest Spectrum venue of the last 20 years. We manage…

    ... add in to the initial delay without disrupting the display. That ... need to alter the intial delay by as much as 36T ... as the interrupt routine and timing everything with EI/HALT, so I ... , looped drawing routine to have to stop, do a HALT, then resume ...
    joefish joefish May 2012 Sinclair Miscellaneous
  • Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …

    ... ]org 32768
    main halt
    call delay
    ld a,6 ... sprites
    jr main
    delay in a,(255)
    cp ... 255
    jr z,delay
    ret
    screen di ...
    nextlinedn ;modified from AOWENS Routine above
    ld a,d ...
    R-Tape R-Tape May 2012 Development
  • 64x48 full colour graphicsHow feasible is this? Could an interrupt-driven routine be used to, for example, fill the top two thirds with a 64x32 blocky picture and leave the bo…

    ... interrupt routine cut in. This introduces a random delay of ... up to 20T to the start of the interrupt routine ... HALT before the interrupt occurs, you can still get a delay ... of up to 3T as the HALT ... br /> But with a routine like this, you should be ...
    joefish joefish July 2012 Development
  • Accidental rainbow effects.. How do I adapt?I've somehow bizzarrely created a rainbow text effect on my title screen by accident. The title was just supposed to flash different colours whilst …

    ... during your IN keyread routine. This is because when ... keyread to your IN routine). But you need to ... start of the routine, so a HALT is needed first.< ... br />
    The routine below will ... ld b,7 ;a specific delay loop so
    lp ...
    R-Tape R-Tape February 2013 Development
<1234567…34>

Latest Posts

  • Frankie's ZX Spectrum Digouts
    Zup on 1:58PM
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on 1:02PM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 12:42AM
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6
  • Tradtional games that were not programmed on the ZX Spectrum
    harriusherbartio on April 6

HitBox

Word Docs Hits
delay 1.7K 2.7K
routine 9.5K 14.8K
halt 1.1K 1.6K

Related Threads

  • Delay routine requiredI'm putting together a short routine to play some Beep style music. I need to be able to pause between notes when required. These pauses are defined …
  • Delay routineAs some people are aware, I have recently starting writing a [url=http://fuse-emulator.svn.sourceforge.net/viewvc/fuse-emulator/trunk/fusetest/]autom…
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • How do I avoid BASIC becoming corrupted on returning from a M/C routine?I'm having trouble with my BASIC program becoming corrupted on returning from a m/c routine which sets all the registers (including the shadow regist…
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling.<br /> <br /> As promised here is the code for the routine.<br /> <br /> It…
  • OT:[sorry - windows xp delay write event 51 - help ! ]sorry about this guys, But can any one help with this error - event 51<br /> {An error was detected on device \Device\Harddisk0\D during a paging op…
  • Key Redefine RoutineAnyone written a nice key redefine code snippet?
  • Competition: Sadistick routine on Spectrum ROMMy vote goes to BEEPER at #03B5<br /> Let's ear you pick! :)<br /> <br /> And a great BOHHHHHHHHHHHHH to Dr Ian Logan &amp; Dr Frank O'Hara for their…

Related Searches

  • fastest screen routine
  • screen routine
  • im1 interrupt routine
  • im1 rom interrupt routine
  • im1 rom interrupt routine iy
  • interrupt routine
  • best place for interrupt routine
  • turbo load routine
  • simply turbo load routine
  • keyboard delay
  • keystrokes delay
  • joe gunn sprite routine
  • scroll rom routine
  • simple sprite routine
  • loading routine
  • 128k sprite routine
  • halt opcode
  • delay routine
  • delay routine loop
  • pause routine halt

Copyright © 2024 World of Spectrum