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.017s
<1234567…34>
  • Game of Life.Last year (I think) or maybe the year before, I entered a Game of Life simulator into the CSS CGC compo but for the Sinclair ZX81. I decided to port…

    ... 1 to the second PRINT.
    [*]line 23: Deleted from "LET ... i=CODE i$" to end of line.
    [*]line ... 14 LET gen=gen+1: PRINT AT 0,0;"Generation: ... ": PAUSE 0:
    PRINT AT 0,0; PAPER ... 23 LET p=22528+r0*32+c0: LET a=PEEK p: PRINT ...
    Battle Bunny Battle Bunny October 2014 Sinclair Basic
  • Printing at line 22...The last legal line in BASIC is line 21. Using Print #0 allows you to print on line 23, but how does one get access to line 22? Anyone?

    The last legal line in BASIC is line 21. Using Print #0 allows you to print on line 23, but how does one get access to line 22? Anyone?
    Arjun Arjun May 2004 Sinclair Basic
  • Print vs 23659To be honest I could not think of a better topic title, although its not ideal. Anyway, I do recall reading ages ago that the reason you cannot no…

    ... normally get away with a PRINT AT 22,(whatever) is because ... 23659,0
    20 PRINT AT 22,0;"Yes we ... 23659,0
    20 PRINT AT 23,0;"Some text, not that ... surely either both 22 and 23 should work, or neither ? ... away with" 22 but not 23. Is the value checked ...
    spider spider October 2017 Sinclair Basic
  • 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..)

    My way to print at line 23:

    [code]

    10 POKE 23659,0 : IF Y
    Dr BEEP Dr BEEP October 2005 Sinclair Basic
  • ZX Spectrum ScreenHello folks! I know, that ZX Spectrum has character resolution 32x24. And you can't write with PRINT AT command to last two lines. But, I know that…

    Print to channel 1.

    [code]
    10 PRINT #1;AT 0,0;"Line 22";AT 1,0;"Line 23"
    20 PAUSE 0
    30 REM :P :P :P :D
    [/code]
    Woody Woody December 2007 Development
  • ZX Spectrum ScreenHello folks! I know, that ZX Spectrum has character resolution 32x24. And you can't write with PRINT AT command to last two lines. But, I know that…

    ... ]
    PRINT #1;AT 0,0;"Line 22";AT 1,0;"Line 23"
    bobs bobs December 2007 Development
  • ZX Spectrum ScreenHello folks! I know, that ZX Spectrum has character resolution 32x24. And you can't write with PRINT AT command to last two lines. But, I know that…

    ... Woodys line to test it, perhaps like:

    [CODE]10 PRINT ... #1;AT 0,0;"Line 22";AT 1,0;"Line 23"
    PRINT #1;AT 0,0;"Line 22";AT 1,0;"Line 23"
    Rickard Rickard December 2007 Development
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... br />
    So:
    [code]PRINT CHR$16;CHR$n; will ... will select BRIGHT n
    PRINT CHR$20;CHR$n; will ... select INVERSE n
    PRINT CHR$21;CHR$n; will ... AT y,x
    PRINT CHR$23;CHR$y;CHR$x; will ... /> will display "Hello World!" on line 16 at column 10.
    Jonathan Harston Jonathan Harston June 2010 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) length ... is printable, print it, skip 1 byte, repeat.
    [*]Line 23: If the ... , go to 21.
    [*]Line 27: Print the print control code plus the ...
    Battle Bunny Battle Bunny March 2014 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... you doing a PRINT AT 22,0; or 23,0; :???:


    You can do [b]PRINT AT 22,0;[/b]. Here ... 23659,0
    20 PRINT AT 22,0;"Line 23"'"Line 24"
    30 ... ]PRINT AT 23,0;[/b] but you can print on the actual line as ...
    chev chev August 2014 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... ;786997]Random question: Is the print routine in the rom restricted ... you can print on all 24 rows, but PRINT AT 23,0; will ... cause a crash because the code inverts the print ... copyright message is printed on line 1 of the lower display ...
    chev chev August 2014 Sinclair Basic
  • clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…

    ... use PRINT AT on the 24th row; PRINT AT 23,... ... /> inc d ;increment line D=010sslll
    add ... and %00000111 ;check for line overflow
    jp nz ... ,LOOP1 ;do next line, this row
    dec ...
    Battle Bunny Battle Bunny October 2014 Development
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... /> 10 POKE 23659,0:
    PRINT AT 22,0;"AT 22 ... /> FOR r=20 TO 23:
    PRINT #2 OR r>=low ... >=low),0;"printing on line ";r;:
    NEXT r: PAUSE ... *8+1:
    PRINT CODE SCREEN$ (23,31): PRINT ATTR (23,31): POKE 23659 ...
    Battle Bunny Battle Bunny October 2016 Sinclair Basic
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... POKE 23659,0:
    PRINT AT 22,0;"AT ... FOR r=20 TO 23:
    PRINT #2 OR r> ... gt;=low),0;"printing on line ";r;:
    NEXT ... 1:
    PRINT CODE SCREEN$ (23,31): PRINT ATTR (23,31): POKE ... score
    20 PRINT #2; AT 23,0; score:PAUSE ...
    ivanb303 ivanb303 October 2016 Sinclair Basic
  • Print vs 23659To be honest I could not think of a better topic title, although its not ideal. Anyway, I do recall reading ages ago that the reason you cannot no…

    ... ;924933"]the second routine with line 23 still crashes.[/quote]
    As ... BASIC interpreter never gets to line 30. In fact, it never ... the error and tries to print the error message.
    Ast_A_Moore Ast_A_Moore October 2017 Sinclair Basic
  • Microl - The Database - different versionsWith reference to [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0008076"]Microl - The Data Base[/URL], I have two different versions. The s…

    ... on a cassette with blue print. The second comes on a ... tape with red print. I have got both copies ... establish this I tested the print line command, Q key in first ...
    murtceps murtceps October 2008 Infoseek database
  • Just wrote my first useful working Speccy BASIC program in years...A nice UK National Lottery number generator. And not just any lotto number generator either. This one generates 8 lines of 6 numbers without replace…

    ... 8 lines, 6 numbers per line
    300 FOR c=1 ... NEXT c
    400 REM print the lines of randomly picked ... =1 TO 8
    415 PRINT "LINE ";f;": ";
    420 FOR g ...
    BigBadMick BigBadMick November 2008 Development
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    ... />
    [code]
    ld hl,line ; Print line
    call printline
    ret ... />
    printline: ; Routine to print out a line
    ld a,(hl ... ) ; Get character to print
    ...
    sack sack October 2011 Development
  • A 128 Routine to Put Tokens in StringsI was writing a DEF FN on the +128k and decided that I'd had enough of not being able to put function tokens in strings without a great palaver and s…

    ... ":
    IF lla THEN PRINT "No Line ";l: GO TO 9991< ... t$+47: CLS :
    PRINT "Line:";l;" replace:";CHR$ u;" with ... :";CHR$ t: PRINT n$;#0;n$;
    9995 ... GO TO 9995
    9997 PRINT #0;CHR$ p;: LET ... POKE b,p:
    PRINT CHR$ p;: GO TO ...
    Battle Bunny Battle Bunny December 2012 Sinclair Basic
  • BIFROST* example: "Knights & Demons DX" source codeA package containing the source files of our multicolor game "Knights & Demons DX" is now available for download [URL="http://www.mediafire.com/?hbch…

    ... - 8 ' update timer
    PRINT AT 10,26;
    IF ... THEN PRINT " ";: END IF
    PRINT INK 3;pikes ' print number ... if timer expired...
    PRINT AT 23,6; INK 2;"GAME OVER ...
    Einar Saukas Einar Saukas August 2013 Development
  • Python script to scrape Amazon.com book reviewsI've been meaning to read the Gollancz Fantasy Masterworks (roughly 40 books) and Sci-Fi Masterworks (roughly 100+ books) lists for a while now, but …

    ... side of the line
    # print('Line ', line_count, ':', sep='')
    # print(line)
    line += '\n'
    BigBadMick BigBadMick April 2014 Chit chat
  • Looking for 'Your Computer' gravity simulation type inHi, In one of the old Your Computer mags, in the type in progs section near the back, there was a Speccy program which simulated interaction between…

    ... /> PRINT TAB 23;"v1=";v1:\
    PRINT TAB 23;"A1=";a1:\
    PRINT TAB 23;"x1 ... =";x1:\
    PRINT TAB 23;"y1 ...
    Dunny Dunny May 2006 Sinclair Basic
  • Scrolling Loader CounterPlease can someone help me with writing a scrolling counter for a loading system. I like the Hewson counter so i`ve taken the font from zynaps loade…

    ... can`t move to AT 23,x postition. If I do ... the udg is moved to 23,x it crashes. How can ... you may need to PRINT #! rather than PRINT AT 23,x

    DEATH DEATH November 2006 Development
  • Looking for 'Your Computer' gravity simulation type inHi, In one of the old Your Computer mags, in the type in progs section near the back, there was a Speccy program which simulated interaction between…

    ... : PRINT TAB 23;"v1=";v1: PRINT TAB 23;"A1=";a1: PRINT TAB 23;"x1=";x1: PRINT TAB 23 ... ;"y1=";y1: PRINT TAB 23 ... ;"M2=";m2: PRINT TAB 23 ...
    Matt_B Matt_B November 2006 Sinclair Basic
  • Looking for 'Your Computer' gravity simulation type inHi, In one of the old Your Computer mags, in the type in progs section near the back, there was a Speccy program which simulated interaction between…

    ... : PRINT TAB 23;"v1=";v1: PRINT TAB 23;"A1=";a1: PRINT TAB 23;"x1=";x1: PRINT TAB 23 ... ;"y1=";y1: PRINT TAB 23 ... ;"M2=";m2: PRINT TAB 23 ...
    Matt_B Matt_B November 2006 Sinclair Basic
  • ONELINER : Finger TwisterFINGER TWISTER Do you all know TWISTER, that crazy game where you had to place your left foot on yellow, your right hand on green etc. etc. Well, n…

    Part 27 is the print line.

    Try after the error

    PRINT V
    PRINT S
    PRINT H

    when the error occurs you have found the missing variable
    Dr BEEP Dr BEEP May 2007 Games
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... from the end of the PRINT line.

    But this is ... this:

    [CODE]
    PRINT AT y-1+2*i ... this:

    [CODE]
    PRINT AT y-1+2*i ... this:

    [CODE]
    PRINT AT 21,0;s;AT ... this:

    [CODE]
    PRINT AT g-1,x+3 ...
    Einar Saukas Einar Saukas August 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... from the end of the PRINT line.

    But this is ... this:

    [CODE]
    PRINT AT y-1+2*i ... this:

    [CODE]
    PRINT AT y-1+2*i ... this:

    [CODE]
    PRINT AT 21,0;s;AT ... this:

    [CODE]
    PRINT AT g-1,x+3 ...
    Digital Prawn Digital Prawn August 2007 Development
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • 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

HitBox

Word Docs Hits
print 8.5K 20.4K
line 19.4K 33.7K
23 6.8K 8.9K

Related Threads

  • 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..)
  • Utility to create long REM Line for storing M/C program - Maximum BASIC Line LengthHi,<br /> <br /> I think there was a Utlity or Toolkit to create a long REM-Line under 48k BASIC<br /> to store some MCode in it. <br /> <br /> …
  • Line - a one line arcade gameHi,<br /> <br /> I have published Line, a game written in a single line of BASIC. Thanks to Einar Saukas for additional optimisations, suggestions,…
  • how do i set this code up, so i can print more than one line of text?well i got it working but how do i set this code up, so i can print more than one line of text? with a loop or something? not sure where to start on …
  • Are line numbers considered the first statement in the line?I'm trying to understand how BASIC variables are stored in memory using the BASIC Programming manual and am puzzled by the results of the control var…
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • 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 …
  • On-line magazineswell we've got all crash scans online thanks to Mort, WoS and others. YS has a great site in YSRNRY. There is Crash online and Sinclair User online t…
  • catch 23Hello to everybody.<br /> <br /> I need help with this Martech's game.<br /> <br /> I already know the routine to active the link of the personal com…

Related Searches

  • betadisk rom line
  • scroll line
  • print a char in asm
  • edit line
  • print variables
  • save line
  • draw line
  • delete line
  • remove line 128
  • print on border
  • line in
  • print leading zeroes
  • line draw
  • scroll screen down one line
  • poke 24 line
  • print at 23
  • print one line
  • print line 22
  • print line break
  • print at channel 23

Copyright © 2024 World of Spectrum