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>
  • Bresenham's line algorithmHelp - I really am struggling to get my head around this algorithm. I don't know why, I coped with Cordic (SIN/COS) and integer divide routines (/10 …

    ... of the Spectrum ROM for DRAW-LINE at $24B7 is disappointingly ... detail given for CIRCLE and DRAW ARC).

    ... imaginary?) line.

    [CODE];now draw the line
    ;Bresenham line drawing ... ,writefinish ;finished if trying to draw 0,0!

    Jimmy Jimmy August 2008 Development
  • "TommyGun" gets a complete MAKEOVER for next release ...From the author, Tony Thompson ... """""""""""""""""""""""""" [B][I] I hadn't worked on the TommyGun editor for while. But when I got sick (about …

    ... I have plugins that can draw Spectrum and C64 4 color ... released by me are Free draw, line draw, square, spray can etc. Additional ...
    Sadako Sadako April 2004 Development
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... ;number of bytes per line
    ldir ;draw line

    ... /> call IncY ;get next line draw position, return in de
    line to draw
    dec bc
    HexDump HexDump April 2007 Development
  • Fairlight's use of LDIRYS, comparing Fairlight and Nightshade, said: [quote]Fairlight is much more interesting even though the techniques that Bo Jangeborg uses for screen…

    ... to use special routines that draw line by line upwards from the bottom ... don't understand why drawing line by line "upwards from the bottom ...
    mjwilson mjwilson January 2012 Sinclair Miscellaneous
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... post here my line routine so that we ... /> ; DRAW-LINE
    ; ******************************************************************************
    ;
    ; Draw a pixel line from (x0 ... br /> ; OUT: None.
    line:
    ld b,l
    rtunes rtunes October 2001 Sinclair Miscellaneous
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... now the line routine looks as follows:

    ; DRAW-LINE
    ; ... ******************************************************************************
    ;
    ; Draw a pixel line from (x0,y0 ...
    rtunes rtunes October 2001 Sinclair Miscellaneous
  • Highscore database?Have been playing Splitting Images all weekend and got 135,000 something, completing Marilyn Monroe. So a thought struck me - what about an online hi…

    ... cheat, it's hard to draw line when is enough - 1 or ...
    Alex_Lux Alex_Lux October 2004 Games
  • Spectrum Basic InterpreterHello. I started this days a strange project: an interpreter of the Spectrum Basic that can run in a Spectrum. Here is a very preliminar version: […

    so your basic interpreter will not be able to support DRAW/LINE/PLOT commands for CP/M, for it's only text based.

    Will they give any error or they will just do nothing?
    Arda Arda December 2006 Development
  • Spectrum Basic InterpreterHello. I started this days a strange project: an interpreter of the Spectrum Basic that can run in a Spectrum. Here is a very preliminar version: […

    ... not be able to support DRAW/LINE/PLOT commands for CP/M ...
    NotFound NotFound December 2006 Development
  • My little first set of routines.Hi all, I just coded a little set of routines just to draw a screen on video mem and a fade out. I could have just copied the screen rendering rout…

    ... ;number of bytes per line
    ldir ;draw line

    ... /> call IncY ;get next line draw position, return in de
    line to draw
    dec bc
    Alcoholics Anonymous Alcoholics Anonymous April 2007 Development
  • Reason for strange display layout?I have always wondered if there is any technical reason behind the strange layout of the display file or why did Sinclair choose to do it this way?

    ... . Getting new address (one line down) is very fast just ... position
    POP HL first line
    LD (HL),C ...
    ...
    POP HL next line
    [/code]

    ... 1st line
    - draw line here -
    POP HL 2nd line
    - draw line here ...
    omega omega May 2007 Development
  • plotting and rotating wireframesCan anyone point me to an example of plotting a (2d) shape and rotating it in basic. Unfortunately my trig was never that good and I want to get a h…

    ... global translation (tx,ty) to draw it in the middle of ... /> 880 RETURN
    899 REM draw line segments
    900 READ n ... )
    960 PLOT x0,y0: DRAW x1-x0,y1-y0
    NotANumber NotANumber September 2007 Sinclair Basic
  • Bresenham's line algorithmHelp - I really am struggling to get my head around this algorithm. I don't know why, I coped with Cordic (SIN/COS) and integer divide routines (/10 …

    ... 've just discovered that the DRAW-LINE routine is described in much ... :
    [CODE] 500 REM 'DRAW A LINE' from last position to X ...
    Jimmy Jimmy August 2008 Development
  • Bresenham's line algorithmHelp - I really am struggling to get my head around this algorithm. I don't know why, I coped with Cordic (SIN/COS) and integer divide routines (/10 …

    ... ve just discovered that the DRAW-LINE routine is described in much ... Hara book and I left DRAW-LINE blank after someone volunteered ... /> I'll start with DRAW-LINE. The DRAW and UNDRAW commands were featured ... the ZX81 manual to draw a line and an explanation that ...
    Geoff Geoff August 2008 Development
  • Bresenham's line algorithmHelp - I really am struggling to get my head around this algorithm. I don't know why, I coped with Cordic (SIN/COS) and integer divide routines (/10 …

    Thank you rtunes for that link to a very early thread which provided some interesting source code. I must learn to search WoS forums a bit better.

    I did manage to write a 16-bit Cordic routine which is good for circles as it calculates SIN and ...
    Jimmy Jimmy September 2008 Development
  • Changing the way SCREEN$ is loadedThe way the speccy loads in a SCREEN$ is interesting - top two-thirds first, then middle and finally the bottom, which is due to the way the speccy d…

    ... this program to draw the screen line by line. Doesn't load ... to understand how to draw line by line first. Its my version ... /> jr nz, screenaddress ; draw next character line if not

    jr pokethird ; draw middle screen

    ...
    FrankT FrankT October 2008 Sinclair Miscellaneous
  • Fairlight's use of LDIRYS, comparing Fairlight and Nightshade, said: [quote]Fairlight is much more interesting even though the techniques that Bo Jangeborg uses for screen…

    ... to use special routines that draw line by line upwards from the bottom ... don't understand why drawing line by line "upwards from the bottom ...
    Metalbrain Metalbrain January 2012 Sinclair Miscellaneous
  • Tile engine and slight colour flickerOver the past few nights I've been working on a simple tile game engine for a rock fold game I'm making. While all is going surprising well I've not…

    Probably copying the pixels onto the screen first, then the screen refreshes, before you can get round to copying up the attributes. Either need to time it better, or re-write the copy routine to draw line-by-line with attributes.
    joefish joefish June 2014 Development
  • Tile engine and slight colour flickerOver the past few nights I've been working on a simple tile game engine for a rock fold game I'm making. While all is going surprising well I've not…

    [QUOTE=joefish;772135]or re-write the copy routine to draw line-by-line with attributes.[/QUOTE]

    Ahh, good thinking, I better go and alter my buffer copying routine too, ;)
    polomint polomint June 2014 Development
  • Tile engine and slight colour flickerOver the past few nights I've been working on a simple tile game engine for a rock fold game I'm making. While all is going surprising well I've not…

    ... write the copy routine to draw line-by-line with attributes.[/QUOTE]
    line)

    display_buffer_loop:
    ... /> ld (temp1),hl ; Stores pixel line
    ld hl, (temp2) ; ...
    richdotward richdotward June 2014 Development
  • Screen buffer Tip from Raff CeccoRaff very kindly gave me this tip: "Incidentally, I remembered a trick I used on the Z80 for extra speed: When clearing the screen buffer, it was a…

    ... t-states it takes per line. Everything beyond that is just ... all your routines so they draw line by line starting at the top ...
    AndyC AndyC October 2014 Development
  • Bug fixing woesGaahhhh! I've spent an afternoon off work agonizing over why my routine didn't work. It's something I'd already restarted so didn't want to wipe th…

    ... .

    In order to draw as many sprites as possible ... loops like this:

    draw line >>>
    CALL ...
    R-Tape R-Tape January 2015 Development
  • Line DemoI was looking in the source code of another game (that Akalabeth game), with lots of line drawings. The difference was that they don't use the PL…

    ... forget how I wrote this LINE code, here's how I ... /> ; This is the part where LINE is going to be executed ...

    call 24B7h ; call DRAW-LINE

    exx
    pop ...
    Timmy Timmy August 2016 Sinclair Basic
  • Line DemoI was looking in the source code of another game (that Akalabeth game), with lots of line drawings. The difference was that they don't use the PL…

    ... that is used to draw line in this line demo on *this thread ...
    Timmy Timmy August 2016 Sinclair Basic
  • Thought this would be simple... Z80Hi Folks, Started to read "Beyond simple BASIC, Delving Deeper into your ZX Spectrum" by Dilwyn Jones. This is a great book and I came across the…

    ... =+ve)
    call $24BA ; Call DRAW-LINE in ROM
    exx ; Switch ...
    Paddy Coleman Paddy Coleman August 2017 Development
  • Strongest aspect of Spectrum BASICWhat would you say is the strongest aspect of Spectrum BASIC compared to other BASICs on other micros at the time. I think it might have been the Fun…

    ... ;"X+";C
    75 REM DRAW AXES
    80 FOR X ... NEXT Y
    135 REM DRAW LINE
    140 FOR X=0TO ...
    mik3d3nch mik3d3nch March 2022 Sinclair Basic
  • Strongest aspect of Spectrum BASICWhat would you say is the strongest aspect of Spectrum BASIC compared to other BASICs on other micros at the time. I think it might have been the Fun…

    ... ;"X+";C
    75 REM DRAW AXES
    80 FOR X ... NEXT Y
    135 REM DRAW LINE
    140 FOR X=0TO ...
    mik3d3nch mik3d3nch March 2022 Sinclair Basic
  • How works the Line-Draw ROM routine ?The 'complete spectrum rom dissasembly.pdf' show info related to the draw rom subroutine. The Line-Draw require two sets of parameters: X,Y coordinat…

    ... info related to the draw rom subroutine. The Line-Draw require two sets ... show a working example to draw a line in asm ? because i ...
    arfgh arfgh June 2010 Sinclair Basic
  • Complex DRAW command?After looking at some Speccy code I noticed that the DRAW statement is used to draw lines (or it looked that way). On the Coco, the LINE command was…

    ... that the DRAW statement is used to draw lines (or ... Coco, the LINE command was used to draw lines and ... the DRAW statement was ... position isn't updated after draw)
    B = blank ... don't draw)

    "U8R8D8L8" would draw a square ...
    JamesD JamesD February 2007 Development
  • Draw (x1,y1) to (x2, y2)?I was never very good at math. :( Given the above variables, what should I do to draw a line between the two pixels? How do I calculate the values fo…

    ... , what should I do to draw a line between the two pixels ... I calculate the values for DRAW?

    I thought it ... />
    PLOT x1,y1
    DRAW ????.????

    I've seen ...
    zxbruno zxbruno May 2009 Sinclair Basic
<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
draw 5.6K 8.5K
line 19.4K 33.7K

Related Threads

  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here)<br /> <br /> in fact, I want to accelerate a car towa…
  • How works the Line-Draw ROM routine ?The 'complete spectrum rom dissasembly.pdf' show info related to the draw rom subroutine. The Line-Draw require two sets of parameters: X,Y coordinat…
  • Music Trackers, draw a line! __________________________________<br /> <br /> This is a little poll and here we can give us tips about music tracking with Zx Spectrum.<br /> Ask something a…
  • 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,…
  • 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…
  • 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…
  • On-line chatY'know, I've noticed on many occasions in the chat logs that when an anonymous person enters the chatroom, it's always presumed to be me! Why is that…

Related Searches

  • betadisk rom line
  • scroll line
  • asm draw character
  • edit line
  • save line
  • draw command
  • delete line
  • remove line 128
  • draw test screen basic
  • line in
  • line draw
  • arc draw
  • draw arc plot
  • draw arc bresenham
  • draw arc integer math
  • draw arc math
  • scroll screen down one line
  • draw erase sprite line
  • draw line passes through point
  • draw line function from machine code

Copyright © 2024 World of Spectrum