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.006s
<1234567…34>
  • 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
  • Help needed... RND in machine codeI have been battling away trying to convert a simple BASIC routine (below) to machine code, but to no avail. The routine is used to fire 2 bullets a…

    ... b,$1D ;B= calculator code for VAL
    rst $28 ;FP_CALC
    defb ... next RND value on the calculator stack; the remainder does the ...
    Battle Bunny Battle Bunny July 2012 Development
  • Graph Plothi! please, help with code: [PHP]For x=-100 To 100 For y=-100 To 100 If (x/2-25)*(x/2-25)+(y-50)*(y-50)<200 Or (x/2+25)*(x/2+25)+(y-50)*(y-50)<200 th…

    ... by not using the FP calculator but I expect that it ...
    Battle Bunny Battle Bunny November 2012 Development
  • RND cyclical behaviourGood evening. I'm playing with RND function to show its cyclical behaviour, i.e. after 65536 calls to it, the next one will return the same value of …

    ... b,$1D ;B= calculator code for VAL
    rst $28 ;FP_CALC
    defb ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • Maths problemHi guys! I'm having a bit of trouble with a small section of code in Basic. I am spinning a wheel around with numbers 0-9 on it (think of the code w…

    ... with the Spectrum's calculator at RST &28.
    Calculator literal &32 ... top two items on the calculator stack where m is the ...
    Jonathan Harston Jonathan Harston December 2013 Development
  • Basic BASIC help needed RNDHi all, I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers. I know little now, an…

    ... br /> RNDFUN: di
    rst $28 ;FP_CALC
    defb $A0 ... 1D ;B= calculator code for 'VAL'

    rst $28 ;FP_CALC
    ld b,$09 ;B= calculator code for 'x
    Battle Bunny Battle Bunny May 2016 Sinclair Basic
  • Custom Menus on the ZX Spectrum +3Today, my Friends, i have the pleasure of presenting a program i have written which gives a set of custom menus on the +3. The main features of my p…

    ... to use the Floating Point Calculator, such as [url="https ... entry points into the calculator that call the relevant ... entry into the calculator is via the [b]RST $28[/b] call followed ... by a number of data bytes representing calculator ...
    The_Bert The_Bert October 2017 Sinclair Basic
  • Macros and PasmoHi guys. I'm starting out with Pasmo for writing some stuff for the +3, and i'd like to use Macros for the calls to the BASIC ROM, where' you'd othe…

    ... write something like:
    [code]RST $28
    DEFW RoutineAddress[/code]
    MACRO CBAS RoutineAddress
    RST $28
    DEFW RoutineAddress
    ENDM ...
    The_Bert The_Bert January 2014 Development
  • New SPIN 0.3a releaseHi all, here's the next version - mainly a maintenance release, with new bugs :) Here's what's new: V0.3a - Bugs and more tapes -------------------…

    ... />
    original
    --------
    EF RST #28
    EF15 DEFW #15EF
    D7 RST #10

    patched
    secarica secarica November 2002 Emulators
  • URGENT programming question !I've gotta draw a line from machine code using the standard routine at 24B7, which expects the delta-X and delta-Y values on the BASIC stack. I put t…

    Hey, mystery solved !!! I know how to do it - I push X1 and X2 on the stack, call RST #28 to subtract them, push Y1 and Y2 on the stack, call RST #28 to subtract, and call the DRAW routine.]

    Can't believe it was so easy. :)
    GOC GOC July 2003 Sinclair Miscellaneous
  • Competition: Sadistick routine on Spectrum ROMMy vote goes to BEEPER at #03B5 Let's ear you pick! :) And a great BOHHHHHHHHHHHHH to Dr Ian Logan & Dr Frank O'Hara for their description about the…

    [quote]
    On 2005-05-02 17:23, AE.Vasconcelos wrote:
    Nope... Floating point in assembler is too much for me to handle.
    [/quote]

    Hint: RST 28
    Philip Kendall Philip Kendall May 2005 Development
  • Homing missile routine - help neededI am attempting to write a routine which will allow a missile to home in on a player. Basically the sort of thing you see in most shoot-em-up games. …

    ... could use the FP Calc (RST 28) in the Rom, but this ...
    dmsmith dmsmith March 2006 Development
  • Spin problems/issuesI am running Spin 0.666 and have noticed a few issues (some are bugs, some might be just me). I am using Vista sp1 (yeah I know!), and I've seen Dunn…

    ... two more bugs :

    28 ) Enter debugger. Go right down ... it thinks $0000 contains the RST 28 ($EF) opcode.

    29 ...
    Jimmy Jimmy June 2008 Emulators
  • Spin problems/issuesI am running Spin 0.666 and have noticed a few issues (some are bugs, some might be just me). I am using Vista sp1 (yeah I know!), and I've seen Dunn…

    [QUOTE=Jimmy;278083]28 ) Enter debugger. Go right down ... it thinks $0000 contains the RST 28 ($EF) opcode.[/quote]
    Haven ...
    Marko Marko June 2008 Emulators
  • +3 BASIC and RST 8I've been working on adding commands to the BASIC interpreter, in a similar style to how Interface 1 does it (catch the RST 8 error trap). This works…

    ... , just use:

    [CODE]rst $28
    defw $0556[/CODE]
    glancaster glancaster 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…

    ... faster than the built-in RST #28 forth-like interpreter.
    mcleod_ideafix mcleod_ideafix September 2010 Development
  • Recent talk of developing new SpectrumsHi all, I can see from a few threads on here that some Wossers like Vasil and Aien 8 are interested in developing more powerful Spectrums or improvi…

    ... an FPGA, because when the RST 28H instruction is read, instead ... the Z80 from fetching the RST 28. (There's some more detail ...
    Winston Winston December 2010 Hardware
  • Need in beta-taster`s helpHello to all. I have developed hard-soft emulator of ZX Spectrum 48, but there are problems in work. My topics is: [url]http://www.worldofspectrum.or…

    ...
    [*]CP (IY+d)
    [*]RST $28
    [*]JP M,addr
    Jimmy Jimmy February 2011 Emulators
  • 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…

    ... the intervening operator. So perhaps RST $20 is used to scan ... stack the logical operator, call RST $28 and then call FP_TO_BC to ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • 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…

    ... stack the logical operator, call RST $28 and then call FP_TO_BC to ...
    roko roko October 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…

    ... value
    call STACK_BC
    rst #28
    db #05 ;/
    db ...
    Shiru Shiru December 2011 Development
  • M/C mathsHow would I do the equivalent of LET A=B*7 in machine code?

    ...
    CALL $2d28 ;STACK_A
    RST $28 ;FP_CALC
    DEFB $04,$38 ...
    Battle Bunny Battle Bunny January 2012 Development
  • number padding functionI wrote a number padding function in BASIC a while ago, but when I came to want it again I couldn't find it, so I've done this enhanced [url=http://w…

    ...
    call $33b4 ;STACK_NUM
    rst $28 ;FP_CALC
    defb $2e ;str ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Graph Plothi! please, help with code: [PHP]For x=-100 To 100 For y=-100 To 100 If (x/2-25)*(x/2-25)+(y-50)*(y-50)<200 Or (x/2+25)*(x/2+25)+(y-50)*(y-50)<200 th…

    Here's a much quicker version; the BASIC now only takes 50 seconds, and the assembler is reduced from 318 secs to 17 secs. There's still scope for further improvements. The significant change is that it only executes the inner Y loop with valid plot points ...
    Battle Bunny Battle Bunny November 2012 Development
  • calculator and sinusok, look at the Sysel's routine: [PHP]3 5b00 *s 4 5b00 tabsin = #7000 03 mksin 19.11.1995 Busy soft …

    [CODE] rst #28
    db 34h ; ; 34 stk_data< ...
    g0blinish g0blinish January 2013 Development
  • 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…

    ... fdel ; remove from calculator stack
    fce ; exit calculator

    ... org 0x2cda
    nxt_dgt_1:
    rst get_char ...
    fce ; exit calculator
    rst next_char ; get next character ...
    chev chev October 2013 Development
<1234567…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
calculator 1K 1.5K
rst 1.2K 2.5K
28 4.3K 5.9K

Related Threads

  • 2 days Meeting in Holland 27-04-2002 and 28-04-2002For you who were not there, a short compilation!<br /> <br /> "Moorhuhn", the addictive internetgame which keeps 1000's of Germans out of work is rel…
  • 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…
  • RST 16 with TASMCan any body tell me what is wong when I assemble this test code with TASM :<br /> <br /> ;print a long string "help me"<br /> start .org 32000<br…
  • 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…
  • ANN: Tipshop updated Thursday, 28 July 2005Thursday 28 July 2005<br /> New search script changes, and quite a few tips to keep you going <br /> <br /> * Updated the search script. You can now …
  • 28 retro game EBAY auctions - including CYBERUN ultimate play the game for spectrumVINTAGE NINTENDO DONKEY KONG GAME AND WATCH HANDHELD<br /> <br /> [url="http://cgi.ebay.co.uk/VINTAGE-NINTENDO-DONKEY-KONG-GAME-AND-WATCH-NOT-SNES_W…
  • 28 CostumesAfter playing the Trans Siberian Mystery game, I was tempted to listen to the band that the game is inspired by. I ordered 'The Fake Death Experience…
  • http://zx.pk.ru RST#38 (Russian Spectrum Talks)[url="http://zx.pk.ru"]http://zx.pk.ru[/url] is a biggest Russian forum for Speccy (has 750 Registered Users &amp; 30 000 Messages). It's live discus…

Related Searches

  • rst 08
  • quote rst
  • calculator stack
  • mulcticolor 28 wide
  • passing parameters on the calculator stack
  • rst 16
  • rst 16 registers
  • rst 16 print routine
  • esxdos rst commands
  • rst
  • rst bus
  • rst bus reset
  • rst bus reset rom
  • rst rom
  • rst rom bus
  • rst 16 newline
  • rst 8 hook
  • rst 16 slow
  • rst 16 fast
  • rst 28

Copyright © 2024 World of Spectrum