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.012s
<1…16171819202122…34>
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... directly into the save routine. Whatever the value of the IX register ... shows that IX contains the value 03D4h (980d). This is near ... it with a higher starting value. I did this to see ...
    Scottie_uk Scottie_uk September 2010 Sinclair Basic
  • Machine code issue...Hi Folks, My trials with MCODE continue and I am stuck. I wrote the following program in BASIC to simply POKE an attribute byte in to a "box" on th…

    I wrote a routine to do exactly that - you ... a,l ; We get y value *32
    and 224 ; Mask ...
    Gedlion Gedlion September 2010 Sinclair Basic
  • Another machine code problem, sorry[CODE] OPCODE HEX ADD LD A,00 3E00 F000 PUSH AF F5 F002 LD B,05 0605 F003 LD C,06 0E06 LOOP F005 POP AF F1 ADD A,C 80 DEC B 05 …

    ... a function which returns a value. It works like PEEK or ... , but imagine you had a routine starting at 60000 and the ... ). You could then call your routine either by address 60000 or ... it a '0' or '1' value, maybe to turn something on ...
    joefish joefish September 2010 Sinclair Basic
  • Location of variableHi everyone When basic makes an array how to you find out the location in the ram of where the data is stored. :) Also, does it store the values in…

    ... Although, as:
    - the sub-routine returns as soon as it ... used in the routine itself,
    - and the returned value is used ... later variables),
    - then the value will remain valid. In practice ... calculation did not involve a value outside of that range, ...
    Battle Bunny Battle Bunny September 2010 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…

    ... of it is a small routine - I have a ... much faster line drawing routine I can use in ... the typed LINE / ARC routine from [URL="ftp://ftp.worldofspectrum ... position
    30 INPUT "X value ";X: PRINT "X = ";X ... ;
    40 INPUT "Y value ";Y: PRINT TAB 10;"Y ...
    Marcelo Marcelo September 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... like you have a powerful routine there.

    I have ... easily by simply changing the value of [B]n[/B] on ... [/B].
    [*]Added a little routine that prints out the first ...
    Paddy Coleman Paddy Coleman September 2010 Sinclair Basic
  • 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…

    ... it's using the SCANNING routine.

    I made something ... /> ld (CH_ADD),hl ;recover original value of CH_ADD
    ret
    mcleod_ideafix mcleod_ideafix September 2010 Development
  • General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …

    ... I wrote this sort of routine for the Electron and CPC ... ) between fields plus it had value validation e.g. numeric between ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Beepola v1.01A new version of Beepoa, v1.01, is now available for download from:- [URL]http://freestuff.grok.co.uk/beepola/Beepola_v1.01.00.zip[/URL] (650KiB) …

    ... prefer the sustain without any value, but if I use ... just 1 sustain value on a channel, i ... use the same player routine to play a song ... to have a sustain value of 2 for channel 1 ... continuously until the player routine hits some other value.

    ...
    ccowley ccowley October 2010 Announcements
  • Print text in assemblyHello, a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? I seem to re…

    ... , there's a 'print string' routine at 0x203C which takes a ... inserting control codes (bytes with value
    gasman gasman October 2010 Development
  • Rotating Register PairsWhat's the best way to rotate left (or right) a register pair, so that (eg.) FE76 becomes E76F (or 6FE7)? I presume that passing the intermediate bit…

    ... ld bc,0456h ; 12 BIT value #2 (high)
    call ...
    call read12bit_low ; 12 BIT value #1 (low)
    call read12bit_high ... ; 12 BIT value #2 (high)
    ret< ... way round on the read12bit_high routine. Fixed!!! now it works ...
    ASM ASM October 2010 Development
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... :

    Calls a specific routine using the control field to ... objects by adding the velocity value to the X and Y ...
    ASM ASM October 2010 Development
  • Games in machine codeHi everyone, How do go about doing multiple shots like a machine gun, do you have to store every x and y position of each bullet? When you kill som…

    ... /> RSV - Set a value of a register from operand ... br /> SAV - Save value of register into memory
    LOD - Load value from memory to register
    CAL - Jump to sub routine
    RET - Return
    value of registers or memory
    Robin Robin October 2010 Development
  • designing a computerHi everyone! I am designing a 4 bit computer and i need some advice, is this a good instruction set? [CODE] BINARY OPCODE DESCRIPTION 00000 nop…

    ... register
    1101 SAV - Save value of register into memory
    1110 LOD - Load value from memory to register
    0001 CAL - Jump to sub routine
    0010 RET - Return
    value of registers or memory
    Robin Robin October 2010 Chit chat
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... />

    ; --------------------------------------------------------------------------


    ; Routine to wait for next video ... length
    ld d,0 ; Value to write to screen
    ld d,7 ; Value to write to attributes
    ASM ASM October 2010 Development
  • Printer Printing Problem (assembler)I've a program that outputs to the lower screen at various places, using a combination of calls to RST $10 plus OUT-NUM-1 and PR-STRING. It also call…

    ... all the displays in that routine and elsewhere start going to ... printer. (MC0047 is the only routine which has an AT control ... channel is interfering with the value - just a guess, although it ...
    Battle Bunny Battle Bunny November 2010 Development
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... thing to code is the routine placed in the stack to ... accommodate this small 13 BYTE routine placed on the stack:
    ; > C = Value to replace


    ASM ASM November 2010 Sinclair Miscellaneous
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... depacker and game restore routine. Also, the snapshot ... destination equal the same value then it has caught ... or [edi+2],al ; Value
    add edi,3
    Here is the depack routine with comments:

    ... ld a,d ; being same value?
    cp a,h ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... return the value of the key pressed.

    My routine was ... Minigamecompo, making it the shortest routine (8 bytes) to wait for ... if someone has a shorter routine, I can always use it ...
    Dr BEEP Dr BEEP November 2010 Development
  • Transferring games into MicrodriveLast week a big pack of empty microdrive cartridges arrived, and now I'm ready to playing with my little microdrive equipped speccy. One of my aim w…

    ... my stack based clean-up routine to see if that is ... ,0 ; ld hl,0
    value db 1,253,STUBLEN ; ld ... code
    ; > BL = Restore value


    prepare_z80: mov ... ; Restore address
    mov [value+1],bl ; Restore value

    add ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • Oscilloscope Speccy ProgramHi all, I remember very well in the old days when my Speccy was my single computer (around 1992) that I have had an oscilloscope software. This uses…

    ... matter of scaling the sampled value to fit within the height ... a fixed time frame. The routine is not 'time constant' so ... needs to be removed). The routine should be looking for phase ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • New tool: ZXBOOT.EXE[B]ASM[/B] is proud to present the first release of ZXBOOT.EXE: [url]http://www.4shared.com/file/NP-FVOSf/zxboot__beta_.html[/url] ZXBOOT is a comma…

    ... memory. 'Part2' is the depack routine. It can never decompress over ... destination pointers being the same value! The previous depack cycle would ... ,0 ; ld de,0
    value db 1,253,STUBLEN ; ld ...
    ASM ASM November 2010 Announcements
  • Oscilloscope Speccy ProgramHi all, I remember very well in the old days when my Speccy was my single computer (around 1992) that I have had an oscilloscope software. This uses…

    ... m/code sub-routine, I expected the value in the B ... with the B register value reduced by $11 instead ... and the routine returns an out of range value for the ... idea. The only interrupt routine running will be the keyboard ... code in the sub-routine which alters the B ...
    Battle Bunny Battle Bunny November 2010 Sinclair Miscellaneous
  • Oscilloscope Speccy ProgramHi all, I remember very well in the old days when my Speccy was my single computer (around 1992) that I have had an oscilloscope software. This uses…

    ... AF is the maximum valid value for the PLOT Y-coord ... the use for the returned value in BC), so the loop ... with that change the routine still returns a value >$AF after ...
    Battle Bunny Battle Bunny November 2010 Sinclair Miscellaneous
  • New tool: ZXBOOT.EXE[B]ASM[/B] is proud to present the first release of ZXBOOT.EXE: [url]http://www.4shared.com/file/NP-FVOSf/zxboot__beta_.html[/url] ZXBOOT is a comma…

    ... the depack code so the routine can stop before overwriting itself ... ,0 ; ld de,0
    value db 1,253,STUBLEN ; ld ... />

    ; Z80 RLE depack routine.


    nop ; This ... /> ld a,(hl) ; Read FILL value
    inc hl

    ASM ASM November 2010 Announcements
  • Oscilloscope Speccy ProgramHi all, I remember very well in the old days when my Speccy was my single computer (around 1992) that I have had an oscilloscope software. This uses…

    ... address bus to the current value in A and the low ... order byte to the value n from IN A,(n ... />
    So ... I changed the routine to do the same, as ... a little while because a value greater than 175 is returned ...
    Battle Bunny Battle Bunny November 2010 Sinclair Miscellaneous
  • A little program to set the time...Hi Folks, OK, I have amended the program so you now have four routines/functions you can use in your own programs: TIME: GET - Reads the current va…

    ... have also added another little routine at line 9100. It is ... version of the TIME: GET routine that returns just the seconds ...
    9105 REM Reads seconds value
    9110 REM Input : FRAME ...
    Paddy Coleman Paddy Coleman November 2010 Sinclair Basic
<1…16171819202122…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott 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
  • European Software Titles with an English version
    harriusherbartio 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
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
routine 9.5K 14.8K
value 9.4K 14.6K
cells 747 1.2K

Related Threads

  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • How do I avoid BASIC becoming corrupted on returning from a M/C routine?I'm having trouble with my BASIC program becoming corrupted on returning from a m/c routine which sets all the registers (including the shadow regist…
  • Cells And Serpents by ASP SoftwareDoes anybody know where I can get this from. It was the first game I saved up for and bought....it was a very basic RPG.<br /> <br /> Its listed as M…
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling.<br /> <br /> As promised here is the code for the routine.<br /> <br /> It…
  • Key Redefine RoutineAnyone written a nice key redefine code snippet?
  • rip off or value for moneyhello everyone<br /> <br /> I am slowly starting to get my sinclair spectrum collection together again when i noticed this auction on ebay 8154099500…
  • Competition: Sadistick routine on Spectrum ROMMy vote goes to BEEPER at #03B5<br /> Let's ear you pick! :)<br /> <br /> And a great BOHHHHHHHHHHHHH to Dr Ian Logan &amp; Dr Frank O'Hara for their…
  • Old Gameboy and the dead cellsRemember the original GameBoy from 1990? Well, I've still got one of those and played "Super Mario Land" on it for the first time in years. In the mi…
  • Capture Routine HelpData:<br /> <br /> ORG 32768 <br /> <br /> <br /> [ This Message was edited by: dalmudlee on 2005-08-10 01:57 ]

Related Searches

  • fastest screen routine
  • screen routine
  • im1 interrupt routine
  • im1 rom interrupt routine
  • im1 rom interrupt routine iy
  • interrupt routine
  • best place for interrupt routine
  • turbo load routine
  • simply turbo load routine
  • joe gunn sprite routine
  • scroll rom routine
  • simple sprite routine
  • value
  • loading routine
  • 128k sprite routine
  • tile routine
  • best scroll routine
  • dim routine
  • routine values cells
  • routine same value cells

Copyright © 2024 World of Spectrum