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.043s
<1234567…34>
  • 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 …

    ... up, so i can print more than one line of text? with a ... like to know how to print longer messages, as long as ...
    digital digital June 2020 Assembler
  • 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…

    ... will;
    [LOGIC]
    1. Print start number in format (H ... -1.
    [SCROLL]
    1. Print one line(byte) at a time in ... line of a character square. So that the '9' will scroll one ...
    FrankT FrankT November 2006 Development
  • fast font engine possible?inspired by the recent "proportional font" thread for zx basic and ideas for gui and having done some of the work on this in the past i wonder if it …

    ... =aowen;539960]Using RST10 to print a chracter to the selected ... my versions of the proportional print routine. That can all be ... criteria is fast drawing of one line of text. this would enable ... any font. if we can print one line (max 64 characters) fast enough ...
    tstih tstih May 2011 Development
  • fast font engine possible?inspired by the recent "proportional font" thread for zx basic and ideas for gui and having done some of the work on this in the past i wonder if it …

    ... criteria is fast drawing of one line of text. this would enable ... any font. if we can print one line (max 64 characters) fast enough ...
    Fikee Fikee May 2011 Development
  • 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.…

    ... ,(hl)
     ld (de),a ;print one line
     call nextlinedn
     ld ... )
     ld (de),a ;print the same line again
     call nextlinedn ...
     ;
    nextlinedn:  ;moves DE one line down on the screen
    R-Tape R-Tape June 2015 Development
  • 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
  • 2 commands in 1 lineHi all, this is my first post although I have visited the web site many times, and I find it great. English is not my mother tongue, so I will try to…

    ... having only one line including 2 commands:

    10 PRINT 1: PRINT 2 ... keep track of the current line being 'parsed' and if there ...
    rinconete rinconete March 2009 Sinclair Basic
  • ONELINER TEXTADVENTUREI had the idea to try to code a small textadventure in just one line of BASIC-code. Here is the result. Although short to play, have fun with it. [c…

    ... a small textadventure in just one line of BASIC-code. Here is ... TO 8: CL
    S : PRINT p$(t)??t-(t> ... -1: N
    EXT t: PRINT p$(t)
    [/code]
    Dr BEEP Dr BEEP March 2004 Games
  • 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..)

    I 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..)
    mgmetro mgmetro July 2005 Sinclair Basic
  • Converting m$ to dataI created a maze using a matrix of 704 characters. In order to save memory, and since the maze it's just walls and spaces which could be interpreted …

    ... maze in 88 bytes, and print the maze by reading the ... from the m array and print the maze by reading the ... game for Dr. Beep's one line BASIC program request. But I ... the movement commands in just one line. )
    zxbruno zxbruno May 2007 Sinclair Basic
  • TAB not rightHi all, I am trying to get a print out on my Spectrum+2B. example:- 10 LET a$="Test" 20 LET b$="128k" 30 LPRINT a$;TAB 18;b$ I am trying to get it …

    ... am trying to get a print out on my Spectrum+2B ... trying to get it to print the Test at the beginning ... the Test on one line and the 128k a line below.
    What ...
    swift240 swift240 July 2007 Sinclair Miscellaneous
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... -perspective 3d game in one line of BASIC. It's ... It's comfortably under one screen as a listing.[/ ... two exponent signs in line 1:10[/INDENT][INDENT ... 1):\
    INK 7: PRINT AT 10,0,,: INK ... d=0 TO 4:\
    PRINT AT 11,c-1;" ^ ... m=m+d:\
    PRINT AT m,15+m*o ...
    bigjon bigjon January 2008 Development
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…

    ... /> ld (hl),a ;print road left side
    ...
    ld (hl),a ;print left side on line1
    print
    ld (de),a ;??print a blank ... ,addone ;if not, just one line up
    push de ... print top line road right
    pop hl ;get ready to print top line ...
    bigjon bigjon February 2008 Development
  • New for 2009 - mc onelinersI found the limit of one line and one screen's worth of program really useful in (re-)learning BASIC, so I've decided to carry the format over into m…

    ... found the limit of one line and one screen's worth of program ... to do that fits onto one screen as a complete listing ... POKE j,b: NEXT j: PRINT AT 0,6;USR 33001 ... gameover
    ld a,8 ;print car
    ld (hl),a ... road posn
    xor a ;print new road
    ld (hl ...
    bigjon bigjon December 2008 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... one-line program in the main Spin display window:
    10 PRINT ... xor a' takes only one. Insert line 6, 'xor a'
    We'll print the top line of the road. Two ... br /> Insert line 7, 'ld b,24 ;print road verge on ... has.
    Print the new road top line like we ...
    bigjon bigjon November 2009 Development
  • Obtuse One-LinerFollowing a request in another thread, this could almost be crammed into one line. It uses a simple ON ERR CONTINUE to give a continuous display. [c…

    Following a request in another thread, this could almost be crammed into one line.
    It uses a simple ON ERR CONTINUE to give a continuous display.

    [code]
    10 INK RND*6
    20 IF RND
    Geoff Geoff May 2010 Sinclair Basic
  • Loader help please (and a suggestion)I posted in my "Wicker Woman" thread that I was having problems creating a loader, but I think this is a more appropriate place to post. I've had go…

    ... advice seems to consist of one line outwith the context of a ... ? Or maybe there already is one and I've missed it ... to have several lines of "PRINT" for a copyright notice, a ... together this...

    10 PRINT "Copyright blahblahblah"
    ...
    100 ...
    The Lone Magpie The Lone Magpie June 2011 Sinclair Basic
  • Moving a line down the display in assembler?...It's not a "[I]how can I do it[/I]" question, it's more a "am I missing something in trying to do it a new way" kinda question. What I've been doing…

    ... optimal way to get from one line to the next below it ... getting "[I]to the next line[/I]" than this, because if ...
    Sokurah Sokurah June 2012 Development
  • SpecBAS 0.775 released!Hi all - me again :) SpecBAS has been updated again, and a whole load of new stuff has been added. Not many bugs fixed (none reported, and I only fo…

    ... /> 30 WHEN 1 : PRINT "ONE!"
    40 WHEN 2 : PRINT "TWO!"
    50 ... WHEN 3 : PRINT "THREE!"
    60 OTHERWISE : PRINT "Dunno!"
    70 ... WHEN IN [4 TO 10] : PRINT "Hoorah!"

    Again, should ... /> 30 WHEN a>2 : PRINT "A Is Bigger!"
    40 ...
    Dunny Dunny May 2013 Sinclair Miscellaneous
  • 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…

    ... IF g(i,j) THEN PRINT c$;: GO TO s
    4 PRINT s$;
    5 NEXT j ... /> 6 LET g=g+o: PRINT AT z,z;t$;g ... a little faster then not (PRINT AT z,z;t$;g ... is faster than PRINT AT 0,0;"generation:";g ... to do as much in one line of BASIC as possible, and ...
    Shaun.Bebbington Shaun.Bebbington September 2014 Sinclair Basic
  • SpecBAS 0.830 Released!Hi guys - A new official release of SpecBAS has been released. The full changelog is below, but for now here's the download: [url]https://sites.goo…

    ... optional numeric argument - DO 35: PRINT "X": LOOP will loop 35 ... which output graphics primitives (CIRCLE, PRINT etc) can now use alpha ... program (past the last line) to a line greater than the last ... files (or multiple INCLUDEs on one line) failed to add procs or ...
    Dunny Dunny February 2015 Sinclair Basic
  • How big is the program?I've got the following one line program (running in a 48K Spectrum emulator) [CODE]1 input n:let n=n-int(n/4)*4:print "1 i -1-i"(n*2+1 to n*2+2)[/CO…

    I've got the following one line program (running in a 48K ... =n-int(n/4)*4:print "1 i -1-i"(n ... )[/CODE]

    With one keyword=one byte, I figure it should ... has executed

    [CODE]print "bytes:";peek 23641+256*peek ...
    branflayk branflayk March 2015 Sinclair Basic
  • Raycasting (3D Games!) with SpecBAS<div><font face="Arial, Verdana"><span style="font-size: 13.3333330154419px; line-height: normal;">Here's one I wrote just recently. I wanted to see …

    Here's one I wrote just recently. ... versions (and indeed, the one I hacked together in the ... though; you can only move one block at a time, ... s) viewpoint. Then extend that line through the maze until you ... When you do, draw a one-pixel-wide strip that represents ...
    Dunny Dunny May 2015 Sinclair Basic
  • SpecBAS 0.844 releasedHi all - it's been a while... Having some unexpected extra time off work, I've been able to get some work done on SpecBAS and it's now a bit more …

    ... multiple targets and assignments in one line - LET a,b,c=3 ... rather than just embedded in PRINT or TEXT commands
    ... /> Embedded SCALE commands in a PRINT command now reset after the ... PRINT has finished
    System sounds ...
    Dunny Dunny May 2015 Sinclair Basic
  • z80 assembly helpEver since I was a child I wanted to program my zx81 then my zx spectrum + 2. However, it was such a mystical beast and I only ever used BASIC not kn…

    ... dec (hl) ; move it up one line.
    ld a,(xcoord) ; where ... vertical position.
    rst 16 ; print it.
    ld a,(ycoord ... y coordinate.
    rst 16 ; print it.
    ret

    antonyjones101 antonyjones101 September 2015 Development
  • I feel like such a moron having to post this but stillI started out to write a simple cursor move program to demonstrate how easy it is to program in Basic! Hah, serves me right. I started by setting…

    ... at 10.15 followed by print * at x,y and ran ... a GOTO back to the PRINT AT line.

    It worked ... U, the asterisk went up one - later I put in a ... ? So I added a line to print the values of X,Y ...
    mik3d3nch mik3d3nch December 2017 BASIC
  • Line - a one line arcade gameHi, I have published Line, a game written in a single line of BASIC. Thanks to Einar Saukas for additional optimisations, suggestions, and fixes. …

    ... ,

    I have published Line, a game written in a ... single line of BASIC. Thanks to Einar ... />
    https://patters.itch.io/line

    Enjoy!
    patters patters August 2019 Brand new software
  • BASIC OptimisationsOk, BASin is maturing fast and now I want to add some more special "stuff". A guy called Chris requested by email that I include a REM killer, to s…

    Multiple print statements...

    PRINT: PRINT : PRINT: PRINT

    would become PRINT'''

    Numbers ... much data as possible on one line.
    ie.

    DATA ...
    Mr. Anonymous Mr. Anonymous June 2004 Development
  • how do i read the keyboard in assembly? here is the code i tried writting to find out the value of a key call 28f (hex) loop: ld a,255 cp e jr z loop ld (50000),e ret notes from what i …

    ... you.

    i'll print myself out a copy of ... charcter, +32 to move down one line.

    and similar stuff ...
    mestor mestor August 2005 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
one 197.7K 277K
line 19.4K 33.7K

Related Threads

  • one grey and one black +2 up for sale in one lot[url="http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;rd=1&amp;item=8184519459"]http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;rd=1&amp;item…
  • 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 …
  • 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..)
  • One plus oneSomeone pointed out, in a now-locked thread about the Brainless Nazional Party:<br /> <br /> [quote]Or how about the way some people claim that one p…
  • 48k one dead, one dodgyhello everyone.<br /> <br /> I have 2 48k spectrum +'s (the one with the QL case).<br /> <br /> Both boards have issue 3B on them near the speaker.<b…
  • The mother of all battles: One on One vs Kung-Fu Master ;-)And now, two of the worst Spectrum games ever... <br /> <br /> ... ONE ON ONE and KUNG-FU MASTER !!! :lol: :lol: :lol: :lol: <br /> <br /> Which do …
  • Eliminator (is this one that one?)[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0001600"]Eliminator[/URL]<br /> <br /> Is SJC in the lower left S. Crow? (already credited)<br…
  • One of "many", but not "last" one...;)<br /> <br /> [url]http://www.youtube.com/watch?v=E8gmARGvPlI&amp;ob=av3e[/url]<br /> <br /> ... enjoy, and, this is true spirit of the 80s' and ZX…
  • 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 /> …

Related Searches

  • betadisk rom line
  • micronaut one
  • scroll line
  • print a char in asm
  • one hit
  • one hit publisher
  • one man and his droid 2
  • edit line
  • print variables
  • one liner
  • am i the only one
  • save line
  • draw line
  • scroll screen down one line
  • one line
  • one line per loop
  • print line 22
  • print line break
  • print line 23
  • move hl down one character line

Copyright © 2024 World of Spectrum