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.016s
<1…45678910…34>
  • Rafaelle CeccoHi all, I've been in contact with Raffaele Cecco of Exolon fame re source code. Unfortunately he doesn't have the original source code any more but…

    ...
    ORG 7584H
    LD HL,75A3H ;7584 21A375
    ; ... br /> INC HL ;758E 23
    LD D,(HL) ;758F ... $756B A...LD.(
    defb $24,$33,$2B,$31,$29 ...
    xxl xxl December 2014 Development
  • ZX-Assembler version 0.8 (beta) releasedDear readers, yesterday I've published ZX-Assembler in its first version 0.8. It offers you some interesting features, even if I know there are …

    ... me, a byte sequence 33,0,128 (ld hl,8000h) has 3 bytes ...
    clausjahn clausjahn July 2015 Emulators
  • ZX-Assembler version 0.8 (beta) releasedDear readers, yesterday I've published ZX-Assembler in its first version 0.8. It offers you some interesting features, even if I know there are …

    ...
    ld hl,data
    ldi bc,(hl)
    ld ix,0
    ld a ...
    ld hl,data
    ldi bc,(hl)
    ld ix,0
    ld a ... ] org 24000
    defb 33,211,93 ; ld hl,(data)
    defb 78 ...
    clausjahn clausjahn July 2015 Emulators
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... ; hl=hl*5
    ex de,hl ; de=hl
    ld hl,#_con_font6x6
    add hl,de ; hl ... 114, 106, 178, 112, 0, 33, 130, 8
    .byte 112 ... /> .byte 34, 112, 0, 248, 33, 8, 32, 0
    .byte ... /> .byte 230, 6, 240, 0, 33, 194, 8, 24
    .byte ...
    tstih tstih August 2015 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... on the high nibble [XXXX....]
    Prt64High: ld a, (hl) ; get the screen ... [....XXXX]
    Prt64Low: ld a, (hl)
    and 0xF0
    ld c, a
    ld ...
    Kiwi Kiwi September 2015 Development
  • Games not compatible with the 128+ & grey +2Like the +2A & +3 thread, there are a few games that do not work correctly on the original 128+ and the grey +2. Two games that I know of that wil…

    ... c
    ld (hl),33 ; overwrite c3 with 33, which is ld hl,num and ... ld hl,lback3-ofs
    ld ($fe86+$01),hl
    ret
    ;
    lback3 ld hl ... ,$0040 ; 64 instructions
    ld ($9c79),hl ; lower memory addresses
    ld ($6f19),hl ...
    jp jp October 2015 Games
  • Help! I'm learning Machine Code...Having decided to take the plunge and learn to machine code a while ago, I have started in earnest using the much recommended 'Mastering Machine Code…

    ... /> loop: ld (hl), a
    inc hl
    inc a
    cp #33
    jr nz, loop
    ld ...
    namtip namtip March 2016 Development
  • Add with Carry ExampleHi, I have been really struggling to understand this simple example from Mastering Machine Code and I wonder if anyone can help? I have include…

    Nope.

    After
    [code]
    LD DE,$3385
    LD HL,$7BC7
    [/code]

    D = $33
    E = $85
    H = $7B
    L = $C7

    HTH,
    Derek
    dbolli dbolli June 2016 Development
  • Bored of the Rings coded messageI was browsing [url="https://tcrf.net/"]The Cutting Room Floor[/url] recently and stumbled upon the entry for [url="https://tcrf.net/Bored_of_the_Rin…

    ... channel to stream A
    ld hl,23755 ;start base address at ... to base address
    ld a,(hl)
    pop hl ;**
    cp " "
    defb 50,37,99,132,33
    MESSAGE:defs 34
    Battle Bunny Battle Bunny June 2016 Games
  • Character Based SpritesHi, I'm working through Jonathan's excellent guide to writing games, and have mastered the animation of single UDGs. Before or move onto Pixel…

    ... colours

    ld a,(de)
    ld (hl),a
    inc de ... l

    ld a,(de)
    ld (hl),a
    inc de ...

    ld hl,graphics-144
    ld a,(gnum)
    ld b,a ...

    defb 255, 210, 33, 127, 255, 64, 4, 47 ...
    daveysludge daveysludge July 2016 Development
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... />
    [code]
    33, 0, 64 LD HL,32768
    17, 0 ...
    [code]
    65344 33, 0, 64 LD HL,16384
    65347 17 ... RET

    65356 33, 0, 228 LD HL,58368
    65359 17 ...
    joefish joefish September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... />
    [code]
    33, 0, 64 LD HL,32768
    17, 0 ...
    [code]
    65344 33, 0, 64 LD HL,16384
    65347 17 ... RET

    65356 33, 0, 228 LD HL,58368
    65359 17 ...
    ivanb303 ivanb303 September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... ]LD HL,16384[/b]

    becomes the three bytes [b]33, 0 ... [/b]

    [b]33[/b] means 'LD HL,....' and 0 and 64 ... /> [code]
    LD HL,16384
    LD DE,58368
    LD BC,6912
    1030 POKE DE,PEEK HL:
    LET HL=HL+1: LET DE=DE ...
    joefish joefish September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... instruction. So it reads 33, identifies it as 'LD HL,nnnn', then it ... />
    [code]
    65344 33, 0, 72 LD HL,18432
    65347 17 ... RET

    65356 33, 0, 175 LD HL,44800
    65359 17 ...
    joefish joefish September 2016 Sinclair Basic
  • RANDOMIZE USR, PRINT USR etcHello just wondering why is it called RANDOMIZE UsR what does randomising have to do with it ? When calling machine code routine from adress x you ty…

    ... was this
    LD HL 44800. 33,0,175
    LD DE 18432 17 ... ,0,72
    LD BC ...
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • Graphics program in AssemblyHi so I think I'm getting the hang of this so I've done this program. It writes directly to the screen. I'm using ZX Spin. [code] LD HL,16384 LD B,…

    ... /> [code]
    ld hl, 16384
    ld de, 16385
    ld bc, 6911 ; or ... not need attributes

    ld (hl), 170
    ldir

    LD HL, 16384 is 33,0,64
    LD DE, 16385 is ... is 1,255,23
    LD (HL), 170, is 34, 170 < ...
    ivanb303 ivanb303 October 2016 Assembler
  • Graphics program in AssemblyHi so I think I'm getting the hang of this so I've done this program. It writes directly to the screen. I'm using ZX Spin. [code] LD HL,16384 LD B,…

    ... again
    LD HL 16384 is 33,0,64
    LD BC 6144 is ... 1,0,24
    LD ... 87,n
    Loop
    LD (HL), D is 114
    INC ... D is 20
    INC HL is 35
    DEC BC ... is 11
    LD A,B is 120
    ivanb303 ivanb303 November 2016 Assembler
  • how to load machine codeI'm reading Jon Caldwell's how to write Spectrum games but can't enter the code! Here's an example:_ LD BC, (score) Call 6683 I tried putting…

    ... eg LD HL, 16384 corresponds to the sequence

    33,0,64 ...

    LD DE, 51200 would ... /> 17,0,200

    LD BC , 6912 is
    1 ...
    ivanb303 ivanb303 December 2016 Sinclair Miscellaneous
  • Look whats possible in 924 bytesSo, finally after over a year of development and nearly 25 years since I first designed the graphics, I've actually made it to the point where this i…

    ... db %00000111;line 48 ;line 33 (07)
    db %00001000;line ... a ;x2
    ld (hl),b ;Restore (HL)
    ld b,a ;Overlay ...
    Arkannoyed Arkannoyed March 2017 Development
  • Look whats possible in 924 bytesSo, finally after over a year of development and nearly 25 years since I first designed the graphics, I've actually made it to the point where this i…

    ... db %00000111;line 48 ;line 33 (07)
    db %00001000;line ... a ;x2
    ld (hl),b ;Restore (HL)
    ld b,a ;Overlay ...
    Arkannoyed Arkannoyed March 2017 Development
  • Where's my green square? Basic & m/c question.I'm going mad here - can anyone tell me why my little basic program isn't displaying a green square at the top of the screen? I've checked the num…

    LD HL, nn is 33, not 21
    LD (HL), n is 54, not 36

    All you have done is use the hex values instead of the decimal values, :)

    50 DATA 33, 15, 88, 54, 32, 201
    polomint polomint June 2017 Development
  • 1k Chess (was the 924 bytes thing!)Hi, I've decided to do a major rewrite of large parts of the code for the isometric Chess thing that I've been messing with. It got to the point, …

    ... db %00010111;line 33
    db %00000111 ... /> ld a,(hl) ;
    or e ;
    ld (hl),a ...
    Arkannoyed Arkannoyed October 2017 Development
  • 1k Chess (was the 924 bytes thing!)Hi, I've decided to do a major rewrite of large parts of the code for the isometric Chess thing that I've been messing with. It got to the point, …

    ...
    ld hl,data_17
    ld de,0ffc0h
    ib_loop1:
    ld a,(hl)
    db %00010111;line 33
    db %00000111;line 34 ...
    Arkannoyed Arkannoyed November 2017 Development
  • How can I make a UDG rotate?I designed a set of UDG's that can be used for making shapes or letters. Trouble is that my circle - for example - consists of 4 pieces and it would…

    ... .opcode)
    DEFB $CB,$33 ; SLS E (undoc.opcode)
    LD (HL),A
    INC HL
    INC DE
    LD A,(DE)
    LD (HL ...
    colonel32 colonel32 November 2017 Sinclair Basic
  • BREAK key on 128k SpectrumWhat happens when BREAK is pressed on a 128k Spectrum? Why is it different from what happens on a 48k Spectrum. Is there a way to disable it or to …

    ... /> DATA 243,59,59,251,33,158,27,229,42,69 ... /> ei
    ld hl,$1b9e ;LINE-NEW
    push hl
    LD HL,(23621) ;PPC ...
    Battle Bunny Battle Bunny February 2018 Sinclair Basic
  • Ensure program runs in USR 0 mode?Is there some BASIC that can be used in a program to make sure the the program runs (even on 128k models) in 48k or USR 0 mode? I obviously then wan…

    ... 54,62,43,249,33,3,19,229, ... Switch to 48 basic
    ld hl, (RAMTOP) ; Recontruction of ... without GOSUB)
    ld sp, hl
    ld hl, $1303 ; Standard ...
    colonel32 colonel32 February 2018 Sinclair Basic
  • Loading Images/Screens mid-gameHi all, Looking to get back into a bit of coding and I couldn't figure out a way to do the following: I have an image/SCREEN that I'd like to b…

    ... />
    LD HL,SOURCE
    LD DE,DESTINATION
    LD BC,LENGTH
    [b]LD HL , 30000[/b] ; source ... to read from
    [b]LD DE , 16384[/b] ; ... its going to
    [b]LD BC , 6912[/b] ; ... : NEXT N
    30 DATA 33 , 48 , 117 , 17 , 0 ...
    spider spider April 2018 Sinclair Basic
