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.104s
<1…891011121314…34>
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it. At the moment I'm grabbing the start address for each letter then printing them out one at a t…

    ... or c ;add collumn in line
    ld e, a ;or ... h, 0
    ld l, a
    add hl, ... hl, (text_pos)
    ld e, l
    ld d, h ...
    inc l ;move to next position ... />
    ld a, d ;computing attr adress ...
    Fikee Fikee 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…

    ... 8 cycles:

    ld e,l
    ld d,h
    ld hl, col
    ld c,(hl)

    which takes ... versions having to do with C interface issues). The code is ... or l
    32 ld l,a
    33
    34 ld a,h ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... e ;printable character is actually ASCII 32, a SPACE
    ld l,a ... only really
    ld c,a ;necessary for when printing ... in DE
    add c ;
    ld e,a ;
    ret ;
    .......
    ld a,c
    ld (de),a

    ; ...
    Turkwel Turkwel April 2010 Development
  • A neat little BASIC trick(from a type-in by Robert Burgess) This one line of code completely bamboozled me for a while, as it seemed impossible for it to produce the result s…

    ... would type "H a l f P r i c e !" and leave it ...
    Geoff Geoff May 2010 Sinclair Basic
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... /> ; ld h,0
    ; ld l,a
    ; add hl,hl
    a merge]
    inc l
    ld a,l
    and ... a,c
    srl a
    srl a
    srl a
    add e
    ld e,a ...
    Turkwel Turkwel 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…

    ... coords
    ;input: B=Y,C=X
    ;output: HL= ... and #e0
    ld l,a
    ld a,b
    and #18 ... /> ;input: HL=screen address, A=char

    printChr< ... ld h,0
    ld l,a
    add hl,hl
    ld a,(de)
    ld (hl),a
    inc e
    ...
    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. …

    ... attributes area
    ld e,l ;x
    ld l,h
    ld ... /> add a,a
    add a,a
    add a,a
    dec a
    dec a
    ld (hl),a
    inc l
    dec c
    jp nz ... /> ld a,l
    sub #e0
    ld l,a
    sbc a,a
    and ...
    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. …

    ... attributes area
    ld e,l ;x
    ld l,h
    ld ...
    add a,a
    add a,a
    add a,a
    dec a
    ld ...
    ld (hl),a
    inc l
    dec c
    jp nz ... /> ld a,l
    sub #e0
    ld l,a
    sbc a,a
    and ...
    Shiru Shiru June 2010 Sinclair Basic
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... /> ld h,0
    ld l,a
    add hl,hl
    a merge]
    inc l
    ld a,l
    and ... a,c
    srl a
    srl a
    srl a
    add a,e
    ld e,a ...
    Turkwel Turkwel June 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... ld d,0
    ld e,a
    ;transfer Attribute Byte to ... ,hl
    srl c
    srl c
    srl c
    ld b ... a,l
    add a,32
    ld l,a
    ld a,d
    adc a ... to
    inc l
    ld (hl),e
    dec l
    ;increment ...
    Turkwel Turkwel June 2010 Development
  • Sprite RotatingI was looking (actually at Everyone's a Wally), and noticed that all the graphics for the main characters are left facing, and two characters wide. …

    ... d,#86
    ld e,a
    ld a,(de)
    and #01 ... )
    ld (hl),a
    inc l
    ld a,(de)
    and ...
    and (hl)
    ld c,a
    res 3,d
    or c
    ld (hl),a
    set 3,d ...
    Turkwel Turkwel June 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…

    ...
    add a, a
    add a, l
    ld l, a
    ld e, (hl)
    ld l, a
    call next_pixel

    dec c
    jr ...
    ld l, a
    call next_pixel

    dec c
    jr ...
    FrankT FrankT 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…

    ... ADD A, A
    ADD A, L
    LD L, A
    LD E, (HL ... HL, $5060
    LD C, $18 ; PIXEL LINES (BLACK ... /> LD L, A
    CALL NEXTPIXEL

    DEC C
    LD L, A
    CALL NEXTPIXEL

    DEC C
    FrankT FrankT 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…

    ... ADD A, A
    ADD A, L
    LD L, A
    LD E, (HL ... HL, $5060
    LD C, $18 ; PIXEL LINES (BLACK ... /> LD L, A
    CALL NEXTPIXEL

    DEC C
    LD L, A
    CALL NEXTPIXEL

    DEC C
    kgmcneil kgmcneil September 2010 Development
  • designing a computerHi everyone! I am designing a 4 bit computer and i need some advice, is this a good instruction set? [CODE] BINARY OPCODE DESCRIPTION 00000 nop…

    ... fetching "bytes" (e.g. 8-bits) at a time
    ... bit registers: B, C, D, E, H, L and A) and their 8 ... processor to accept a byte at a time (which it ... 4) Call your registers: A, B, C, D, E, F, G, H< ... 00110rrr then AND C (AND register C with register A) will become ...
    BloodBaz BloodBaz September 2010 Chit chat
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... br /> ld a,c
    LINE50: add a,(IX+2) ;A =t=j+ ... ; BASE ADDRESS
    ld e,(IX+0) ;E =j ROW j INDEX ... /> ld a,(hl) ;A =l$=v$(j)
    ld (IX+1),a ; =l$=v$(j ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • Sprite RoutineI was wondering if anyone could point me in the direction of a really basic example of a per-pixel sprite routine? Preferably commented. The screen …

    ... DE
    INC L

    LD A,(DE) ;read graphics source ... A,L ;going to new character line
    ADD A,32
    LD L,A ...
    RET C;going to new ... screen segment, if e.g ...
    Ralf Ralf October 2010 Development
  • 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…

    ... di ; *IMPORTANT*

    ld a,e ; Check for NULL length?

    dec e ; 4
    jr nz,bit ... ; Subtract length
    ld a,e
    or a,d
    jr nz ... a,l ;
    ld l,a ;

    dec bc ; Subtract length
    ld a,c ...
    ASM ASM October 2010 Hardware
  • Rotating Register PairsWhat's the best way to rotate left (or right) a register pair, so that (eg.) FE76 becomes E76F (or 6FE7)? I presume that passing the intermediate bit…

    ... /> inc hl
    ld (hl),c ; 56h

    dec hl ... hl
    and a,00001111b ; 04h
    ld c,(hl) ; 56h
    ; < A = Corrupt


    read12bit_low ld e,l ; *Store array ... by getting the B and C registers the wrong way round ...
    ASM ASM October 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... /> ld (ix+SPR_def+0),e ; LOW
    ld (ix ... br /> ld c,(ix+SPR_ypos)
    ld e,(ix+SPR_def+0 ... F D S A
    ; 251 T R E W Q ... frame table
    ld e,(hl)
    inc hl< ... ld a,l
    add a,c ; Add X character offset
    ld l,a
    ASM ASM October 2010 Development
  • 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…

    ... exx
    ld a,l
    exx
    cp a,l
    jr nz ... bc,49149
    xor a,a ; Input
    out (c),a

    exx ...
    dec de
    ld a,e
    exx
    out (254 ... hl

    ld a,e
    or a,d
    jp nz ...
    ASM ASM November 2010 Hardware
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ...
    ld r, a

    ld l, e
    ld h, d ...
    ld c, 0

    dec l
    jr nz, peeb1
    ld a, c
    xor ... 16
    ld c, a
    out (254)
    ld l, e ...
    Fikee Fikee November 2010 Development
  • Hacking the O.C.P Full Screen Editor/AssemblerIf you have been reading my posts recently then you will know that I am eager to have the sourcecode I wrote for the Spectrum during the period 1988 …

    ... the sourcecode format the O.C.P assembler used. Most of ... /> tu01 ld a,(de)
    inc e
    ld l,a
    ld sp ...
    ld l,a
    pop bc
    ld (hl),c
    inc ...
    ld l,a
    pop bc
    ld (hl),c
    inc ...
    ASM ASM November 2010 Development
  • Hacking the O.C.P Full Screen Editor/AssemblerIf you have been reading my posts recently then you will know that I am eager to have the sourcecode I wrote for the Spectrum during the period 1988 …

    ... block bank
    inc e
    ld l,a
    ld sp,hl ... 8 character
    ld (hl),c
    inc h
    ld ... pop bc
    ld (hl),c
    inc h
    ld ... pop bc
    ld (hl),c
    inc h
    ld ... /> pop bc
    ld (hl),c ; Set 1st colour

    ASM ASM November 2010 Development
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... /> db 121 ; ld a,c
    db 176 ; or a,b
    db ... br />

    .region: ld c,(hl) ; Read count
    inc ... one BYTE

    ld a,c ; Check for zero?
    or ...

    .next: ld a,e ;
    cp a,l ;
    jr nz,.region ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • New tool: ZXBOOT.EXE[B]ASM[/B] is proud to present the first release of ZXBOOT.EXE: [url]http://www.4shared.com/file/NP-FVOSf/zxboot__beta_.html[/url] ZXBOOT is a comma…

    ... +3/2a ROM?
    and a,a
    jr nz,skip
    out (c),a

    remap: ld ... page size
    ld l,c
    ld e,c
    ldir
    < ... ; Disable paging
    ld a,00100000b
    out (c),a

    ; ...
    ASM ASM November 2010 Announcements
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... /> ld (ix+SPR_def+0),e ; LOW
    ld (ix ... br /> ld c,(ix+SPR_ypos)
    ld e,(ix+SPR_def+0 ... F D S A
    ; 251 T R E W Q ... frame table
    ld e,(hl)
    inc hl< ... ld a,l
    add a,c ; Add X character offset
    ld l,a
    sekrets sekrets November 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... /> ld (ix+SPR_def+0),e ; LOW
    ld (ix ... br /> ld c,(ix+SPR_ypos)
    ld e,(ix+SPR_def+0 ... F D S A
    ; 251 T R E W Q ... frame table
    ld e,(hl)
    inc hl< ... ld a,l
    add a,c ; Add X character offset
    ld l,a
    ASM ASM November 2010 Development
  • WOS drops some games.I made several links to zx games located on this site, but unfortunately those games are gone. What happens? Elite III - World of Spectrum [url]htt…

    ...
    When you have picked a rule to follow, you might ... ,#1AFF
    ld (hl),l
    ldir[/code]or maybe ... code] inc h
    ld a,h
    and #07< ... a,l
    add #20
    ld l,a
    jr c,.break
    ld a ... stuf
    ld a,d
    or e
    jr nz ...
    Hikaru Hikaru January 2011 Games
  • Sprites masterclassHi All, You guys are probably tired of explaining sprites but I'd like to clarify a few things if possible. I've sorted the vertical aspect of scro…

    ... c,31
    put_blanksprite2 ld (hl),e
    inc l
    ld a,l
    and c
    jr ... z,put_blanksprite4
    ld (hl),e
    Turkwel Turkwel February 2011 Development
<1…891011121314…34>

Latest Posts

  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 8
  • 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
  • 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

HitBox

Word Docs Hits
c 20.3K 48.8K
e 23.3K 35.2K
l 6.7K 16.6K
a 589.5K 1.7M

Related Threads

  • T H E . B E S T . J O Y S T I C K . E V E RThe best joystick I ever had was the<br /> Emax Arcade Professional<br /> <br /> Big, BIG, massive thing just like the ones in the arcade...<br /> <b…
  • N, E, E, NE, E, E, NE and N.Discuss.....
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • T H E . S H A W . B R O T H E R S . . . did you play on these games? . . . . *website online now*There's a Spectrum section on our site at [url="http://www.sickhappyidle.com"]http://www.sickhappyidle.com[/url] (click on the spectrum or go through…
  • S.W-T-H.W.T.N.M.A.T.E.O.Q-E?Erm, what I was trying to say was..<br /> So, why the hell was there no monster at the end of Quartermass experement?<br /> <br /> They did it in the…
  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • HELP!!! i need help turning a .wav files into a .tzx. im a new beginnerhi there. i hope anyone doesnt think im thick or owt but im having trouble in find the right program or the know how to convert all my 8bit mono .wav…
  • Arrays in C and C++ from a Java Programmer.I have been looking arround the web and found many conflicting answers to this question so I thaught I'd ask you folkes.<br /> <br /> What is the C a…
  • Adventure A,B,C,D,E,etcDoes anyone have any info on how this whole "Adventure A,B,etc" series came about?<br /> <br /> One of the first games I ever played on the ol' specc…
  • The Hulkster's getting a D.I.V.O.R.C.E.Looks like the golden couple's breaking up:<br /> <br /> [url]http://omg.yahoo.com/report:-hulk-hogans-wife-seeks-divorce/news/4261[/url]<br /> <br /…

Related Searches

  • n e i l
  • n e i l android
  • ld a b xor c loop
  • ld a b or c loop
  • play a b c
  • e s a productions
  • a m c
  • t a c
  • out c a
  • ay out c a
  • screen address c b l
  • in a c
  • in a c key map
  • ld bc 65533 a 254 out c
  • cpi ld a b or c
  • a c e s
  • s p a c e
  • m u l e
  • a c e 2
  • red l e d

Copyright © 2024 World of Spectrum