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.013s
<1…18192021222324…34>
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code? I have written the following MC routine that fits into a REM statement in a basic program. I want to cal…

    ... are disabled

    ; page BASIC + RAM 6
    ld a ... /> call 1366

    ; page BASIC + RAM 0
    ld a ...
    ld bc,16384
    ldir
    ld a,$10
    Zup Zup October 2014 Development
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code? I have written the following MC routine that fits into a REM statement in a basic program. I want to cal…

    ... a REM statement in a basic program.

    I want ... fancy headerless loaders, just the basic function.

    How do ...
    ld bc,16384
    ldir

    ld bc,#7ffd ...
    Jerri Jerri October 2014 Development
  • Alkatraz Protection System - "How to" and compo?I'm thinking about writing a "how to" regarding the [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0020807"]Alkatraz Protection System[/URL].…

    ... : RUN XR INV
    12: LDIR+TYPE1[/B]
    13: MEM ... [/B]
    The mysterious Alkatraz BASIC...
    jp jp November 2014 Announcements
  • Alkatraz Protection System - "How to" and compo?I'm thinking about writing a "how to" regarding the [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0020807"]Alkatraz Protection System[/URL].…

    ... />
    The game's original BASIC loader handles this by doing ... ld (hl),a
    00210 ldir
    00220 ;
    00230 gamecl ... "]reprotected[/URL]
    [*]The Alkatraz BASIC needs to be [URL="http ...
    jp jp December 2014 Announcements
  • assembler for PcHi guys, I'm in the process of teaching myself machine code, and wondered if there is a good pc program for writing code. Or is the best thing to use…

    ... a .tzx file, with a BASIC header that loads and then ...
    LD BC,$0300
    LDIR
    RET
    END MAIN ... simple autorunning .tzx file with BASIC loader, enter:

    [CODE ... will load and run the BASIC loader, followed by your machine ...
    GReW GReW December 2014 Development
  • Execution map file support in different emulatorsAs I'm now seeking about execution map files, the different emulators support, I want to start a new discussion here. Today, I tried to create a mem…

    ... 24000 ; USR call address from BASIC
    romsize: equ 16384 ... ld bc,6912 ; memory.
    ldir
    ret
    mirror: ...
    clausjahn clausjahn August 2015 Emulators
  • Games not compatible with the 128+ & grey +2Like the +2A & +3 thread, there are a few games that do not work correctly on the original 128+ and the grey +2. Two games that I know of that wil…

    ... br /> ld a,value
    ldir[/code]

    The ... start address of basic
    ldlen equ $1406 ; basic length
    first ... is harmless
    notjp ldir ; copy the decrypter down< ... bc,epokes-pokes ; length
    ldir ; copy pokes down
    ...
    jp jp October 2015 Games
  • WANTED Machinecode Routine for Paging in Betadisk TR-DOS v5 ROMI try to build a small MCode-program which writes the TR-DOS-ROM v4 / v5 to RAM adress 40000 an up. It´s working on TR-DOS v4 / Betadisk 48k: C…

    ... it.

    $2FF0 contains LDIR, RET - that allows us to ... allows us to return to BASIC.

    As you can ...
    Jmk Jmk December 2015 Hardware
  • WANTED Machinecode Routine for Paging in Betadisk TR-DOS v5 ROMI try to build a small MCode-program which writes the TR-DOS-ROM v4 / v5 to RAM adress 40000 an up. It´s working on TR-DOS v4 / Betadisk 48k: C…

    ... it.

    $2FF0 contains LDIR, RET - that allows us to ... allows us to return to BASIC.

    As you can ...
    Luzie Luzie December 2015 Hardware
  • Problem with BC corrupting after DJNZJust for fun, I'm messing around trying to get the level maps from Lemmings to display on the screen with machine code. It's been ages since I did an…

    ... COUNTER FOR 32 CHARS
    LDIR ; DO A LINE OF THE ... CHAR SQUARES TO GO
    LDIR ; COPY THE ATTRIB FROM THE ... it will be mostly in basic. This m/c routine will ...
    mulder mulder January 2016 Development
  • 128K programmingDoes anyone know any good resources on assembly programming for the 128? All I'm after is an "idiot's-getting-started-guide" on how to utilise the…

    ... did in Funky Fungus, from BASIC, like this:
    [code]< ... ; first chunk to copy
    LDIR ; copies data

    ... br /> LD BC,6144
    LDIR

    LD A, ... bank set by PRELOAD
    LDIR

    EI
    ...
    Alessandro Grussu Alessandro Grussu February 2016 Development
  • Help needed with MIA software with custom (?) loaderHi, I've got into my hands recently a bunch of Polish educational software which are unknown MIA on WOS. I believe they are protected with some…

    ... LD BC,1800
    0x5CD9 LDIR ; Fill screen with random data ... saving a master copy (from BASIC LINE 4)
    0x5CDE LD ... LD BC,011B
    0x5CE4 LDIR ; Move saver and loader to ...
    lfaria lfaria August 2016 MIA/STP/SDP
  • Line DemoI was looking in the source code of another game (that Akalabeth game), with lots of line drawings. The difference was that they don't use the PL…

    ... hangs if it is in BASIC, as the editor can't ...
    LD (HL),A
    LDIR
    FINISHED LD HL,START ... /> RR A
    HALT
    LDIR
    OUT (#FE),A
    The_Bert The_Bert September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... ,6912
    65353 237, 176 LDIR
    65355 201 RET
    65365 237, 176 LDIR
    65367 201 RET
    BASIC? How would I do this ...
    ivanb303 ivanb303 September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... /> If you want a simple, BASIC only, codge. And don't ... you the 'MOVE' command in BASIC - which allows you to copy ... trivial to implement, and makes BASIC on the Spectrum massively more ... SEbasic - using the Z80's LDIR command )
    p13z p13z September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... 's roughly equivalent to the BASIC instruction:

    ... one of my routines in BASIC would be:

    LD BC,6912
    LDIR
    RET
    [/code ... the equivalent of the LDIR instruction - it's ... a lot faster than Sinclair BASIC.

    ...
    joefish joefish September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... done a bit of Spectrum BASIC, a bit of Java and ... Joefish code taught me about LDIR, thanks again Joefish)
    Video ...
    textvoyage textvoyage September 2016 Sinclair Basic
  • Where does the BASIC program sit 48K Spectrum memory?Hi there First post so be gentle, I've had a spectrum since the 80's and have recently started programming it for fun again. I wrote the followin…

    ... the memory that contains the BASIC program, interpret it as ...
    65353 237, 176 LDIR
    65355 201 RET
    65365 237, 176 LDIR
    65367 201 RET
    joefish joefish September 2016 Sinclair Basic
  • Graphics program in AssemblyHi so I think I'm getting the hang of this so I've done this program. It writes directly to the screen. I'm using ZX Spin. [code] LD HL,16384 LD B,…

    ... one byte, use much faster ldir method:
    [code]
    ld ... />
    ld (hl), 170
    ldir

    ret
    [/code ... tried to load this from BASIC by POKEING the DATA values ... ), 170, is 34, 170
    LDIR is 237, 176
    RET ...
    ivanb303 ivanb303 October 2016 Assembler
  • how to load machine codeI'm reading Jon Caldwell's how to write Spectrum games but can't enter the code! Here's an example:_ LD BC, (score) Call 6683 I tried putting…

    ... enter commands like that from BASIC but you sort of can ... /discussion/53389/where-does-the-basic-program-sit-48k-spectrum-memory ... /> 1,0,27

    LDIR is
    237,176
    RANDOMIZE USR 61000 in BASIC
    If you placed your ...
    ivanb303 ivanb303 December 2016 Sinclair Miscellaneous
  • c64 .sid player coming soon to specy 128!!!c64 .sid player coming soon to specy 128!!! the first old version uses only square waves, 4 years ago: https://www.youtube.com/watch?v=6CKt9noxA7s…

    ... idea follows:

    BASIC loader could look like this ... br /> - Disable interupt
    - ldir everything from #5B00 to #5FFF ... br /> - when player stops, ldir system variable area back from ...
    - return correctly to BASIC, so it will continue with ...
    Hood Hood March 2017 Announcements
  • DivIDE allram mode help neededHi guys, are there any DIVIDE wizards out there that can explain how i page in the allram and add a rom file to it i sometimes need to load spect…

    ... mode is possible (also from basic) use easy paging of DIVIDE ... be DIsable interrupt, else during LDIR jump interrupt routine to divide ...
    ld bc,8192
    ldir ;install first 8kB of custom ...
    ld bc,8192
    ldir ;install second 8kB of custom ...
    velesoft velesoft March 2017 Sinclair Basic
  • Interupt service routinehas anyone set up a interupt service routing with pasmo? this one I tried resets the speccy EDIt- I placed the code after the END directive, I fi…

    ...
    ld (hl),189
    ldir

    ; Place a JP ... 2

    ; Return to BASIC:
    ei
    ret
    BASIC on a 128K machine, you ... in and out by the BASIC interpreter. Also your interrupt routine ...
    joefish joefish April 2017 Development
  • endless runner project..So I'm thinking of writing a small tutorial series on writing games for the speccy in C, and figured that an endless runner would be an easy example …

    ... are very fluent in ZX Basic. You will wonder why there ... LDIR, OTIR, or DAA. :) But when you do master it like BASIC ...
    Timmy Timmy May 2017 Development
  • endless runner project..So I'm thinking of writing a small tutorial series on writing games for the speccy in C, and figured that an endless runner would be an easy example …

    ... that they could do some basic formatting like cursor placement, underline ... have terminals that emulate zx basic's terminal (when you print ... codes). As you know in basic you can print certain codes ... zero (memset gets turn into LDIR by the compiler), use a ...
    Alcoholics Anonymous Alcoholics Anonymous May 2017 Development
  • Witchcraft: Nirvana, Bifröst and such[url="http://www.rgcd.co.uk/2011/10/buzzsaw-zx-spectrum.html"]"When considering this next to nearly every other ZX Spectrum game though, Buzzsaw is l…

    ... you use 128K-specific BASIC commands/128K BASIC editor, the interpreter will ... program never dipped back into BASIC, using the same JR trick ... ]will[/i] crash in 128K BASIC [i]even[/i] if you ...
    ld (hl),$fe
    ldir

    ld a,248 ...
    Ast_A_Moore Ast_A_Moore January 2018 Sinclair Miscellaneous
