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.005s
<1234567…34>
  • 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…

    ..or even calculating percentage.

    Maths and asm ... the easiest/best way to calculate a percentage from two 16 bit ...
    R-Tape R-Tape December 2011 Development
  • RST 16 with TASMCan any body tell me what is wong when I assemble this test code with TASM : ;print a long string "help me" start .org 32000 ld a,2 call 5633…

    ... ,(de)
    inc de
    RST 16
    jr loop
    RST 16

    Is it ...
    Steve(spt) Steve(spt) April 2004 Development
  • Calculate screenaddressWho knows where the topic about the fastest screenaddressroutine is? I can't find it in a search.. The fastest routine was to load a large table of …

    ... H
    ADD A,(HL) ; Calculate Lo-byte
    INC H ...
    Dr BEEP Dr BEEP August 2004 Development
  • The incredible shrinking screendumpIn this topic I stated that I would be impressed if the screendump could be smaller than 37 bytes. [url="http://www.worldofspectrum.org/forums/viewt…

    ... ) ; Fetch byte for print
    rst 16 ; Printing table and screen ... ; Save A in B and calculate screen
    jr prbyte ; Print ...
    Dr BEEP Dr BEEP September 2004 Development
  • Programming MC : first stepsIsn't nice to collect all kinds of short routines to help making the first steps into MC for everyone who never touched MC? What I mean is mostly th…

    ... a,"0" ; display number
    rst 16 ; with print
    ret ... number
    marge sub c ; calculate within marge
    jr nc ...
    Dr BEEP Dr BEEP August 2005 Development
  • question about RST 10hhow do you set the position of the text when using 'RST 10h' to print to screen?

    how do you set the position of the text when using 'RST 10h' to print to screen?
    madvanman madvanman May 2007 Development
  • Maths Problem - StatisticsI am trying to calculate a score as a percentage from likert questionnaire responces. The Likert Scale is as follows [code] 1 …

    I am trying to calculate a score as a percentage from likert questionnaire ... score of 59 as a percentage given the the max possible ...
    Scottie_uk Scottie_uk February 2008 Chit chat
  • Excel - Deducting percentage - where am I going wrong?Howdy, The help isn't much use, so I'm asking more knowledgable people. I'm also asking here ;) This is for a spreadsheet assignment on the IT side o…

    ... 's automatically setting itself to Percentage, so it obviously understands what ...
    Vertigo Vertigo March 2008 Chit chat
  • +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…

    ... 1 does it (catch the RST 8 error trap). This works ... 48k, a 128k (in either RST 0 or in the 128 ... under 48K BASIC or in RST 0 mode.

    But ...
    Winston Winston February 2009 Development
  • CPCDiskXP v2.1 Added support (Open/Create Dsk's, add/delete/rename files) for +3DOSCPCDiskXP v2.1 Changelog (since v2.0): [LIST] [*]DSKEditor - Added full support (Open/Create Dsk's, add/delete/rename files) for the following format…

    ... loaded on computers. Reported by RST.

    [*]FLOPPY to DSK ... DSK gap values instead of calculate it (Orion Prime CPCDiskXP edition ...
    Mochilote Mochilote May 2011 Emulators
  • Using RST 16 and udg flickerHi there! I'm using UDGs and RST 16 to make a simple canyon bomber game. I've got the game mechanics working ( finally ) but now I'd like to make …

    ... /> I'm using UDGs and RST 16 to make a simple ...
    Atari_Jetman Atari_Jetman October 2012 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 …

    ... call $2d28 ;STACK_A
    rst $28 ; : 0.5,b ... $2d28 ;STACK_A = xh
    rst $28 ; : 0.5,b, ... preserved
    neg ;calculate the SET b,(HL) opcode ...
    Battle Bunny Battle Bunny November 2012 Development
  • RST hooks in OpenSE BASICHi, any possibility of OpenSE BASIC having RST vectors rewired to a small table in RAM containing jumps back to apropriate ROM locations? :grin: It i…

    ... possibility of OpenSE BASIC having RST vectors rewired to a small ...
    tstih tstih May 2014 Development
  • Hooky - hook ZX ROM and rewire RST and NMI to RAM - rantThis is a rather long rant. Not for short tempered. :) The objective is to hook into RST "vectors" and NMI on a Spectrum without affecting the normal…

    ... RST 0x0010 jumps to 0x10. Besides existing RST 0x00, RST 0x08, RST 0x10, RST 0x18, RST ... 0x20, RST 0x28, RST 0x30, and RST 0x38 ...
    0x002B RST 0x38
    0x002C RST 0x38
    0x002D RST 0x38
    tstih tstih July 2014 Development
  • Patching RST routines?Hi all, I am quite unexperienced regarding the Speccy and today I made another attempt to make a concept for a SymbOS port to this machine. There is…

    ... at #0000-#0040 for the RST commands?

    Is there ...
    Prodatron Prodatron December 2014 Development
  • High score table routineI wrote this general purpose high score table routine. It stores 5 scores and displays them alongside the player names, which are 8 characters long. …

    ... CALL 3503 ; CLS

    ; ---------- CALCULATE SCORE POSITION ---------

    LD ...
    PUSH AF
    RST 16 ; show character
    ... if so, return
    RST 16 ; print the character
    Alessandro Grussu Alessandro Grussu July 2017 Assembler
  • The incredible shrinking screendumpIn this topic I stated that I would be impressed if the screendump could be smaller than 37 bytes. [url="http://www.worldofspectrum.org/forums/viewt…

    ... /> nbyte ld a,(hl)
    rst #10
    ld a,255 ... /> nbyte ld a,(hl)
    rst #10
    ld a,255 ... /> nbyte ld a,(hl)
    rst #10
    ld a,255 ... /> nbyte ld a,(hl)
    rst #10
    ld a,255 ... ,b
    call #22b0 ; always calculate screen even when B
    Dr BEEP Dr BEEP February 2005 Development
  • ROM paging questionAssuming the Spectrum 128 memory map and port addresses, but two custom ROMs in place of the normal Editor and BASIC, what is the most efficient way …

    In the RST routine you calculate the address by this routine:< ...
    Dr BEEP Dr BEEP January 2006 Development
  • Excel - Deducting percentage - where am I going wrong?Howdy, The help isn't much use, so I'm asking more knowledgable people. I'm also asking here ;) This is for a spreadsheet assignment on the IT side o…

    ... , seeing as it should just calculate =(1000-20%) ?

    [/quote ... a value from what the percentage is taken.
    Dr BEEP Dr BEEP March 2008 Chit chat
  • Interface One - New FunctionalityAs you may (or may not) be aware the Interface One is a pretty powerful piece of kit. One of it's greatest features is being able to easily extended …

    ... it be useful to calculate a CRC-CCITT checksum ... 0496 c5 $0bts
    rst $10 ; 0497 d7 $0bts< ... 70 $07ts
    l_04a6: rst $18 ; 04a6 df $0bts< ... ; 04b8 7e $07ts
    rst $10 ; 04b9 d7 $0bts

    rst $18 is interesting though as ...
    jp jp July 2009 Development
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... do this, we have to calculate the attribute area address from ... do this, we have to calculate the screen area address from ... , it will be faster than RST #10 - it has been said ...
    Shiru Shiru June 2010 Sinclair Basic
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... with the following formula to calculate the address of a character ... a,22 ; at opcode
    rst 16
    ld a,y ... -val
    rst 16
    ld a,x ... -val
    rst 16
    ld hl,(23684 ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Do ULAs die?Thought I'd start this thread as people often think their ULA is dead, when it's actually the RAM or power circuits. Searching the forum in the futur…

    ... ]Stating that the 100-YY percentage can be expected to be ... originally was/is ment to calculate the life expectancy of Very ... just a chosen value to calculate with, I think that you ... the MTBF hours, we could calculate without knowing these numbers.
    roko roko October 2010 Hardware
  • SE Basic Type-ins^Pete suggested creating a sticky thread for SE Basic discussion. I thought a Type-ins thread might also be useful. Up to the mods if they want to ma…

    ... /> ld (chrad), hl ; screen and calculate the address in the
    ret ;

    err5:
    rst 0x08 ;
    defb 0x04 ;
    chev chev April 2011 Sinclair Basic
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... fit on the screen and calculate
    ;the address in the ... )
    LD (HL),A
    RST 8
    DEFB 4
    chev chev May 2011 Sinclair Basic
<1234567…34>

Latest Posts

  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • i am currently listening to........
    saddestmoon on 10:58AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7

HitBox

Word Docs Hits
calculate 1.1K 1.4K
percentage 759 825
rst 1.2K 2.5K

Related Threads

  • 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…
  • Calculate screenaddressWho knows where the topic about the fastest screenaddressroutine is? I can't find it in a search..<br /> <br /> The fastest routine was to load a lar…
  • Help required to calculate screen addressesDoes anyone have some code that calculates the screen address one pixel below the given address ? Is it best to use a lookup table ? Any examples of …
  • 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…
  • Rst #38This, as far as I know, is the ROM procedure that does the keyboard check. (and, at the same time, is what's being executed by interrupt in IM 1 mode…
  • question about RST 10hhow do you set the position of the text when using 'RST 10h' to print to screen?
  • Help with percentageCant belive im asking this but i cannot remember how do to this :oops: <br /> <br /> [code]<br /> 10 LET P=1000<br /> 20 PRINT P<br /> 30 PAUSE 25<br…
  • Excel - Deducting percentage - where am I going wrong?Howdy,<br /> The help isn't much use, so I'm asking more knowledgable people. I'm also asking here ;)<br /> This is for a spreadsheet assignment on t…
  • +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…

Related Searches

  • calculating percentage
  • calculate an average
  • rst 08
  • quote rst
  • 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
  • calculate percentage z80
  • z80 calculate percentage

Copyright © 2024 World of Spectrum