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…17181920212223…34>
  • 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…

    ... left/right

    83 PRINT AT 20,16; BRIGHT 1 ... zw=ATTR(r-1,k): PRINT z$;INK 5;x$: POKE ...
    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…

    ... left/right

    83 PRINT AT 20,16; BRIGHT 1 ... zw=ATTR(r-1,k): PRINT z$;INK 5;x$: POKE ...
    davepierce07 davepierce07 June 2014 Sinclair Basic
  • UDG tricks?I always enjoyed using [URL="http://www.worldofspectrum.org/ZXBasicManual/zxmanchap14.html"]UDGs [/URL]for the 'sprites' in my games, when I coded th…

    [QUOTE=joefish;774366]I think you missed the point. In one bank of UDGs you have all your characters drawn in one frame of animation; in the other bank, you have them drawn in an alternate frame of animation. Any characters that don't animate, you define ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Frontend for the +3e projectHi, I have recently finished building the 8-bit simple interface and installed the +3e ROMs into my spectrum +2A (Back model) and it is working fine …

    ... . Then when you come to print the filenames to screen, or ... use the string in the array. [FONT=Courier New]PRINT f$(n ... 're going to want to print out a screenful of filenames ... = 0 TO 9
    1020 PRINT AT n,0; n, f ...
    guesser guesser June 2014 Development
  • Frontend for the +3e projectHi, I have recently finished building the 8-bit simple interface and installed the +3e ROMs into my spectrum +2A (Back model) and it is working fine …

    ... . Then when you come to print the filenames to screen, or ... use the string in the array. [FONT=Courier New]PRINT f$(n ... 're going to want to print out a screenful of filenames ... = 0 TO 9
    1020 PRINT AT n,0; n, f ...
    rich_chandler rich_chandler June 2014 Development
  • Frontend for the +3e projectHi, I have recently finished building the 8-bit simple interface and installed the +3e ROMs into my spectrum +2A (Back model) and it is working fine …

    ... LET np=0
    1025 PRINT #5;AT 1,22;"MENU ... GO TO 1060
    1040 PRINT #5;AT (np+3)*8 ... /> 1060 CLOSE #5
    1070 PRINT #0;AT 1,0;"CHOOSE ... line has three fields: a string that holds the key to ... of the disk into a string variable, parse it and automatically ...
    mcleod_ideafix mcleod_ideafix June 2014 Development
  • Basic program malfunctionHello. Please does anyone know why this basic program 10 LET x=0 20 LET x=x+0.1 30 print x 40 if x<>1 then goto 20 50 STOP does not properly work o…

    ... , which compares the numeric & string forms of the calculation.
    20 LET x=x+b: PRINT AT 0,0;x,
    40 IF xc THEN PRINT "error"
    60:
    ... x=VAL STR$ (x+b): PRINT AT 1,0;x,
    140 IF STR$ xc$ THEN PRINT "error"
    150 GO TO ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Basic program malfunctionHello. Please does anyone know why this basic program 10 LET x=0 20 LET x=x+0.1 30 print x 40 if x<>1 then goto 20 50 STOP does not properly work o…

    The string method gets the correct answer ... pad and align every number string so that they all have ... $(a):
    NEXT a:
    PRINT "start",n$(1),"step",n ... TO ): LET y$=x$:
    PRINT AT 2,16;y$,: GO ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Decimal to Binary stringHi all, Anyone got a less labour intensive BASIC routine than this? Example:- take 170 and convert to a string "10101010" take 4 and convert to a s…

    ... LET s$= "": LET N= 128: PRINT A; "=";
    20 IF A ... >255 THEN PRINT "Incorrect number": GO TO ... />
    And changing the string by a number variable, you ... = 0: LET N= 128: PRINT A; "=";
    20 IF ... A>255 THEN PRINT "Incorrect number": GO TO ...
    antoniovillena antoniovillena August 2014 Sinclair Basic
  • Help with Assembly - DEFB, etc.Dear all, I'm going through Jnathan Cauldwell's tutorial and find myself scratching my head at part I can't find a decent explanation of anywhere! E…

    ... string
    ld bc,4 ; length of string to print
    call 8252 ; print ... our string
    ret ...
    Ralf Ralf September 2014 Development
  • Help with Assembly - DEFB, etc.Dear all, I'm going through Jnathan Cauldwell's tutorial and find myself scratching my head at part I can't find a decent explanation of anywhere! E…

    ... />
    [QUOTE]ORG 30000
    string defb 22,21,31,'!'

    [B]string=30000
    eostr=30004 [/B ... /> [B]ld bc,eostr-string ; length of string to print[/B]

    Ralf Ralf September 2014 Development
  • Simple text scrolling routine...I'm having trouble writing a very simple text scroller, the idea is to use the ROM printer routine to print 32 characters each time the routine is ca…

    ... daftness I also did a diagonal scroller, which would be too ... amp; DF_CC to move the print position. The PAUSE needs to ... a,(de)
    rst $10 ;print next character
    inc de ... /> ld (23688),bc ;the print position one row DOWN
    Battle Bunny Battle Bunny September 2014 Development
  • Simple text scrolling routine...I'm having trouble writing a very simple text scroller, the idea is to use the ROM printer routine to print 32 characters each time the routine is ca…

    never never never print one letter.
    scroll looks ...

    ;out text, IX: string with limiter 0
    scrp ...
    g0blinish g0blinish October 2014 Development
  • Microdrive usageAnyone here know about microdrive files? Had a few carts in, all have stuff on, heres an example cat 1 with the error message i get for every single …

    ... ; the file details should print on the same line as ... files can be read into string z$ and their contents ... m";1;"bubble" TO #14: PRINT LEN z$
    20 FOR ... 40 IF c$>=" " THEN PRINT c$;
    50 IF c ... $< " " THEN PRINT INVERSE 1;"0" AND CODE ...
    Battle Bunny Battle Bunny November 2014 Sinclair Miscellaneous
  • Fast Condition TestingHello my friends, I have been writing some input and string handling routines in BASIC lately - yeah I could write them super fast in C/ASM via z88d…

    ... character
    [*]line 2901: print updated string after add/delete
    [*]lines ... cx=cx-1
    2901 PRINT AT 0,0;s$
    Battle Bunny Battle Bunny November 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…

    ... for each character of this string...
    or a
    ... string terminator
    exx ; preserve HL
    call FZX_START ; print ... LOOP
    ret
    STRING:
    defb #16,[COLOR="Red ...
    velesoft velesoft November 2014 Brand new software
  • 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…

    ... check string terminator
    exx ; preserve HL
    call FZX_START ; print ... LOOP
    ret
    STRING:
    defb #16,[COLOR="Red ... zero as string terminator, your routine will only print code # ...
    Einar Saukas Einar Saukas November 2014 Brand new software
  • 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…

    ... zero as string terminator, your routine will only print code #16 ... ; for each character of this string...
    or a
    ... check string terminator
    exx ; preserve HL
    call FZX_START ; print ...
    velesoft velesoft November 2014 Brand new software
  • 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…

    ... using zero as string terminator, your routine will only print code #16 ... suggest using code 255 as string terminator instead.[/QUOTE]

    string terminator ?
    velesoft velesoft November 2014 Brand new software
  • 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…

    ... and code 255 is only string terminator ?[/QUOTE]

    ... special code to terminate a string, you have to choose ... in z88dk which offers two string output routines:- one that uses ... can use sprintf to print coordinates into a string and sprintf will ...
    Alcoholics Anonymous Alcoholics Anonymous November 2014 Brand new software
  • 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…

    ... asm_fzx_puts[/B]
    Print a 0-terminated string. \n is interpretted ... [/B]
    Print a 0-terminated string but pad it ... Indicate error if: the string's width exceeds allowed width ... Indicate error if: the string's width exceeds allowed width ...
    Alcoholics Anonymous Alcoholics Anonymous January 2015 Brand new software
  • New Game(s): Sir Ababol 2 and Sir Ababol DXHere is our own Christmas Present from Mojonia! We weren't going to release these games (at least, by the moment) but we decided just yesterday to fi…

    ... 144 bytes (it uses ROM print routines just to be able ... next key
    call print_string ;print UP/DOWN etc
    inc ...
    ;
    print_string ;rem will print in upper or lower screen ... end of string
    ret z
    rst 16 ;print ASCII until ...
    R-Tape R-Tape January 2015 Brand new software
  • 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…

    ... sequences in the low level print functions. I'll look at ... the string", then you can understand why I prefer the latter. Print ... can send out a justified string to the screen. In my ...
    Timmy Timmy January 2015 Brand new software
  • 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…

    ... not accounted for by the string/buffer width calculation functions, which ... = return a point in the string/buffer to one past the ... /> For string and buffer printing:

    * string_puts / buffer_write: just print the ...
    Alcoholics Anonymous Alcoholics Anonymous January 2015 Brand new software
  • Scrolling in BASICI remember a few BASIC typeins for other machines that claimed to be scrolling the screen. Obviously vertically its not too difficult - once you dis…

    ... is to add some string-based commands to draw ... time. You can then print some sprite-characters over it ... , 3x3 objects with just one string.

    You can ... 0-31 in a string will control all the ... (e.g. "!" in a string to clear the screen, instead ...
    joefish joefish March 2015 Sinclair Miscellaneous
  • Double height text...<p>Is here any good routines for printing a font double height?</p><p>I've concocted this ridiculous routine but I'm sure it can be done much better.…

    ... .
    EDITED: the string ends with 255 and numbers ... br />  ld (de),a ;print one line
     call nextlinedn ... />  ld (de),a ;print the same line again
     ret
     ;
    string db 7,0,'llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch',255
    R-Tape R-Tape June 2015 Development
  • Peeking the contents on screen? How?You will have to forgive me for growing up on the C64, but I know I can peek the location of a character (1024 is top left from memory) and the peek …

    ... for your blank spaces to print them with black INK and ... is simply to store a string array as a map of ...
    joefish joefish August 2015 Sinclair Basic
  • Code structureHi all, I'd be interested in opinions on the neatest way to do this. I've got a print string routine in which 0-31 are reserved for control codes, …

    ... will gain the ability to print individual characters or control codes ... put each one into a string first.

    3.) It ...
    Einar Saukas Einar Saukas 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…

    Here is my 64 column print routine.
    [code]
    ;------------------------------------------------------------------------------;
    pop de ; restore string position
    inc de ; ...
    Kiwi Kiwi September 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…

    ... string address
    push bc ; save the location
    call PrintProCh ; print ... position
    pop de ; get string address
    inc de ; next ...
    Kiwi Kiwi September 2015 Development
<1…17181920212223…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