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
<1234567…34>
  • La Abadia Del Crimea - The definitive pollOn a scale of 1 to 10, vote on the score you think LADC deserves. Try and be honest at it while you can. ;) EDIT: This poll is effective for 2 week…

    Hypersports had the 1st messing with the 'stack' to draw on the screen and 'pulling' graphic data using the stack and using bit 7 of the refresh register. Unless you know or earlier examples. LOL!
    frobush frobush August 2009 Games
  • La Abadia Del Crimea - The definitive pollOn a scale of 1 to 10, vote on the score you think LADC deserves. Try and be honest at it while you can. ;) EDIT: This poll is effective for 2 week…

    ... 1st messing with the 'stack' to draw on the screen and 'pulling ... ' graphic data using the stack and ...
    Madonna Mk 2 Madonna Mk 2 August 2009 Games
  • Memory mapping: Pentagon compatibility?I'm writing something that will rely heavily on the Spectrum's ability to switch screen buffers in hardware (port 0x7FFD). The original Spectrum 128K…

    ... switch to RAM 7 to draw it.

    I could ... data onto the stack, and draw them all from that stack data afterwards.
    ajmoss ajmoss August 2010 Hardware
  • Memory mapping: Pentagon compatibility?I'm writing something that will rely heavily on the Spectrum's ability to switch screen buffers in hardware (port 0x7FFD). The original Spectrum 128K…

    ... switch to RAM 7 to draw it.

    I could ... the relevant data onto the stack, and draw them all from that ... stack data afterwards.[/QUOTE]

    ...
    chev chev August 2010 Hardware
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... know/want using the Spectrum stack-calculator to make room, so I ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • Buffer to screen - how much?[FONT=Calibri][SIZE=3]I am starting to build a new game and am researching different ways to accomplish what I need to do. My question is, is it poss…

    ...
    2) Use the stack the draw up the screen

    draw instructions interact for a reduced ...
    melkig1967 melkig1967 September 2014 Development
  • Subtract 4 from an addressThis is a novice Z80 question really: I'm trying to vertical scroll my back buffer, but I'm not sure of the quickest way to apply an offset and mo…

    Could you use the stack to draw a 16x16 tile to the screen efficiently? I was considering the above routines, and it occurred adding 20 bytes each line might make the routine a little slow...
    Atari_Jetman Atari_Jetman September 2015 Development
  • Subtract 4 from an addressThis is a novice Z80 question really: I'm trying to vertical scroll my back buffer, but I'm not sure of the quickest way to apply an offset and mo…

    [quote="Atari_Jetman;834137"]Could you use the stack to draw a 16x16 tile to the screen efficiently?[/quote]

    Yes, this is exactly how BIFROST*, NIRVANA and NIRVANA+ work. The source codes are available at the link in my signature below.
    Einar Saukas Einar Saukas September 2015 Development
  • Is there a AY C64 Delta loading music changer type programme?Rob Hubbard came up with a genius idea of having the DELTA loading screen where you could change it yourself (The lead,Bass, Drums and FX)and I was w…

    ... to e.g. use the stack to draw on the screen, as ...
    Hikaru Hikaru July 2017 Development
  • They are not Mutually Exclusive Younger people tend to use New Tech more . They say things like "XYZ subject is just great on "You Tube" . So why bother with the Spectrum stuff? M…

    ... I want to use the stack to draw on the screen while ...
    Hikaru Hikaru September 2019 Chit chat
  • Need a pointer to using the spectrum calculator from MCHi all, Can anyone point me to a good resource on using the spectrum calculator stack from machine code? I need to work out the number of seconds f…

    ... resource on using the spectrum calculator stack from machine code?

    calculator (to me anyway!)

    dickydodds dickydodds February 2009 Development
  • logical operators and the calculator stackI was wondering if there was a utility which would provide the list of commands needed for the ROM calculator to evaluate a logical expression. For e…

    ... commands needed for the ROM calculator to evaluate a logical expression ... logical expression and output the calculator commands, with an option to ...
    Battle Bunny Battle Bunny September 2010 Development
  • using the ROM's FP calculatorIs it possible to use the ROM's FP calculator to evaluate any FP expression in a single sequence of commands without breaking out to stack some other…

    ... use the ROM's FP calculator to evaluate any FP expression ... commands without breaking out to stack some other element of the ... />
    stack A : stack B : rst $28 : divide : end_calc
    stack C : stack D ...
    Battle Bunny Battle Bunny March 2012 Development
  • CIRCLEHi, I'd like to draw a circle x,y,r using the BASIC-ROM subroutines. I've put x, y and r onto the calculator stack and used CALL #232D and RET. I g…

    ... ,
    I'd like to draw a circle x,y,r ... , y and r onto the calculator stack and used CALL #232D and ...
    HZJ HZJ March 2014 Development
  • "ZX80 Brain" RPN CalculatorIt is at times like [url=https://www.worldofspectrum.org/forums/discussion/54176/depression]when threads such as this are posted[/url] that I get the…

    ... bit ambitious to make a calculator with all the scientific ... by zero
    - the stack won't fill beyond 17 ... to PRINT something on the stack, and POKE 23607,60 ... number is moved up the stack. I've used the ... number is put into the stack).

    Whatever I ...
    The Mighty Dopethrone The Mighty Dopethrone March 2017 Sinclair Basic
  • Vector drawing routines.Anybody could point me to some sort of vector drawing package of routines, callable from BASIC? With "vector drawing" I mean to draw 2D pictures with…

    ... creation of the exit stack (in C you can ... to draw lines, etc, instead of say the ti calculator's ... was told. About the stack depth required by the ... get away with much smaller stack usage. The amount of ... are currently stored on the stack. You can actually see ...
    Alcoholics Anonymous Alcoholics Anonymous October 2007 Development
  • can someone help with a rom routinei have been trying to draw a simple line with a the rom routine , but i just cant get it to work , so if anyone can give me an example in z80 that wo…

    ... the part which uses the calculator stack. The routine takes its ... the signs of the DRAW parameters which are held ... to the BASIC line DRAW 0,175 would look ... CALL 24BAH
    Or to DRAW ?255,0
    LD ...
    Note that these will draw from the current COORDS, and ...
    Steve(spt) Steve(spt) August 2009 Development
  • 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…

    ... re using to call LINE-DRAW isn't quite right. Although ... br />
    To get your DRAW 10,10 example working try ... /> call $24BA ;call LINE-DRAW (skipping initial stack instructions)
    exx
    calculator stack, so the first thing they ...
    GReW GReW June 2010 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…

    ... re using to call LINE-DRAW isn't quite right. Although ... br />
    To get your DRAW 10,10 example working try ... /> call $24BA ;call LINE-DRAW (skipping initial stack instructions)
    exx
    calculator stack, so the first thing they ...
    Dr BEEP Dr BEEP June 2010 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…

    ... into the stack just to call the main line-draw address ?
    calculator stack (note, this is not the ... same as the return-stack, accessed using the PUSH and ... in pushing them onto the calculator stack and then calling a routine ...
    GReW GReW June 2010 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
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ROUTINE
    org 0x2382
    draw:
    rst get_char ; get ... /> call stack_a ; A to calculator stack
    fwait ; enter calculator
    fsub ; x ... br /> fce ; exit calculator
    call draw_line ; draw next arc
    ...
    chev chev October 2013 Development
  • Drawing a dotted line...Hi Folks, I cannot be the first person to want this (?) so here goes! Does anyone have a MC routine that does the same as the BASIC DRAW command bu…

    ... straight lines the whole $2382 DRAW routine, which takes up seven ... =175+USR DOTS: REM DRAW coords on calc.stack
    30 PLOT ... /> ld (23653),hl ;restore the calculator stack pointer
    ret

    Battle Bunny Battle Bunny July 2014 Sinclair Basic
  • Peeking the contents on screen? How?You will have to forgive me for growing up on the C64, but I know I can peek the location of a character (1024 is top left from memory) and the peek …

    ... ;831969"]Simplest way is to draw things in different colours then ... .
    JP L2D28 ; forward to STACK-A to store result
    calculator stack but the PEEK equivalent has ...
    Alcoholics Anonymous Alcoholics Anonymous August 2015 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…

    ... the parameters in the calculator stack van X,Y naar ... />
    rst 28h ; calculator start
    defb 03h ; subtract ... />
    rst 28h ; calculator start
    defb 03h ; subtract ...
    call 24B7h ; call DRAW-LINE

    exx< ...
    Timmy Timmy August 2016 Sinclair Basic
  • Akalabeth gamei found now that someone ported an ansi-basic game (coded in 1979?) to msx-basic - what about a zx-spectrum basic version of it? ;) https://plus.goo…

    ... initially just replacing the DRAW statement in line 404 with ... -2)
    call STKSGN ;DRAW X parameter
    ld a ... -1)
    call STKSGN ;DRAW Y parameter
    call $24b7 ... ,a ;store signed A on calculator stack
    rla
    sbc ...
    Battle Bunny Battle Bunny January 2017 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…

    ...
    CALL 11560 ;put to calculator stack
    LD A,50 ;Y ...
    CALL 11560 ;put to calculator stack
    EXX
    PUSH HL ...
    EXX
    CALL 9335 ; draw
    EXX
    POP HL ...
    Ralf Ralf August 2017 Development
  • 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…

    ... full screen PLOT & DRAW, with a little demo to ... calculator stack. Remember that on the Spectrum PLOT uses absolute values but DRAW ... /> ;Full Screen PLOT & DRAW, Y=0 to +191
    PLOT: defw Plot191
    DRAW: defw Draw191

    ...
    Battle Bunny Battle Bunny January 2018 Sinclair Basic
  • Drawing LinesHas anyone got any experience of coding a Bresenham line drawing algorithm on the Speccy? I've had a go and I find the algorithm has quite a few s…

    [quote="Timmy;951339"]The DRAW routine in the Spectrum ROM ... /> The ROM routine DRAW at $2382 uses the calculator stack extensively (because it ...
    dbolli dbolli March 2019 Development
<1234567…34>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 12:41AM
  • i am currently listening to........
    dmsmith on April 15
  • I am currently watching.....
    zx1 on April 15
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 15
  • Cooperative Games.
    harriusherbartio on April 15
  • Celebrity deaths...
    mel the bell on April 15
  • Minor British Sports that did become games on the ZX Spectrum
    dm_boozefreek on April 15
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 15
  • Inside No.9 favourite episodes
    Maroc's Other Projection on April 15
  • How we became brainwashed by social media
    Scottie_uk on April 15

HitBox

Word Docs Hits
stack 7.2K 10.4K
calculator 1K 1.5K
draw 5.6K 8.5K

Related Threads

  • logical operators and the calculator stackI was wondering if there was a utility which would provide the list of commands needed for the ROM calculator to evaluate a logical expression. For e…
  • Solution for overwritten stack in 48k SNA filesIt has been known for quite some time now that the 48k SNA file format has one serious fault, which is described in the file formats section on the W…
  • Game from an ancient old calculatorOne for the mathematicians, this (possibly).<br /> <br /> Bear with me on this one...<br /> <br /> Many, many years ago, when I was a nipper, I had a…
  • Sinclair Calculator TV AdvertI recently come across this old Sinclair advert on a tape I got sent, not sure if it covers this site but it's very interesting to see anyway!<br /> …
  • the exploding calculator?!hi <br /> i am trying to find out a little bit more about the sinclair pocket calculator and a story i heard which involved one exploding in the pock…
  • Sinclair Cambridge Scientific CalculatorHi,<br /> <br /> Been having a clear out and I found this neat little calculator to sell. Thought I would let you guys know about it.<br /> <br /> [U…
  • SPECTRUM Amplifier and Calculator for saleI am selling on Ebay a Sinclair President Calculator and a Sinclair Project Sixty amplifier if anyone is interested.<br /> <br /> The Links are below…
  • 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…
  • Sinclair Wrist CalculatorAny one got one of these gizmos?<br /> <br /> [url]http://www.youandyesterday.co.uk/articles/Image:Sinclairwristcalc.jpg[/url]
  • Stack Up - level 13: anyone want a challenge?okay I swear this level is not humanly possible. if anyone doesn't know Stack-Up it's a simple Tetris type game - match 3 blocks of the same colour i…

Related Searches

  • stack
  • asm draw character
  • draw line
  • bverstee stack zx spectrum
  • draw command
  • draw test screen basic
  • line draw
  • arc draw
  • draw arc plot
  • draw arc bresenham
  • draw arc integer math
  • draw arc math
  • circle draw
  • calculator stack
  • passing parameters on the calculator stack
  • rom calculator stack extravagant
  • rom calculator stack
  • stack calculator
  • stack calculator radians
  • stack calculator negative numbers

Copyright © 2024 World of Spectrum