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.009s
<1…16171819202122…34>
  • 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…

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

    23606 & ... register to start of data string
    ld bc,6 ;BC ... contains string length
    call 8252 ;PRINTs ... string
    pop hl ;recover value ...
    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…

    ... want the text in a string rather than individual character ... ; ld bc,6 ;BC contains string length
    loop ld de ... bc,eostr-dat ; length of string to print
    call 8252 ;PRINTs ... string
    jp loop
    pop ...
    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…

    ... how would you put a string of text into it ... .

    Printing a string would use a loop to ... the string and pass each character in turn to the print ... does in $203c ;PR_STRING "print BC characters from DE". The ... 1) THEN PLOT x,y: PRINT x;",";y;" ";
    80 ...
    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…

    ... bc,eostr-dat ; length of string to print
    call 8252 ;PRINTs ... string
    jp [B]loop[/B][/ ...
    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…

    ... loop:

    call 8252 ; print our string
    ret
    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…

    [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…

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

    So to print a 6 letter word instead ... change the length of the string?
    * ok I tried that ...
    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…

    ... register to start of data string
    ; ld bc,6 ;BC ... contains string length
    ld de,dat ... ; length of string to print

    call 8252 ;PRINTs string
    cp ...
    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…

    ... want the text in a string rather than individual character codes ... /> ld de,dat ; address of string
    ld bc,[B][I ... ] ; length of string to print **

    call 8252 ;PRINTs string
    [strike ...
    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…

    ... /> ld de,dat ; address of string
    ld bc,[B][I ... ] ; length of string to print **

    call 8252 ;PRINTs string
    [strike ...
    rich_chandler rich_chandler February 2014 Development
  • INPUT help?Hi folks. :) Brace yourselves, this is probably a very silly question, my BASIC knowledge is very... well, basic... Let's say, for example, I'm mak…

    Use a instead of a$

    You only use $ for string variables ie letters.
    You don't need it for numeric variables.

    So 20 INPUT "Can you guess the number?",a
    30 if number =a then print "Correct!"
    Rebelstar without a cause Rebelstar without a cause February 2014 Sinclair Basic
  • INPUT help?Hi folks. :) Brace yourselves, this is probably a very silly question, my BASIC knowledge is very... well, basic... Let's say, for example, I'm mak…

    ... change the number into a string and compare Strings to prevent ... $ number=z$( TO x) THEN PRINT AT 0,0;"Correct!"[/CODE]
    Einar Saukas Einar Saukas February 2014 Sinclair Basic
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... ,151
    call 8252 ; PRINTs string[/code][/QUOTE]

    No ... need your own procedure to print on virtual screen
    something ... ://www.dropbox.com/s/ygfizwa0qgidqjc/print.a80"]https://www.dropbox.com ...
    Jerri Jerri February 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... this text print routine

    [code] ld ix,STRING
    ld ... new character code from the string
    or a
    ... br /> inc ix ;advance the string/screen pointers
    inc e ... br /> jr TEXTPRINT

    STRING
    defb '01234567',0[/code ...
    Hikaru Hikaru February 2014 Development
  • that "listing variables during runtime" thingWell, I did eventually finish this, but with my meds playing up I don't have much time each day that I can spend at the computer, so it's taken rathe…

    ... p(23639)+6:
    DATA "","string","number (short name)","number array ... br /> "string array","FOR...NEXT control"
    9901 CLS : PRINT INVERSE 1 ... /> FOR a=2 TO 7: PRINT a;" = ";v$(a): NEXT ... THEN LET i=i+18: PRINT "...";
    9907 IF e= ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • From RAM to dim v$() "video buffer" SPEED UP!Hi! This question is related to "quick RAM copy using LET in Basic" ([url]http://www.worldofspectrum.org/forums/showthread.php?t=44296[/url]). Wel…

    ... , the repeat the same string for the second half. ... 4.9 seconds (including the print) (note that the two ... o=1
    17 PRINT "POKING TEST DATA."
    ... RENDERING BEGINS HERE
    32 PRINT "BUILDING SCREEN"
    35 ... NEXT n
    70 PRINT AT 0,0;s$
    na_th_an na_th_an March 2014 Sinclair Basic
  • From RAM to dim v$() "video buffer" SPEED UP!Hi! This question is related to "quick RAM copy using LET in Basic" ([url]http://www.worldofspectrum.org/forums/showthread.php?t=44296[/url]). Wel…

    ... half, the repeat the same string for the second half. BasIn ... 4.9 seconds (including the print) (note that the two "tick1 ... RENDERING BEGINS HERE
    32 PRINT "BUILDING SCREEN"
    35 LET ... +PEEK 23672)/50
    80 PRINT tick2-tick1[/code][/QUOTE]
    Hark0 Hark0 March 2014 Sinclair Basic
  • dumping protected BASIC loadersI wrote this a few weeks ago but forgot to post it. It will load & list from tape/TAP/TZX any BASIC program which has been saved with SAVE, including…

    ... number marker to build the string v$ containing the visible number ... IF c=14 THEN
    PRINT "[";: FOR d=1 TO 5 ... d: GO SUB 2000:
    PRINT INK ynk; FLASH ynk=2 ... ;number;: PRINT "]";: LET a=a+6: GO ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • dumping protected BASIC loadersI wrote this a few weeks ago but forgot to post it. It will load & list from tape/TAP/TZX any BASIC program which has been saved with SAVE, including…

    ... rather than '='.)
    [*]Line 20: Print the line number & (alleged ... byte is not a print control code, print it in red, ... 21.
    [*]Line 27: Print the print control code plus the following ... number marker to build the string v$ containing the visible ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... to know the font, the string length, work out which areas ... written functions to return the string width in pixels. That, ... alternative. Everything that has a string input should use XOR-printing ... /> The xor is for easy print/erase.

    The overwrite ...
    Alcoholics Anonymous Alcoholics Anonymous March 2014 Brand new software
  • FUSE serial communication sample anyone?Hi, in [URL="http://manpages.ubuntu.com/manpages/precise/man1/fuse.1.html"]FUSE man pages[/URL] one finds switches for serial comms. By using --inte…

    ... to cat. Try grabbing a string from the serial port in ... . You should be able to print the string easily.

    Note ...
    zub zub March 2014 Development
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... could get an "easy looking" string input. In the end I ... tiny fonts allow me to print out more stuff to check ...
    Alcoholics Anonymous Alcoholics Anonymous March 2014 Brand new software
  • TAPlist - the emulator versionI've got this working reasonably well; there's just a couple of small extra features which I want to add. (Recall that TAPlist writes a formatted lis…

    ... v()+6)))):
    STOP:
    PRINT "no code":
    STOP:
    PRINT "bad margin":
    STOP:
    PRINT "bad tabstop":
    string a$() - for a short while ...
    Battle Bunny Battle Bunny April 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... for BASIC.[/quote]
    Using PRINT with OVER is faster than ... POKING. What slows PRINT down is printing a character ... the whole screen in a string and print it all at once ...
    chev chev June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    Question - if PRINT of a long string is fast, what's the ... /> (a) Chaining ATs, such as PRINT AT y,x;"/\";AT y ... ,x;"\/"
    (b) Generating a string that draws the first two ...
    joefish joefish June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... ](b) Generating a string that draws the first two ... from BASIC; they just print a '?'; and although CHR ... way, including decoding the PRINT separators; all (b) ... to look up the string and PRINT it. I don' ... because updating the embedded print controls has to use ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... 772388]Question - if PRINT of a long string is fast, what' ... (a) Chaining ATs, such as PRINT AT y,x;"/\";AT y ... br /> (b) Generating a string that draws the first two ... like this:
    [I]PRINT AT y,x; "/\" ;over 1 ... t seem slower than two Print Ats, but it visibly ...
    Dock Dock June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... /> FOR y=1 TO 20: PRINT AT y,1;TAB 31 ... ":
    LET c$=" ": PRINT AT x,y;a$: PRINT AT x+1 ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... scenery cells into one long string with embedded colour control codes ... you can print him across two lines with one simple string with ... once, you could have a string with two identical characters side ... string with one above the other, to move him with one PRINT ...
    joefish joefish June 2014 Sinclair Basic
<1…16171819202122…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
print 8.5K 20.4K
string 2.8K 5.1K
diagonal 443 528

Related Threads

  • 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 …
  • 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
  • Scrolling string variablesCan anyone help me with this for a program I'm writing on the spectrum.<br /> There was a command in speccy basic that would let you scroll a string …
  • 42 column text, Sinclair Print Utilities, etcI'm currently developing the next of the ZXIF text adventures - "43 Minutes" and, as a side issue, I'm really interested in 42 column text for this g…
  • Print 'n' Plotter SPRITE MACHINEJust got this from an ebay seller this afternoon. I just TZXd it and sent it to the Steve at the vault, yet it might be a while before it gets put up…
  • String slicing for UDG definitionHey everyone.<br /> <br /> Got a bit of a string slicing/string to variable conversion problem.<br /> <br /> 10 let a$="01100110"<br /> 20 let pokeva…
  • print at line 22 and 23I have a faint recollection of POKES to allow print at 22,x and 23,x, anyone know what they are? (rather than using the print #0 #1 stuff..)
  • 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…
  • Method to read byte as binary string rather than dec?Hi all<br /> <br /> Am fiddling around with the screen buffer and have written a routine to scan the screenbuffer into upper ram and then write it ba…
  • Print routine for BASIC (or BASin)For anyone interested there's a crappy binary here to print characters from BASIC at pixel positions. Import the binary at 60000, USR 60000 to initia…

Related Searches

  • print a char in asm
  • print variables
  • ld bc eostr string
  • print on border
  • reorder a string
  • print leading zeroes
  • change characters in string
  • print at 23
  • print through
  • asm text print
  • assembly print text
  • assembly print text at pixel
  • diagonal
  • diagonal hex
  • diagonal movement
  • print one line
  • rst 16 print routine
  • inputting to a string array
  • print usr
  • print string vertically

Copyright © 2024 World of Spectrum