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.014s
<1…26272829303132…34>
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... zeroes
    ld d,$ff ;print other zeroes
    add a ... /> rst $10 ;A =????
    inc bc ;count digits
    Next1: ld ... ;if printed LH-digit, then print RH-digit
    inc hl ...
    Battle Bunny Battle Bunny December 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ...

    ; print digits
    PRINT: ld a, e ;A ... $10 ;print left side digit
    inc bc ;count digits ... rst $10 ;print right side digit
    inc bc ;count digits ...
    Einar Saukas Einar Saukas December 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... e
    rst $10 ;print a single zero
    ... $10 ;A =????
    inc bc ;count digits
    BCD2ARH:ld ... 10 ;A =????
    inc bc ;count digits
    inc ...
    Battle Bunny Battle Bunny December 2013 Development
  • Problem with Pasmo Assembler/Speccy emulator?I'm at the start of trying to learn Z80 assembly for the ZX Spectrum. I'm using Speccy 1.7 as my emulator, Pasmo as my assembler, and am following t…

    ... my emulator, Pasmo as my assembler, and am following this tutorial ... , and after its loaded, type PRINT USR 24576 when you should ... that it mentioned, I type PRINT USR 24576 like the tutorial ... still think it involves the assembler.

    Thank you for ...
    The_Bert The_Bert December 2013 Development
  • Z80AsmI've been using the Z80 PC Assembler 1.2 by Peter Hanratty and found that the RST 8 instruction assembles to 200. It should be 207. Ret Z is 200 wh…

    Why not use the assembler that z88dk uses?
    You can even print letters and numbers with its printf for debugging
    slenkar slenkar December 2013 Development
  • Z80AsmI've been using the Z80 PC Assembler 1.2 by Peter Hanratty and found that the RST 8 instruction assembles to 200. It should be 207. Ret Z is 200 wh…

    ... use the assembler that z88dk uses?
    You can even print letters ...
    rune rune December 2013 Development
  • Code to test if a rectangle is in a rectangle[SIZE=3][FONT=Calibri]I am looking to write some code that will check if a rectangular shape is outside or overlapping a second rectangle. If the sma…

    ... /> call check1
    ld bc,1
    ret c ; ... /> 21 LET bc=USR 40008:
    PRINT AT 0,0;" ... A is ";"not " AND NOT bc;"intersected ... 0:
    PAUSE bc*10+NOT bc
    22 OVER ...
    Battle Bunny Battle Bunny December 2013 Development
  • Graphics questionHello. I was wondering, does anybody here know of a method to display a large (as in, the better part of the screen) bitmap/raster image using ZX Sp…

    ... as it is written in Assembler and so very fast. Boriels ... -256*PEEK 23607
    110 PRINT a$;
    120 LET p ... . With some modifications, one can print full screen composed of 24 ...
    TK90XFan TK90XFan December 2013 Sinclair Basic
  • Graphics questionHello. I was wondering, does anybody here know of a method to display a large (as in, the better part of the screen) bitmap/raster image using ZX Sp…

    ... , I posted a simple print routine in assembler a little while ago ... 6912. The save needs an assembler routine, but the restore can ... to point to the other print routine.
    Battle Bunny Battle Bunny December 2013 Sinclair Basic
  • Writing faster BASICIn terms of structuring BASIC programs, what are the best ways allocate variables, functions, arrays? Any tips. I remember INPUT mag had some suggest…

    ... program structure, with no assembler lines, there's 24kb ... Oh, and another thing, the assembler is laboriously copied into the ... />
    4990 Print "Initialising...."

    5195 Print "Almost on it ... ..."

    5315 Print "Ok getting down to work ...
    dmsmith dmsmith January 2014 Sinclair Basic
  • Clearing 22 lines of the screenHow do I go about clearing the top 22 lines of the screen and leave the bottom #0 area untouched? I have a routine to reset the attributes, but cant…

    ... a=2
    LD BC,cleartextend-cleartext ; calculate number ... ; location of data to print
    CALL 08252
    POP BC
    DJNZ cleartextloop
    ...
    MatGubbins MatGubbins January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... side coding, ie. say how print works in basic/asm/C ... />
    As regards BASIC and assembler, it's fairly easy to ... for anyone programming in Z80 assembler on the Spectrum. What I ...
    Battle Bunny Battle Bunny January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... a C compiler environment. The assembler is an independent program. ... and then the ROM to print the result.

    ... /> // assemble the following with the assembler
    // z80asm prog.asm -lz80 ... ,_format ; what I want to print
    push hl
    ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... C compiler environment. The assembler is an independent program. ... and then the ROM to print the result.

    ... // assemble the following with the assembler
    // z80asm prog.asm - ...
    [/QUOTE]

    The assembler is not the C compiler ...
    Dunny Dunny January 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... needed)
    ld bc,(23688) ;BC=(S_POSN)
    ld ... ) ;A =character to print
    ;enter here to ... ld a,"?" ;don't print controls
    PRINTA4:ld ... SetBLOCK
    add hl,bc
    ld (23680 ...
    Battle Bunny Battle Bunny February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... to use the ROM's PRINT function, purists will pour scorn ... data string
    ld bc,6 ;BC contains string length
    call ...
    daveysludge daveysludge February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... like here" and it would print it?

    :-)[/QUOTE]
    BC register with the appropriate length ...
    daveysludge daveysludge February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... much text there is to print out and keep going until ... t figure out how to print text using that font.< ... of our font.
    ld bc,728 ; 96 chars * 8 ... byte of new.
    dec bc ; decrement counter.
    ld ... jr nz,font1 ; repeat until bc=zero.
    ld hl,60000 ...
    alienbanana alienbanana February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... (19 on a 128K) and PRINT in 1 string.

    ld bc,6 ;BC contains string length
    call ...
    daveysludge daveysludge February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    You can just add extra AT (22) commands and co-ordinates to the existing string data and lengthen the BC register to the appropriate length when required to PRINT the extra stuff.
    daveysludge daveysludge February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... data string
    ; ld bc,6 ;BC contains string length
    loop ...
    ld bc,eostr-dat ; length of string to print
    call ...
    alienbanana alienbanana February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ...
    ld bc,eostr-dat ; length of string to print
    call ...
    Morkin Morkin February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    [QUOTE=daveysludge;751134]

    [CODE] ld bc,6 ;BC contains string length
    [/CODE][/QUOTE]

    Hi, Could you explain why BC is set to 6 to print one character to the screen?
    Speccy_James Speccy_James February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... you explain why BC is set to 6 to print one character ... /> 3 bytes for where to print it
    [22 = AT, 1 ... = space]

    So to print a 6 letter word instead ... this method, you'd LD BC with 11.
    Morkin Morkin February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... /> 3 bytes for where to print it
    [22 = AT, 1 ... = space]

    So to print a 6 letter word instead ... this method, you'd LD BC with 11.[/QUOTE]

    Speccy_James Speccy_James February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... data string
    ; ld bc,6 ;BC contains string length
    ld ...
    ld bc,eostr-dat ; length of string to print

    alienbanana alienbanana February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... bc,[B][I]27[/I][/B] ; length of string to print **
    Morkin Morkin February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... bc,[B][I]27[/I][/B] ; length of string to print **
    rich_chandler rich_chandler February 2014 Development
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... scale); these just won't print anything. If the characters come ... =CODE c$(a):
    LET bc=ox=(oy=(sx=(sy=(ds ...
    Battle Bunny Battle Bunny February 2014 Development
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... large code repositories. Spin's assembler, pasmo, sjasm, etc ... ascii string
    ld bc,10 ; base 10 conversion ...
    LIB asm_utoa ; inform assembler to look for this function ... horizontal pixel coordinate
    ld bc,-10 ; vertical pixel coordinate, ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Development
<1…26272829303132…34>

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