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.016s
<1234567…34>
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... . However, the best way to move bytes around in C is to ... />
    memcpy() is a library routine written in asm that uses ... sense to use a library routine you should.

    The ... I would redo the d_Print() routine to print a maximum of ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Breakpoints and other questionsSome games have LDIRs, LDDRs, ANDs and XORs before they jump to the real start address (and some other stuff that I don't understand yet). If I want …

    ... . For games that occupy 49152 bytes I'm planning to do ... /> The little mc routine (14 bytes) copies 1704 bytes from 16398 to 23296 ...
    zxbruno zxbruno June 2008 Emulators
  • Converting games to disk: difficult loadersThis thread has an spanish version in foro speccy, but I haven't gathered enough information to overcome my problems. I've been converting some game…

    ... intended location, and then the routine jumps to an address specified ... to know where the loading routine is.

    - [b ... memory or that the load routine move data while still loading. Also ... BASIC, and then disabled that routine (because all data is ...
    Zup Zup January 2013 Games
  • Help needed with a bit of code...My minds gone blank again I'm afraid, I'm having trouble with this routine that loads variables into memory then calls the corresponding routine. Th…

    ... m having trouble with this routine that loads variables into ... memory then calls the corresponding routine.

    Theres 3 ... /> caller
    call 56003 ;routine to be called
    pop ... 12,14,6 ;variables for routine 3 bytes prior to start[/CODE]
    daveysludge daveysludge October 2014 Development
  • Lesser used BASIC commandsAre there any interesting articles or books that explore some of the lesser used BASIC commands/functions e.g. DEF FN, IN, OUT etc? The Spectrum BAS…

    I once used OUT (well, to be exact I think it was OTIR) in a short machine-code routine (12 bytes or so) to give an "earthquake" effect to a BASIC game, by rainbow-striping the border and sounding a short burst of white noise on the beeper...
    robert@fm robert@fm March 2006 Sinclair Basic
  • TAP conversion project?I was wondering if there's any concerted effort to produce TAP versions of games only available in TZX or Z80/SNA/SLT format? Or are snapshots consid…

    ... $5B00, the next is $3B8C bytes loaded at $C470, etc. etc ... confident about hacking the multiload routine to use headered files. In ... seems to use the ROM routine LD-BYTES to load the levels ... headerless files loaded using LD-BYTES work in FATware then there ...
    StuBruise StuBruise September 2006 Games
  • Interface rom - Need help to dump itHi, I have temporarily an interface that is similar to a multiface. It has an NMI button and displays a menu where states can be saved and pokes ent…

    ... /tape options, and save 16384 bytes starting at address 0 ? if ... will use its own save routine, fetching bytes from its own ROM.
    zub zub October 2007 Hardware
  • Interface rom - Need help to dump itHi, I have temporarily an interface that is similar to a multiface. It has an NMI button and displays a menu where states can be saved and pokes ent…

    ... /tape options, and save 16384 bytes starting at address 0 ? if ... will use its own save routine, fetching bytes from its own ROM ...
    odious odious October 2007 Hardware
  • updated Fatware - keyboard patchHi! I work with Fatware code and already prepare keyboard patch for original version 0.12. Now it's possible to operate disk browser with keys: 1) c…

    ... for browser(4096+512 bytes) and 3584 bytes in page 1 will ... will only 3456 bytes(24 lines) or 2304 bytes(16 lines). System ... in 8 bytes = 384 bytes font length) + new printing routine(+ 150 bytes ?).

    velesoft velesoft January 2009 Development
  • Hacking a adventure gameHello folks, on the recent issue of SCENE+ Diskmagazin is a game called "By right of Birth",you can find this game also on WOS. Although this magaz…

    ... exit point of rom routine LD-BYTES is point where everything is ...
    Fikee Fikee August 2009 Development
  • 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 …

    ... Minigamecompo, making it the shortest routine (8 bytes) to wait for keypress ... if someone has a shorter routine, I can always use it ...
    Dr BEEP Dr BEEP November 2010 Development
  • 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
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... ,Xccord
    ; CHR$13
    ; Routine 593 bytes
    ;---------------------------------------------------------------------------------

    ORG ...
    uglifruit uglifruit August 2012 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…

    ... br />
    ; THE 'TRACE' COMMAND ROUTINE
    org 0x3901
    trace ... />
    ; THE 'CALL' COMMAND ROUTINE ; 17 bytes
    org 0x392d
    c_call ... />
    ; THE 'RENUM' COMMAND ROUTINE
    org 0x39c0
    renum ...
    chev chev October 2013 Development
  • Pac-Land: can be coloured?All versions of this game are full coloured, but not the Spectrum version. It has large sprites, but maybe the scroll is too fine to make a coloured …

    ... to typing it by my routine

    ; ... ;tileset 2 - copy 368 bytes (46 tiles) from 39991 to ... here from 37093 (graphics drawing routine)
    ; LD HL, ... original routine



    ;---------------------------
    ;750 bytes originally ...
    Ralf Ralf February 2014 Games
  • Saving and loading data in assembly.I want to add a save and load feature to an project I'm working on. Since it's not that much data in size I thought I'd use the ROM functions, but ho…

    ... 04C6 ; 17t - call ROM routine SA-BYTES+4 to skip break to ... carry then jump to error routine otherwise continue
    [/code ... af,af' ; 4t - replicate ROM routine
    dec d ; 4t - ... ;0562 ; 17t - call ROM routine LD_BYTES+12 to skip break ...
    TomD TomD August 2016 Development
  • Fast Binary to Text DisplayI've done this thing that takes some memory contents and converts it to a Binary version of 0's and 1's on screen. However, I've no idea what to use …

    ... to this probably pointless routine that utilises a function ... elsewhere. It makes the routine 48 bytes instead of 51 but ... to screen.
    ;
    ;48 bytes
    ;
    org 8000h ;any ... 44h ;top and bottom character bytes
    ld (de),a ...
    Arkannoyed Arkannoyed July 2018 Development
  • What to write / programme?I've been trying to get back some motivation to write something in machine code for the Spectrum. I don't feel I am organised enough to write somethi…

    ... all a CPU does is move bytes around, perform arithmetic on those ... bytes (including comparisons) and jump from ... .g. display file and attribute bytes map to the screen and ...
    dbolli dbolli March 2020 Development
  • Smooth Screen Scrolling RoutineHi everyone, this is a follow up to the thread on smooth screen scrolling. As promised here is the code for the routine. It's pretty long and fairl…

    ... chars and takes up 320 bytes.
    * Tiles are pre- ... /> SKIPB LD HL,MODHLB+1 ;Move background data pointer
    INC ... br />
    LD BC,1823 ;Move up and across
    SBC ... />



    * This routine shifts tiles into 4 positions ...
    dmsmith dmsmith September 2004 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... everytime the program enters this "move sprite" block?

    ... http://www.rickardberglind.se/zx/move-sprite-1.z80"]here[/URL ... of bytes in graphic store

    [B]loadloop[/B] ;routine to ... number of total characters to move graphic
    jr nz, ...
    Rickard Rickard May 2007 Development
  • Memory move routine?Hi Folks, I have been searching for the thread that covers the memory move routine that uses a$=b$ via DEF FN. I thought it was written by Battle B…

    ... thread that covers the memory move routine that uses a$=b$ via ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... .

    The routine weighs in at 283 bytes and defines six ... br />
    ;A crude debounce routine to prevent
    ;registering keys ... is
    ld de,3 ;move to the next
    add ... ;upon RETurn from the subroutine, move on to scan the next ...
    Ast_A_Moore Ast_A_Moore October 2017 Development
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding. I think that there might be more of these routines out there (where-ever-u-r). Isn…

    ... (if someone finds a faster routine please tell me..)

    BYTES)

    org #8100
    bytes.
    Decision made from fetch ...
    Dr BEEP Dr BEEP October 2001 Sinclair Miscellaneous
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok, After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following: I have 2 x 6k Offscreen areas (Yes, that's …

    ... TO BUFFER
    MOVE AND DRAW SPRITES TO ...

    ; **** END INTERRUPT ROUTINE ***


    WRITECHAR:< ... H, THUS MOVING 256 BYTES FORWARD IN MEMORY TO ... /> ; SCREENTABLE

    ; HI BYTES OF SCREEN
    ORG 0FB00H ...
    robpearmain robpearmain September 2004 Development
  • need a routine to fill the screen with 'stars'I need a routine that will randomly set pixels to give the illusion of a star filled back ground. Once drawn, the stars don't need to move. Not wanti…

    I need a routine that will randomly set pixels ... stars don't need to move. Not wanting to reinvent the ... if anyone had such a routine in their code collection. I ...
    Mr Millside Mr Millside July 2006 Development
  • Mode 2 Tile Editor SourceA Timex Mode 2 Tile Editor incorporating a byte mirror table. The compiled version is available in the CSSCGC 2008 collection from the WoS archive. …

    ...

    ; // copy 64 bytes //

    cp64bytes:
    call ...

    ; // copy 32 bytes //

    cp32bytes:
    call ...
    ; -------------
    ; MOVE CHANNELS
    ; -------------
    ;
    ; This routine ensures that BASIC ...
    chev chev January 2007 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... 5 bytes
    call $1655 ; call the MAKE_ROOM routine
    inc hl ; move ... byte of the output routine
    inc hl ; move HL up one ... byte of the output routine
    inc hl ; move HL up one ... byte of the input routine
    inc hl ; move HL up one ...
    chev chev January 2007 Development
<1234567…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
move 12.1K 15.6K
bytes 9.1K 16.6K

Related Threads

  • Memory move routine?Hi Folks,<br /> <br /> I have been searching for the thread that covers the memory move routine that uses a$=b$ via DEF FN. I thought it was written…
  • 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 to move fdd300's files to pc emulator?Hi!<br /> I have some diskettes 3" for FDD3000 drive for Timex 2048. How can I read these 3"disk and move to PC ? I have some my own demos and rest s…
  • Finding the length of loaded Bytes:Is there a way from BASIC of finding out how big a block of bytes loaded from tape was? <br /> <br /> i.e. - if you do LOAD""CODE and load in a lump …
  • 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…
  • WoS server moveHi peeps,<br /> <br /> After weeks of preparation, we hope to move the WoS server to a new location tomorrow (it's currently still on our development…
  • 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?
  • Retro Bytes PR and other services.Hi folks,<br /> <br /> For anyone who is interested, I'm setting up a PR agency called Retro Bytes PR. We specialise in handling the press for small …

Related Searches

  • fastest screen routine
  • screen routine
  • im1 interrupt routine
  • im1 rom interrupt routine
  • im1 rom interrupt routine iy
  • ld bytes
  • sa bytes
  • interrupt routine
  • best place for interrupt routine
  • turbo load routine
  • simply turbo load routine
  • move ldir
  • move to front
  • joe gunn sprite routine
  • 256 bytes
  • scroll rom routine
  • simple sprite routine
  • bytes hide
  • routine move
  • routine lm bytes

Copyright © 2024 World of Spectrum