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.019s
<1…10111213141516…34>
  • CODE SCREEN$ in MCIs there any way of determining what character is displayed at a certain co-ordinate from machine code like the 'IF CODE SCREEN$=' arrangement in bas…

    Is there any way of determining what character is displayed at a certain co-ordinate from machine code like the 'IF CODE SCREEN$=' arrangement in basic?
    daveysludge daveysludge June 2013 Development
  • Machine code assistance please #1Dear all, Learning the ropes here, so please excuse these odd questions which may seem simplistic to you learned lot. This routine is placed at 33…

    ... it gives me 32867.
    [code]
    ld l,155
    ret
    [/code]

    When I add ... the beginning, the following...
    [code]
    ld hl,0
    ld bc,0
    [/code]
    ...it seems to work ...
    Tobo Tobo June 2013 Sinclair Miscellaneous
  • Struggling with this routine... Any ideas?I'm trying to write a routine that plots 3 pixels to decrease the energy bar in the top right corner by 5 units, but it just wont have it! There mus…

    ... 't work anyway!)

    [CODE]org 30000
    ld b ... 18
    ld b,171 ;vertical co-ordinate to be plotted ...
    pop bc
    ret[/CODE]
    daveysludge daveysludge July 2013 Development
  • quick RAM copy using LET in BASICI'm in the process of reviewing, revising and refining all the programming tips & utility routines which I've posted on this forum over the last eigh…

    ... in line 45.

    [code]
    10 DEF FN p ... around a screen segment
    [/code]

    --

    The ... either side as well.
    [code]
    44 LIST 45: DIM ... ): PAUSE 0: STOP
    [/code]
    The vertical bars are due to ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • How to write self-relocating code using Pasmo?With z80asm, I can write code like this: [CODE] org 0 ; a total lie, but makes the reloc sums work .dest: equ …

    ... ; target address of relocated code
    ld bc,.reloc_start ... ld bc,.reloc_len ; length of code to relocate
    ldir ... lots of code
    ;; lots more code
    ;; even more code
    < ...
    stephenw32768 stephenw32768 August 2013 Development
  • BIFROST* example: "Knights & Demons DX" source codeA package containing the source files of our multicolor game "Knights & Demons DX" is now available for download [URL="http://www.mediafire.com/?hbch…

    ... ' timer (multiplied by 100)[/CODE]

    The ... br /> BIFROSTstart() ' enable BIFROST*[/CODE]

    This ... () ' wait for next frame[/CODE]

    Even ...
    Einar Saukas Einar Saukas August 2013 Development
  • Scrolling by 2 pixelsWhat is the fastest way of scrolling a Spectrum screen line by 2 pixels left or right? When thinking about it I've come to this simple solution: [C…

    ... this simple solution:

    [CODE]RR (HL)
    INC HL ... /> INC HL
    ...[/CODE]

    to scroll it by one pixel ... then doing it again to scroll it by 2 pixels.
    Ralf Ralf August 2013 Development
  • trying to read keyboardI have the speccy in interrupt mode 1 I used 'IM1' in assembly language then Im printing the contents of memoryu area 23560 to the screen: [quote] l…

    ... /> ld a,#22 ; ASCII control code for AT.
    rst #16 ... it.
    ld a,#10 ; vertical position.
    rst #16 ; print ...
    slenkar slenkar August 2013 Development
  • Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…

    ... ' & a Groovin' machine code screen routines from Your Spectrum ... is noticeably slower than the vertical one because it has ... utterly confusing and wonderful reverser code.

    On the ... horizontal


    [/code]

    Now.. Dr Beep ...
    MatGubbins MatGubbins August 2013 Development
  • MGT MOUSE - exist really ?I read disassembly of +D rom/ram code and from address #2249 is routine for read MGT MOUSE ports. I can't find any info about "MGT MOUSE". Exist real…

    ... />
    Part of disassembly:
    [CODE]THE 'MOUSE' ROUTINE
    This ... /> 2264 RET NZ Return to vertical movement test.
    2265 BIT ... to mouse.
    228D RET[/CODE]

    Full disassembly here ...
    velesoft velesoft August 2013 Hardware
  • Can a guy that traveled on the short bus learn machine code...Hmmm So after some soul searching I figured it was time to finaly nail spectrum machine code. Its so frustrating to sit infront of a basic listing w…

    ... a spectrum in assembly/machine code... No fancy screen shinanagins, ... "/program loader.

    [code]
    10 LET X=61440 ...
    Paired registers

    [code]
    03 = INC BC
    3C
    C9
    [/code]

    returns... 61440...
    wibble wibble August 2013 Development
  • Squishing code up nice and small then unsquashing it in assemblyI refer of course to data compression. I've done a search and there are lots of good compressors, but I can't seem to find one that works in assembl…

    ... a short bit of assembly code (exactly what I'm after ...
    R-Tape R-Tape September 2013 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…

    ... of showing how efficient the code is.

    I've ... to determine how fast the code runs?
    rune rune September 2013 Sinclair Miscellaneous
  • Machine code/Assembly language back in the dayHello. Back in the 80s when I was a kid, I didn't learn Z-80 machine code, but I was always curious about it. Just recently I decided to explore Z-…

    ... attempt at learning machine code on the Spectrum made ... reset and editing the code, which is still waiting ... assembler window. However, writing code on a real Spectrum ... crashing in case bad code is executed? Did they ... who were learning machine code back in the 80s ...
    memrah memrah September 2013 Sinclair Miscellaneous
  • 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??

    Im 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??
    nonsenceinbasic nonsenceinbasic September 2013 Development
  • 128 BASIC-compatible way of loading BASIC as code?On a 48K Speccy (or from 48 BASIC or USR 0 mode on a 128K machine), one can do a silly trick like this: [code];; load a 4000 byte BASIC program ld i…

    ... trick like this:

    [code];; load a 4000 byte BASIC ... (23620),1

    ret[/code]

    Ta-da, BASIC ... total crash. Loading BASIC as code from the 128 BASIC interpreter ... 's the return from machine code that doesn't.

    stephenw32768 stephenw32768 September 2013 Development
  • MOVE_M Object Movement Manager for BASICAs moving things around on the screen is usually the slowest part of a game written in BASIC, I've been pottering around with this routine to handle …

    ... appended to the MOVE_M code.

    [code]
    10 ... /> 9999 RETURN
    [/code]

    [code]
    ; MOVE_M moving ... /> ; Vstep = -1/0/+1 vertical step
    ; Hstep = -1/ ... /> ; CHR$ = graphic's character code
    ; 0:1 = direction ...
    Battle Bunny Battle Bunny September 2013 Sinclair Basic
  • Another vertical scrolling questionwhile talking about w256 x h128 vertical scrolling, are 128k modes have any advantages over 48k models? has extra ram or swappable screen buffer any…

    while talking about w256 x h128 vertical scrolling, are 128k modes have any advantages over 48k models?

    has extra ram or swappable screen buffer any use on scrolling?
    Arda Arda October 2013 Development
  • LOAD "" CODE - Blind Alleycame across [B]Blind Alley[/B] in the archives, and both tzx/tap versions only have Bytes header, no Basic loader with autostart - please, anyone, ho…

    ... the archive that need LOAD "" CODE?
    de Vandemar Croup de Vandemar Croup October 2013 Games
  • Downloading code to physical hardwareHi folks, Back in the day, my devkit was a TRS-80 and I had a simple connector device from the TRS-80 parallel (printer) port to the expansion bus o…

    ... ways to get PC developed code over to a physical Spectrum ...
    David Jones David Jones December 2013 Development
  • 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…

    ... 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
  • Assembly code auto optimiserFor my Finders Keepers Plus project I'm considering writing an Assembly code auto optimiser. Way back when I wrote the original FK I considered optim…

    ... like this

    [code]
    call SomeSub
    ... ret
    [/code]

    could be ... br />
    [code]
    jp SomeSub
    [/code]

    ... br />
    Example
    [code]
    ; My source
    ;< ...
    David Jones David Jones December 2013 Development
  • Seeing the code/In emulatorHello, Here is my Noob question. Is it possible to see the code for these games in an emulator? To be able to study the code? I am using the Sp…

    Hello,

    Here is my Noob question. Is it possible to see the code for these games in an emulator?

    To be able to study the code?

    I am using the Spectaculator emulator on a PC.

    Thanks,

    M
    MadR13D MadR13D December 2013 Sinclair Basic
  • Get rid of 'Bytes:' when loading codeHow do you hide the 'Bytes:' when loading code? I've tried saving as CHR$ 22 + CHR$ 6+ CHR$ 0 (a blank part of the loading screen) but it still appe…

    How do you hide the 'Bytes:' when loading code?

    I've tried saving as CHR$ 22 + CHR$ 6+ CHR$ 0 (a blank part of the loading screen) but it still appears at 3,0 and disrupts my screen!
    daveysludge daveysludge December 2013 Sinclair Basic
  • Code to test if a rectangle is in a rectangle[SIZE=3][FONT=Calibri]I am looking to write some code that will check if a rectangular shape is outside or overlapping a second rectangle. If the sma…

    ... am looking to write some code that will check if a ... have concocted the following sudo code to achieve this outcome:[/FONT ... , has anyone got some Z80 code that already does this? I ...
    Mr Millside Mr Millside December 2013 Development
  • SpecBAS 0.800 Released!Hi folks, it's that time again for another release. I was going to add a few more features, but I have other projects on the go at the moment, and it…

    ... of the following:

    [code]
    Added:

    ... fix
    Forcing a SCROLL? prompt with a large font ... screen might have caused a Scroll? message after all
    ... , which resulted in erroneous "Scroll?" prompts
    [/code]

    Enjoy ...
    Dunny Dunny December 2013 Sinclair Basic
  • Code analysis on SNA filesI was wondering if anybody has attempted to convert all TZX/TAP files into SNA files? I would prefer SNA files as they're easy to use and search from…

    ... /> Basically the first bit of code analysis I've been doing ...
    Jimmy Jimmy January 2014 Development
  • About how z88dk generates code and makes room for variables.When you attempt to code games for the 128K models using z88dk in C you need to somewhat control where variables are stored in memory. I thought tha…

    ... ;
    unsigned char *script;[/code]

    If ... for example:

    [code] script_result = 6;
    script_something_done = ... = 8;
    script = 9;[/code]

    I can see ... looking at the generated code:

    [code]ld A, $ ...
    na_th_an na_th_an January 2014 Development
  • Thunderjaws - little secret discoveredThere is game called Thunderjaws, or maybe better to say a demo as full game was never released: [url]http://www.worldofspectrum.org/infoseekid.cgi?…

    ... peek a bit into the code.

    What did I ... full game buried in the code, locked with a single poke ... design, done for 8 pixel scroll while the actual game has ... 4 pixel scroll.

    Unfortunately that's ...
    Ralf Ralf January 2014 Games
  • Autorun code in an emulator?[FONT=Calibri][SIZE=3]I am using Tommygun and pasmo to develop my game. This works fine but each time the emulator is started and file loaded I then …

    ... type a line of code to execute my code. Is it possible ... it will auto run my code?[/SIZE][/FONT]
    Mr Millside Mr Millside January 2014 Development
<1…10111213141516…34>

Latest Posts

  • I am currently watching.....
    mel the bell on 5:54PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Luny on 5:14PM
  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

HitBox

Word Docs Hits
vertical 2.4K 3K
scroll 3.1K 4.1K
code 41.6K 91.2K

Related Threads

  • 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…
  • 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 ?
  • 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…
  • Assembler code from tutorial, problem!I was wondering if anyone could help me decipher this z80 assembler code?<br /> <br /> ORG 60000<br /> LOAD 60000<br /> <br …
  • machine code basicsWondered if anyone can help me out. I have been playing round with some disassemblers (Zeus). And Machine code loaders.<br /> <br /> All I want to do…
  • Best way to codeHi,<br /> <br /> I've been using Zeus Assembler to code MC programs so far. Nothing fancy just the odd scroll left or animation stuff.<br /> <br /> W…

Related Searches

  • lowest memory for code
  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • lowest memory code
  • vertical scroll
  • horizontal scroll code
  • vertical scroll basic
  • basic vertical scroll
  • smooth scroll code
  • scroll vertical bottom basic
  • scroll vertical upwards basic
  • vertical scroll asm
  • vertical scroll assembler
  • vertical scroll tile
  • tile vertical scroll
  • vertical scroll tiles
  • tile scroll vertical
  • vertical scroll image
  • vertical scroller code

Copyright © 2024 World of Spectrum