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.007s
<1…18192021222324…34>
  • Real Spectrum screen flicker with SCREEN$I've written a basic loader to simply do a 'load "" screen$' based video from a divide+ however I'm finding the Spectrum can't render a screens and a…

    ... br /> [code] LD HL,#1303
    PUSH HL
    LD (#5C3D), ... /> LD HL,#1BB0
    PUSH HL
    LD HL,(#5C4F)
    ADD HL,DE
    LD DE ... IY+01)

    JP YOUR_PROG
    [/code]
    ... put SP & get HL.[/QUOTE]

    ...
    zxbruno zxbruno March 2010 Development
  • Midi2ayhello, Does anyone know how to use MIDI2AY ? FABIEN

    ... hl,0feffh
    ld (hl),rsi and 0ffh
    inc hl
    ld (hl ... bc
    push hl

    oldrsi ld hl,(pos)
    ... previously saved regsiters
    pop hl
    pop bc
    ... /> salta inc hl
    inc hl
    ld (pos),hl
    jp exit
    kgmcneil kgmcneil March 2010 Emulators
  • Some TR-DOS technical questionsHi forum, I sincerelly hope this was the right section of yours to ask this kind of stuff in. (else return facepalm;) Anyway, here's a couple of que…

    ... . of retries
    ERR PUSH HL ;
    PUSH BC ;
    LD ... ;
    and #7f ;
    pop hl ;
    JR NZ,ERRCHK ;
    TODOS PUSH IX ;
    DOS JP #3D2F ;
    ;
    CMD_RDY CALL ...
    Hikaru Hikaru April 2010 Development
  • FMV on +3eOK, so about 6 months ago i posted here that i got full motion video on +3e, with a bunch of scr files called passion. I added the glider rider music…

    ... ]Player:
    [code]
    ld hl,sample
    ld de,table ... 8bit signed:
    ; ld a,(hl)
    ; add a,#80
    ld e,(hl)
    ld a,(de)
    cpi
    jp pe,loop
    ret
    omega omega April 2010 Development
  • Changing the look of the 48K editor cursor?I've read many books and mags since 1987 but never saw it done, and a wos forum search revealed nothing. If I wanted to customize the cursor and, let…

    ... /> ORG 2Bh
    LD HL, (5C8Fh) ; ATTR_T
    JR ... /> ORG 5Fh
    PUSH HL ; Save original ATTR_T
    ... routine at 18C1h:
    JP 18CAh ; the colour ... /> ORG 18C6h
    LD HL, 0CFh ; While displaying other cursors ...
    John Elliott John Elliott April 2010 Sinclair Miscellaneous
  • Assembly OUT commandHello, im trying to send a signal to the output using this command. LD A,2 OUT (0FEh),A ---> This will set the border colour to RED The problem i…

    ... JR Z,so1 ;jp if not
    LD HL,276 ;values for ... NZ,so2 ;jp if not
    INC HL
    INC HL ;inc ... frequency
    INC HL
    ...
    roko roko June 2010 Development
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... textStr
    call printStr
    jp $

    ;get ... /> jp printStr

    ;print char
    ;input: HL=screen ...
    add hl,hl
    add hl,hl
    add hl,hl
    ld ... bc,15360 ;ROM font
    add hl ...
    Shiru Shiru June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... memory to another, provided in HL and DE, with length of ... it transfers data from (HL) to (DE), increments HL and DE, decrements ... ;copy into (DE)
    inc hl ;increment source address
    inc ... ,b
    or c
    jp nz,loop ;continue if BC ...
    Shiru Shiru June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... /> add hl,hl
    add hl,hl
    add hl,hl
    add hl,hl
    add hl,hl ;y ... /> dec c
    jp nz,mfill
    ld (hl),#01 ;right edge ... /> dec c
    jp nz,fill0
    pop hl
    pop bc ...
    Shiru Shiru June 2010 Sinclair Basic
  • Resolving USR entry point into a data + m/code block?Well, I had another look at that Merlin listing and decided that blowing up the faint page made it possible to read everything (with a struggle). How…

    ... 32ff5b LD (5bff),A ;save HL at top of printer buffer ... 3ec3 LD A,c3 ;put JP 23351 at 28187
    7548 ... 3aff5b LD A,(5bff) ;restore HL
    756a 67 LD H ... (5c7c),A
    757b c31e6e JP 6e1e ;jump to 28190
    Battle Bunny Battle Bunny June 2010 Development
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... /> add hl,hl
    add hl,hl
    add hl,hl
    add hl,hl
    add hl,hl ;y ... /> dec c
    jp nz,mfill
    ld (hl),#80 ;right edge ... /> dec c
    jp nz,fill0
    ld (hl),#80
    pop ...
    Shiru Shiru June 2010 Sinclair Basic
  • KING OF PONG: Pong revisitedHello everybody. I'm proud to announce you that my last personal project for the ZX Spectrum, "KING OF PONG" is available to download here at WOS si…

    ... /> efff: jp z, $f05a
    f002: jp $f063
    f005: jp $f066[/code ... ]
    [code]
    b43d: jp $b440
    b440: call $b8d3 ... a
    bcf5: jp z, $bd83
    bcf8: ld hl, $fd28
    ld ($fc93),hl
    push hl

    ld a ...
    Bandit Bandit June 2010 Development
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... addresses with fixed values ( LD (HL),A ) you might XOR the ... ,(HL), LD (HL),A. This will remove the need
    for some jp ...
    roko roko June 2010 Sinclair Basic
  • Beepola v1.01A new version of Beepoa, v1.01, is now available for download from:- [URL]http://freestuff.grok.co.uk/beepola/Beepola_v1.01.00.zip[/URL] (650KiB) …

    ... /> read_notes_loop:

    LD A,(HL)
    AND A ; (Zero is ... br /> INC HL

    LD C,(HL)
    INC HL

    POP HL

    Jp read_notes_loop

    ...
    kgmcneil kgmcneil June 2010 Announcements
  • "Programming the Spectrum in Assembly" series in Micro MartI see that Shaun Bebbington is starting a series of articles in Micro Mart magazine on how to program in assembly for those who might know a little b…

    ... /> ld r,a
    ld hl,16384
    test128k: ld a ... ,(hl)
    ld a,r
    ... ld a,(hl)
    inc bc
    jp p,test128k
    Metalbrain Metalbrain June 2010 Sinclair Miscellaneous
  • Machine Code Microdrive File LoaderI've been experimenting with transferring games to run from microdrive. Typically I like to see a loading screen while things are happening, and I li…

    ... proof of concept
    ; mailto: jp@drumfu.com
    ;
    ; updated ... push ix
    pop hl
    add hl,de
    ld de ... br /> ;
    rom1tab jp $1b29 ; optempm
    jp $15ac ; lvmch + ... br /> ;
    rom2tab jp $1b05 ; optempm
    jp $199d ; lvmch + ...
    jp jp June 2010 Development
  • Common pitfalls and solutionsLet's discuss some of the common problems in Speccy programming, and the methods we use to avoid them. For an example, here is a piece of code that …

    ...
    [code]LD HL,#1303
    PUSH HL
    LD (#5C3D), ... br /> LD HL,#1BB0
    PUSH HL
    LD HL,(#5C4F)
    ADD HL,DE
    LD DE,# ... 1B5E
    EX DE,HL
    LD BC,4 ... ,(IY+01)

    JP START[/code]

    ...
    zxbruno zxbruno August 2010 Development
  • Challenge: Make a Speccy version of "Leisure Suit Larry 1"and put it on this site as a rom c'mon be nice!

    ... /> LD DL,23783
    PUSH HL
    LD (23613),SP
    LD HL,34104
    PUSH HL
    LD DE,41536 ... A,255
    SCF
    JP 1366[/CODE]

    I ...
    zxbruno zxbruno August 2010 Development
  • Challenge: Make a Speccy version of "Leisure Suit Larry 1"and put it on this site as a rom c'mon be nice!

    ... /> LD DL,23783
    PUSH HL
    LD (23613),SP
    LD HL,34104
    PUSH HL
    LD DE,41536 ... A,255
    SCF
    JP 1366[/CODE]

    [/QUOTE ...
    Fikee Fikee August 2010 Development
  • Z80 Machine Code Question...Hi Folks, I know not strictly a BASIC question but I have started to learn Z80 machine code - 25 years too late! :smile: I have been reading a book…

    ... -head stuff):

    LD HL, 16384
    LD A, 85 ... /> loop2:
    LD (HL), A
    INC HL
    DJNZ loop2
    CPL
    DEC C
    JP NZ ...
    bobs bobs August 2010 Sinclair Basic
  • 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 …

    ... ld (sp1 +1), hl ;16
    add hl, de ;11
    ... ld (sp3 +1), hl ;16
    add hl, de ;11
    ... ld (sp5 +1), hl ;16
    add hl, de ;11
    ... ld (sp7 +1), hl ;16
    add hl, de ;11
    ... br /> dec ly ;8
    jp nz, loop ;10 10+2 ...
    Fikee Fikee August 2010 Development
  • Keyboard demoHere's a preview of a new keyboard for the special fx engine. Press any key to start/restart. [url]http://dl.dropbox.com/u/9498358/fire_keyboard.sn…

    ... />

    [REPLACE]
    JP M,LEB9B ; bit7 set - command ... br />
    [REPLACE]
    JP M,LEBA6 ; bit7 set - command ... HL
    LD (HL), $02
    INC HL
    WHITE: LD (HL), ...
    kgmcneil kgmcneil September 2010 Development
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    ...
    BLPaintWidthLoop:
    LD (HL),a ; paint a character
    BLPaintWidthExitLoop:
    POP HL ; recover our left edge
    PUSH HL ; save it again
    JP BLPaintHeightLoop
    ...
    Gedlion Gedlion September 2010 Sinclair Basic
  • Opinion on new 128K only gamesHello, Being new to the WOS community, I am unclear on the attitude towards 128K only software, that is; Is there a strong need to support the 48K m…

    ... do_teleport

    ld hl,sprlist_infront_ptr
    ld a,[hli ... /> and a,a
    jp nz,.teleport

    and a,a
    jp nz,.computer

    and a,a
    jp nz,game_loop

    ... /> and a,pad_b
    jp z,game_loop

    ...
    ASM ASM October 2010 New game ideas
  • Official CSSCGC 2010 Competition ThreadDear Wossers, As 'loser' of the 2009 competition, I am now obliged to host the 2010 competition. I have created a site which will provide a hub for …

    ... crash. Much cleaner just to 'JP 0' ;)[/QUOTE]

    I ... is known is that (either) HL' (and/or) AF' need protecting ...
    BloodBaz BloodBaz October 2010 Games
  • Spectrum 128K RS232 to PC serial cableIf you have read some of my recent posts then you will know that I am eager to link my Spectrum +3 to a PC. This will be done by wiring a standard PC…

    ... port.


    ; > HL = Destination
    ; > DE = Length ... />
    dec e ; 4
    jp nz,bit ; 10

    exx

    ld (hl),a ; Write BYTE
    inc ... hl

    ld a,e
    or a,d
    jp ...
    ASM ASM October 2010 Hardware
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ... to not use too many jp's.

    ... br />
    main ld hl, 18341
    xor a< ... br />
    ld a, (hl)
    inc a
    ld ... 0x1601

    ld hl,text
    loop ld a ... /> rst 16
    inc hl
    jr loop
    ...
    FrankT FrankT October 2010 Development
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ... was some way to increase (hl) without loading it into [B ... /> The modifications like JR for JP, are those mainly for size ...
    Rickard Rickard October 2010 Development
  • Optimization for this codeHello, I have done and submitted a small program for the CSS Crap Game Compo which involves a machine code routine. The z80 with BASIC and MC is av…

    ... br />
    [CODE]inc (hl)
    jr nz, kontroll1[/CODE ... />
    [CODE]
    LD HL,screen_address
    LD D,H ... br /> LOOP:
    INC (HL)
    JR NZ,LOOP
    INC H
    INC (HL)
    JR NZ,RESTART
    JP if you want it ...
    Patrik Rak Patrik Rak October 2010 Development
<1…18192021222324…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    Maroc's Other Projection on 9:55PM
  • Goodbye Z80
    moggy on 9:07PM
  • 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
jp 4.7K 8.4K
hl 6.2K 48K

Related Threads

  • JP (HL) confusionokay.... JP nn will jump to memory address nn.<br /> JP (HL) ,I assumed would read the contents of memory address HL and jump to the location<br /> …
  • DEC BC/LD A,B/OR C/JP NZ,loopyesterday i saw nice trick:[code]<br /> <br /> dec bc<br /> ld a, b<br /> or c<br /> jp nz, loop<br /> <br /> can be replaced (bc starts &gt;255, sho…
  • happy birthday jpyup<br /> <br /> happy birthday
  • Happy Burfday jp!Happy Burfday!<br /> <br /> Drink Beer (your avatar implies you may already be ;))<br /> <br /> Have a Gudden!
  • Correct flag response to BIT n,(HL) etc.When running the test program suggested by Arjun (thanks again), all intructions are passing the flag tests except the BIT n,(HL), BIT n,(IX+dis) and…
  • Happy Birthday JPHave a pleasing old time.
  • rotating HL left through CarryI've tried this several ways, and it works for a while, then a particular value has a bit set in an inconvenient place and it all goes to pot.<br /> …
  • Happy Birthday jphope it's a good 'un
  • Restore HL' to?It is probably a simple question, but it's been escaping me for quite some time now.<br /> <br /> Is there an 'universal' value you should restore HL…
  • Getting PC into HLHello, here's a conundrum for you...<br /> <br /> Is there a way to obtain the value of the PC register (say into HL) without using absolute addressi…

Related Searches

  • jp peter
  • ld hl de
  • return to basic hl
  • fast jp table
  • call hl
  • jp
  • jp nz
  • jp impossible mission
  • jp impossible mission tweak
  • tweak jp
  • head over heels jp
  • bleepload jp
  • jp speedlock
  • alkatraz jp
  • skate crazy jp
  • king valley jp
  • slt format hl
  • 16 bit hl load
  • maketzx jp
  • jp maketzx

Copyright © 2024 World of Spectrum