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…12131415161718…34>
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... as you don't PRINT on top of it ... to a DEFADD destination string in free RAM which ... the VARS area then string functions such as FN ... ] treated as a simple string, otherwise a new location ... my documentation regarding the simple string flag.

    MRT ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • type-ins in zmakebas formati were about coding some type-ins from MicroHobby magazine, and found that there are 'semanal' tape series available at http://www.worldofspectrum.or…

    ... />
    Var [some long hex string] -

    a simple ...
    // EMBEDDED COLOURS //

    PRINT "hello \{i6p1}Russell!"


    @Start
    Print ink rnd*7;"hello"

    10 PRINT INK RND*7;"hello"
    Dunny Dunny March 2012 Support files
  • those darned recursive functions againI've been stuck on this one all evening. I want to dump out some memory in binary to debug a program. I've got a simple mod 2 division loop to do tha…

    ... which to build the binary string. The "("0" AND NOT n ... in full as decimals; eg. PRINT 999999999 prints as just 1E ... can take a great long string of gubbins as in the ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • +3 DOS questionHey all, Is it possible to catalogue a +3 disk to a variable somehow from BASIC? I'm looking at extending my Snapshot to Microdrive utility, so it s…

    ... $ PEEK a: NEXT a:
    PRINT s$
    [/code]
    It ... it can be retrieved. The string must be DIMed in advance ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ... /> sprite and text routines to print to the buffered display and ... Windows BMP files are flipped vertically)
    org 63628
    attributes ...
    R-Tape R-Tape April 2012 Development
  • Turn UDG to Attrribute blocksI'm trying to enlarge my UDG's to 8 x 8 character blocks per pixel, but struggling, is there any subroutine/program for enlarging UDG's x 8?

    ... e.g. string 0="____", string 1="___X",... string 11="X_XX" ... and pick the relevant string. This represents the first ... string for that number. That represents the other four pixels. Then print ... that string of 8 characters, and ...
    joefish joefish May 2012 Development
  • Turn UDG to Attrribute blocksI'm trying to enlarge my UDG's to 8 x 8 character blocks per pixel, but struggling, is there any subroutine/program for enlarging UDG's x 8?

    ... of 4 spaces. When you PRINT them they'll set the ... be best to follow the string definitions with a REM statement ... the same colour, so each string is exactly 12 bytes long ... />
    I think a straight PRINT is probably quicker than forming ...
    joefish joefish May 2012 Development
  • Screen2StringFurther to writing that BASIC one-liner to redirect CAT to a string I thought that I'd do a general redirection routine for anything which normally p…

    ... output of CAT into a string, so that he could build ... will be sent to a string variable when the redirection function ... output by PRINT or whatever and appends them to the string space ... pointed to by the s$ string definition pointed to by DEFADD ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    ... *7;" ": NEXT x: NEXT y: PRINT #0;AT 0,0; BRIGHT ... NEXT a
    160 REM PRINT AT 0,0; OVER 1 ... REM Dim Screen
    320 PRINT c$
    330 REM SLOW ... />
    I can save the string (55 bytes) in an external ... load at runtime. The [B]PRINT c$[/B] (line 320) takes ...
    Paddy Coleman Paddy Coleman May 2012 Development
  • Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…

    ... chars wide but only moves vertically. That's good news because ... the sprite horizontally. Pixel precision vertically means 8x4.

    That ... background UDGs using a 'supertile' print system written by nathan that ...
    Alcoholics Anonymous Alcoholics Anonymous May 2012 New game ideas
  • Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…

    ... chars wide but only moves vertically. That's good news because ... the sprite horizontally. Pixel precision vertically means 8x4.

    That ... background UDGs using a 'supertile' print system written by nathan that ...
    DaRkHoRaCe DaRkHoRaCe May 2012 New game ideas
  • Scrolling a mapCan someone explain in idiots terms how you scroll a map. I'm not after code as such, just an explanation of how it can be done. I'd like to scroll…

    ... $ and found a way to print just a section of it ... again when needed (horizontally or vertically). That's when I gave ...
    zxbruno zxbruno May 2012 Development
  • How much space does a number take?Hi Folks, Could someone please remind me how much memory a number takes up in a BASIC listing. For example, if you had: [CODE]100 LET a=3000[/CODE…

    ... stored as "characters" within a string. Values are expanded at run ... put in a nice proportional print routine too.[/Quote]

    print routine.

    Many thanks ...
    Paddy Coleman Paddy Coleman May 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... ever use STR$ in a PRINT statement, but the bug is ... /> Might use it in PRINT if a string slicing is used between ... the STR$ and the PRINT. Bit ...
    BloodBaz BloodBaz May 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... ]Might use it in PRINT if a string slicing is used between ... the STR$ and the PRINT. Bit ...
    chev chev May 2012 Sinclair Basic
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    This routine (48 bytes) provides a BASIC replacement for STR$ which fixes those two bugs; use "FN s$(numeric_expression)" instead of "STR$ numeric_expression". I copied the ROM's method used in CIRCLE & DRAW for checking -1
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • GUI/OS for the Spectrum?Hi, Is anybody working on a WIMP/GUI system for the Spec? Is there anything current out there? [url]http://snakeoillabs.com/wordpress/2005/10/30/8…

    ... laid vertically 8 pixels high, which makes it fast to print text ...
    Winston Winston June 2012 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 …

    ... ROM print routine is reasonably fast, providing you throw and entire string ...
    chev chev June 2012 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 …

    ... control codes?
    - Can it print in any pixel location?

    Benchmark 1: string printing. Characters are printed in ...
    mcleod_ideafix mcleod_ideafix June 2012 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 …

    ... ]

    Benchmark 1: string printing. Characters are printed in ... /> [code] LD IX,string ; Use IX so don' ... CALL PRINT
    INC IX
    JR loop
    string: DEFM ... A,L
    CALL PRINT
    JR loop[/code]
    Jonathan Harston Jonathan Harston June 2012 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 …

    ... ROM print routine is reasonably fast, providing you throw and entire string ... to BASin's Profiler the PRINT statement below (line 210) only ... . So if we had a PRINT command that did not have ...
    200 CLS
    210 PRINT a$[/CODE]

    Many ...
    Paddy Coleman Paddy Coleman June 2012 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 …

    ... />
    [B]- Can it print in any pixel location?[/B ... />
    64 bytes plus the string

    [B]- How ... /> jp print_string ;continue
    ;
    string defm 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!"$%^&*()',0[/CODE]
    R-Tape R-Tape June 2012 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 …

    ... print_string ;continue
    ;
    string: defm 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!"$%^&*()',0
    [code]
    ld ix,string
    ld de,16640 ;screen ... know you will always print 1 char!) and then ...
    Dr BEEP Dr BEEP June 2012 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 …

    ... char print using bc as string marker ... br /> ld bc,string ;bc faster than ... a,(bc) ;get string byte
    or a ... bc ;next byte of string

    ... ret

    string defm 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890',0[/CODE]
    R-Tape R-Tape June 2012 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 …

    ... ZERO saving 10 Tstates per print when you assume you must ... print 1 char.

    (see ... version on testing end of string)
    Dr BEEP Dr BEEP June 2012 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 …

    ... the SP char print using bc as string marker instead of ... screen address
    ld bc,string ;bc faster than ix
    ret

    string defm 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890',0[/CODE][/QUOTE ...
    Dr BEEP Dr BEEP June 2012 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 …

    ... the SP char print using bc as string marker instead of ... /> inc bc ;next byte of string

    ex de ... ei
    ret

    string defm 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890',0[/code]
    Hikaru Hikaru June 2012 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 …

    ... needed, always 1 character to print![/B]
    [B]; jr ... /> inc bc ;next byte of string

    ex de ... ei
    ret

    string defm 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890',0[/code]
    Dr BEEP Dr BEEP June 2012 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 …

    ... address
    ld bc,string ;bc faster than ix
    print at least one char, ... inc bc ;next byte of string

    ex ...
    ret

    string defm 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890',0[/CODE]
    R-Tape R-Tape June 2012 Development
  • Encode two positive int numbers into one?Hi guys) Recently I've been trying to simulate short lists in Basic, but the point is that using limited values, say, 0-99 or 0-999, I remembered ho…

    ... packing the numbers into a string is overall just as quick ... =a*1000+b
    20 PRINT a,b,big
    30 ... *INT (big/1000)
    40 PRINT a2,b2

    60 ... $ (a*1000+b)
    70 PRINT a,b,n$
    80 ... /> 90 PRINT a$,b$
    [/code]
    Plus with a string any ...
    Battle Bunny Battle Bunny June 2012 Sinclair Basic
<1…12131415161718…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
vertically 649 723

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…
  • How to get Grahics to wrap vertically around the screen?I am using the following code to draw an image to the screen.<br /> <br /> First I use HL to contain ROW and COLUM<br /> I then call the MapScreenFun…
  • Vertically Scrolling Shoot-em-upsHi everyone,<br /> <br /> I want to put together a list of vertical scrolling shoot-em-ups. I have most of the well known ones (see list) on it alrea…
  • 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…

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
  • print one line
  • rst 16 print routine
  • inputting to a string array
  • print usr
  • print usr bc
  • print 16 bit number
  • basic print free ram
  • print string diagonal

Copyright © 2024 World of Spectrum