<1…18192021222324…34>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dmsmith on 12:55AM
  • Minor British Sports that did become games on the ZX Spectrum
    dmsmith on April 22
  • Goodbye Z80
    moggy on April 22
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on April 22
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on April 22
  • I am currently watching.....
    Antiriad2097 on April 22
  • European Software Titles with an English version
    harriusherbartio on April 22
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on April 22
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 22
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21

HitBox

Word Docs Hits
ldir 1K 1.7K
basic 24.7K 39K

Related Threads

  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a<br /> 48K Spectrum to one for the ZX81. It's obvious that some things cannot<br …
  • ZX Basic 1.2.5 - a BASIC CompilerWell, my old post about ZX BASIC seems to be gone (maybe this phorum purges old threads?), so I started a new one.<br /> <br /> After more than 6 mon…
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …
  • Loading basic from basic?Hi Guys,<br /> <br /> Could you please help me. I want to create a menu on my plus 3 disks. If I use the line below I just get "c nonsense in basic…
  • Couple of basic BASIC questionsPlaying around with BASin again in an effort to knock up a game and am wondering 2 things<br /> <br /> 1) Why when I run the program do my UDGs not a…

Related Searches

  • rst8 return to basic
  • rst8 basic
  • return to basic
  • basic tips tricks
  • best basic manual
  • writing music in basic
  • play in basic
  • play command in basic
  • basic upper lower case
  • basic toupper tolower
  • basic lcase ucase
  • basic change upper lower case
  • basic
  • basic flicker
  • flicker basic
  • two charcters basic
  • basic sprites
  • basic sprites flicker
  • ldir basic animation
  • memory basic ldir

Copyright © 2024 World of Spectrum