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.008s
<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 …

    ... with Cordic (SIN/COS) and integer divide routines (/10 and /15 ... detail given for CIRCLE and DRAW ARC).

    The Z88 source ... line.

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

    ...
    Jimmy Jimmy August 2008 Development
  • Bresenhams circle algorithmI post here my final circle code to replace, if you want, the one in the ROM. It only uses integer math and runs very fast and is very compact. It is…

    ... ROM.
    It only uses integer math and runs very fast and ... ) it calculates

    ;we draw a pixel in each of ... pixels where each pixel has integer coordinates.



    rtunes rtunes September 2008 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... on this code: C has integer math built into the language however ... C compiler would have used integer division to compute the result ... =0; i!=256; ++i)
    draw(i, 191, i, (int)(191 ... , there is a problem with integer to float conversion. "(float)(a ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Recommend a dev environmentIt's been a while since I last wrote any Z80 assembler - must be over 20 years, and since I wrote any spectrum Z80 assembler more like 25 years. I n…

    ... all you need is to draw a line. Including the whole ... routines by hand, extract the DRAW part and then grab all ... . If I used the small integer math lib, l_mulu_40_32x8 is standalone. If ... I use the fast integer math lib, I will need l_mulu_32_24x8 ...
    Alcoholics Anonymous Alcoholics Anonymous March 2011 Development
  • 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…

    ... />
    We have a fast integer math library that can also be ... the other. The renderer could draw to anything, including the display ... have to understand a few draw commands (lineto, point, etc) ... pipeline, which would make the draw code faster. The pipeline ...
    Alcoholics Anonymous Alcoholics Anonymous June 2014 Sinclair Basic
  • whats your second favourite retro computerOk i'm going to assume that for most of us here the speccy is our favourite number 1 retro computer,its the best home computer in the world etc etc :…

    ... a CIRCLE command, and whose integer math is SLOWER than the float ...
    GOC GOC February 2004 Games
  • whats your second favourite retro computerOk i'm going to assume that for most of us here the speccy is our favourite number 1 retro computer,its the best home computer in the world etc etc :…

    ... a CIRCLE command, and whose integer math is SLOWER than the float ... math ! 'Nuff said...
    [/quote]
    < ...
    monty.mole monty.mole February 2004 Games
  • ANN: open82The Open82 project has been merged with the OpenZXRom project. The homepage is here: [url]http://open82.sourceforge.net/[/url] The subversion repos…

    ... my knowledge about floating point math. for C with its types ... integers. the result will be integer math at the current speed and ... (not so much faster:/ ) float math with less valid digits (does ... anyone serious math in basic ? i dont know ...
    Fikee Fikee August 2008 Development
  • Graphical Amusementsstefano (another z88dk bod) has been working on something interesting: run them with the usual LOAD "" [url]http://stefanob.webs.com/rabbit.tap[/ur…

    ... the converter, not by the draw routines though I suppose this ... ). svg has things like draw bezier and draw arc but the converter substitutes ...
    Alcoholics Anonymous Alcoholics Anonymous November 2009 Development
  • yeah - unix for zx spectrumI started a new hobby project. An operating system for ZX Spectrum. A unix clone. Talked to my friend about it and he asked me what if after I'm done…

    ... of memory concerns.

    - math functions (16 bit and 32 ... floating point),

    the integer stuff is mainly done with ... has fairly good 16-bit integer arithmetic but it relies on ... />
    Right now, z88dk's integer math is being split into three ...
    Alcoholics Anonymous Alcoholics Anonymous January 2011 Development
  • Development choices, help!As a small part-time project I would like to convert my daily programming work (a workflow/bpel engine) to the Spectrum, purely for fun. I would like…

    ... restrict endptr); // OWNED BY MATH LIBRARY
    float strtof( ... /> //////////////////////////////////////
    // 7.20.6 INTEGER ARITHMETIC FUNCTIONS
    //////////////////////////////////////

    integer math functions in stdlib. ...
    Alcoholics Anonymous Alcoholics Anonymous June 2011 Development
  • Backups, Make ThemI just lost 10k+ lines of z80 source to a dead ssd. Not nice :-(

    ... selection of fast/medium/small integer math libs and various other random ...
    Alcoholics Anonymous Alcoholics Anonymous June 2011 Development
  • Backups, Make ThemI just lost 10k+ lines of z80 source to a dead ssd. Not nice :-(

    ... selection of fast/medium/small integer math libs and various other random ...
    Timmy Timmy June 2011 Development
  • Calculating percentage..or even calculating percentage. Maths and asm I find verryyy tricky. Can anyone suggest the easiest/best way to calculate a percentage from two 1…

    I don't think it is important there, because it is not integer math.
    Shiru Shiru December 2011 Development
  • Elliptical ChallengeSubsequent to the recent "Graph Plot" thread, I wrote this general purpose ellipse drawing routine which will plot (although it doesn't actually use …

    ... />
    This "32-bit signed integer math routines" page is very good ... ://techref.massmind.org/techref/microchip/math/32bmath-ph.htm[/url]
    Battle Bunny Battle Bunny November 2012 Development
  • 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…

    ... /> Or you could write an integer math library for z88dk. I'd ... isn't a public Z80 integer math library that you could base ...
    chev chev 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…

    [QUOTE=Battle Bunny;776002]What I think was meant was: ABS (x-1) < 0.000001; ie. the difference between the actual (x) and the required (1) final value is < 0.000001 .
    [/quote]

    No, I was copying the sense of the original compare ...
    Alcoholics Anonymous Alcoholics Anonymous June 2014 Sinclair Basic
  • Fixed point math lib?Is there a liberally licensed fixed point math lib for z80 somewhere? When searching, I expected to find a bunch of GPL'd ones and perhaps one or two…

    And the fixed point math is done in 32 bits using the regular 32 bit integer math functions. So there isn't much there except a table look up for cosine and sine.
    Alcoholics Anonymous Alcoholics Anonymous November 2015 Development
  • Simple/standard Linux assembly development environmentIs there a standard or recommended Spectrum Z80 assembly language environment for Linux based folks? I was looking at the assembly language posted in…

    ... accessible from asm including float math, integer math, string functions, stdio functions, sorting ...
    Alcoholics Anonymous Alcoholics Anonymous March 2017 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…

    ... at math. :( Given the above variables, what should I do to draw ... I calculate the values for DRAW?

    I thought it ... integer out of range error.

    PLOT x1,y1
    DRAW ...
    zxbruno zxbruno May 2009 Sinclair Basic
  • DRAW x,y,a Algorithm - how does the ROM do it?Hi all, Getting on with SpecOS, and one of the things I would love to do is to preserve the original ROM's behaviour when drawing Arcs. This is don…

    ... . This is done by using DRAW x,y,a where the ... of the DRAW command implemented in BASIC - but not the arc drawing ... , or Pascal!) implementation of the Arc drawing algorithm implemented by the ... be clear, I can already draw bezier curves (and therefore, so ...
    Dunny Dunny August 2010 Sinclair Basic
  • A fast DRAW routineI was investigating how to speed up the line drawing for the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=20225"]BASIC compiler[/URL]…

    ... and integer calculations ... ; ---------------------------------------------------------------------
    ; DRAW using Bresenham's algorithm ... br />
    ;; DRAW PROCEDURE
    PROC
    boriel boriel December 2010 Development
  • The WoS Type-Ins ProjectGood folks of WoS! Lend me your ears (figuratively speaking of course)! At long last, the kind and noble Martijn has cleared the Type-Ins project for…

    ... Tool
    Arc Regular Arcade game
    Arc/Adv Arcade Adventure ... br /> Dbase Utility: Database
    Draw Utility: Drawing
    Elec Utility ... /> Font Utility: Font/UDGs
    Math Utility: Mathematics
    Mus Utility ...
    Arjun Arjun October 2003 Sinclair Miscellaneous
  • 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…

    ... ;171327]How does Geoff's DRAW program work? The three argument ... DRAW command is meant to draw arcs, not regular ... involved, the algorithm is completely integer based, and the C++ clone ... not very close to an arc with higher values.
    NotFound NotFound February 2007 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 …

    ... implemented dda in 8 bit integer arithemetic, pseudocode of routine (without ... . BASICs CIRCLE is just DRAW x, y, arc command with specific parameters ... , bresenham implemented in basic will draw circle a bit faster than ...
    Fikee Fikee September 2008 Development
  • TXT2EMU enhancementI was looking at the encodings supported by BAS2TAP for entering graphics, print controls, etc. as plain text. Basically, there's only one needed, be…

    ... the maximum permitted value for DRAW's arc parameter (which uses radians ... ); anything over that gives an "Integer out of range" error.
    Battle Bunny Battle Bunny November 2013 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
arc 564 666
integer 761 1.1K
math 604 781

Related Threads

  • Reflex Arc or Refex Arc?According to the cassette inlay from "That?s the Spirit", the development group should be called Refex Arc and not Reflex Arc, as stated on the entry…
  • No speech in Cobra's Arc? A mystery tale from Spain...I once downloaded CsA - probably from some Spanish retrogaming website - in TAP format. While I usually discard TAP files in favor of TZX ones as soo…
  • 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).<br /> <br /> On the Coco, the LINE…
  • Your views on...The Arc of Yesod[url=http://www.worldofspectrum.org/infoseek.cgi?regexp=^Arc+of+Yesod%2c+The$&amp;pub=^Thor+Computer+Software$&amp;loadpics=on]The Arc of Yesod[/url]…
  • Integer RangesOK, I need a little help clarifying something.<br /> <br /> I am making good progress with the emulator so far - I've emulated most ADD, INC, DEC com…
  • 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…
  • Cobra's ArcMartijn, the game Cobra's Arc by Dinamic is also called Cobras Arc (without the '), If you take a look at the front and back cover.<br /> <br /> chee…
  • 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…
  • Name Me, Make me (involves Boolean math).[B]What's the name of this game?[/B]<br /> <br /> There are 2 players.<br /> You have 4 rows of toothpicks. 16 toothpicks total. <br /> <br /> 1st …

Related Searches

  • asm draw character
  • draw line
  • draw command
  • draw test screen basic
  • line draw
  • arc
  • arc draw
  • draw arc plot
  • draw arc bresenham
  • draw arc math
  • circle draw
  • draw to
  • draw
  • draw a tree
  • draw a tree basic
  • draw golden spiral
  • draw basic third variable
  • b integer out of range draw
  • draw arc algorithm
  • draw arc

Copyright © 2024 World of Spectrum