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.152s
<1234567…34>
  • automatic relocating of non-relocatable codeI was pondering upon the problem of changing absolute addresses used by CALL, JP, etc. when code is moved, without reassembling at the new location; …

    ... of changing absolute addresses used by CALL, JP, etc. when code ... it within the bounds of the assembled code, but there's ... list automatically when the updated code is assembled; the CHANGE ... be changed.

    [code]
    LOCATE: equ 25000 ;CLEAR ...
    Battle Bunny Battle Bunny August 2011 Development
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... ]As a matter of interest is the MCODE relocatable?[/QUOTE]

    relocating, either in the m/code itself or in ... on this method in the "automatic relocating of non-relocatable code" thread.

    If using ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • storing machine code in BASICA couple of years ago I posted a routine for storing machine code between PROG & VARS, based on an idea in Toni Baker's "Mastering Machine Code". Thi…

    ... inputs the length of the new code block and makes ... they always work regardless of where they're loaded. ... here. The subject line was "automatic relocating of non-relocatable code" (August 2011).

    of BASIC is something which ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • Brightness level of non-bright attributes on classic ZX 48Does anybody know what was a brightness level of non-bright attributes on classic ZX 48? Was it the same on 128, +2 and +3? I can see on wikipedia a…

    ... what was a brightness level of non-bright attributes on classic ZX ... on wikipedia a magic number of 85%, and I can see ... the magic number of 80% on most Russian sources ...
    moroz1999 moroz1999 September 2016 Hardware
  • Dangerous Z80 Assembly CommandHave been reading Toni Bakers' "Mastering MC On Ya Speccy" book and came across the list of Z80 commands in the dictionary section. Page 102 "[b]IM…

    ... will have to relocate all of my code and the chip music ... somewhere in the high end of the range $8000-$BFFF ( ... program, hence the high end of the range is preferable).
    non-relocatable code (contains some self-referencing absolute ...
    Digital Prawn Digital Prawn March 2008 Sinclair Miscellaneous
  • Getting PC into HLHello, here's a conundrum for you... Is there a way to obtain the value of the PC register (say into HL) without using absolute addressing such as C…

    ... 'll have to have some non relocatable code [I]somewhere[/I] but it ... the stack pointer a couple of times and pop into a ...
    guesser guesser February 2013 Sinclair Miscellaneous
  • I'm writing an Operating SystemOkay this might seem like a bait thread, but I am legitamately interested in figuring out how to write a multi-process system for the ZX Spectrum (no…

    ... not yet written :P )  The code is re-entrant and contains ... gnu binutils, asz80 (sdcc but non-standard mnemonics) and z80asm ( ... access to a lot of source code and either sdcc or ... also is also capable of generating relocatable code where the output contains ...
    Alcoholics Anonymous Alcoholics Anonymous May 2015 Development
  • AugmentinelEnhanced Spectrum emulation isn't a new concept. Spec256 adds 8bpp graphics to some Spectrum titles. TileMap uses code hooks to synchronise game stat…

    ... CPC -> Spectrum. All non-6502 versions use an automated ... CPC code fragments left in the Spectrum code, most of which ... the Spectrum conversion:
    [code]76B9 ld a, 2Dh ; ... It also makes automatic tracing of the complete code path a bit ...
    obo obo April 2019 Emulators
  • Cybernoid editorSo, my long tern goal is to make my own Cybernoid or Rex like game (see an ancient thread about Sprite advice)...but my skills are somewhat lacking..…

    ... br /> [size=1]
    [code]
    org $73ad
    ... 73f4 ; address to location of table
    =====Relocatable code=====
    org $73f4< ... ; EOF marker
    [/size][/code]
    At last I find ... collision detection of each 8x8 character square of that tile, ...
    FrankT FrankT March 2007 Development
  • Cybernoid editorSo, my long tern goal is to make my own Cybernoid or Rex like game (see an ancient thread about Sprite advice)...but my skills are somewhat lacking..…

    ... collision of that part of the tile.

    [code] org ... side of right hair dryer gun
    defb $ff[/code]
    of table
    ;=====Relocatable code=====
    org $73f4 ... graphics into seperate source code files for girders( ...
    FrankT FrankT March 2007 Development
  • Optimized (in size) Z80 simulatorI am evaluating Z80 simulators to try to create a tool to analyse z80 programs. I'd like to start with a simple register coverage tool and t-state cy…

    ... the extremely non-orthogonal nature of Z80 will make this of very ... different and Z80 code is generally chock full of cases where ... better on compiled C code, as part of an optimizer for ... you can do coverage of a lot of non sophisticated code. There are some ...
    tstih tstih September 2016 Development
  • BASIC code challengeWrite a program in BASIC as short as possible that will continue after KEY-RELEASED. The program must be fully relocatable (so it must be programmed …

    ... . The program must be fully relocatable (so it must be programmed ... your code to wait for keyreleased.

    An example of a non-relocatable ...
    Dr BEEP Dr BEEP August 2002 Sinclair Miscellaneous
  • 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…

    ... codes are accepted.

    [code]
    ; ---------------
    ; 4x8 font ...
    ; --------------------------------
    ;
    ; Based on code by Ian Beardsmore from Your ... code would be non-relocatable

    ld (hl),c ; low byte of the ...
    chev chev January 2007 Development
  • HTML Transcription of Mastering Machine Code on Your ZX81Hi :) I've spent the last couple of months transcribing Toni Baker's "Mastering Machine Code on Your ZX81 or ZX80" from a PDF to HTML. The freely do…

    ... couple of months transcribing Toni Baker's "Mastering Machine Code on ... learn how to write machine code programs, but also I ... to minimise the width of the pre-formatted code sections for reduced ... happened when adding the final code from Draughts Three. Anyway, ...
    Thunor Thunor October 2009 Development
  • extension to Z80 opcodes spreadsheetI've set up an extra Excel spreadsheet which references Einar's v.helpful Z80TABLE spreadsheet and allows a list of Z80 assembler commands to be type…

    ... ,z80named.xls!columnname,2,FALSE))[/code]

    Evaluated right ... in a column with a non-zero time in the ... "[b]Security Warning[/b] Automatic update of links has been disabled" when ... file (I generally have automatic update of everything disabled, which I ...
    Battle Bunny Battle Bunny March 2012 Development
  • Extended Microdrive FormatterHello all, After a few months on a steep learning curve, some heavy duty reading and plenty of trial and error I?ve written an extended microdrive f…

    ... the old and new versions of * FORMAT do this as ... is no trapping for a non existent IF1 - you'll probably ... ;"Cartridge" and the default parameters of !AP will be used. These ... and fast documentation regarding writing relocatable code?
    I've pretty much ...
    jp jp July 2006 Development
  • problem using FRAMES to generate 'random' numbersI realise the pros use bytes from ROM to get their random numbers, presumably because they want to use FRAMES to synchronise the printing and avoid s…

    ... /> Dr Beep's solution of using the counter to step ... edit: oops, Dr Beep's code increments FRAMES too).
    ... this to avoid the "non-random" areas in the ... you :) ) so no more automatic updates of FRAMES.

    ... for a small number of random bits.
    ...
    Alcoholics Anonymous Alcoholics Anonymous March 2008 Development
  • Rainbow Generator for 48K Spectrum using PUSHThis is what I came up with from [B]gasman[/B]'s suggestions. It's stable in ZXSpin and ZX32 simulating a 48K Speccy. Anyone like to try it on the …

    ... compile it.

    [code]
    ; -----------------------------------------------------------------------------
    ; ColorPRINT ... ; joefish's code turns half of the Spectrum screen ... then code would be non-relocatable
    ld (hl), c ; low byte of ...
    chev chev May 2009 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…

    ... 495124]I think the comments of source code are wrong in all ... the UDGs.

    [code]
    ; 4x8 FONT DRIVER
    ; Based on code by Ian Beardsmore from Your ... /> ; then code would be non-relocatable
    ld (hl), c ; low byte of the ...
    chev chev March 2011 Development
  • 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…

    ... includes character masking.
    [code] 10 BORDER 7: FORMAT ... 64999: LOAD "" CODE : RUN
    [/code]

    [code]; Based on ... code would be non-relocatable

    ld (hl), c ; low byte of ... ld a, (atflg) ; code 22 - the code for AT.
    cp ...
    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…

    ... Ian Beardmore's channel creation code, to leave ZX Printer ... you like.

    [code]
    ; CREATE CHANNEL AND ATTACH ... code would be non-relocatable

    ld (hl),c ; low byte of ... the high byte of the offset
    ret ; all done
    [/code]
    chev chev May 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…

    ... standard proportional print code:

    [code]; Based on ... 1985.
    ; Including code by Ian Beardsmore from Your ... then code would be non-relocatable
    ld (hl), c ; low byte of the ... , (atflg) ; control code 22 - the code for AT.
    and ...
    chev chev May 2011 Sinclair Basic
  • GUI/OS for the Spectrum?Hi, Is anybody working on a WIMP/GUI system for the Spec? Is there anything current out there? [url]http://snakeoillabs.com/wordpress/2005/10/30/8…

    ... are you there?) ...

    [code]; 4x6 FONT DRIVER
    ; (c ... STREAM
    ; Based on code by Ian Beardsmore from Your ... ; then code would be non-relocatable
    ld (hl), c ; low byte of the ... OUTPUT
    ; Based on code by Tony Samuels from Your ...
    chev chev June 2011 Development
  • 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…

    ... to borrow anything of use.
    [code]; Based on Proportional ... November 1985.
    ; Including code by Ian Beardsmore from Your ... then code would be non-relocatable
    ld (hl), c ; low byte of the ... a, (atflg) ; control code 22 - the code for AT.
    and ...
    chev chev August 2012 Development
  • Currah ?Speech channelIt seems to me that it would be nice to be able to send words to the ?Speech with PRINT #5;"Speak English to me, Jimmy" or some such. There really i…

    ... 's a bunch of basic interface code in z88dk that ... does have the advantage of giving you complete control ... the channel driver just uses automatic conversion.

    ... to leave some room for code.

    [ ... to be rather more non-trivial than that. So ...
    chev chev June 2014 Development
  • I'm writing an Operating SystemOkay this might seem like a bait thread, but I am legitamately interested in figuring out how to write a multi-process system for the ZX Spectrum (no…

    ... theoretically write over all of memory and crash ... hard to write fully relocatable code for the Z80 so ... adding the offset of the start of the program, if ... instructions were that need relocating. This data was ... disk?) and some sort of managed display, an input ...
    i love the z80s i love the z80s May 2015 Development
  • I'm writing an Operating SystemOkay this might seem like a bait thread, but I am legitamately interested in figuring out how to write a multi-process system for the ZX Spectrum (no…

    ... ]

    In the absence of header information, the relocator might ... big one being you are relocating code/data on 256 byte boundaries ... empty bytes.

    For relocatable code, you need to deal with ...
    JamesD JamesD November 2016 Development