<1…45678910…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8

HitBox

Word Docs Hits
33 2.7K 3.9K
ld 6.3K 67.3K
hl 6.2K 48K
xxxx 247 367

Related Threads

  • 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…
  • FOR SALE: Crash Magazines 33 issuesHi folks, here is my eBay blurb:<br /> <br /> CRASH MAGAZINES 33 Issues<br /> Issues 2 - 29, 31 - 34, 48<br /> <br /> This magnificent magazine from …
  • When would you use LD A,R ?Can anyone tell me a practical use of LD A,R and LD R,A I am confused when you would need to use it?<br /> <br /> Cheers
  • 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…
  • Contention: LDI vs LD (ss), rAccording c.s.s. FAQ:<br /> <br /> instruction LD (ss),r breakdowns as pc:4,[b]ss:3[/b]<br /> and LDI as pc:4,pc+1:4,hl:3,[b]de:3,de:1 x 2[/b]<br /> …
  • 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 /> …
  • 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…
  • Z80: ABS(HL) functionI must be very tired but I cannot get my head around whether this function provides a correct implementation of a ABS function for a signed 16-bit va…

Related Searches

  • ld ix
  • ld bytes
  • ld hl de
  • return to basic hl
  • ld bc eostr string
  • ld am
  • ld a r
  • ld r a
  • call hl
  • ld a b xor c loop
  • ld a b or c loop
  • ld i a
  • ld a 3fh
  • ld a 0 call 5633
  • ld fe 00
  • slt format hl
  • ld bc hl
  • ld hl 5678
  • screen buffer pop bc ld sp hl
  • ld 23641 hl

Copyright © 2024 World of Spectrum