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…15161718192021…34>
  • +3 how to detect if a file exist ?Need help. I am making a generic menu to my compilations over the spectrum +3. Exist some way programatically to detect if some file exists on the d…

    ... (23387),A ;set last value outputted
    48914 OUT ... responsible for calling the ROM routine.
    ;This attempts ... 48941 PUSH BC ;store return value

    48942 LD ... (23387),A ;set last value outputted
    48955 OUT ...
    spodula spodula May 2010 Sinclair Basic
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... br /> ;
    ; Routine to Print a Single Character ... B = Y Value C = X Value On Exit - DE ...
    Turkwel Turkwel June 2010 Development
  • Noise channels on AY-3-8912?I'm trying to reproduce a tune that's a jazzed-up version of classical music - i.e. there are drum beats all over the place, to try and mask the low …

    ... tone channel A (Write the value 254 to register 7).
    value 255 to register 7).[/CODE ... telling an interrupt-driven AY routine to rewrite unaltered data to ...
    ajmoss ajmoss June 2010 Hardware
  • Noise channels on AY-3-8912?I'm trying to reproduce a tune that's a jazzed-up version of classical music - i.e. there are drum beats all over the place, to try and mask the low …

    ... /8 - certainly, the Soundtracker player routine (and no doubt others) merrily ... that repeatedly writing the same value to those registers has the ...
    gasman gasman June 2010 Hardware
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... br />
    Fill memory routine I've provided is very ... ld a,(hl) ;get a value from (HL)
    ld ( ... block, you write a value of needed attribute in the ... starts, it copies the value to next address. Then ... it copies a value from next address into next ...
    Shiru Shiru 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…

    ... note that the ROM routine destroys the value of HL' so make ... sure you save its value if you intend to return ...
    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…

    ... is the start of the routine, it expects to read the ... the first instruction of the routine and start at $24BA.
    exx
    push hl ; preserve value of HL'
    exx
    exx
    pop hl ; restore value of HL'
    exx
    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…

    ... is the start of the routine, it expects to read the ... the first instruction of the routine and start at $24BA.
    exx
    push hl ; preserve value of HL'
    exx
    exx
    pop hl ; restore value of HL'
    exx
    Dr BEEP Dr BEEP June 2010 Sinclair Basic
  • How to insert special characters in Basic and ASM ?Look the next picture. [IMG]http://img25.imageshack.us/img25/9479/scode.jpg[/IMG] I dont know how to insert these black and diagonal characters. No…

    ... written a small (56 byte) routine that will print the 'ZX ... ;point UDG back to original value
    ld (23675),a
    GReW GReW June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... a character square. A MSB value of 64-71 gives the ... later.)

    [CODE]; A routine to print a text string ... a, 64 ; Add the offset value
    ; (the start address of ... a, h ; Add the offset value
    add a, 60 ; (the ...
    ajmoss ajmoss 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…

    ok shiru, and this is the case of the line-draw routine, that change the value of the hl' when return. For this reasson we must preserrve it from the call that make our program.

    So these alternate registers are used internally by the Z80 ?
    arfgh arfgh June 2010 Sinclair Basic
  • Speccy games programmingI've got a question. Where games written in pure machine code or was it a level higher with Assembly language being the choice? I always thought it…

    ... got?
    [CODE]Address Contents Value Equivalent to:

    25000 ... get:
    [CODE]Address Contents Value Equivalent to:

    30000 ... like the standard screen dumping routine:
    [CODE]ld hl, source ...
    ajmoss ajmoss June 2010 Games
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... ;if the the X value is on an actual ... check if the Y value has gone over a Character ... /> ;get the Counter value back, decrement it and ... /> ;P_AT is a subroutine routine to convert pixel values into ... Entry - B = Y Value C = X Value On Exit - DE = Screen ...
    Turkwel Turkwel June 2010 Development
  • 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) …

    ... using the ROM beeper routine...
    ; Duration ... BEEP duration into our assembled value,
    ; Assembled Duration ... now to push Our duration Value and multiple
    PUSH ... ; Currect duration & pitch value now on calc stack and ...
    kgmcneil kgmcneil June 2010 Announcements
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... CODE];use alongside the print_char routine to set Attribute values automatically ... the print_char routine and A holds the Atrribute Value to ... Vertical Attribute & Exit routine
    and 7
    routine completely
    ;
    ...
    Turkwel Turkwel June 2010 Development
  • "Programming the Spectrum in Assembly" series in Micro MartI see that Shaun Bebbington is starting a series of articles in Micro Mart magazine on how to program in assembly for those who might know a little b…

    ... in the interrupt routine, and then check C value to differenciate the ...
    Metalbrain Metalbrain June 2010 Sinclair Miscellaneous
  • LDIR timings in contended RAM?The 48K Spectrum technical reference page ([URL="http://www.worldofspectrum.org/faq/reference/48kreference.htm"]here[/URL]) describes the detailed ti…

    ... apply contention based on the value of DE, run for 1 ... tstate, apply contention for the value of DE, run for 1 ... feared. I've written a routine to update the screen, using ...
    ajmoss ajmoss June 2010 Development
  • Broken ram or what?Hi! I own ZX Spectrum 48K. When i run command PRINT PEEK 23732 + 256 * PEEK 23733, I should get answer 65535? But i get 49151. In my machine the upp…

    ... 4B: thye ROM memory check routine gave me 49152 bytes OK ... could POKE a value and retrieve the same value with PEEK.
    mcleod_ideafix mcleod_ideafix July 2010 Hardware
  • problem with DEFADD storageI have a function: DEF FN t(t$,m,t)=USR t which is called with, for an example: LET bc=FN t("t$()",mcworkspace,mcputt) where, at the time: mcworkspac…

    ... integer in your USR routine, you could hook ... Call 0x2AB6, the routine STACK_AEDCB which places this value on the calculator ... stack
    - Call 0x2DA2, the routine ... FP_TO_BC which pops a value from the calculator ...
    gasman gasman July 2010 Sinclair Basic
  • Adventure Gamebook Solver"It would take me ages to solve that adventure gamebook without AGES" - is what someone might say if they didn't have the [url=http://www.users.globa…

    ... quicker) just to add the value onto itself twice.
    * I ... .
    * The AGES-2 update routine unaccountably extracted all the entry ...
    Battle Bunny Battle Bunny August 2010 Announcements
  • Biggest Game World?We all know that Elite was considered to be huge with it's 2000-odd star systems, and that Explorer was... well, crap with it's billions of locations…

    ... map area is 22x22 cells and the routine can't quite manage ...
    chev chev August 2010 Games
  • BITWISE operators...Hi Folks, Another question - is there a way (fast) to do bitwise operations in Sinclair BASIC? Many thanks Paddy

    ... easily enough.
    [code]IF value=foo THEN GO TO case1 ... code by trapping the error routine. If you just want to ... the line number as a value.
    [code]LET MovePlayer=1000 ...
    chev chev August 2010 Sinclair Basic
  • New Version of BeepolaA new version of Beepoa, v1.05, is now available for download from:- [URL]http://freestuff.grok.co.uk/beepola/[/URL] (806KiB download) It's a fair…

    ... /> [QUOTE]My Music Box player routine is 18% smaller than the ... have some kind of sentimental value, which makes me like them ...
    Ralf Ralf August 2010 Announcements
  • 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. …

    ... formula in a machine code routine and this is when it ... 16
    ld hl,(23684) ; value to HL
    [/code]
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    I made this routine today.
    See comment. Will ...

    ld hl,156 ; value to divide
    ld bc ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ...

    ld hl,156 ; value to divide
    ld bc ... has highest 2^n bit value on?
    jr nz,c0 ... .[/QUOTE][/QUOTE]


    Routine goes wrong with 1999 and ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • 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 ...
    BloodBaz BloodBaz September 2010 Sinclair Basic
<1…15161718192021…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