<1234567…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Goodbye Z80
    zx1 on 7:11PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
automatic 1.1K 1.3K
relocating 81 89
of 476.2K 1.1M
non 10.7K 12.2K
relocatable 248 287
code 41.6K 91.2K

Related Threads

  • automatic relocating of non-relocatable codeI was pondering upon the problem of changing absolute addresses used by CALL, JP, etc. when code is moved, without reassembling at the new location; …
  • Relocating a block of code as to work on a 16k spectrumI've written a game in from 50000 to 65535 and was wondering if there were any way to relocate the entire block of code to work on a 16k Spectrum.<br…
  • A guide to the evolution of development of architecture of the ZX Spectrum[color=#FF0000][b]New![/b][/color] Black_Cat Info Guide #10 "A guide to the evolution of development of architecture of the ZX Spectrum" http://zx.cl…
  • top 5 of games ofwhat are people's top 5 of adventure, platforms, beat'em'up, rts, sports etc and why? [img]/__forums/images/smiles/icon_smile.gif[/img]<br /> <br /> …
  • 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…
  • Fist PC: Remake of 'The Way of the Exploding Fist'The first demo of the remake is near, take a look at these screenshots of the game in action:<br /> <br /> [url="http://ses.mgbr.net/prj/fistpc/shoot…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • Death of the revival of the spectrum.All those who wanted more info on my project send me an email and I will subscribe you to my own messageboard as this one keeps getting locked down...
  • Name of sort of board-battle-game???...Guys,<br /> <br /> I can't remember the name of a game that was similar to a chess game (not Battle Chess i think). I mean you play it on a board, ha…
  • Czech and English translation of Abe's Mission - Escape - Speccy remake of great PC/PSX game !!!Hi!<br /> <br /> You certainly know Abe from PC or PSX games Oddworld-Abe Oddysee and Oddworld-Abe Exoddus. Brothers decided to made it for our Spect…

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • lowest memory code
  • land of mire mare
  • ending of inside outing
  • city of death
  • spectrum nodes of yesod speech
  • nodes of yesod speech
  • nodes of yesod
  • nodes of yesod disk
  • nodes of yesod sound
  • purpose of switch code supertest
  • code address and length of sna
  • code address and length of snaphot
  • code address and length of snapshot
  • code address and length of snapshot file
  • machine code routine of the week
  • single line of basic code

Copyright © 2024 World of Spectrum