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.032s
<1234567…34>
  • IM 2 interrupts and smooth scrolling - easy peasy!Okay, been fiddling around with IM 2 and have actually mastered (I think) how to use IM 2! Now I run my game Ragnar Revival in IM2 and use HALT to sy…

    Okay, been fiddling around with IM 2 and have actually mastered (I ... think) how to use IM 2! Now I run my game ... 56 ;for smooth return to Basic


    ;prepares interrupt ...
    ld i,a
    im 2
    ei
    ret
    ekoman ekoman July 2004 Development
  • The Hisoft BASIC v1.2 Plus 3I am trying to compile a basic program with the [B]Hisoft BASIC v1.2 Plus 3[/B]. When i read the instructions to prepare the program to be compiled b…

    ... compile a basic program with the [B]Hisoft BASIC v1.2 Plus 3 ... />
    1 - load "hibasic"
    2 - load our_basic_program
    3 - edit ...
    arfgh arfgh June 2010 Sinclair Basic
  • ZX Spin 0.7 + SE BASIC 3.2I've bought SE BASIC 3.2, but I've got no EPROMs to test it yet. While I wait for those EPROMs, I've configured my favourite emulator to run a 48k…

    I've bought SE BASIC 3.2, but I've got no ... both OpenSE 3.1.2 and 3.2, and when it tries ...
    Zup Zup December 2016 Emulators
  • Restore Registers Returning to BASICI should really know this, but I've not written code that requires a return to BASIC for a loooong time. What registers need to be preserved / resto…

    ... that requires a return to BASIC for a loooong time.
    BASIC after calling machine code? I ... previous value).
    [*]IM 1 (my code uses IM 2).
    [*]...
    [/LIST ...
    icabod icabod July 2006 Development
  • joining lines of BASICDue to overwhelming demand - well, one demand - well, more of a suggestion, really - here's a routine to join together lines of BASIC. The vertical c…

    ... to join together lines of BASIC. The vertical cursor motion ... include a "dividing lines of BASIC" option as well - edit ... br /> LD I,A
    IM 2
    RET

    ... /> LD I,A
    IM 1
    RET
    ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • The I register and IM 1Hi al! I've been doing some coding, replacing the BASIC ROM with my own code and upon examination of a few 16Kb cartridges, all the ones I've look…

    ... doing some coding, replacing the BASIC ROM with my own code ... />
    ld i,a
    im 1

    ei
    IM 2. Indeed, commenting this line out ...
    Mysterion Mysterion November 2015 Development
  • Some \"newbie\" questions about the Spectrum +2I bought a +2 last week. I had never owned any of the 128k Spectrums before, nor seen them in action. I have a couple of questions; 1) Do all 128k …

    ... to be loaded in 128 basic mode, tape player mode ... load in 48k basic mode

    2) Were many games ... specifically made for the +2? I ask because yesterday ... picked up a "Dixons" +2 boxed compilation, and a Konami ... the life of the +2 tape deck? I already ...
    thx1138 thx1138 June 2002 Games
  • InterruptsA small piece intended for the FAQ. Comments, corrections, additions welcome. Notably: * How long does the 48K ULA hold /INT low? * What happens i…

    ... set via the last IM 0, IM 1 or IM 2 instruction.

    In IM 1 (as used by Spectrum BASIC ... bus in IM 2 will always be 0xff. This makes IM 2 easy to ... random times, which makes using IM 2 slightly tricker.

    ...
    Philip Kendall Philip Kendall July 2004 Development
  • 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 Note, for 48k spectrum using TASM [code] ; ***********…

    ... 56 ;for smooth return to Basic


    ... ,A ; I=FE
    IM 2 ; select IM2
    ei< ... 12,0,0,SPRRIGHT,SPRDOWN,2,2,0,1,1
    2,2,0,2,1

    ...
    DEFB 1, 1, 2, 2, 2, 4, 56,192
    DEFB ...
    robpearmain robpearmain August 2004 Development
  • 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 …

    ... /> POP BC

    ; Col 2
    INC C
    LD ... I,A ; I=FE
    IM 2 ; SELECT IM2
    EI
    ;Char Size: ( 2, 3)
    ;Sort Priorities: Mask ...
    robpearmain robpearmain September 2004 Development
  • Memory and BasicQuestions 1. How much memory is available for Basic Progs? 2. How do I check how much is left? 3. How much memory does an array take up?

    Questions

    1. How much memory is available for Basic Progs?
    2. How do I check how much is left?
    3. How much memory does an array take up?
    chop983 chop983 November 2008 Sinclair Basic
  • 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 …

    ... a,c ;On entering from BASIC, BC holds the
    ... the interrupt vector
    IM 2 ;Select interrupt mode 2 (custom)
    ei ... again
    ret ;Return to BASIC


    ;Main ... the keyboard still works in BASIC):
    jp 56
    < ...
    joefish joefish May 2009 Development
  • Need help with interrupts againI'm fighting to understand how interrupts code handling works I'm trying to set my simple own interrupt routine, as I don't want to be dependent on …

    ... 24000. It stores Basic sstem variables normally and Basic interrupt routine overwrites ...
    LD SP,65516
    IM 2
    EI
    [/code]
    Ralf Ralf November 2009 Development
  • ANN: SE Basic Beta 2Somewhat surprisingly, and 10 years after I started it, SE Basic is pretty much finished. [url]http://bit.ly/d64mo3[/url] The main selling point, a…

    ... after I started it, SE Basic is pretty much finished.
    chev chev February 2010 Sinclair Basic
  • 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. After more than 6 month, I've fin…

    ... , my old post about ZX BASIC seems to be gone (maybe ... a new version of ZX BASIC. It's a free compiler ...
    boriel boriel March 2010 Development
  • Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …

    ... di ; restore IM1 mode
    im 1
    ei
    ... br />
    enable_im2:
    im 2 ; switch it on
    ei ...
    ret ; return to BASIC

    org 0xc39a ...
    jp 56 ; exit via BASIC interrupt handler

    blit ...
    chev chev April 2012 Development
  • Strange behavior of program compiled with HiSoft BASICA while ago I experimented with HiSoft BASIC 128 (1.2) and compiled [URL="http://www.worldofspectrum.org/forums/showpost.php?p=683349&postcount=140"]…

    ... I experimented with HiSoft BASIC 128 (1.2) and compiled [URL=" ... shows a listing of the BASIC loading/calling program several times ... a look at the original BASIC source (you can extract it ... command is invoked. However HiSoft BASIC 1.2 supports PLAY, and under ...
    Alessandro Grussu Alessandro Grussu March 2013 Development
  • GEDit syntax highlighting for Boriel's ZX BasicHi! I just tailored this syntax highlighting code and would like to share with he community. Suggestions are always welcome, though the file works w…

    ... -U] | # udg characters
    [\:.']{1,2} | # graphic characters
    )

    pkersey pkersey February 2014 Development
  • Scrolling Bi-Colour Engine for 4-Player GamesJust putting this code up for people to have a look at. Far from finished. Should simply compile and run a bit of a demo. Only good for 128K and +…

    ... EQU 0
    DEBUG_BORDER EQU 2


    ; ...
    ld i,a
    im 2

    ;Put stack ...

    ;No return to BASIC
    ;------------------
    never_end
    ld ... br />
    ld hl,(SPRITE_BASE+2)

    ;now b ...
    joefish joefish March 2014 Development
  • The I register pointing to $40–$7f causes ULA snow and a crash. Or does it?I have heard it from numerous sources, including a few members of this forum, that 128K/+2 machines crash if the I register points to a range of $40–…

    ... of this forum, that 128K/+2 machines crash if the I ... (active while we’re in BASIC)
    ld bc,$7ffd
    ld i,a
    im 2
    ret

    int_routine ...
    Ast_A_Moore Ast_A_Moore February 2018 Development
  • Sync-buzzer, interrupts and general confusionBeen wittering on about this in the Misc group, but thought it was best discussed here. Basically been trying to recreate the Sid-Sound effect from A…

    ... the mode that Spectrum Basic normally operates in. The ... code there.

    IM 2 : This is a vectored interrupt ... designed to work in IM 2 so it does not ... code that will set up IM 2 mode:

    ... /> ld i,a
    im 2
    ei
    ret ...
    Alcoholics Anonymous Alcoholics Anonymous September 2003 Development
  • InterruptsA small piece intended for the FAQ. Comments, corrections, additions welcome. Notably: * How long does the 48K ULA hold /INT low? * What happens i…

    ... set via the last IM 0, IM 1 or IM 2 instruction.

    In IM 1 (as used by Spectrum BASIC ... bus in IM 2 will always be 0xff. This makes IM 2 easy to ... random times, which makes using IM 2 slightly tricker.
    [/quote]< ...
    Fraser Fraser July 2004 Development
  • 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 Note, for 48k spectrum using TASM [code] ; ***********…

    ... 56 ;for smooth return to Basic


    MoveSprite:< ... I,A ; I=FE
    IM 2 ; select IM2
    ei
    2,2,0,1,1,2,0
    ... 1
    DEFB 1, 1, 2, 2, 2, 4, 56,192
    DEFB ...
    robpearmain robpearmain August 2004 Development
  • 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 Note, for 48k spectrum using TASM [code] ; ***********…

    ... 56 ;for smooth return to Basic


    ; **** START ... I,A ; I=FE
    IM 2 ; select IM2
    ei< ... ,0,SPRRIGHT,SPRUP,2,2,0,1,1,2,0
    ... 1
    DEFB 1, 1, 2, 2, 2, 4, 56,192
    DEFB ...
    robpearmain robpearmain August 2004 Development
  • ANN: midi2ay 0.1Well, here's the MIDI-to-AY converter I promised. I've named it "midi2ay" (original name eh?) [url="http://es.geocities.com/qllaria/midi2ay/midi2ay-…

    ... , which will return to BASIC after the tune has stopped ... 2. Add a loop mechanism

    3. Return to BASIC ... 0 -- use CLEAR 32767 from BASIC instead
    ld hl, ... br /> ld i,a
    im 2
    ei
    loop< ... /> ld i,a
    im 1
    ei
    ...
    pissedbob pissedbob December 2005 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
basic 24.7K 39K
im 11.7K 14.4K
2 91.4K 149.6K

Related Threads

  • 2 x Spectrum cases,2 bust mobos,2 tape decks,2 Keyboards Free stuffHi,I am having a clear out of my old stuff I have the following to give away if who ever wants the stuff,pays the postage.<br /> <br /> 1 x Black 128…
  • Announce: EmuZWin 2.5 Release 2.2 Post-FinalEmuZWin Version 2.5 Release 2.2 post-FINAL (16-Oct-2004): <br /> [-] A small pause added between TAP blocks while loading tape from .TAP image (other…
  • 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…
  • ZX-Paintbrush 2.6.3 and ZX-Blockeditor 2.4.2 publishedDear readers,<br /> as you see in the subject, two of my ZX-Modules applications have been updated today. The very special change, kindfully and ver…
  • Beta versions of Fuse 0.6.2 and libspectrum 0.2.1 availableDear all,<br /> <br /> The Fuse team is pleased to announce the release of a beta version of the upcoming 0.6.2 release of Fuse and the Fuse utilitie…
  • question about EmuZWin 2.2can anyone please tell me how to load the games after the first 1 on a cover/complimation tape. i'm using emuZwin 2.2 i know the old way is [load"gam…
  • Fuse 0.6.2 and libspectrum 0.2.1 releasedThe Fuse team is pleased to announce the release of version 0.6.2 of the Free Unix Spectrum Emulator (Fuse) and associated utilities, as well as vers…
  • SpecEmu 2.2Just downloaded this emulator. Seems very nice. I like simplicity of user interface - I don't need toolbar and icons. Debugger is also good. The abil…
  • what is this? help! (may be a micro drive, im not sure, im confused).hey,<br /> <br /> i was at a car boot today and i found a tape drive that said "computer program data recorder" so i snapped it up thinking it could …
  • Release candidates for Fuse 0.7.0 and libspectrum 0.2.2Hi all.<br /> <br /> Release candidates for [url="http://fuse-emulator.sourceforge.net/fuse-0.7.0pre1.tar.gz"]Fuse 0.7.0[/url] (and [url="http://fuse…

Related Searches

  • saboteur 2 speed up
  • ula model 2
  • 2 buttons
  • fix missing message spectrum 2
  • fix missing message spectrum 128k 2
  • rom spectrum 128k 2
  • spectrum 128k 2 firmware
  • 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
  • differences in basic 3 and grey 2
  • basic 3 and grey 2
  • se basic 3 2
  • im 2
  • basic keyboard issue 2

Copyright © 2024 World of Spectrum