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.021s
<1234567…34>
  • Self modifying code ??I made a game in C that was mostly accessing arrays and using FOR NEXT loops, I ran out of memory, so I was thinking would it be possible to use sel…

    ... it be possible to use self-modifying code so that say 20 FOR ... NEXT loops use the same code?
    or 20 array look ... ups can use the same code?

    When using C ... write out all the machine code necessary to do loops and ...
    slenkar slenkar December 2013 Development
  • 28-character wide multicolour(ish) on 48k SpectrumLong-time lurker here... I've always been interested in rainbow effects on the 48k Spectrum, mainly from a perspective of "Just what [I]would [/I]ha…

    ... This would (a) use self-modifying code, and (b) result ... the left-most character columns (4,5,6 ... 28 columns.

    Some comments on this code:
    columns each. One way ... HALT ; Hang around, modifying the instructions so that the ...
    AMW AMW April 2012 Development
  • Hacking the O.C.P Full Screen Editor/AssemblerIf you have been reading my posts recently then you will know that I am eager to have the sourcecode I wrote for the Spectrum during the period 1988 …

    ... .P assembler has fixed columns and pads out characters ... horizontal scroll:

    [code]
    org 34304

    stack equ $

    [/code]

    Here is a ... a lot of self modifying code and inline methods (repeated code). I also ...
    ASM ASM November 2010 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…

    ... trick I know (including self-modifying code) to reduce code size without loosing performance ... character font must be rotated, self-modifying the code accordingly

    xor ... print text in 64 columns, for example:
    [CODE]
    PRINT #4 ...
    Einar Saukas Einar Saukas July 2011 Development
  • Machine code optimisationI'm geting back into z80 coding and wonder what the best way of showing how efficient the code is. I've got Rodney Zaks book and see there are timin…

    ... emulator, keep your speed critical code above the 32K address line ... be afraid to do some self modifying code :). Just be careful with it ... the number of blank pixel columns on the right of the ... like pulling out some reusable code (sprite engine[s], whatever) ...
    Alcoholics Anonymous Alcoholics Anonymous September 2013 Sinclair Miscellaneous
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... 've used a bit of self modifying code to access these at run ... value is modified by the code. See above
    TILERENDERLP LD ...
    Mr Millside Mr Millside February 2005 Development
  • Newbie's development thoughts.Just wanted to thank WOS development forum regulars, for the amazing information etc contained within these pages. 20+ years ago a did a little asse…

    ... />
    Secondly - people making source code available! So eye-opening! My ... using far too much dirty self modifying code, which I am sure better ...
    uglifruit uglifruit July 2011 Development
  • Best debugging emulatorI just posted a thread about emulators in the 'Development' discussion. I'm looking for the best emulator for debugging so I can view my code in act…

    ... so I can view my code in action and single step ... I can recreate the source code and then write Finders Keepers ... mustard as I loved using self modifying code back then so the disassembly ...
    David Jones David Jones September 2013 Emulators
  • IX+n and self modifying code and pasmoI'm using pasmo and if I wanted to use ix+n like this: (ix holds the position to a sinus table) ld (symbol), a LD a, (ix+symbol) What I want to do…

    I'm using pasmo and if I wanted to use ix+n like this:

    (ix holds the position to a sinus table)

    ld (symbol), a
    LD a, (ix+symbol)

    What I want to do is to use LD a, (ix+n), but declare n as a variable, and modify ...
    Arda Arda January 2015 Development
  • Problems with AY sound. Experts needed. :-)<div><span style="font-family: Arial, Verdana; font-size: 13.3333330154419px; line-height: normal;">I need to play some AY sound effects, so I've bee…

    ... Editor package (and his player code) as that seems simple ... and stripped all non-essential code away and made some ... not use interrupt or have self-modifying code. Compile the file "compilethis. ... 3 lines of the source code. The label musInitAd (currently)  ...
    Sokurah Sokurah June 2015 Development
  • Disassembly starting from a tape fileFollowing on from the Atic Atak redefining keys thread, I was wondering how you'd go about disassembling the code from scratch. The approach used in …

    ... d go about disassembling the code from scratch. The approach used ... project was to snapshot the code once it's running ... data structures have been initialised, self modifying code has run, etc., which isn ... thinking of looking at the code from the start. Assuming ...
    thricenightly thricenightly September 2017 Development
  • Speccy snaphot to EXE I seemed to remember and reading at http://www.worldofspectrum.org/warajevo/Features.html I found[quote]Using the additional program ZXCOMP the Z80 …

    ... nearly impossible for many reasons (self-modifying code for example). So, ZXCOMP converts ... kind of P-code (more precisely, packed Z80 code) and links it ... 48K for 128K snapshots. P-code is usually about half size ...
    NRA NRA December 2018 Games
  • Machine Code ChallengeHere's a challenge for all you Z80 programmers. Points to be awarded for elegance and brevity. (I haven't got the solution either) HL addresses the …

    ... probably misled. I meant no self-modifying code. Anyway drop me a line ...
    Geoff Geoff July 2002 Sinclair Miscellaneous
  • Z80 coders compoIf you're interested in Z80 coders compo, visit my page [url="http://mbr.nm.ru/compo.html"]http://mbr.nm.ru/compo.html[/url]

    ... especially interested if a non-self-modifying code version of yours would still ...
    Alcoholics Anonymous Alcoholics Anonymous November 2003 Development
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... 'd usually start looking at self-modifying code (because I'm evil like ...
    gasman gasman April 2004 Development
  • T.I.M. - A New Interlace - Demo for DOWNLOADHere's something that's been in the works for quite a while ( mostly in my head ) and recently I've aquired assistance to help it come to fruition. …

    ... 'd usually start looking at self-modifying code (because I'm evil like ...
    Alcoholics Anonymous Alcoholics Anonymous April 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... : with something like:

    [code]
    LD DE,16
    LD (HL2),HL
    [/code]

    And then replace ... is the simplest form of self-modifying code. Basically your storing the value ...
    AndyC AndyC September 2004 Development
  • Reading the keyboardDoes anyone have a code sample to read the keyboard in machine code ?

    ... see its a bit of self-modifying code. LD (CALLADDR+1),DE modifies ...
    dmsmith dmsmith November 2004 Development
  • Reading the keyboardDoes anyone have a code sample to read the keyboard in machine code ?

    ... see its a bit of self-modifying code. LD (CALLADDR+1),DE modifies ... were paying attention...

    Self modifying code, the scourge of anyone trying ...
    rich_chandler rich_chandler November 2004 Development
  • Anyone help re-factoring a tile functionI had some excellent feedback for re-factoring my function that displays the colour for my screen tiles. Can anyone offer some help to improve the fu…

    ... used a bit of self modifying code to access these at ... speed enhancements ?

    [code]
    ORG 50000

    code. See above
    ... /> First I made the code readable with {code} and {/code} ( use [] ISO {} ...
    Dr BEEP Dr BEEP February 2005 Development
  • MC TipPlace your MC tip here: Here is my first: When using alternate registers (EXX) the HL register must not be affected on return to BASIC. Also the IY…

    Self modifying code is fun, saves a byte ... the first example:

    [code]
    exx
    ld (savehl ... br /> exx
    ret
    [/code]
    Other fun stuff - using ... the instructions it may allow code to be written better and ...
    Quazar Quazar November 2005 Development
  • MC TipPlace your MC tip here: Here is my first: When using alternate registers (EXX) the HL register must not be affected on return to BASIC. Also the IY…

    ... 13, Quazar wrote:
    Self modifying code is fun, saves a byte ... first example:

    [code]
    exx
    ld ( ... br /> exx
    ret
    [/code]
    [/quote]

    ... That's what my code used as well, but I ...
    Dr BEEP Dr BEEP November 2005 Development
  • ZXCF InterfaceI'm just trying to get an idea for the ZXCF interface, and to me, it looks a much cleaner design compared to divIDE (Of course, that's just my opinio…

    ... QUOTE=MikeW]
    [code]
    This should ... run Residos without issue.
    [/code]

    Comments anyone ... CamelForth (apologies for the self-modifying code):

    [code]
    ;Z ... /> jr gbltend
    [/code]

    Garry
    glancaster glancaster April 2006 Hardware
  • How to speed up TZX loading (emu development)With many newer emulators there are options to do faster loading schemes, even for turbo-loader or protected loader blocks in TZX files. For example,…

    ... the system involves checksums and self-modifying code and god knows what else ... by recognising the specific loader code as a pattern, or by ...
    Laser Laser May 2006 Emulators
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... Spectrum. Unfortunately, most Russian code contains self-modifying code and stack tricks that make ... player Sergei provides also contains self-modifying code. This has prevented its inclusion ... , suffers from the usual self-modifying code and will need to be ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • Emulators on a ZX Spectrum sectionIsn't it time to mention the emulators ON the ZX Spectrum in a special session. I know of 4 emulators for the ZX Spectrum right now: 1) ZX81EMUL (h…

    ... each write a bit of self-modifying code and it tries to take ... erase the other bit of code. Quite fun.[/QUOTE]

    Philip Kendall Philip Kendall August 2006 Emulators
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... other one):

    [CODE]sort: ld hl, numbers ; point ... sort
    ret ; sort complete[/CODE]

    This is ... index registers in speed critical code.

    Even that ... work; maybe it you used self modifying code for the pointer or something ...
    Matt_B Matt_B September 2006 Sinclair Miscellaneous
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... up the 6502 version using self modifying code. You could swap out all ... the necessary addresses into your code at the beginning of the ...
    Matt_B Matt_B September 2006 Sinclair Miscellaneous
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... up the 6502 version using self modifying code. You could swap out all ... the necessary addresses into your code at the beginning of the ... adds another assumption to the code: all 256 bytes (or less ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Sinclair Miscellaneous
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... to be exceptionally poor z80 code to achieve that. I really ... (256 bytes or less), sometimes self-modifying code, stack depth (256 bytes or ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Sinclair Miscellaneous
<1234567…34>

Latest Posts

  • 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
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • 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

HitBox

Word Docs Hits
self 4.5K 5.2K
modifying 823 935
code 41.6K 91.2K
columns 987 2.2K

Related Threads

  • Self modifying code ??I made a game in C that was mostly accessing arrays and using FOR NEXT loops,<br /> I ran out of memory, so I was thinking<br /> <br /> would it be p…
  • IX+n and self modifying code and pasmoI'm using pasmo and if I wanted to use ix+n like this:<br /> <br /> (ix holds the position to a sinus table)<br /> <br /> ld (symbol), a<br /> LD a, …
  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it<br /> <br /> Note, for 48k spectrum using TASM<br /> <br /…
  • Saving BASIC code as CODE... can't start programHi guys!<br /> <br /> I'm trying to create an adventure game for the Speccy in BASIC, called The Legend Of The Red Dragon.<br /> <br /> I'm using the…
  • Self Relocating CodeOn page 47 of [url]http://www.tim-mann.org/trs80/doc/ldosq1-3.txt[/url] is an article about relocating code.<br /> The documented routine that perfor…
  • How to write self-relocating code using Pasmo?With z80asm, I can write code like this:<br /> <br /> [CODE] org 0 ; a total lie, but makes the reloc sums work<br /…
  • Converting Basic code into machine codeIm just interested to know if I can converter a game I've written in basic into Machine code, Is their a program that can do this??
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code?<br /> <br /> I have written the following MC routine that fits into a REM statement in a basic program.<br…
  • Code Masters' adventures: where are they?Please help to find Dizzy and Seymour sequels. Why their distribution is denied ?

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • lowest memory code
  • code 16384
  • 20 columns
  • mastering machine code on your zx spectrum by toni baker
  • mastering machine code on your zx spectrum by toni baker disassembler
  • mastering machine code on your zx spectrum by toni baker pdf
  • identify code 128k pentagon model
  • check code 128k pentagon model
  • load code hide name
  • load code hide name on screen
  • self modifying
  • self modifying sprite
  • self modifying code
  • self modifying code rom
  • self modifying code computer science
  • self modifiying code

Copyright © 2024 World of Spectrum