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
<1…6789101112…34>
  • IN or INKEY ?just curious which is better to use.. I have a menu done.. and use 6/7 to go up down it + space to cycle thru the options (using inkey).. obv. if I w…

    ... ;to calculator stack: A
    FPTOA: equ $2dd5 ;from calculator stack: A< ... $20
    call SCANNG ;stack 1st variable
    rst $20 ... over ,
    call SCANNG ;stack 2nd variable
    rst $ ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... parameters are taken off the calculator stack, which is what seems to ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... parameters are taken off the calculator stack, which is what seems to ...
    mjwilson mjwilson October 2011 Sinclair Basic
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... size would move the calculator stack, not the machine stack.

    That ... either. There are some other calculator stack errors listed, so it might ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... the result is in the calculator stack, LDIR again the parameters back ... result is popped from the stack to be stored at its ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... /> ; result as last value on calculator stack.

    POP AF ; restore ... /> ; result as last value on calculator stack.

    ;FIX: Restore the ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... ;to calculator stack: A
    FPTOBC: equ $2da2 ;from calculator stack: BC< ... br /> FPTOA: equ $2dd5 ;from calculator stack: A< ... ,
    call EX1NUM ;stack 1st parameter
    pop af ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • New SpecBAS available - v0.710Been a while, but I've just uploaded the latest build of SpecBAS. This one now supports tilemaps (with rotation and scaling) and added OVER mode (XO…

    [QUOTE=Dunny;579193]I shall pop an archive of demo programs up for you. Here you go:

    [url]https://sites.google.com/site/pauldunn/demos.zip[/url]

    Unpack that into your Specbas folder.[/QUOTE]

    Thanks mate. Although now ...
    ewgf ewgf November 2011 Sinclair Miscellaneous
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... correct number were on the calculator stack. (That slightly longer ... />
    [code]
    ;stack function parameters passed from BASIC ... the "PRINT USR to calculator stack" method of passing parameters ... put them on the calculator stack. So the general function ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …

    ... correct number were on the calculator stack. (That slightly longer ... />
    [code]
    ;stack function parameters passed from BASIC ... the "PRINT USR to calculator stack" method of passing parameters ... put them on the calculator stack. So the general function ...
    Dunny Dunny December 2011 Sinclair Basic
  • 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…

    Use the calculator, stack the numbers and calculate with RST #28
    Dr BEEP Dr BEEP December 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…

    ... ;from calculator stack: AEDCB
    STAKBC: equ $2d2b ;to calculator stack: BC< ... br /> FPTOA: equ $2dd5 ;from calculator stack: A< ... /> ret
    OPTION2:;stack the answer as a string ...
    Battle Bunny Battle Bunny December 2011 Development
  • Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …

    ... you can point the stack pointer into your data and ... registers. Then point the stack pointer at the end of ... to work was to draw or copy the scenery ... screen area. You then draw your sprites straight onto the ... , where you only re-draw things that have changed, ...
    joefish joefish January 2012 Development
  • Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …

    ... you can point the stack pointer into your data and ... registers. Then point the stack pointer at the end of ... to work was to draw or copy the scenery ... screen area. You then draw your sprites straight onto the ... , where you only re-draw things that have changed, ...
    apenao apenao January 2012 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... beginners - it involves treating the stack pointer as just another address ... -by-line, and one to draw the new one line-by ...
    joefish joefish January 2012 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... beginners - it involves treating the stack pointer as just another address ... -by-line, and one to draw the new one line-by ...
    ccowley ccowley January 2012 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 ones which use the stack. Using PUSH to write into ...
    Metalbrain Metalbrain January 2012 Sinclair Miscellaneous
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    ... value being removed from the calculator stack, but I've not dug ...
    obo obo January 2012 Development
  • M/C mathsHow would I do the equivalent of LET A=B*7 in machine code?

    ... * Put the value on the calculator stack
    * Put the multiplicand ( ... this case 7) on the calculator stack
    * Call $28 ... * Leave the product on the calculator stack
    * Point CH_ADD to ... and while within the calculator by using the STK_DATA ...
    Battle Bunny Battle Bunny January 2012 Development
  • Is there a limit to the numberof variables you can have in BASIC..... Reason I ask is I've got an idea....but using my "lowest common denominator" approach to code I fear that I'…

    ... system variables or the machine stack or calculator stack by POKEing an inappropriate ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • Disable interrupts?Well, I've read the bits from the David Webb book about interrupt modes and (vaguely) appreciate the principles behind having a vector table, after r…

    ... a simple RET for screen draw timings to begin with. Once ... />
    I then set my stack pointer to 0 (so the ... storage, so long as the stack doesn't grow too big ...
    R-Tape R-Tape February 2012 Development
  • Copying a SCREEN$ in ZX BASIC in 1 second?!Following on from the revived "[thread=20207]Saving a complete SCREEN$ in BASIC[/thread]" thread (although Arjun really only needed a suitable POKE i…

    ... passed to and from the calculator stack and so has to be ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... /> #pragma output STACKPTR=53248 // place stack at $d000 at startup
    draw it.
    void loadlevel()
    AndyOaks AndyOaks March 2012 Development
  • How much space does a number take?Hi Folks, Could someone please remind me how much memory a number takes up in a BASIC listing. For example, if you had: [CODE]100 LET a=3000[/CODE…

    ... and string descriptors on the calculator stack.

    The second byte ...
    Geoff Geoff March 2012 Sinclair Basic
  • 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 ... commands without breaking out to stack some other element of ...
    stack A : stack B : rst $28 : divide : end_calc
    stack C : stack D ... /> e.g.
    stack A ; stack B ; stack C ; stack D
    rst $ ...
    Geoff Geoff March 2012 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…

    ... ]
    stack A
    stack B
    stack C
    stack D
    calculator to evaluate any FP ... without breaking out to stack some other element of ... /> stack A : stack B : rst $28 : divide : end_calc
    stack C : stack D ...
    antoniovillena antoniovillena March 2012 Development
  • How much space does a number take?Hi Folks, Could someone please remind me how much memory a number takes up in a BASIC listing. For example, if you had: [CODE]100 LET a=3000[/CODE…

    ... FP representation right onto the calculator stack ready to do business with ...
    BloodBaz BloodBaz March 2012 Sinclair Basic
  • Is there a ROM modification (48K) for load without typing LOAD""?The target is to play with 48K machines with keyboard broken, or an alternative solution for new clones like Superfo instead of making a new keyboard…

    ... STMT-RET is on the stack.

    ;; SAVE-ETC
    ; parameters from the calculator stack.
    ; length of string in ...
    Dr BEEP Dr BEEP April 2012 Development
<1…6789101112…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