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…28293031323334>
  • Variable sized tiles /tile routineHow would you do a variable sized tile routine where the tiles have position variables too? Thanks would be interested to learn :)

    ... in d & e and print all the graphics on screen ... /> ld a, (currentlocation)
    ld bc, roomtable
    call getgfx

    ld bc, roomtable
    call getgfx
    add hl, bc
    ld a, (hl)
    alienbanana alienbanana January 2016 Development
  • Can anyone show a slight diagram of how pokes work in a jet set willy game for example?I know its kind of something to do with machine code and Memory addresses etc but would be nice to see a youtube video or some drawings etc ? .Many t…

    ... ]
    ORG 32000 ;tells the assembler where to store the code ... works, try modifying it to print different patterns, see if you ... can print it elsewhere on the screen ...
    GReW GReW January 2016 Games
  • Calling machine codeOccasionally I see on ZX computers (mostly the spectrum, but I think also the '80 and '81), how someone made their machine code and wrote the bytes i…

    ... X is the contents of BC at the end of the ... you execute 'LD BC,1234: RET' using a PRINT USR statement, it ... will print '1234' on the ...
    Hikaru Hikaru February 2016 Sinclair Miscellaneous
  • 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…

    ... 's not clear how an assembler would handle this. In theory ... "]waaay to tedious. Get an assembler (for example pasmo - http://pasmo ... 've never worked with an assembler before and therefore have no ... that it worked? Could I PRINT PEEK the first 50 locations ...
    namtip namtip February 2016 Development
  • Calling machine codeOccasionally I see on ZX computers (mostly the spectrum, but I think also the '80 and '81), how someone made their machine code and wrote the bytes i…

    I tended to use PRINT USR 32768 or LET X= ... see the value of into BC and chucked in a RET ...
    Morkin Morkin February 2016 Sinclair Miscellaneous
  • Simple bit of machine code not working [SOLVED]ishHi all. It's late and I'm tired and I have no idea why the following piece of code wont display a little smiley face [code]ld hl,udg ld (236…

    I suggest setting the print position before your routine
    < ... /> CALL CLSET ; $0DD9 Set print coords from BC
    [/code]

    dbolli dbolli March 2016 Development
  • Simple bit of machine code not working [SOLVED]ishHi all. It's late and I'm tired and I have no idea why the following piece of code wont display a little smiley face [code]ld hl,udg ld (236…

    ... /> CALL CLSET ; $0DD9 Set print coords from BC[/code]

    ...does ... ? It seems to print my character ...
    Tobo Tobo March 2016 Development
  • Online AssemblerHi, Has anyone tried this? [url="http://clrhome.org/asm/"]clrhome.org/asm/[/url] I tried building the example to a .tap file, saving it and …

    ... /> This little code snippet will print "Hello world! " at 2,2 ... that is loaded into the BC register pair before the code ...

    done:
    ld bc,0
    ret

    cmonkey cmonkey April 2016 Development
  • Disappearing/appearing effectI remember doing a small routine in BASIC which could be used to cover the attributes section randomly, until all 704 characters were filled with the…

    ... br />
    Dis-Resolve assembler listing: [code]
    org ... ld de,X0_Y0
    ld bc,4
    ldir ;set ... #
    pop bc ;BC=unplotted pixels #
    push bc
    call ...
    Battle Bunny Battle Bunny April 2016 Sinclair Basic
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... br /> ld hl,16 ; print number in hexadecimal
    push ... char *buffer
    pop bc ; radix
    push af ... : hl = uint num
    ; bc = int radix [2,36]
    ; hl = unsigned int
    ; bc = radix
    ; ix = char * ...
    Alcoholics Anonymous Alcoholics Anonymous April 2016 Development
  • What am I doing wrong here?[code]IF INKEY$=SCREEN$ (21,4) THEN LET SCORE=SCORE+1[/code] It's delivering a positive every time.

    ... ;HL=$2d2b (discard)
    pop bc ;BC=$3365
    pop de ;DE ... br /> push de
    push bc
    ld de,(23653) ;(STKEND ...
    LET score=score+1: PRINT AT 21,16;score; AT ...
    Battle Bunny Battle Bunny May 2016 Sinclair Basic
  • 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…

    ... using 'UDGs' and the ROM PRINT routine.

    The 'UDG ...

    ld bc,32
    add hl,bc

    dec ...

    ld bc,32
    add hl,bc

    dec ...
    djnz loop2
    pop bc
    djnz loop1

    daveysludge daveysludge July 2016 Development
  • Empire - port of trs80 basic programBack when I was a little kid, I had the opportunity to play around with a trs80 model 1 with level 2 basic. One of the games I often played was call…

    ... version of PRINT USING, so I rewrote it in assembler (341 lines ... about 0.2 second to print a line.
    Battle Bunny Battle Bunny August 2016 Brand new software
  • What if the Spectrum never had colour clash?Silly topic ahoy! What if the Spectrum never had colour clash? Would the Speccy have had the same charm? Would games have looked like this?: [url="h…

    ... (%D0%BA%D0%BE%D0%BC%D0%BF%D1%8C%D1 ... the color port, then just print the graphics on any single ...
    Hikaru Hikaru August 2016 Games
  • What if the Spectrum never had colour clash?Silly topic ahoy! What if the Spectrum never had colour clash? Would the Speccy have had the same charm? Would games have looked like this?: [url="h…

    ... (%D0%BA%D0%BE%D0%BC%D0%BF%D1%8C%D1 ... the color port, then just print the graphics on any single ...
    AndyC AndyC August 2016 Games
  • Empire - port of trs80 basic programBack when I was a little kid, I had the opportunity to play around with a trs80 model 1 with level 2 basic. One of the games I often played was call…

    ... /> [code]
    PRINT-USING.ASM assembler listing for "PRINT USING" function
    PRINT64-FN.ASM assembler ... Spectrum BASIC listing
    PRINT-USING.BAS BASIC listing for ...
    Battle Bunny Battle Bunny August 2016 Brand new software
  • Empire - port of trs80 basic programBack when I was a little kid, I had the opportunity to play around with a trs80 model 1 with level 2 basic. One of the games I often played was call…

    ... ): LET j=k1:
    LET bc=USR pu: GO SUB s5 ... )+") ": LET j=k1
    97 PRINT c$; FN t$(p$(i ... $=STR$ a(i,k6): LET bc=USR pu:
    LET z ... $=STR$ a(i,k7): LET bc=USR pu: PRINT ,z$:
    [/code]
    Battle Bunny Battle Bunny August 2016 Brand new software
  • Must be missing the point - machine code... Hi Folks, Trying my hand at machine code again but falling at the first hurdle. I hand crafted the following to run at address 62000 and the co…

    ... . Here is the finished Z80 assembler:


    [code]62000 ...
    120 CLS
    130 PRINT AT 0,0;"ADDR";AT ... GO TO 300
    180 PRINT A;TAB 7;H$;
    210 PRINT TAB 12;P;
    220 ... D=D+P
    260 PRINT TAB 17;P;TAB 22 ...
    Paddy Coleman Paddy Coleman September 2016 Development
  • DYNAMITE DAN I vs DYNAMITE DAN II - WHICH IS THE BETTER GAME?Welcome to the September 2016 edition of Which Is Best? Last month I placed three Amiga top down racers, Nitro, Super Cars II and Overlander. Overl…

    ... shiny new CPC and a print out of Rod's source ... the source into my DASM assembler and this taught me everything ...
    MartynC MartynC September 2016 Games
  • 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…

    ... programs you'd use an Assembler to do this for ... LD DE,58368
    LD BC,6912
    LDIR
    RET ... DE=58368
    1020 LET BC=6912
    1030 POKE ... +1:
    LET BC=BC-1: IF BC>0 THEN GOTO ... It simply repeats itself until BC counts down to 0. That ...
    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…

    ... ROM routine that does a PRINT or a LET or a ... /> 65350 1, 0, 8 LD BC,2048
    65353 237, 176 ... /> 65362 1, 0, 8 LD BC,2048
    65365 237, 176 ...
    joefish joefish September 2016 Sinclair Basic
  • POKE taking a variable amount of time...Hi Folks, Does anyone know why the following POKE statements seem to vary in their execution time? [code]100 POKE 60000,10 110 POKE 60001,16…

    ... actual operand of the LD BC,[i]nnnn[/i] instruction, ... /> $EA60 $01 Opcode for LD BC,nnnn
    $EA61 $00 Lower ... already part of the LD BC,[i]nnnn[/i] instruction as ... typed the values into an assembler yourself.


    [ ...
    GReW GReW September 2016 Sinclair Basic
  • Proportional fontsI've been doing some proportional font drawing, purely on C level at the moment, but it's orders of magnitude slower than I'd want it to be. It's sti…

    ... are a few ways to print these pretty fast as opposed ...
    xor (hl)
    ld (bc),a
    inc c
    Hikaru Hikaru October 2016 Development
  • Proportional fontsI've been doing some proportional font drawing, purely on C level at the moment, but it's orders of magnitude slower than I'd want it to be. It's sti…

    ... ,(hl)
    push hl
    print:
    db 11h
    store ...
    jamorski jamorski October 2016 Development
  • 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…

    ... /ZXBasicManual/zxmanchap26.html[/url]
    PRINT USR n calls the machine ... contents of BC register pair which is then printed by PRINT command ...
    dbolli dbolli October 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…

    ... question first, "PRINT USR 65368" doesn't print the UDG because ... starting at 65368 and then print the resultant number.
    ... [code]
    pop bc ;BC=$2d2b (discard)
    pop bc ;BC=$3365
    pop ...
    Battle Bunny Battle Bunny October 2016 Sinclair Basic
<1…28293031323334>

Latest Posts

  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Your Spec-chum on 7:28AM
  • Your Favorite Magazine Cover Tapes.
    Paradigm Shifter on 1:28AM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • I am currently watching.....
    zx1 on April 11
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11
  • Footballer of the year - translated version
    firelord on April 11

HitBox

Word Docs Hits
print 8.5K 20.4K
bc 3.6K 14K
assembler 4.6K 7K

Related Threads

  • PRINT AT in assemblerHello everyone,<br /> <br /> I am very new to this forums. Like perhaps many others I had a Spectrum as a child and did pretty much simple BASIC prog…
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code?<br /> <br /> ORG 60000<br /> LOAD 60000<br /> <br …
  • Which emulator and assembler?Hi,<br /> <br /> I am looking to learn z80 assembly language and I feel the best option is a spectrum emulator and an assembler. Can anybody recomme…
  • Books on Programming (ZX Assembler )Before you ask I trawl eBay on a daily/hourly basis.<br /> <br /> Any books in VGC wanted on programming games for the ZX Spectrum 48K. No creased, d…
  • Tornado AssemblerTornado Assembler is not working. What's wrong with it? It says Nonsense in BASIC or something like this. (dwnldd from this site, of course)
  • How to print with colour using DiscipleHi!<br /> <br /> I was wondering if there is any way of printing in colour using the Disciple. I am using an Epson Stylus 600 Printer with one of my …
  • BC 's Quest For Tireswhen playing this game you can only use keyboard right?.WRONG.if you press the letter "p" while the game has started(paused and waiting for input)a c…
  • Z80 AssemblerSome of you may know that I'm working on a Z80 assembler. I thought I'd start a thread so I can see what people think and what they might want to see…
  • BC Bill does this game work with a emulator?Can anyone get this game running with a emulator. I get as far as the main screen but can't start the game
  • Sinclair User: Blue Print Double DragonI'm not sure what issue the Blue Print of Double Dragon appeared, I think it was issue 78 (September 88)<br /> <br /> Even a scan would do. Cheers

Related Searches

  • print a char in asm
  • hello world in assembler
  • assembler
  • music in assembler
  • zx assembler
  • print variables
  • macro assembler
  • cross assembler
  • spin assembler
  • assembler local labels
  • spin assembler directives
  • ld bc eostr string
  • print on border
  • print usr bc
  • print to screen assembler
  • print assembler
  • print 16 bit number assembler
  • print large assembler
  • print out z80 assembler
  • print lower two lines assembler

Copyright © 2024 World of Spectrum